Skip to content

Commit 8053c7a

Browse files
committed
fix: build error
1 parent ce95426 commit 8053c7a

File tree

4 files changed

+1641
-4511
lines changed

4 files changed

+1641
-4511
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
node-version: 20
1818
- name: Install dependencies
1919
run: |
20-
npm add -g pnpm
20+
npm add -g pnpm postject
2121
pnpm install
2222
- name: Build Windows
2323
run: pnpm build
@@ -40,7 +40,7 @@ jobs:
4040
node-version: 20
4141
- name: Install dependencies
4242
run: |
43-
npm add -g pnpm
43+
npm add -g pnpm postject
4444
pnpm install
4545
- name: Build macOS
4646
run: pnpm build

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"husky": "^9.1.7",
3131
"jest": "^29.5.0",
3232
"lint-staged": "13.2.1",
33+
"postject": "1.0.0-alpha.6",
3334
"prettier": "^3.5.3",
3435
"semantic-release": "^21.0.1",
3536
"tsup": "^8.4.0"
@@ -39,7 +40,7 @@
3940
},
4041
"lint-staged": {
4142
"*.js": [
42-
"prettier --write ."
43+
"prettier --write ./src"
4344
]
4445
}
4546
}

0 commit comments

Comments
 (0)