Skip to content

Commit

Permalink
fix: 依赖补充
Browse files Browse the repository at this point in the history
  • Loading branch information
CakmLexi committed Jul 2, 2024
1 parent a3abea8 commit 2b4f5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const npmPack = JSON.parse(fs.readFileSync(path.join(karinDir, 'package.json'),
npmPack.main = './node_modules/node-karin/lib/index.js'
delete npmPack.bin
delete npmPack.types
npmPack.dependencies = pack.dependencies
npmPack.dependencies['node-karin'] = pack.dependencies['node-karin']
fs.writeFileSync('./package.json', JSON.stringify(npmPack, null, 2))

// 复制 pnpm-workspace.yaml 到根目录
Expand Down

0 comments on commit 2b4f5cd

Please sign in to comment.