Skip to content

Commit

Permalink
chore: fix lerna scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Apr 25, 2022
1 parent a06c1e2 commit 8041d2b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ lerna-debug.log
demo/storybook
demo/storybook2
dist/
*.lerna_backup
test.js
19 changes: 1 addition & 18 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
{
"packages": [
"packages/react-moveable",
"packages/react-compat-moveable",
"packages/moveable",
"packages/vue-moveable",
"packages/vue3-moveable",
"packages/svelte-moveable",
"packages/lit-moveable",
"packages/ngx-moveable",
"packages/storybook",
"packages/*",
"packages/ngx-moveable/projects/ngx-moveable"
],
"version": "independent",
"command": {
"version": {
"push": false,
"commitHooks": false,
"private": false,
"gitTagVersion": false,
"preid": "beta"
}
},
"lernaHelperScripts": [
"npm run packages:dependencies",
"npm run packages:publish",
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@
"bootstrap": "lerna bootstrap",
"storybook": "npm run storybook --prefix ./packages/react-moveable",
"build": "npm run build --prefix ./packages/react-moveable",
"packages:update": "lerna version --conventional-commits --yes",
"packages:update": "lerna-helper version",
"package:update-dependencies": "lerna-helper dependencies",
"packages:build": "lerna run build --ignore ngx-moveable --ignore moveable-storybook",
"packages:publish": "lerna-helper publish --ignore ngx-moveable",
"changelog": "lerna-helper changelog --type root --pkg moveable",
"changelog": "lerna-helper changelog --type all --base moveable",
"doc": "rm -rf ./doc && jsdoc -c jsdoc.json",
"build:storybook": "npm run build --preifx ./packages/storybook",
"build:storybook2": "npm run build:storybook --preifx ./packages/react-moveable",
"demo:build": "npm run packages:build && cpx 'packages/moveable/dist/*' dist && npm run doc && npm run build:storybook && npm run build:storybook",
"demo:deploy": "gh-pages -d ./demo --dest=./ --add --remote origin",
"release": "lerna-helper release --pkg moveable"
"release": "lerna-helper release --base moveable"
},
"devDependencies": {
"@daybrush/jsdoc": "^0.4.0",
"@daybrush/release": "0.3.0-beta.2",
"@daybrush/release": "0.3.0-beta.8",
"cpx": "1.5.0",
"daybrush-jsdoc-template": "^1.7.0",
"gh-pages": "^2.0.1",
Expand Down
1 change: 1 addition & 0 deletions packages/vue-moveable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"main": "dist/moveable.cjs.js",
"module": "dist/moveable.esm.js",
"sideEffects": false,
"lernaHelperPrerelease": true,
"scripts": {
"serve": "vue-cli-service serve demo",
"build": "rm -rf dist && rollup -c && npm run declaration",
Expand Down

0 comments on commit 8041d2b

Please sign in to comment.