10000 build: update lerna monorepo config files · rosauceda/coreui-react@79a076e · GitHub
[go: up one dir, main page]

Skip to content

Commit 79a076e

Browse files
committed
build: update lerna monorepo config files
1 parent ec7ae38 commit 79a076e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+142
-269
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,23 @@
1414
"docs:dist": "lerna run --scope \"@coreui/react-docs\" dist --stream",
1515
"lib:build": "lerna run --scope \"@coreui/react\" build --stream",
1616
"lib:lint": "lerna run --scope \"@coreui/react\" lint --stream",
17-
"lib:test": "lerna run --scope \"@coreui/react\" test --stream"
17+
"lib:test": "lerna run --scope \"@coreui/react\" test --stream",
18+
"lint": "eslint \"packages/**/src/components/**/*.{js,ts,tsx}\"",
19+
"test": "jest --coverage",
20+
"test:update": "jest --coverage --updateSnapshot"
1821
},
1922
"devDependencies": {
20-
"lerna": "^4.0.0"
23+
"@typescript-eslint/eslint-plugin": "^5.1.0",
24+
"@typescript-eslint/parser": "^5.1.0",
25+
"eslint": "7.32.0",
26+
"eslint-config-prettier": "^8.3.0",
27+
"eslint-plugin-prettier": "^4.0.0",
28+
"eslint-plugin-react": "^7.26.1",
29+
"eslint-plugin-react-hooks": "^4.2.0",
30+
"jest": "^27.3.1",
31+
"jest-canvas-mock": "^2.3.1",
32+
"lerna": "^4.0.0",
33+
"prettier": "^2.4.1",
34+
"ts-jest": "^27.0.7"
2135
}
2236
}

packages/coreui-react-chartjs/.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/coreui-react-chartjs/.eslintrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/coreui-react-chartjs/package.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,11 @@
5151
"@testing-library/jest-dom": "^5.14.1",
5252
"@testing-library/react": "^12.1.2",
5353
"@types/lodash": "^4.14.172",
54-
"@typescript-eslint/eslint-plugin": "^5.1.0",
55-
"@typescript-eslint/parser": "^5.1.0",
5654
"classnames": "^2.3.1",
57-
"eslint": "^7.32.0",
58-
"eslint-config-prettier": "^8.3.0",
59-
"eslint-plugin-prettier": "^4.0.0",
60-
"eslint-plugin-react": "^7.26.1",
61-
"eslint-plugin-react-hooks": "^4.2.0",
62-
"jest": "^27.3.1",
63-
"jest-canvas-mock": "^2.3.1",
6455
"lodash": "^4.17.21",
65-
"prettier": "^2.4.1",
6656
"prop-types": "^15.7.2",
6757
"rollup": "^2.56.2",
6858
"rollup-plugin-peer-deps-external": "^2.2.4",
69-
"ts-jest": "^27.0.7",
7059
"typescript": "^4.4.4"
7160
},
7261
"peerDependencies": {
Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"jsx": "react",
4-
"outDir": "dist",
5-
"module": "esnext",
6-
"target": "es5",
7-
"lib": ["es6", "dom", "es2016", "es2017"],
8-
"sourceMap": true,
9-
"allowJs": false,
10-
"declaration": true,
11-
"declarationDir": ".",
12-
"moduleResolution": "node",
13-
"forceConsistentCasingInFileNames": true,
14-
"noImplicitReturns": true,
15-
"noImplicitThis": true,
16-
"noImplicitAny": true,
17-
"strictNullChecks": true,
18-
"suppressImplicitAnyIndexErrors": true,
19-
"noUnusedLocals": true,
20-
"noUnusedParameters": true,
21-
"esModuleInterop": true
22-
},
23-
"include": ["src"],
24-
"exclude": ["**/node_modules", "dist"]
2+
"extends": "../../tsconfig",
3+
"include": ["src/**/*"]
254
}

0 commit comments

Comments
 (0)
0