From b800e6bdcaf9a9cbd463ea504dfbe153cfad78c7 Mon Sep 17 00:00:00 2001 From: lencx Date: Sun, 2 Oct 2022 00:01:16 +0800 Subject: [PATCH] chore: updater --- .github/workflows/release.yml | 8 ++++++-- package.json | 4 ++-- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- yarn.lock | 8 ++++---- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd7c81b..fc6e01d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,9 +98,13 @@ jobs: needs: [create-release, build-tauri] steps: - - uses: actions/setup-node@v2 + - uses: actions/checkout@v2 + + - name: Setup node + uses: actions/setup-node@v1 with: - node-version: '14' + node-version: 16 + - run: yarn add -D minimist esno typescript - run: yarn updater -v=${GITHUB_REF:11} - name: Deploy install.json diff --git a/package.json b/package.json index 270558b..f35429a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "omb", "private": true, - "version": "0.1.1", + "version": "0.0.0", "author": "lencx ", "scripts": { "dev": "vite --port=4096", @@ -52,7 +52,7 @@ "esno": "^0.16.3", "minimist": "^1.2.6", "sass": "^1.53.0", - "typescript": "^4.6.3", + "typescript": "^4.8.4", "unocss": "^0.33.2", "vite": "^3.0.4", "vite-plugin-rsw": "^2.0.8", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index a2577c8..ffce275 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1662,7 +1662,7 @@ dependencies = [ [[package]] name = "omb" -version = "0.1.0" +version = "0.0.0" dependencies = [ "serde", "serde_json", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index a7b01e3..3b18338 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "omb" -version = "0.1.0" +version = "0.0.0" description = "Oh My Box" authors = ["lencx "] license = "MIT" diff --git a/yarn.lock b/yarn.lock index 514398b..fecd3bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2093,10 +2093,10 @@ tsx@^3.2.1: optionalDependencies: fsevents "~2.3.2" -typescript@^4.6.3: - version "4.7.4" - resolved "https://registry.npmmirror.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" - integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== +typescript@^4.8.4: + version "4.8.4" + resolved "https://registry.npmmirror.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6" + integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6"