Skip to content

Commit 30841d7

Browse files
committed
add publish script
1 parent 518c1a0 commit 30841d7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cli/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"start": "node dist/index.js",
1212
"test": "jest",
1313
"test:watch": "jest --watch",
14-
"test:coverage": "jest --coverage"
14+
"test:coverage": "jest --coverage",
15+
"publish:ci": "rm -rf ./dist && npm run dump-version && npm run tsc:build && npm run prepublish && cd dist && npm publish --access public --no-git-checks"
1516
},
1617
"keywords": [
1718
"cli",

sdk/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"scripts": {
88
"build": "tsc",
99
"test": "jest",
10-
"lint": "eslint . --ext .ts"
10+
"lint": "eslint . --ext .ts",
11+
"publish:ci": "rm -rf ./dist && npm run dump-version && npm run tsc:build && npm run prepublish && cd dist && npm publish --access public --no-git-checks"
1112
},
1213
"dependencies": {
1314
"@ai-sdk/openai": "^1.1.10",

0 commit comments

Comments
 (0)