Skip to content

Commit a809ac2

Browse files
authored
fix(app): run changelog parser before tsc (#112)
1 parent 100096f commit a809ac2

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/fix-changelog-build.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"think-app": patch
3+
---
4+
5+
Fix build: run changelog parser before TypeScript compilation

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "electron/main.js",
66
"scripts": {
77
"dev": "vite",
8-
"build": "tsc && vite build",
8+
"build": "node scripts/parse-changelog.js && tsc && vite build",
99
"electron": "electron .",
1010
"electron:dev": "concurrently \"vite\" \"wait-on http://localhost:5173 && electron .\"",
1111
"electron:build": "electron-builder --publish never",

0 commit comments

Comments
 (0)