chore(repo): enable eslint plugin checks (#10666)
This commit is contained in:
parent
db49bbb135
commit
15c04b099e
28
package.json
28
package.json
@ -59,17 +59,17 @@
|
||||
"@ngrx/schematics": "~13.2.0",
|
||||
"@ngrx/store": "~13.2.0",
|
||||
"@ngrx/store-devtools": "~13.2.0",
|
||||
"@nrwl/eslint-plugin-nx": "14.2.1",
|
||||
"@nrwl/jest": "14.2.1",
|
||||
"@nrwl/next": "14.2.1",
|
||||
"@nrwl/nx-cloud": "14.0.5",
|
||||
"@nrwl/react": "14.2.1",
|
||||
"@nrwl/web": "14.2.1",
|
||||
"@nrwl/eslint-plugin-nx": "14.2.4",
|
||||
"@nrwl/jest": "14.2.4",
|
||||
"@nrwl/next": "14.2.4",
|
||||
"@nrwl/nx-cloud": "14.0.8",
|
||||
"@nrwl/react": "14.2.4",
|
||||
"@nrwl/web": "14.2.4",
|
||||
"@parcel/watcher": "2.0.4",
|
||||
"@phenomnomnominal/tsquery": "4.1.1",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
|
||||
"@popperjs/core": "^2.9.2",
|
||||
"@reduxjs/toolkit": "1.8.1",
|
||||
"@reduxjs/toolkit": "1.8.2",
|
||||
"@rollup/plugin-babel": "^5.3.0",
|
||||
"@rollup/plugin-commonjs": "^20.0.0",
|
||||
"@rollup/plugin-image": "^2.1.0",
|
||||
@ -86,7 +86,7 @@
|
||||
"@swc-node/register": "^1.4.2",
|
||||
"@swc/core": "^1.2.173",
|
||||
"@swc/jest": "^0.2.20",
|
||||
"@testing-library/react": "13.1.1",
|
||||
"@testing-library/react": "13.3.0",
|
||||
"@tippyjs/react": "^4.2.6",
|
||||
"@types/css-minimizer-webpack-plugin": "^3.0.2",
|
||||
"@types/cytoscape": "^3.18.2",
|
||||
@ -99,10 +99,10 @@
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/marked": "^2.0.0",
|
||||
"@types/node": "16.11.7",
|
||||
"@types/node": "17.0.41",
|
||||
"@types/prettier": "^2.6.2",
|
||||
"@types/react": "18.0.8",
|
||||
"@types/react-dom": "18.0.3",
|
||||
"@types/react": "18.0.12",
|
||||
"@types/react-dom": "18.0.5",
|
||||
"@types/react-router-dom": "5.1.7",
|
||||
"@types/semver": "^7.3.8",
|
||||
"@types/tar-stream": "^2.2.2",
|
||||
@ -142,7 +142,7 @@
|
||||
"eslint-plugin-cypress": "^2.10.3",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-jsx-a11y": "6.5.1",
|
||||
"eslint-plugin-react": "7.28.0",
|
||||
"eslint-plugin-react": "7.30.0",
|
||||
"eslint-plugin-react-hooks": "4.5.0",
|
||||
"express": "4.17.2",
|
||||
"file-loader": "^6.2.0",
|
||||
@ -189,7 +189,7 @@
|
||||
"ng-packagr": "~14.0.0",
|
||||
"ngrx-store-freeze": "0.2.4",
|
||||
"node-fetch": "^2.6.7",
|
||||
"nx": "14.2.1",
|
||||
"nx": "14.2.4",
|
||||
"open": "^8.4.0",
|
||||
"parse-markdown-links": "^1.0.4",
|
||||
"parse5": "4.0.0",
|
||||
@ -202,7 +202,7 @@
|
||||
"pretty-quick": "^3.1.0",
|
||||
"protractor": "5.4.3",
|
||||
"raw-loader": "^4.0.2",
|
||||
"react-redux": "8.0.1",
|
||||
"react-redux": "8.0.2",
|
||||
"react-refresh": "^0.10.0",
|
||||
"react-router-dom": "6.3.0",
|
||||
"react-test-renderer": "18.1.0",
|
||||
|
||||
@ -21,6 +21,18 @@
|
||||
"rules": {
|
||||
"no-restricted-imports": ["error", "@nrwl/workspace"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -87,7 +87,11 @@
|
||||
"packages/angular/**/*.spec.jsx",
|
||||
"packages/angular/**/*.d.ts",
|
||||
"packages/angular/**/executors/**/schema.json",
|
||||
"packages/angular/**/generators/**/schema.json"
|
||||
"packages/angular/**/generators/**/schema.json",
|
||||
"packages/angular/generators.json",
|
||||
"packages/angular/executors.json",
|
||||
"packages/angular/package.json",
|
||||
"packages/angular/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -12,6 +12,18 @@
|
||||
"rules": {
|
||||
"no-restricted-imports": ["error", "@nrwl/workspace"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["!**/*"]
|
||||
|
||||
@ -73,7 +73,11 @@
|
||||
"packages/cypress/**/*.spec.jsx",
|
||||
"packages/cypress/**/*.d.ts",
|
||||
"packages/cypress/**/executors/**/schema.json",
|
||||
"packages/cypress/**/generators/**/schema.json"
|
||||
"packages/cypress/**/generators/**/schema.json",
|
||||
"packages/cypress/generators.json",
|
||||
"packages/cypress/executors.json",
|
||||
"packages/cypress/package.json",
|
||||
"packages/cypress/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -1,5 +1,19 @@
|
||||
{
|
||||
"extends": "../../.eslintrc",
|
||||
"rules": {},
|
||||
"ignorePatterns": ["!**/*"]
|
||||
"ignorePatterns": ["!**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -14,7 +14,11 @@
|
||||
"packages/detox/**/*.spec.jsx",
|
||||
"packages/detox/**/*.d.ts",
|
||||
"packages/detox/**/executors/**/schema.json",
|
||||
"packages/detox/**/generators/**/schema.json"
|
||||
"packages/detox/**/generators/**/schema.json",
|
||||
"packages/detox/generators.json",
|
||||
"packages/detox/executors.json",
|
||||
"packages/detox/package.json",
|
||||
"packages/detox/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -24,6 +24,13 @@
|
||||
{
|
||||
"files": ["*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": ["./package.json"],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -73,7 +73,8 @@
|
||||
"packages/devkit/**/*.spec.jsx",
|
||||
"packages/devkit/**/*.d.ts",
|
||||
"packages/devkit/**/executors/**/schema.json",
|
||||
"packages/devkit/**/generators/**/schema.json"
|
||||
"packages/devkit/**/generators/**/schema.json",
|
||||
"packages/devkit/package.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -25,7 +25,7 @@ type Options = [
|
||||
}
|
||||
];
|
||||
|
||||
const DEFAULT_OPTIONS = {
|
||||
const DEFAULT_OPTIONS: Options[0] = {
|
||||
generatorsJson: 'generators.json',
|
||||
executorsJson: 'executors.json',
|
||||
migrationsJson: 'migrations.json',
|
||||
@ -96,9 +96,10 @@ export default createESLintRule<Options, MessageIds>({
|
||||
if (!sourceProject) {
|
||||
return {};
|
||||
}
|
||||
|
||||
const options = normalizeOptions(sourceProject, context.options[0]);
|
||||
context.options[0] = options;
|
||||
const { generatorsJson, executorsJson, migrationsJson, packageJson } =
|
||||
normalizeOptions(sourceProject, context.options[0]);
|
||||
options;
|
||||
|
||||
if (
|
||||
![generatorsJson, executorsJson, migrationsJson, packageJson].includes(
|
||||
|
||||
@ -27,6 +27,13 @@
|
||||
"@angular-devkit/schematics"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["./package.json", "./generators.json", "./migrations.json"],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -74,7 +74,10 @@
|
||||
"packages/express/**/*.spec.jsx",
|
||||
"packages/express/**/*.d.ts",
|
||||
"packages/express/**/executors/**/schema.json",
|
||||
"packages/express/**/generators/**/schema.json"
|
||||
"packages/express/**/generators/**/schema.json",
|
||||
"packages/express/generators.json",
|
||||
"packages/express/package.json",
|
||||
"packages/express/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -12,6 +12,18 @@
|
||||
"rules": {
|
||||
"no-restricted-imports": ["error", "@nrwl/workspace"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["!**/*"]
|
||||
|
||||
@ -73,7 +73,11 @@
|
||||
"packages/jest/**/*.spec.jsx",
|
||||
"packages/jest/**/*.d.ts",
|
||||
"packages/jest/**/executors/**/schema.json",
|
||||
"packages/jest/**/generators/**/schema.json"
|
||||
"packages/jest/**/generators/**/schema.json",
|
||||
"packages/jest/generators.json",
|
||||
"packages/jest/executors.json",
|
||||
"packages/jest/package.json",
|
||||
"packages/jest/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -13,6 +13,20 @@
|
||||
{
|
||||
"files": ["*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -10,7 +10,11 @@
|
||||
"lintFilePatterns": [
|
||||
"packages/js/**/*.ts",
|
||||
"packages/js/**/executors/**/schema.json",
|
||||
"packages/js/**/generators/**/schema.json"
|
||||
"packages/js/**/generators/**/schema.json",
|
||||
"packages/js/generators.json",
|
||||
"packages/js/executors.json",
|
||||
"packages/js/package.json",
|
||||
"packages/js/migrations.json"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@ -12,6 +12,18 @@
|
||||
"rules": {
|
||||
"no-restricted-imports": ["error", "@nrwl/workspace"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["!**/*"]
|
||||
|
||||
@ -67,9 +67,15 @@
|
||||
},
|
||||
"add-swc-deps": {
|
||||
"cli": "nx",
|
||||
"version": "14-1-9-beta.0",
|
||||
"version": "14.1.9-beta.0",
|
||||
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them",
|
||||
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed"
|
||||
},
|
||||
"add-swc-deps-again": {
|
||||
"cli": "nx",
|
||||
"version": "14.2.3-beta.0",
|
||||
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them (repeated due to prior mistake)",
|
||||
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed"
|
||||
}
|
||||
},
|
||||
"packageJsonUpdates": {
|
||||
|
||||
@ -74,7 +74,11 @@
|
||||
"packages/linter/**/*.spec.jsx",
|
||||
"packages/linter/**/*.d.ts",
|
||||
"packages/linter/**/executors/**/schema.json",
|
||||
"packages/linter/**/generators/**/schema.json"
|
||||
"packages/linter/**/generators/**/schema.json",
|
||||
"packages/linter/generators.json",
|
||||
"packages/linter/executors.json",
|
||||
"packages/linter/package.json",
|
||||
"packages/linter/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -27,6 +27,13 @@
|
||||
"@nrwl/workspace"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["./package.json", "./generators.json", "./migrations.json"],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -74,7 +74,10 @@
|
||||
"packages/nest/**/*.spec.jsx",
|
||||
"packages/nest/**/*.d.ts",
|
||||
"packages/nest/**/executors/**/schema.json",
|
||||
"packages/nest/**/generators/**/schema.json"
|
||||
"packages/nest/**/generators/**/schema.json",
|
||||
"packages/nest/generators.json",
|
||||
"packages/nest/package.json",
|
||||
"packages/nest/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -18,6 +18,18 @@
|
||||
"@angular-devkit/architect"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["!**/*"]
|
||||
|
||||
@ -79,7 +79,11 @@
|
||||
"packages/next/**/*.spec.jsx",
|
||||
"packages/next/**/*.d.ts",
|
||||
"packages/next/**/executors/**/schema.json",
|
||||
"packages/next/**/generators/**/schema.json"
|
||||
"packages/next/**/generators/**/schema.json",
|
||||
"packages/next/generators.json",
|
||||
"packages/next/executors.json",
|
||||
"packages/next/package.json",
|
||||
"packages/next/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -27,6 +27,18 @@
|
||||
"@angular-devkit/schematics"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -74,7 +74,11 @@
|
||||
"packages/node/**/*.spec.jsx",
|
||||
"packages/node/**/*.d.ts",
|
||||
"packages/node/**/executors/**/schema.json",
|
||||
"packages/node/**/generators/**/schema.json"
|
||||
"packages/node/**/generators/**/schema.json",
|
||||
"packages/node/generators.json",
|
||||
"packages/node/executors.json",
|
||||
"packages/node/package.json",
|
||||
"packages/node/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -27,6 +27,18 @@
|
||||
"@nrwl/workspace"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -17,9 +17,15 @@
|
||||
},
|
||||
"add-swc-deps": {
|
||||
"cli": "nx",
|
||||
"version": "14-1-9-beta.0",
|
||||
"version": "14.1.9-beta.0",
|
||||
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them",
|
||||
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed"
|
||||
},
|
||||
"add-swc-deps-again": {
|
||||
"cli": "nx",
|
||||
"version": "14.2.3-beta.0",
|
||||
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them (repeated due to bad version on earlier migration)",
|
||||
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -74,7 +74,11 @@
|
||||
"packages/nx-plugin/**/*.spec.jsx",
|
||||
"packages/nx-plugin/**/*.d.ts",
|
||||
"packages/nx-plugin/**/executors/**/schema.json",
|
||||
"packages/nx-plugin/**/generators/**/schema.json"
|
||||
"packages/nx-plugin/**/generators/**/schema.json",
|
||||
"packages/nx-plugin/generators.json",
|
||||
"packages/nx-plugin/executors.json",
|
||||
"packages/nx-plugin/package.json",
|
||||
"packages/nx-plugin/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -14,6 +14,18 @@
|
||||
{
|
||||
"files": ["*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": ["./package.json", "./executors.json", "./migrations.json"],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": [
|
||||
"error",
|
||||
{
|
||||
"allowedVersionStrings": ["latest"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -89,7 +89,10 @@
|
||||
"packages/nx/**/*.spec.tsx",
|
||||
"packages/nx/**/*.spec.js",
|
||||
"packages/nx/**/*.spec.jsx",
|
||||
"packages/nx/**/*.d.ts"
|
||||
"packages/nx/**/*.d.ts",
|
||||
"packages/nx/executors.json",
|
||||
"packages/nx/package.json",
|
||||
"packages/nx/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -1,5 +1,19 @@
|
||||
{
|
||||
"extends": "../../.eslintrc",
|
||||
"rules": {},
|
||||
"ignorePatterns": ["!**/*"]
|
||||
"ignorePatterns": ["!**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -14,7 +14,11 @@
|
||||
"packages/react-native/**/*.spec.jsx",
|
||||
"packages/react-native/**/*.d.ts",
|
||||
"packages/react-native/**/executors/**/schema.json",
|
||||
"packages/react-native/**/generators/**/schema.json"
|
||||
"packages/react-native/**/generators/**/schema.json",
|
||||
"packages/react-native/generators.json",
|
||||
"packages/react-native/executors.json",
|
||||
"packages/react-native/package.json",
|
||||
"packages/react-native/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -18,6 +18,18 @@
|
||||
"@angular-devkit/architect"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["!**/*"]
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
"chalk": "4.1.0",
|
||||
"eslint-plugin-import": "^2.25.2",
|
||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||
"eslint-plugin-react": "7.28.0",
|
||||
"eslint-plugin-react": "7.30.0",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"react-refresh": "^0.10.0",
|
||||
"semver": "7.3.4",
|
||||
|
||||
@ -84,7 +84,11 @@
|
||||
"packages/react/**/*.spec.jsx",
|
||||
"packages/react/**/*.d.ts",
|
||||
"packages/react/**/executors/**/schema.json",
|
||||
"packages/react/**/generators/**/schema.json"
|
||||
"packages/react/**/generators/**/schema.json",
|
||||
"packages/react/generators.json",
|
||||
"packages/react/executors.json",
|
||||
"packages/react/package.json",
|
||||
"packages/react/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -18,6 +18,18 @@
|
||||
"@angular-devkit/architect"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["!**/*"]
|
||||
|
||||
@ -84,7 +84,11 @@
|
||||
"packages/storybook/**/*.spec.jsx",
|
||||
"packages/storybook/**/*.d.ts",
|
||||
"packages/storybook/**/executors/**/schema.json",
|
||||
"packages/storybook/**/generators/**/schema.json"
|
||||
"packages/storybook/**/generators/**/schema.json",
|
||||
"packages/storybook/generators.json",
|
||||
"packages/storybook/executors.json",
|
||||
"packages/storybook/package.json",
|
||||
"packages/storybook/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -18,6 +18,18 @@
|
||||
"@angular-devkit/architect"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": "error"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["!**/*"]
|
||||
|
||||
@ -79,7 +79,11 @@
|
||||
"packages/web/**/*.spec.jsx",
|
||||
"packages/web/**/*.d.ts",
|
||||
"packages/web/**/executors/**/schema.json",
|
||||
"packages/web/**/generators/**/schema.json"
|
||||
"packages/web/**/generators/**/schema.json",
|
||||
"packages/web/generators.json",
|
||||
"packages/web/executors.json",
|
||||
"packages/web/package.json",
|
||||
"packages/web/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -18,6 +18,23 @@
|
||||
"@angular-devkit/schematics"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"./package.json",
|
||||
"./generators.json",
|
||||
"./executors.json",
|
||||
"./migrations.json"
|
||||
],
|
||||
"parser": "jsonc-eslint-parser",
|
||||
"rules": {
|
||||
"@nrwl/nx/nx-plugin-checks": [
|
||||
"error",
|
||||
{
|
||||
"allowedVersionStrings": ["latest", "*"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["!**/*"]
|
||||
|
||||
@ -99,7 +99,11 @@
|
||||
"packages/workspace/**/*.spec.jsx",
|
||||
"packages/workspace/**/*.d.ts",
|
||||
"packages/workspace/**/executors/**/schema.json",
|
||||
"packages/workspace/**/generators/**/schema.json"
|
||||
"packages/workspace/**/generators/**/schema.json",
|
||||
"packages/workspace/generators.json",
|
||||
"packages/workspace/executors.json",
|
||||
"packages/workspace/package.json",
|
||||
"packages/workspace/migrations.json"
|
||||
]
|
||||
},
|
||||
"outputs": ["{options.outputFile}"]
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"target": "es2015",
|
||||
"sourceMap": true,
|
||||
"importHelpers": true,
|
||||
"module": "esnext",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "build",
|
||||
"experimentalDecorators": true,
|
||||
@ -16,85 +16,85 @@
|
||||
"baseUrl": ".",
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
"@nrwl/angular": ["./packages/angular"],
|
||||
"@nrwl/angular/*": ["./packages/angular/*"],
|
||||
"@nrwl/cli": ["./packages/cli"],
|
||||
"@nrwl/cli/*": ["./packages/cli/*"],
|
||||
"@nrwl/cypress": ["./packages/cypress"],
|
||||
"@nrwl/cypress/*": ["./packages/cypress/*"],
|
||||
"@nrwl/detox": ["./packages/detox"],
|
||||
"@nrwl/devkit": ["./packages/devkit"],
|
||||
"@nrwl/devkit/ngcli-adapter": ["./packages/devkit/ngcli-adapter"],
|
||||
"@nrwl/devkit/testing": ["./packages/devkit/testing"],
|
||||
"@nrwl/e2e/cli": ["./e2e/cli"],
|
||||
"@nrwl/e2e/utils": ["./e2e/utils"],
|
||||
"@nrwl/eslint-plugin-nx": ["./packages/eslint-plugin-nx/src"],
|
||||
"@nrwl/express": ["./packages/express"],
|
||||
"@nrwl/jest": ["./packages/jest"],
|
||||
"@nrwl/jest/*": ["./packages/jest/*"],
|
||||
"@nrwl/js": ["./packages/js/src"],
|
||||
"@nrwl/js/*": ["./packages/js/*"],
|
||||
"@nrwl/linter": ["./packages/linter"],
|
||||
"@nrwl/nest": ["./packages/nest"],
|
||||
"@nrwl/next": ["./packages/next"],
|
||||
"@nrwl/node": ["./packages/node"],
|
||||
"@nrwl/node/*": ["./packages/node/*"],
|
||||
"@nrwl/angular": ["packages/angular"],
|
||||
"@nrwl/angular/*": ["packages/angular/*"],
|
||||
"@nrwl/cli": ["packages/cli"],
|
||||
"@nrwl/cli/*": ["packages/cli/*"],
|
||||
"@nrwl/cypress": ["packages/cypress"],
|
||||
"@nrwl/cypress/*": ["packages/cypress/*"],
|
||||
"@nrwl/detox": ["packages/detox"],
|
||||
"@nrwl/devkit": ["packages/devkit"],
|
||||
"@nrwl/devkit/ngcli-adapter": ["packages/devkit/ngcli-adapter"],
|
||||
"@nrwl/devkit/testing": ["packages/devkit/testing"],
|
||||
"@nrwl/e2e/cli": ["e2e/cli"],
|
||||
"@nrwl/e2e/utils": ["e2e/utils"],
|
||||
"@nrwl/eslint-plugin-nx": ["packages/eslint-plugin-nx/src"],
|
||||
"@nrwl/express": ["packages/express"],
|
||||
"@nrwl/jest": ["packages/jest"],
|
||||
"@nrwl/jest/*": ["packages/jest/*"],
|
||||
"@nrwl/js": ["packages/js/src"],
|
||||
"@nrwl/js/*": ["packages/js/*"],
|
||||
"@nrwl/linter": ["packages/linter"],
|
||||
"@nrwl/nest": ["packages/nest"],
|
||||
"@nrwl/next": ["packages/next"],
|
||||
"@nrwl/node": ["packages/node"],
|
||||
"@nrwl/node/*": ["packages/node/*"],
|
||||
"@nrwl/nx-dev-feature-package-schema-viewer": [
|
||||
"./nx-dev/feature-package-schema-viewer/src/index.ts"
|
||||
"nx-dev/feature-package-schema-viewer/src/index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/data-access-documents": [
|
||||
"./nx-dev/data-access-documents/src/index.ts"
|
||||
"nx-dev/data-access-documents/src/index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/data-access-documents/node-only": [
|
||||
"./nx-dev/data-access-documents/src/node.index.ts"
|
||||
"nx-dev/data-access-documents/src/node.index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/data-access-menu": ["nx-dev/data-access-menu/src/index.ts"],
|
||||
"@nrwl/nx-dev/data-access-packages": [
|
||||
"./nx-dev/data-access-packages/src/index.ts"
|
||||
"nx-dev/data-access-packages/src/index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/data-access-packages/node-only": [
|
||||
"./nx-dev/data-access-packages/src/node.index.ts"
|
||||
"nx-dev/data-access-packages/src/node.index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/feature-analytics": [
|
||||
"./nx-dev/feature-analytics/src/index.ts"
|
||||
"nx-dev/feature-analytics/src/index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/feature-doc-viewer": [
|
||||
"./nx-dev/feature-doc-viewer/src/index.ts"
|
||||
"nx-dev/feature-doc-viewer/src/index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/feature-flavor-selection": [
|
||||
"./nx-dev/feature-flavor-selection/src/index.ts"
|
||||
"nx-dev/feature-flavor-selection/src/index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/feature-search": ["./nx-dev/feature-search/src/index.ts"],
|
||||
"@nrwl/nx-dev/feature-storage": ["./nx-dev/feature-storage/src/index.ts"],
|
||||
"@nrwl/nx-dev/feature-search": ["nx-dev/feature-search/src/index.ts"],
|
||||
"@nrwl/nx-dev/feature-storage": ["nx-dev/feature-storage/src/index.ts"],
|
||||
"@nrwl/nx-dev/feature-versions-and-flavors": [
|
||||
"./nx-dev/feature-versions-and-flavors/src/index.ts"
|
||||
"nx-dev/feature-versions-and-flavors/src/index.ts"
|
||||
],
|
||||
"@nrwl/nx-dev/models-document": ["./nx-dev/models-document/src/index.ts"],
|
||||
"@nrwl/nx-dev/models-menu": ["./nx-dev/models-menu/src/index.ts"],
|
||||
"@nrwl/nx-dev/models-package": ["./nx-dev/models-package/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-commands": ["./nx-dev/ui-commands/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-common": ["./nx-dev/ui-common/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-community": ["./nx-dev/ui-community/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-conference": ["./nx-dev/ui-conference/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-home": ["./nx-dev/ui-home/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-member-card": ["./nx-dev/ui-member-card/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-sponsor-card": ["./nx-dev/ui-sponsor-card/src/index.ts"],
|
||||
"@nrwl/nx-plugin": ["./packages/nx-plugin"],
|
||||
"@nrwl/react": ["./packages/react"],
|
||||
"@nrwl/react-native": ["./packages/react-native"],
|
||||
"@nrwl/react/*": ["./packages/react/*"],
|
||||
"@nrwl/storybook": ["./packages/storybook"],
|
||||
"@nrwl/storybook/*": ["./packages/storybook/*"],
|
||||
"@nrwl/tao": ["./packages/tao"],
|
||||
"@nrwl/tao/*": ["./packages/tao/*"],
|
||||
"@nrwl/nx-dev/models-document": ["nx-dev/models-document/src/index.ts"],
|
||||
"@nrwl/nx-dev/models-menu": ["nx-dev/models-menu/src/index.ts"],
|
||||
"@nrwl/nx-dev/models-package": ["nx-dev/models-package/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-commands": ["nx-dev/ui-commands/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-common": ["nx-dev/ui-common/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-community": ["nx-dev/ui-community/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-conference": ["nx-dev/ui-conference/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-home": ["nx-dev/ui-home/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-member-card": ["nx-dev/ui-member-card/src/index.ts"],
|
||||
"@nrwl/nx-dev/ui-sponsor-card": ["nx-dev/ui-sponsor-card/src/index.ts"],
|
||||
"@nrwl/nx-plugin": ["packages/nx-plugin"],
|
||||
"@nrwl/react": ["packages/react"],
|
||||
"@nrwl/react-native": ["packages/react-native"],
|
||||
"@nrwl/react/*": ["packages/react/*"],
|
||||
"@nrwl/storybook": ["packages/storybook"],
|
||||
"@nrwl/storybook/*": ["packages/storybook/*"],
|
||||
"@nrwl/tao": ["packages/tao"],
|
||||
"@nrwl/tao/*": ["packages/tao/*"],
|
||||
"@nrwl/typedoc-theme": ["/typedoc-theme/src/index.ts"],
|
||||
"@nrwl/web": ["./packages/web"],
|
||||
"@nrwl/web/*": ["./packages/web/*"],
|
||||
"@nrwl/workspace": ["./packages/workspace"],
|
||||
"@nrwl/workspace/*": ["./packages/workspace/*"],
|
||||
"@nrwl/workspace/testing": ["./packages/workspace/testing"],
|
||||
"nx": ["./packages/nx"],
|
||||
"nx/*": ["./packages/nx/*"]
|
||||
"@nrwl/web": ["packages/web"],
|
||||
"@nrwl/web/*": ["packages/web/*"],
|
||||
"@nrwl/workspace": ["packages/workspace"],
|
||||
"@nrwl/workspace/*": ["packages/workspace/*"],
|
||||
"@nrwl/workspace/testing": ["packages/workspace/testing"],
|
||||
"nx": ["packages/nx"],
|
||||
"nx/*": ["packages/nx/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user