Skip to content

Commit

Permalink
fix: update lerna to latest version
Browse files Browse the repository at this point in the history
contributes to #TECH-727
  • Loading branch information
birterohden committed Mar 25, 2024
1 parent 397c1d7 commit 1637a12
Show file tree
Hide file tree
Showing 19 changed files with 8,436 additions and 7,214 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
- run: git config user.name "CircleCI Bot"
- run: ssh-keyscan github.com >> ~/.ssh/known_hosts
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- run: ./node_modules/.bin/lerna publish patch --no-verify-access --ignore-scripts --no-git-reset --yes
- run: ./node_modules/.bin/lerna publish patch --ignore-scripts --no-git-reset --yes

publishMinor:
working_directory: *workspace_root
Expand All @@ -124,7 +124,7 @@ jobs:
- run: git config user.name "CircleCI Bot"
- run: ssh-keyscan github.com >> ~/.ssh/known_hosts
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- run: ./node_modules/.bin/lerna publish minor --no-verify-access --ignore-scripts --no-git-reset --yes
- run: ./node_modules/.bin/lerna publish minor --ignore-scripts --no-git-reset --yes

publishFeature:
working_directory: *workspace_root
Expand Down
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"packages": ["packages/*"],
"version": "independent"
"version": "independent",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
14,957 changes: 8,087 additions & 6,870 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"name": "t3n-react-packages",
"workspaces": [
"packages/components",
"packages/theme",
"packages/storybook",
"packages/icons",
"packages/configs"
],
"version": "0.1.0",
"description": "",
"author": "",
Expand Down Expand Up @@ -48,7 +55,7 @@
"jest-environment-jsdom": "^29.7.0",
"jest-styled-components": "^7.2.0",
"jsdom": "^24.0.0",
"lerna": "^5.5.0",
"lerna": "^8.1.2",
"npm-check": "^6.0.1",
"prettier": "^3.2.5",
"react-test-renderer": "^18.2.0",
Expand All @@ -66,7 +73,8 @@
},
"scripts": {
"clean": "lerna run clean --parallel && lerna clean --yes && rm -rf node_modules ",
"prepare": "lerna clean --yes && lerna bootstrap --hoist",
"prepare": "lerna clean --yes",
"repair": "lerna repair",
"start": "lerna run start --parallel",
"build": "npm run build:theme && npm run build:icons && npm run build:components && npm run build:storybook",
"test": "jest",
Expand Down
1 change: 0 additions & 1 deletion packages/components/.npmrc

This file was deleted.

38 changes: 12 additions & 26 deletions packages/components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"dependencies": {
"@chakra-ui/system": "^2.6.2",
"@chakra-ui/toast": "^7.0.2",
"@types/react": "^18.2.67",
"@types/react": "^18.2.69",
"btoa": "^1.2.1",
"framer-motion": "^11.0.8",
"framer-motion": "^11.0.20",
"polished": "^4.1.1",
"react-autosuggest": "^10.1.0",
"react-dates": "^21.8.0",
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/SearchBox/SearchBox.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-nested-ternary */
import React, { FormEvent, ReactNode, useEffect, useState } from 'react';
import AutoSuggest, {
GetSuggestionValue,
Expand Down
5 changes: 5 additions & 0 deletions packages/components/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,9 @@ module.exports = {
umd: '@emotion/styled',
},
},
performance: {
hints: false,
maxEntrypointSize: 512000,
maxAssetSize: 512000,
},
};
1 change: 0 additions & 1 deletion packages/configs/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion packages/icons/.npmrc

This file was deleted.

14 changes: 7 additions & 7 deletions packages/icons/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"@t3n/configs": "^0.7.1",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.11.30",
"@types/prettier": "^3.0.0",
"@types/react": "^18.2.67",
"@types/react": "^18.2.69",
"chalk": "^4.1.2",
"fs-extra": "^11.2.0",
"material-design-icons": "^3.0.1",
Expand Down
5 changes: 5 additions & 0 deletions packages/icons/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ module.exports = {
amd: 'react',
},
},
performance: {
hints: false,
maxEntrypointSize: 512000,
maxAssetSize: 512000,
},
};
1 change: 0 additions & 1 deletion packages/storybook/.npmrc

This file was deleted.

Loading

0 comments on commit 1637a12

Please sign in to comment.