Skip to content

Commit

Permalink
Put version in src and commit in prepack step
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Sep 15, 2022
1 parent fa36931 commit 9e5a7f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion products/jbrowse-react-circular-genome-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"start:umd": "cross-env NODE_ENV=development webpack-dev-server",
"prebuild": "npm run clean",
"build": "npm-run-all build:*",
"postversion": "node output-version.js> src/version.js && npm run bundle",
"prepack": "node output-version.js> src/version.js &&git commit -m 'Bump version.js in embedded'&& npm run bundle",
"build:esm": "tsc -b tsconfig.build.esm.json",
"build:es5": "tsc -b tsconfig.build.es5.json",
"bundle": "npm-run-all bundle:webpack:*",
Expand Down
2 changes: 1 addition & 1 deletion products/jbrowse-react-linear-genome-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"start:umd": "cross-env NODE_ENV=development webpack-dev-server",
"prebuild": "npm run clean",
"build": "npm-run-all build:*",
"postversion": "node output-version.js> src/version.js && npm run bundle",
"prepack": "node output-version.js> src/version.js &&git commit -m 'Bump version.js in embedded'&& npm run bundle",
"build:esm": "tsc --build tsconfig.build.esm.json",
"build:es5": "tsc --build tsconfig.build.es5.json",
"bundle": "npm-run-all bundle:webpack:*",
Expand Down

0 comments on commit 9e5a7f3

Please sign in to comment.