feat: switch to yarn
This commit is contained in:
parent
35caa5b343
commit
f634558f9c
|
@ -1,12 +1,12 @@
|
||||||
## Setup
|
## 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:
|
Then run:
|
||||||
|
|
||||||
`npm start lending`
|
`yarn start lending`
|
||||||
|
|
||||||
You may have to rebuild your package more than one time to secure a
|
You may have to rebuild your package more than one time to secure a
|
||||||
running environment.
|
running environment.
|
||||||
|
|
17
lerna.json
17
lerna.json
|
@ -1,11 +1,22 @@
|
||||||
{
|
{
|
||||||
"lerna": "3.4.3",
|
"lerna": "3.4.3",
|
||||||
"npmClient": "npm",
|
|
||||||
"useWorkspaces": true,
|
|
||||||
"packages": ["packages/*"],
|
|
||||||
"version": "independent",
|
"version": "independent",
|
||||||
|
"packages": ["packages/*"],
|
||||||
|
"npmClient": "yarn",
|
||||||
|
"useWorkspaces": true,
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
"registry": "https://registry.npmjs.org"
|
"registry": "https://registry.npmjs.org"
|
||||||
|
},
|
||||||
|
"ignoreChanges": [
|
||||||
|
"**/__tests__/**",
|
||||||
|
"**/*.md"
|
||||||
|
],
|
||||||
|
"command": {
|
||||||
|
"publish": {
|
||||||
|
"conventionalCommits": true,
|
||||||
|
"allowBranch": ["master", "next"],
|
||||||
|
"message": "chore(release): Publish"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
|
@ -1,17 +1,17 @@
|
||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"keywords": [],
|
|
||||||
"workspaces": {
|
"workspaces": {
|
||||||
"packages": [
|
"packages": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"keywords": [],
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=6.0.0"
|
"node": ">=6.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "lerna link && lerna bootstrap && lerna exec npm install",
|
"bootstrap": "lerna link && lerna bootstrap",
|
||||||
"build": "lerna run build",
|
"build": "lerna run build",
|
||||||
"start": "CI=true lerna run start --scope @oyster/common --stream --parallel --scope ",
|
"start": "CI=true lerna run start --scope @oyster/common --stream --parallel --scope ",
|
||||||
"lint": "eslint 'packages/*/{src,test}/**/*.ts' && prettier -c 'packages/*/{src,test}/**/*.ts'",
|
"lint": "eslint 'packages/*/{src,test}/**/*.ts' && prettier -c 'packages/*/{src,test}/**/*.ts'",
|
||||||
|
@ -48,9 +48,10 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^8.2.0",
|
"@commitlint/cli": "^8.2.0",
|
||||||
"npm-run-all": "^4.1.5",
|
|
||||||
"@commitlint/config-conventional": "^8.2.0",
|
"@commitlint/config-conventional": "^8.2.0",
|
||||||
"@types/jest": "^24.0.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/eslint-plugin": "^4.6.0",
|
||||||
"@typescript-eslint/parser": "^4.6.0",
|
"@typescript-eslint/parser": "^4.6.0",
|
||||||
"eslint": "^6.6.0",
|
"eslint": "^6.6.0",
|
||||||
|
@ -61,19 +62,12 @@
|
||||||
"jest-config": "24.9.0",
|
"jest-config": "24.9.0",
|
||||||
"lerna": "3.22.1",
|
"lerna": "3.22.1",
|
||||||
"lint-staged": "^10.5.0",
|
"lint-staged": "^10.5.0",
|
||||||
|
"npm-run-all": "^4.1.5",
|
||||||
"prettier": "^2.1.2",
|
"prettier": "^2.1.2",
|
||||||
"rollup": "^1.23.1",
|
"rimraf": "^3.0.2",
|
||||||
"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",
|
|
||||||
"ts-jest": "^24.0.0",
|
"ts-jest": "^24.0.0",
|
||||||
"ts-node": "^9.0.0",
|
"ts-node": "^9.0.0",
|
||||||
"typescript": "^4.1.3",
|
"typescript": "^4.1.3"
|
||||||
"@types/react": "^16.9.50",
|
|
||||||
"@types/react-dom": "^16.9.8"
|
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"react": "16.13.1",
|
"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
Loading…
Reference in New Issue