Skip to content

Commit

Permalink
chore(yarn): update to latest v3.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
gcornut committed Nov 25, 2021
1 parent 58ad0e5 commit 817f0c3
Show file tree
Hide file tree
Showing 9 changed files with 38,023 additions and 175,251 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ package-lock.json
.vscode/settings.json
dist
yarn-error.log
.yarn/cache
.yarn/install-state.gz
lerna-debug.log
jsconfig.json
.awcache
Expand Down
147,391 changes: 0 additions & 147,391 deletions .yarn/releases/yarn-1.22.4.js

This file was deleted.

768 changes: 768 additions & 0 deletions .yarn/releases/yarn-3.1.0.cjs

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions .yarnrc

This file was deleted.

9 changes: 8 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
yarnPath: .yarn/releases/yarn-1.22.4.js
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.1.0.cjs

logFilters:
# Hide peer dependency resolution warnings
- level: 'discard'
code: 'YN0002'
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
"homepage": "https://github.com/lumapps/design-system",
"lint-staged": {
"*.{ts,tsx,js,jsx}": "eslint --cache --fix",
"*.{scss,css}": ["prettier --write", "stylelint"],
"*.{scss,css}": [
"prettier --write",
"stylelint"
],
"*.{md,html}": "prettier --write"
},
"keywords": [
Expand All @@ -65,8 +68,8 @@
},
"scripts": {
"build": "lerna run --stream build",
"build:site": "yarn --cwd packages/site-demo clean && yarn --cwd packages/site-demo build",
"build:storybook": "yarn --cwd packages/lumx-react build-storybook -s ../site-demo/static",
"build:site": "yarn workspace lumx-site-demo clean && yarn workspace lumx-site-demo build",
"build:storybook": "yarn workspace @lumx/react build-storybook -s ../site-demo/static",
"chromatic": "npx chromatic -b build:storybook",
"clean": "rm -rf packages/*/dist && lerna clean --yes && lerna run --stream clean",
"clean:git-hooks": "yarn husky uninstall",
Expand All @@ -81,17 +84,13 @@
"release": "yarn lerna publish --force-publish",
"scaffold": "yo ./packages/yo-generators --with-tests --with-demo",
"setup:git-hooks": "yarn husky uninstall && yarn husky install || exit 0",
"start": "yarn --cwd packages/site-demo start",
"start": "yarn workspace lumx-site-demo start",
"test": "lerna run --stream test",
"storybook:react": "yarn --cwd packages/lumx-react storybook",
"generate:design-tokens": "yarn --cwd packages/lumx-core generate:design-tokens"
"storybook:react": "yarn workspace @lumx/react storybook",
"generate:design-tokens": "yarn workspace @lumx/core generate:design-tokens"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"**/style-loader": "^1.0.0",
"**/@typescript-eslint/eslint-plugin": "^4.9.0",
"**/@typescript-eslint/parser": "^4.9.0"
}
"packageManager": "[email protected]"
}
5 changes: 1 addition & 4 deletions packages/lumx-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,5 @@
"storybook": "start-storybook -s ../site-demo/static/ -p 9000"
},
"sideEffects": false,
"version": "2.1.3",
"resolutions": {
"**/style-loader": "^1.0.0"
}
"version": "2.1.3"
}
2 changes: 1 addition & 1 deletion packages/site-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"moment": "^2.24.0",
"moment-range": "^4.0.2",
"prism-react-renderer": "^0.1.5",
"prismjs": "^1.17.1",
"prismjs": "^1.25.0",
"react": "^16.13.0",
"react-docgen-typescript": "^1.20.5",
"react-dom": "^16.13.0",
Expand Down
Loading

0 comments on commit 817f0c3

Please sign in to comment.