Skip to content

Commit

Permalink
fix(cli): 添加 @sinclair/typebox 到 pkg (#1081)
Browse files Browse the repository at this point in the history
@sinclair/typebox 升级后 cli 报错:
```
'/**/SCOW/node_modules/.pnpm/@sinclair+typebox@0.32.12/node_modules/@sinclair/typebox/build/require/type/index.js' was not included into executable at compilation stage. Please recompile adding it as asset or script.
```
将 @sinclair/typebox 加入到 pkg 后解决
  • Loading branch information
Miracle575 authored Jan 24, 2024
1 parent 3ef7762 commit b342df5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/unlucky-zebras-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scow/cli": patch
---

修复 cli 由于 @sinclair/typebox 更新导致的编译问题
3 changes: 2 additions & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"scripts": "build/**/*.js",
"assets": [
"assets/**/*",
"package.json"
"package.json",
"node_modules/@sinclair/typebox/**/*"
],
"targets": [
"node18-linux-x64",
Expand Down

0 comments on commit b342df5

Please sign in to comment.