Skip to content

Commit dcf3dcd

Browse files
feat: initialize tcm-cli entry point via bin/tcm.js and remove theme build script
1 parent ebb724e commit dcf3dcd

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"lint:cms": "cd platforms/react-cms && npm run lint",
2020
"size": "turbo run size",
2121
"build:tcm": "turbo run build --filter=@techstack/tcm-cli",
22-
"build:theme": "turbo run build --filter=@techstack/theme",
2322
"build": "turbo run build",
2423
"lerna:link": "lerna link",
2524
"lerna:changed": "lerna changed",
@@ -35,4 +34,4 @@
3534
"engines": {
3635
"node": ">=24"
3736
}
38-
}
37+
}

packages/tcm-cli/bin/tcm.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env node
2+
import '../dist/index.js';

packages/tcm-cli/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"bundle"
1818
],
1919
"bin": {
20-
"tcm": "dist/index.js"
20+
"tcm": "bin/tcm.js"
2121
},
2222
"type": "module",
2323
"typings": "./dist/index.d.ts",
@@ -31,6 +31,7 @@
3131
},
3232
"files": [
3333
"dist",
34+
"bin",
3435
"templates",
3536
"src/conf"
3637
],

0 commit comments

Comments
 (0)