Skip to content

Commit 6979e13

Browse files
chore: remove lerna, use pnpm for versioning and publishing
1 parent 7c15080 commit 6979e13

4 files changed

Lines changed: 125 additions & 3968 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ jobs:
5151
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
run: |
54-
pnpm exec lerna version ${{ github.event.inputs.version }} -y --no-push
54+
NEW_VERSION=$(cd packages/devextreme-cli && npm version ${{ github.event.inputs.version }} --no-git-tag-version)
55+
(cd packages/devextreme-schematics && npm version "$NEW_VERSION" --no-git-tag-version)
56+
npm version "$NEW_VERSION" --no-git-tag-version
57+
git add -A
58+
git commit -m "$NEW_VERSION"
59+
git tag "$NEW_VERSION"
5560
git push -f --follow-tags --no-verify --atomic origin master
56-
pnpm exec lerna publish from-git -y
61+
pnpm --filter './packages/*' publish --no-git-checks

lerna.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
},
1616
"devDependencies": {
1717
"@angular-eslint/schematics": "^0.2.0-beta.1",
18-
"lerna": "^5.6.2",
1918
"pre-commit": "^1.2.2",
2019
"puppeteer": "^24.41.0"
2120
},

0 commit comments

Comments
 (0)