Skip to content

Commit

Permalink
fix workflow typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostflyby committed Feb 23, 2024
1 parent 4681bcd commit 7a96ce3
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 92 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ jobs:
echo "Previous version: $previous_version"
- name: "pnpm install"
if: ${{ steps.read-versions.outputs.version != steps.read-versions.outputs.previous-version }}
uses: pnpm/action-setup@v3
with:
version: latest
run_install: |
- recursive: true
- name: "pnpm build"
if: ${{ steps.read-versions.outputs.version != steps.read-versions.outputs.previous-version }}
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Native Conetxt Menu",
"slug": "native-menu",
"description": "为右键菜单使用原生形式,多级菜单支持需要hook-vue来运行",
"version": "1.0.0",
"version": "0.0.1",
"icon": "./icon.svg",
"authors": [
{
Expand All @@ -27,7 +27,7 @@
"repo": "ghostflyby/LiteLoaderQQNT-Native-Menu",
"branch": "main",
"release": {
"tag": "1.0.0",
"tag": "0.0.1",
"file": "LiteLoaderQQNT-Native-Menu-release.zip"
}
}
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"license": "GPL-3.0-only",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.4.0",
"electron": "^28.1.4",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.25.2",
Expand All @@ -15,5 +14,8 @@
},
"scripts": {
"build": "pnpm --package=typescript dlx tsc -p tsconfig.json && perl -ni -e 'print unless /Object\\.defineProperty\\(exports, \"__esModule\", { value: true }\\);/' dist/*"
},
"dependencies": {
"electron": "^29.0.1"
}
}
Loading

0 comments on commit 7a96ce3

Please sign in to comment.