Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to publish prerelease versions to npm #118

Merged
merged 9 commits into from
May 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hubspot/calling-extensions-sdk",
"version": "0.0.15-alpha.1",
"version": "0.1.0-beta.0",
"description": "HubSpot calling extensions sdk for call widget integration.",
"publishConfig": {
"access": "public"
Expand All @@ -11,16 +11,15 @@
"cover": "open coverage/lcov-report/index.html",
"eslint": "eslint src --ext .js",
"eslint:fix": "eslint src .js --fix",
"prepublish:alpha": "npm run build:test && npm version prerelease --preid alpha && git push --follow-tags",
"prepublish:beta": "npm run build:test && npm version prerelease --preid beta && git push --follow-tags",
"prepublish:patch": "npm run build:test && npm version patch && git push --follow-tags",
"prepublish:minor": "npm run build:test && npm version minor && git push --follow-tags",
"prepublish:major": "npm run build:test && npm version major && git push --follow-tags",
"publish:alpha": "npm publish --access public --tag next",
"publish:beta": "npm publish --access public --tag beta",
"publish:patch": "npm publish --access public",
"publish:minor": "npm publish --access public",
"publish:major": "npm publish --access public",
"preversion": "npm run build:test",
"postversion": "git push --follow-tags",
"publish:alpha": "npm version prerelease --preid alpha && npm publish --access public --tag next",
"publish:beta": "npm version prerelease --preid beta && npm publish --access public --tag beta",
"publish:patch": "npm version patch && npm publish --access public",
"publish:minor": "npm version minor && npm publish --access public",
"publish:major": "npm version major && npm publish --access public",
"publish:preminor": "npm version preminor && npm run publish:alpha",
"publish:premajor": "npm version premajor && npm run publish:alpha",
"test:build": "npx webpack --config webpack-test.config.js --mode development",
"test:watch": "npx webpack --config webpack-test.config.js --mode development --watch",
"test:serve": "cross-env NODE_ENV=test npm run test:watch & jasmine-browser-runner serve --config=test/support/jasmine-browser.json",
Expand Down