Skip to content

Commit

Permalink
Add deploy scripts for patch, minor, and major
Browse files Browse the repository at this point in the history
  • Loading branch information
jehna committed Aug 15, 2024
1 parent dc9bdcb commit d8f18e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"scripts": {
"start": "tsx src/index.ts",
"build": "pkgroll",
"deploy": "npm version patch && npm run build && npm publish && npm run deploy:create-github-release",
"deploy:patch": "npm version patch && npm run deploy:release",
"deploy:minor": "npm version minor && npm run deploy:release",
"deploy:major": "npm version major && npm run deploy:release",
"deploy:release": "npm run build && npm publish && npm run deploy:create-github-release",
"deploy:create-github-release": "tar -czvf dist.tar.gz dist && gh release create v$npm_package_version --generate-notes dist.tar.gz",
"test": "npm run test:unit && npm run test:e2e && npm run test:llm",
"test:unit": "find src -name '*.test.ts' | xargs tsx --test",
Expand Down

0 comments on commit d8f18e6

Please sign in to comment.