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

Tweak ordering of publish script #52

Merged
merged 2 commits into from
Apr 27, 2020

Conversation

christopher-stripe
Copy link
Contributor

Fixes #51

Ensures that the package.json version is bumped before the package is built, so that the correct version is embedded in the build.

I'll make a similar change to react-stripe-js.

package.json Outdated
@@ -14,7 +14,7 @@
"typecheck": "tsc",
"build": "yarn clean && yarn rollup -c",
"clean": "rimraf dist",
"ci": "yarn lint && yarn test && yarn test:versions && yarn test:types && yarn typecheck && yarn build",
"ci": "yarn lint && yarn test && yarn test:versions && yarn test:types && yarn typecheck",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Is ci still the appropriate description? Wondering if it shouldn't be something like

Suggested change
"ci": "yarn lint && yarn test && yarn test:versions && yarn test:types && yarn typecheck",
"test": "yarn test:lint && yarn test:unit && yarn test:versions && yarn test:types && yarn test:typecheck",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong stripe-js version in dist bundles
2 participants