Skip to content

Commit

Permalink
fix: fix root version after releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
cycjimmy committed Mar 25, 2022
1 parent 5f849aa commit d586ed2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 17 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-object-assign": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@cycjimmy/config-lib": "^3.1.3",
"@cycjimmy/config-lib": "^3.2.0",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-eslint": "^8.0.1",
Expand Down
11 changes: 2 additions & 9 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
/* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */
const makeCommonConfig = require('@cycjimmy/config-lib/cjs/semanticRelease/15.x/makeCommonConfig.cjs').default;
const makeCommon = require('@cycjimmy/config-lib/cjs/semanticRelease/19.x/makeConfigWithPgkRootForLibrary.cjs').default;
const pkg = require('./package.json');

module.exports = makeCommonConfig({
exec: true,
execOptions: {
prepareCmd: 'npm run package',
},
npmOptions: {
pkgRoot: '.release',
},
module.exports = makeCommon({
githubOptions: {
assets: [pkg.browser],
},
Expand Down

0 comments on commit d586ed2

Please sign in to comment.