Skip to content

Commit

Permalink
chore: upgrade lerna to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Aug 27, 2024
1 parent 67515ed commit 7125a8e
Show file tree
Hide file tree
Showing 5 changed files with 1,081 additions and 1,328 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parameters:
default: v5
nodejs_base_image:
type: string
default: 'cimg/node:18.17.1'
default: 'cimg/node:20.17.0'

executors:
nodejs:
Expand Down Expand Up @@ -336,4 +336,4 @@ workflows:
branches:
ignore: /.*/
tags:
only: /v\d.(\d\d|\d).(\d\d|\d)-.*/
only: /v\d.(\d\d|\d).(\d\d|\d)-.*/
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 18.17.1
nodejs 20.17.0
yarn 1.22.10
7 changes: 2 additions & 5 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"packages": [
"packages/*",
"icons"
],
"packages": ["packages/*", "icons"],
"ignore": ["website"],
"version": "5.19.0",
"npmClient": "yarn",
"useWorkspaces": true,
"useNx": false
}
22 changes: 9 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
{
"name": "@welcome-ui/repo",
"version": "1.1.1",
"main": "dist/welcome-ui.cjs.js",
"module": "dist/welcome-ui.es.js",
"name": "main",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"scripts": {
"build:core": "./scripts/core.sh",
"build:docs": "lerna run doc --concurrency 2",
"build:packages": "lerna run build --ignore website --ignore @welcome-ui/core",
"build:types": "lerna run types",
"build:docs": "yarn lerna run doc --concurrency 2",
"build:packages": "yarn lerna run build --ignore website --ignore @welcome-ui/core",
"build:types": "yarn lerna run types",
"build": "yarn webfont:build && yarn build:core && yarn build:packages && yarn build:types && yarn build:docs",
"check:audit": "/bin/bash -c 'yarn audit --level critical; [[ $? -ge 16 ]] && exit 1 || exit 0'",
"check:deps": "lerna exec --ignore website --no-bail --stream -- depcheck --quiet",
"clean": "lerna clean",
"check:deps": "yarn lerna exec --no-bail --stream depcheck",
"clean": "yarn lerna clean",
"website:build": "cd website && yarn && yarn build",
"website:deploy": "yarn && yarn icons:build && yarn build && yarn website:build",
"website:dev": "cd website && yarn dev -p 3020",
"website:examples": "node -r esm website/build-app/utils/examples-page-exporter.ts",
"first:install": "yarn && yarn build && yarn icons:build",
"homerun": "yarn clean --yes && rm -rf node_modules/ website/.next/ && yarn cache clean && yarn && yarn build && yarn start",
"icons:build": "lerna run build --scope @welcome-ui/icons",
"icons:build": "yarn lerna run build --scope @welcome-ui/icons",
"icons:collect": "node -r esm scripts/icons-collect.js",
"icons:optimize": "node -r esm scripts/icons-optimize.js",
"icons:types": "lerna run types --scope @welcome-ui/icons",
"icons:types": "yarn lerna run types --scope @welcome-ui/icons",
"icons": "yarn icons:optimize && yarn icons:collect && yarn icons:build && yarn icons:types && yarn webfont && yarn build && yarn",
"lint:css": "stylelint 'packages/**/styles.ts'",
"lint:js": "eslint packages scripts --max-warnings 0",
Expand Down Expand Up @@ -123,8 +120,7 @@
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-styled-components": "7.2.0",
"lerna": "^6.5.1",
"lerna-update-wizard": "^1.1.2",
"lerna": "^8.1.8",
"lodash.difference": "^4.5.0",
"minimist": "1.2.8",
"onchange": "^7.0.2",
Expand Down
Loading

0 comments on commit 7125a8e

Please sign in to comment.