mirror of
https://gitee.com/HuLaSpark/HuLa.git
synced 2024-11-29 18:28:30 +08:00
style: 💄 代码格式优化
This commit is contained in:
parent
4ee3e2b8a3
commit
3158c85630
@ -1,5 +1,12 @@
|
||||
|
||||
|
||||
## [2.5.0](https://github.com/HuLaSpark/HuLa/compare/v2.4.5...v2.5.0) (2024-10-27)
|
||||
|
||||
|
||||
### ✨ Features | 新功能
|
||||
|
||||
* **layout:** :sparkles: 自动更新增加进度条 ([6b781a4](https://github.com/HuLaSpark/HuLa/commit/6b781a419417bda256c90a4013bfec0559242e23))
|
||||
|
||||
## [2.4.5](https://github.com/HuLaSpark/HuLa/compare/v2.4.4...v2.4.5) (2024-10-26)
|
||||
|
||||
## [2.4.4](https://github.com/HuLaSpark/HuLa/compare/v2.4.3...v2.4.4) (2024-10-26)
|
||||
|
@ -1,27 +0,0 @@
|
||||
// 注意要安装@actions/github依赖
|
||||
import { context, getOctokit } from "@actions/github";
|
||||
import { readFile } from "node:fs/promises";
|
||||
|
||||
// 在容器中可以通过env环境变量来获取参数
|
||||
const octokit = getOctokit(process.env.GITHUB_TOKEN);
|
||||
|
||||
const updateRelease = async () => {
|
||||
// 获取updater tag的release
|
||||
const { data: release } = await octokit.rest.repos.getLatestRelease({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
});
|
||||
|
||||
// 上传新的文件
|
||||
const file = await readFile("latest.json", { encoding: "utf-8" });
|
||||
|
||||
await octokit.rest.repos.uploadReleaseAsset({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
release_id: release.id,
|
||||
name: "latest.json",
|
||||
data: file,
|
||||
});
|
||||
};
|
||||
|
||||
updateRelease();
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "hula",
|
||||
"type": "module",
|
||||
"version": "2.4.0",
|
||||
"version": "2.5.0",
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"node": ">=18.12.0",
|
||||
|
@ -43,8 +43,8 @@ rodio = "0.17.3"
|
||||
|
||||
[features]
|
||||
# by default Tauri runs in production mode
|
||||
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
|
||||
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is a URL
|
||||
default = ["custom-protocol"]
|
||||
# this feature is used used for production builds where `devPath` points to the filesystem
|
||||
# this feature is used for production builds where `devPath` points to the filesystem
|
||||
# DO NOT remove this
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
|
1
src/typings/components.d.ts
vendored
1
src/typings/components.d.ts
vendored
@ -47,7 +47,6 @@ declare module 'vue' {
|
||||
NPopconfirm: typeof import('naive-ui')['NPopconfirm']
|
||||
NPopover: typeof import('naive-ui')['NPopover']
|
||||
NPopselect: typeof import('naive-ui')['NPopselect']
|
||||
NProgress: typeof import('naive-ui')['NProgress']
|
||||
NQrCode: typeof import('naive-ui')['NQrCode']
|
||||
NRadio: typeof import('naive-ui')['NRadio']
|
||||
NScrollbar: typeof import('naive-ui')['NScrollbar']
|
||||
|
Loading…
Reference in New Issue
Block a user