chore: prepare lerna release for unified versioning

This commit is contained in:
Dominik Biedebach 2022-09-10 21:12:21 +02:00
parent d15aa38cd2
commit 435a560464
2 changed files with 16 additions and 6 deletions

View File

@ -2,11 +2,13 @@
"packages": [
"packages/*"
],
"version": "independent",
"useWorkspaces": false,
"useWorkspaces": true,
"command": {
"publish": {
"conventionalCommits": true
}
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": true,
"version": "2.0.0-beta.192"
}

View File

@ -19,6 +19,13 @@
"build:ci": "npm run clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package || exit 1; done",
"build:packages": "npm run clean:packages && lerna changed | while read package; do rollup -c --scope $package || exit 1; done",
"build:allpackages": "npm run clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package || exit 1; done",
"release:major": "lerna version major --create-release github",
"release:major:pre": "lerna version premajor --create-release github",
"release:minor": "lerna version minor --create-release github",
"release:minor:pre": "lerna version preminor --create-release github",
"release:patch": "lerna version patch --create-release github",
"release:patch:pre": "lerna version prepatch --create-release github",
"release:pre": "lerna version prerelease --create-release github",
"release": "npm run build:packages && lerna publish",
"clean:packages": "rm -rf ./packages/*/dist",
"reset": "npm run clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install",
@ -50,7 +57,7 @@
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-vue": "^9.1.0",
"husky": "^8.0.1",
"lerna": "^5.0.0",
"lerna": "^5.5.1",
"lint-staged": "^13.0.3",
"minimist": "^1.2.5",
"rollup": "^2.67.0",
@ -60,5 +67,6 @@
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"webpack": "^5.68.0"
}
}
},
"name": "tiptap"
}