Skip to content

Commit

Permalink
Upgrade lerna (#43)
Browse files Browse the repository at this point in the history
* Upgrade lerna to v5

* Upgrade lerna to v6

* Upgrade lerna to v7

* Update lockfile

* Update ci

* Remove all nested yarn.lock files

---------

Co-authored-by: Nick Rutten <[email protected]>
  • Loading branch information
kvz and nickrttn authored Oct 31, 2023
1 parent 4e51a49 commit ced0a58
Show file tree
Hide file tree
Showing 31 changed files with 4,429 additions and 6,470 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci-monolib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: corepack yarn
node-version: 18
cache: 'yarn'
- run: corepack yarn --immutable
- run: corepack yarn test
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"packages": ["packages/*"],
"version": "independent",
"npmClient": "yarn"
"npmClient": "yarn",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "monolib",
"private": true,
"workspaces": [
"packages/*"
],
"packageManager": "[email protected]+sha224.ca5d6f5a8aecd0801adc32f775675b01961bdc2383867d36f4732a0a",
"engines": {
"node": ">= 18",
Expand All @@ -10,13 +13,11 @@
"pub": "npm-run-all test lernaPublish",
"lernaPublish": "lerna publish",
"new": "sucrase-node new.ts",
"lernaBootstrap": "lerna bootstrap --npm-client=yarn",
"install": "npm run lernaBootstrap",
"fix": "DEBUG=eslint:cli-engine eslint . --ext .js,.jsx,.ts,.tsx --fix && yarn fix:formatting",
"lint": "DEBUG=eslint:cli-engine eslint . --ext .js,.jsx,.ts,.tsx && yarn lint:formatting",
"build": "lerna run tsc",
"test:watch": "jest packages/*/src/*.test.ts --watch",
"test": "npm-run-all build lernaBootstrap lint jest",
"test": "npm-run-all build lint jest",
"jest": "jest --verbose packages/*/src/*.test.ts",
"jest:update": "jest --verbose --updateSnapshot packages/*/src/*.test.ts",
"fix:formatting": "prettier --write .",
Expand Down Expand Up @@ -51,7 +52,7 @@
"eslint-plugin-react-hooks": "^4.2.0",
"fakefile": "1.0.0",
"jest": "^29.0.1",
"lerna": "4.0.0",
"lerna": "^7.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.6",
"replace-require-with-import": "^2.1.0",
Expand Down
1 change: 0 additions & 1 deletion packages/abbr/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@transloadit/abbr",
"license": "AGPL-3.0-only",
"private": false,
"publishConfig": {
"access": "public"
},
Expand Down
1 change: 0 additions & 1 deletion packages/analyze-step/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@transloadit/analyze-step",
"license": "AGPL-3.0-only",
"private": false,
"publishConfig": {
"access": "public"
},
Expand Down
128 changes: 0 additions & 128 deletions packages/analyze-step/yarn.lock

This file was deleted.

1 change: 0 additions & 1 deletion packages/enrich-tweet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@transloadit/enrich-tweet",
"license": "AGPL-3.0-only",
"version": "0.1.2",
"private": false,
"publishConfig": {
"access": "public"
},
Expand Down
Loading

0 comments on commit ced0a58

Please sign in to comment.