Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump lerna to 7 #614

Merged
merged 4 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,26 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: install, build and test
run: |
yarn install --frozen-lockfile
yarn lerna link

yarn pre-build-check
yarn build-packages
yarn post-build-check
env:
CI: true
- name: "Compressed Size"
uses: preactjs/compressed-size-action@v2
uses: preactjs/compressed-size-action@8a15fc9
with:
build-script: "-v" # Will execute `yarn run -v` (essentially a no-op)
pattern: "packages/*/dist/*.js"
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

```
$ yarn
$ yarn lerna link
$ yarn build-all
```

Expand Down
5 changes: 2 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"packages": ["packages/*"],
"version": "18.12.0",
"command": {
"publish": {
"verifyAccess": false
}
},
"useWorkspaces": true,
"exact": true
"exact": true,
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"lerna": "^6.5.1",
"lerna": "^7.3.0",
"path-that-svg": "1.2.4",
"svgson": "4.1.0",
"lint-staged": "^12.1.2",
Expand Down
Loading