Skip to content

Commit b1829bf

Browse files
committed
chore: upgrade lerna
1 parent b138e0d commit b1829bf

File tree

8 files changed

+7933
-799
lines changed

8 files changed

+7933
-799
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@ jobs:
7474
7575
# Release Please has already incremented versions and published tags, so we just
7676
# need to publish all unpublished versions to npm here
77+
# See: https://github.com/lerna/lerna/tree/main/libs/commands/publish#bump-from-package
7778
- name: Publish to npm
7879
# only publish if a release has been created
7980
if: ${{ steps.release.outputs.releases_created }}
8081
env:
8182
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
8283
NPM_CONFIG_PROVENANCE: true
83-
run: node ./scripts/publish-to-npm.mjs
84+
run: npx lerna publish from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ docs
6969

7070
#lerna
7171
.changelog
72+
.nx
7273

7374
# OS generated files
7475
.DS_Store

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Please also see [GitHub workflow](https://github.com/open-telemetry/community/bl
9696

9797
- [NPM](https://npmjs.com)
9898
- [TypeScript](https://www.typescriptlang.org/)
99-
- [nx](https://github.com/nrwl/nx) to manage dependencies, compilations, and links between packages. Most nx commands should be run by calling the provided npm scripts.
99+
- [lerna](https://github.com/lerna/lerna) to manage dependencies, compilations, and links between packages. Most lerna commands should be run by calling the provided npm scripts.
100100
- [npm workspaces](https://docs.npmjs.com/cli/v10/using-npm/workspaces)
101101
- [MochaJS](https://mochajs.org/) for tests
102102
- [eslint](https://eslint.org/)

RELEASING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ Create a new branch called `x.y.z-proposal` from the current commit.
3232
Decide on the next `major.minor.patch` release number based on [semver](http://semver.org/) guidelines.
3333

3434
- Use `npm install` command to initialize all package directories
35-
- Use `node ./scripts/bump-pacakge-versions.mjs` to bump the version in all `package.json`
35+
- Use `lerna publish --skip-npm --no-git-tag-version --no-push` to bump the version in all `package.json`
3636

3737
## Use the Changelog to create a GitHub Release
3838

3939
### Generate the changelog with lerna
4040

41-
We use [lerna-changelog](https://github.com/lerna/lerna-changelog#lerna-changelog)
41+
Since we use `lerna`, we can use [lerna-changelog](https://github.com/lerna/lerna-changelog#lerna-changelog)
4242

4343
#### How to use
4444

0 commit comments

Comments
 (0)