Skip to content

Commit

Permalink
fix: 修复模板中的一些依赖缺失和脚本错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
rxliuli committed Aug 29, 2021
1 parent 7110b14 commit 06165d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/liuli-cli/src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { buildCommand } from './commands/build'
import { initCommand } from './commands/init'
import { syncCommand } from './commands/sync'

const main = new Command('pinefield')
const main = new Command()
main
.addCommand(buildCommand)
.addCommand(initCommand)
Expand Down
3 changes: 2 additions & 1 deletion apps/liuli-cli/templates/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"docs:server": "live-server docs",
"docs:dev": "typedoc --watch",
"docs:build": "rimraf docs && typedoc",
"docs:deploy": "yarn build && gh-pages -d docs/ -e / -a"
"docs:deploy": "yarn docs:build && gh-pages -d docs/ -e / -a"
},
"bin": {
"cli-name": "dist/bin.js"
Expand All @@ -33,6 +33,7 @@
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.168",
"@types/node": "^12.20.6",
"gh-pages": "^3.2.3",
"jest": "^26.6.3",
"ts-jest": "^26.5.6",
"ts-node": "^10.0.0",
Expand Down
3 changes: 2 additions & 1 deletion apps/liuli-cli/templates/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"docs:server": "live-server docs",
"docs:dev": "typedoc --watch",
"docs:build": "rimraf docs && typedoc",
"docs:deploy": "yarn build && gh-pages -d docs/ -e / -a"
"docs:deploy": "yarn docs:build && gh-pages -d docs/ -e / -a"
},
"jest": {
"preset": "ts-jest"
Expand All @@ -23,6 +23,7 @@
"@types/jest": "^26.0.23",
"jest": "^26.6.3",
"ts-jest": "^26.5.6",
"gh-pages": "^3.2.3",
"ts-node": "^10.0.0",
"type-fest": "^1.2.1",
"typedoc": "^0.21.0",
Expand Down

0 comments on commit 06165d3

Please sign in to comment.