Skip to content

Commit

Permalink
chore: remove unnecessary project names from nx commands (#6054)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Nov 21, 2022
1 parent e2d1263 commit 426c2f9
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion packages/ast-spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf .rollup.cache && rimraf coverage",
"clean-fixtures": "rimraf -g \"./src/**/fixtures/**/snapshots\"",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/ast-spec",
"lint": "nx lint",
"test": "jest",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/eslint-plugin-internal",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-tslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/eslint-plugin-tslint",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"generate:breaking-changes": "../../node_modules/.bin/ts-node tools/generate-breaking-changes.ts",
"generate:configs": "../../node_modules/.bin/ts-node tools/generate-configs.ts",
"lint": "nx lint @typescript-eslint/eslint-plugin",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/experimental-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/experimental-utils",
"lint": "nx lint",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/parser",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/scope-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "cd ../../ && nx build @typescript-eslint/scope-manager",
"clean": "cd ../../ && nx clean @typescript-eslint/scope-manager",
"clean-fixtures": "cd ../../ && nx clean-fixtures @typescript-eslint/scope-manager",
"build": "nx build",
"clean": "nx clean",
"clean-fixtures": "nx clean-fixtures",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"generate:lib": "cd ../../ && nx generate-lib @typescript-eslint/scope-manager",
"lint": "nx lint @typescript-eslint/scope-manager",
"test": "cd ../../ && nx test @typescript-eslint/scope-manager --code-coverage",
"typecheck": "cd ../../ && nx typecheck @typescript-eslint/scope-manager"
"generate:lib": "nx generate-lib",
"lint": "nx lint",
"test": "nx test --code-coverage",
"typecheck": "nx typecheck"
},
"dependencies": {
"@typescript-eslint/types": "5.43.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/type-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/type-utils",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"generate:lib": "../../node_modules/.bin/ts-node --files --transpile-only ../scope-manager/tools/generate-lib.ts",
"lint": "nx lint @typescript-eslint/types",
"lint": "nx lint",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"nx": {
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-estree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/typescript-estree",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/utils",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/visitor-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "nx lint @typescript-eslint/visitor-keys",
"lint": "nx lint",
"test": "jest --coverage",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "docusaurus build",
"clear": "docusaurus clear",
"format": "prettier --write \"./**/*.{md,mdx,ts,js,tsx,jsx}\" --ignore-path ../../.prettierignore",
"lint": "nx lint website",
"lint": "nx lint",
"serve": "docusaurus serve",
"start": "docusaurus start",
"swizzle": "docusaurus swizzle",
Expand Down

0 comments on commit 426c2f9

Please sign in to comment.