feat: switch to yarn

This commit is contained in:
bartosz-lipinski 2021-02-15 11:02:39 -06:00
parent 35caa5b343
commit f634558f9c
9 changed files with 18088 additions and 94119 deletions

View File

@ -1,12 +1,12 @@
## Setup
Be sure to be running Node v12.16.2 and npm version 6.14.4.
Be sure to be running Node v12.16.2 and yarn version 1.22.10.
`npm run bootstrap`
`yarn bootstrap`
Then run:
`npm start lending`
`yarn start lending`
You may have to rebuild your package more than one time to secure a
running environment.

View File

@ -1,11 +1,22 @@
{
"lerna": "3.4.3",
"npmClient": "npm",
"useWorkspaces": true,
"packages": ["packages/*"],
"version": "independent",
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"ignoreChanges": [
"**/__tests__/**",
"**/*.md"
],
"command": {
"publish": {
"conventionalCommits": true,
"allowBranch": ["master", "next"],
"message": "chore(release): Publish"
}
}
}

13793
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +1,17 @@
{
"private": true,
"keywords": [],
"workspaces": {
"packages": [
"packages/*"
]
},
"keywords": [],
"license": "Apache-2.0",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"bootstrap": "lerna link && lerna bootstrap && lerna exec npm install",
"bootstrap": "lerna link && lerna bootstrap",
"build": "lerna run build",
"start": "CI=true lerna run start --scope @oyster/common --stream --parallel --scope ",
"lint": "eslint 'packages/*/{src,test}/**/*.ts' && prettier -c 'packages/*/{src,test}/**/*.ts'",
@ -48,9 +48,10 @@
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"npm-run-all": "^4.1.5",
"@commitlint/config-conventional": "^8.2.0",
"@types/jest": "^24.0.0",
"@types/react": "^16.9.50",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"eslint": "^6.6.0",
@ -61,19 +62,12 @@
"jest-config": "24.9.0",
"lerna": "3.22.1",
"lint-staged": "^10.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"rollup": "^1.23.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-typescript2": "^0.25.2",
"rimraf": "^3.0.2",
"ts-jest": "^24.0.0",
"ts-node": "^9.0.0",
"typescript": "^4.1.3",
"@types/react": "^16.9.50",
"@types/react-dom": "^16.9.8"
"typescript": "^4.1.3"
},
"resolutions": {
"react": "16.13.1",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

18064
yarn.lock Normal file

File diff suppressed because it is too large Load Diff