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

Upgrade lerna #43

Merged
merged 7 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
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
Loading