dev: switch to `yarn` v3

Also added `.tool-versions` file for setting Node version
This commit is contained in:
Rickard Andersson 2023-08-03 12:53:39 +03:00
parent bc65e70e64
commit d0283492b5
7 changed files with 16820 additions and 9769 deletions

9
.gitignore vendored
View File

@ -22,3 +22,12 @@ dist-ssr
*.njsproj
*.sln
*.sw?
# yarn 3 files
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

1
.tool-versions Normal file
View File

@ -0,0 +1 @@
nodejs 18.17.0

File diff suppressed because one or more lines are too long

874
.yarn/releases/yarn-3.6.1.cjs vendored Executable file

File diff suppressed because one or more lines are too long

7
.yarnrc.yml Normal file
View File

@ -0,0 +1,7 @@
nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
yarnPath: .yarn/releases/yarn-3.6.1.cjs

View File

@ -9,7 +9,8 @@
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"test-storybook": "test-storybook"
},
"dependencies": {
"@status-im/react": "^0.1.1",
@ -27,6 +28,7 @@
"@storybook/cli": "^7.2.0",
"@storybook/react": "^7.2.0",
"@storybook/react-vite": "^7.2.0",
"@storybook/test-runner": "^0.12.0",
"@storybook/testing-library": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
@ -38,5 +40,6 @@
"storybook": "^7.2.0",
"typescript": "^5.0.2",
"vite": "^4.4.5"
}
},
"packageManager": "yarn@3.6.1"
}

25663
yarn.lock

File diff suppressed because it is too large Load Diff