Skip to content

Commit 4adb099

Browse files
committed
update README and cli package.json to get cli example working
prior to this the README was outdated and it was not clear how to run the CLI example
1 parent 21bdc0f commit 4adb099

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

apps/cli/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"build": "tsc",
1010
"dev": "tsc --watch",
11-
"typecheck": "tsc --noEmit"
11+
"typecheck": "tsc --noEmit",
12+
"start": "node bin/cli.js"
1213
},
1314
"dependencies": {
1415
"@bhouston/common-lib": "workspace:*",
@@ -17,6 +18,7 @@
1718
"yargs-file-commands": "^0.0.3"
1819
},
1920
"devDependencies": {
20-
"@types/yargs": "^17.0.33"
21+
"@types/yargs": "^17.0.33",
22+
"source-map-support": "~0.5.21"
2123
}
2224
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"build": "pnpm -r build",
1111
"dev": "pnpm -r --parallel --stream dev",
1212
"start": "pnpm --filter tan-start-app start",
13+
"cli": "pnpm --filter cli start",
1314
"clean": "rimraf dist packages/**/dist apps/**/dist",
1415
"clean:all": "rimraf dist node_modules packages/**/node_modules packages/**/dist apps/**/node_modules apps/**/dist",
1516
"lint:check": "eslint .",

pnpm-lock.yaml

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)