Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: update some package scripts and dependency config#10765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
66 commits
Select commitHold shift + click to select a range
9a4219c
chore: fix `nx` usage with lifecycle scripts across all projects
aryaemami59Feb 3, 2025
0b88f6b
Add `clean` task for `repo`
aryaemami59Mar 7, 2025
357a124
Fix `dependsOn` for `repo` tasks
aryaemami59Mar 7, 2025
86496db
Fix `dependsOn` for `integration-tests:typecheck`
aryaemami59Mar 7, 2025
f6476f3
Fix `dependsOn` for `eslint-plugin:generate-breaking-changes`
aryaemami59Mar 7, 2025
72a8f70
Fix `@nx/eslint:lint` usage
aryaemami59Mar 7, 2025
fc955b7
Fix `clean` task for `repo`
aryaemami59Mar 10, 2025
c875823
Fix `clean` scripts and remove `postclean` scripts
aryaemami59Mar 10, 2025
e75b663
Fix `integration-tests:typecheck` task
aryaemami59Mar 10, 2025
cfc639a
Fix `typecheck` task
aryaemami59Mar 15, 2025
a9c1542
chore: remove '@nx/js' from `ignoreDependencies` in `knip.ts`
aryaemami59Mar 15, 2025
958779b
Fix `ast-spec:test`
aryaemami59Mar 16, 2025
1d8fbd9
Fix `eslint-plugin:generate-breaking-changes` task
aryaemami59Mar 16, 2025
067a609
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Mar 27, 2025
fb9df03
Change `yarn run --top-level` to `yarn run -T`
aryaemami59Mar 27, 2025
93793f7
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Mar 31, 2025
8f9c46a
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Mar 31, 2025
7396ec1
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 2, 2025
d30aa8c
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 5, 2025
1d6afe0
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 7, 2025
c01bcf7
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 7, 2025
f526d38
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 10, 2025
1639036
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 10, 2025
23968fd
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 11, 2025
f897cfa
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 11, 2025
ed3dbde
chore: remove unused `downlevel-dts`
aryaemami59Apr 11, 2025
6d056e8
Fix scripts names to avoid containing `:`
aryaemami59Apr 11, 2025
33d45aa
Switch `yarn run -T nx` to `yarn run -BT nx`
aryaemami59Apr 11, 2025
7071f04
Change `outDir` from `jest` to `vitest`
aryaemami59Apr 11, 2025
9d646a7
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 11, 2025
6bf8521
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 11, 2025
5be3174
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 11, 2025
2e2d763
Run `ast-spec:typecheck` during `postinstall`
aryaemami59Apr 11, 2025
cb52d66
Remove `jiti`
aryaemami59Apr 11, 2025
84105fa
Update `typecheck` output path in `nx.json`
aryaemami59Apr 12, 2025
d5dfb24
Fix `vitest` coverage output when run with `nx`
aryaemami59Apr 12, 2025
50b548b
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 23, 2025
e871f8c
Fix `eslint-plugin:test-single` task
aryaemami59Apr 23, 2025
9b9a6c8
Remove duplicate `ast-spec:test`
aryaemami59Apr 23, 2025
d9c0bd6
Add missing `test` tasks
aryaemami59Apr 23, 2025
c833461
Resolve remaining `nx` related issues
aryaemami59Apr 23, 2025
5862135
Fix `tsBuildInfoFile` for root `tsconfig.json` file
aryaemami59Apr 23, 2025
4170d88
Fix unit-tests for `eslint-plugin`
aryaemami59Apr 23, 2025
31b2413
Remove remaining `jest` references
aryaemami59Apr 23, 2025
2e4f1af
Replace `pretty-format` usage in `parser` with `vitest`
aryaemami59Apr 23, 2025
4ce8f77
Fix lint issues for `eslint-plugin`
aryaemami59Apr 23, 2025
65ce1a1
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 28, 2025
d85a56c
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 28, 2025
9953fdd
fix issues for `ast-spec`
aryaemami59Apr 29, 2025
1aee400
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59Apr 30, 2025
1ce427e
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 1, 2025
f3ac952
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 3, 2025
892952a
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 7, 2025
1cf76ec
fix lockfile
aryaemami59May 7, 2025
dbe282b
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 9, 2025
e615a64
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 15, 2025
1604852
fix dependencies
aryaemami59May 15, 2025
62c64a8
Merge branch 'chore/fix-life-cycle-scripts' of https://github.com/ary…
aryaemami59May 16, 2025
1a1834d
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 16, 2025
3bb6929
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 16, 2025
c7b0c0c
fix `nx.json`
aryaemami59May 16, 2025
a27f188
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 16, 2025
2af1a2f
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 16, 2025
c6074b1
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59May 16, 2025
03b781a
chore: tmp commit, checking I can push to fork
JamesHenryMay 17, 2025
81147b6
chore: undo tmp commit
JamesHenryMay 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions.github/actions/prepare-build/action.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,7 +22,7 @@ runs:
if: steps['build-cache'].outputs.cache-hit == 'true'
shell: bash
run: |
npx nx run types:build
yarn nx run types:build
env:
SKIP_AST_SPEC_REBUILD: true

Expand All@@ -31,6 +31,6 @@ runs:
shell: bash
# Website will be built by the Netlify GitHub App
run: |
npx nx run-many --target=build --parallel --exclude=website --exclude=website-eslint
yarn nx run-many --target=build --parallel --exclude=website --exclude=website-eslint
env:
SKIP_AST_SPEC_REBUILD: true
6 changes: 3 additions & 3 deletions.github/workflows/ci.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,12 +198,12 @@ jobs:
# we don't collect coverage on other node versions so they run faster
- name: Run unit tests with coverage for ${{ matrix.package }}
if: env.PRIMARY_NODE_VERSION == matrix.node-version && matrix.os == 'ubuntu-latest'
run:npx nx run ${{ matrix.package }}:test -- --coverage
run:yarn nx run ${{ matrix.package }}:test -- --coverage
env:
CI: true
- name: Run unit tests for ${{ matrix.package }}
if: env.PRIMARY_NODE_VERSION != matrix.node-version || matrix.os != 'ubuntu-latest'
run:npx nx test ${{ matrix.package }}
run:yarn nx test ${{ matrix.package }}
env:
CI: true

Expand DownExpand Up@@ -238,7 +238,7 @@ jobs:
- name: Build
uses: ./.github/actions/prepare-build
- name: Run unit tests for ${{ matrix.package }}
run:npx nx test ${{ matrix.package }} --coverage=false
run:yarn nx test ${{ matrix.package }} --coverage=false
env:
CI: true
TYPESCRIPT_ESLINT_PROJECT_SERVICE: true
Expand Down
9 changes: 6 additions & 3 deletionsknip.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,14 +22,17 @@ export default {
workspaces: {
'.': {
entry: ['tools/release/changelog-renderer.js', 'tools/scripts/**/*.mts'],
ignore: ['tools/scripts/typings/typescript.d.ts', 'typings/*.d.ts'],
ignoreDependencies: [
'@nx/js',
'@nx/workspace',
'make-dir',
// imported for type purposes only
'website',
],

project: [
'tools/scripts/**/*.mts',
'!tools/scripts/typings/typescript.d.ts',
'!typings/*.d.ts',
],
},
'packages/ast-spec': {
ignore: [
Expand Down
6 changes: 4 additions & 2 deletionsnx.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -100,6 +100,7 @@
"cache": true
},
"lint": {
"executor": "@nx/eslint:lint",
"dependsOn": ["eslint-plugin-internal:build", "typescript-eslint:build"],
"inputs": [
"default",
Expand DownExpand Up@@ -135,9 +136,10 @@
],
"production": [
"default",
"!{projectRoot}/**/?(*.)+(test).[jt]s?(x)?(.snap)",
"!{projectRoot}/**/?(*.)+(test).?(m|c)[jt]s?(x)?(.snap|.shot)",
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

this is done because of the newly addeddocs.test.mts file.

"!{projectRoot}/tests",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/vitest.config.m[jt]s",
"!{projectRoot}/vitest.config.mts",
"!{projectRoot}/src/test-setup.[jt]s"
]
}
Expand Down
36 changes: 18 additions & 18 deletionspackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,30 +22,30 @@
},
"homepage": "https://typescript-eslint.io",
"scripts": {
"build": "npxnx run-many --target=build --exclude website --exclude website-eslint",
"build": "nx run-many --target=build --exclude website --exclude website-eslint",
"check-clean-workspace-after-install": "git diff --quiet --exit-code",
"check-format": "prettier --check .",
"check-spelling": "cspell --config=.cspell.json \"**/*.{md,mdx,ts,mts,cts,js,cjs,mjs,tsx,jsx}\" --no-progress --show-context --show-suggestions",
"clean": "npxnx run-many --target=clean",
"format": "prettier --write .",
"generate-breaking-changes": "npxnx run eslint-plugin:generate-breaking-changes",
"generate-configs": "npxnx generate-configs",
"generate-contributors": "npxnx generate-contributors",
"generate-lib": "npxnx generate-lib",
"generate-sponsors": "npxnx generate-sponsors",
"generate-website-dts": "npxnx run website:generate-website-dts",
"clean": "nx run-many --target=clean --parallel=20",
"format": "prettier --ignore-path=$PROJECT_CWD/.prettierignore --config=$PROJECT_CWD/.prettierrc.json --write $INIT_CWD",
"generate-breaking-changes": "nx run eslint-plugin:generate-breaking-changes",
"generate-configs": "nx generate-configs",
"generate-contributors": "nx generate-contributors",
"generate-lib": "nx generate-lib",
"generate-sponsors": "nx generate-sponsors",
"generate-website-dts": "nx run website:generate-website-dts",
"lint-fix": "yarn lint --fix",
"lint-markdown-fix": "yarn lint-markdown --fix",
"lint-markdown": "markdownlint \"**/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore",
"lint-stylelint": "npxnx lint website stylelint",
"lint": "npxnxlint eslint-plugin --skip-nx-cache && npx nxrun-many --target=lint --exclude eslint-plugin",
"lint-stylelint": "nx lint website stylelint",
"lint": "nx run-many --target=lint",
"postinstall": "tsx tools/scripts/postinstall.mts",
"pre-commit": "yarnlint-staged",
"pre-commit": "lint-staged",
"release": "tsx tools/release/release.mts",
"start": "npxnx run website:start",
"test": "npxnx run-many --target=test --exclude integration-tests --exclude website --exclude website-eslint",
"test-integration": "npxnx run integration-tests:test",
"typecheck": "npxnx run-many --target=typecheck"
"start": "nx run website:start",
"test": "nx run-many --target=test --exclude integration-tests --exclude website --exclude website-eslint",
"test-integration": "nx run integration-tests:test",
"typecheck": "nx run-many --target=typecheck"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
Expand All@@ -59,6 +59,7 @@
"@eslint/js": "^9.26.0",
"@nx/devkit": "20.7.2",
"@nx/eslint": "20.7.2",
"@nx/js": "20.7.2",
"@nx/vite": "20.7.2",
"@nx/workspace": "20.7.2",
"@swc/core": "^1.4.12",
Expand All@@ -70,6 +71,7 @@
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "workspace:^",
"@typescript-eslint/eslint-plugin-internal": "workspace:^",
"@typescript-eslint/parser": "workspace:^",
"@typescript-eslint/scope-manager": "workspace:^",
"@typescript-eslint/types": "workspace:^",
"@typescript-eslint/typescript-estree": "workspace:^",
Expand All@@ -94,7 +96,6 @@
"husky": "^9.1.4",
"knip": "^5.41.1",
"lint-staged": "^15.2.2",
"make-dir": "^4.0.0",
"markdownlint-cli": "^0.44.0",
"nx": "20.7.2",
"prettier": "3.5.0",
Expand All@@ -116,7 +117,6 @@
"eslint-plugin-eslint-plugin@^5.5.0": "patch:eslint-plugin-eslint-plugin@npm%3A5.5.1#./.yarn/patches/eslint-plugin-eslint-plugin-npm-5.5.1-4206c2506d.patch",
"prettier": "3.5.0",
"react-split-pane@^0.1.92": "patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch",
"tmp": "0.2.1",
"tsx": "^4.7.2",
"typescript": "5.8.2"
},
Expand Down
7 changes: 3 additions & 4 deletionspackages/ast-spec/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -34,10 +34,10 @@
"build": "tsc -b tsconfig.build.json && api-extractor run --local --config=$INIT_CWD/api-extractor.json",
"clean": "rimraf dist/ 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": "npx nx lint",
"format": "yarn run -T format",
"lint": "yarn run -BT nx lint",
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
"check-types": "npx nx typecheck"
"check-types": "yarn run -BT nx typecheck"
},
"funding": {
"type": "opencollective",
Expand All@@ -56,7 +56,6 @@
"@vitest/utils": "^3.1.3",
"eslint": "*",
"glob": "*",
"prettier": "^3.2.5",
"rimraf": "*",
"typescript": "*",
"vitest": "^3.1.3"
Expand Down
3 changes: 1 addition & 2 deletionspackages/ast-spec/project.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,8 +10,7 @@
"outputs": ["{projectRoot}/dist/**/*.ts"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/vite:test",
Expand Down
11 changes: 5 additions & 6 deletionspackages/eslint-plugin-internal/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,13 +14,12 @@
"homepage": "https://typescript-eslint.io",
"license": "MIT",
"scripts": {
"build": "npx tsc -b tsconfig.build.json",
"clean": "npx tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist/ coverage/",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "npx nx lint",
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf dist/ coverage/",
"format": "yarn run -T format",
"lint": "yarn run -BT nx lint",
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
"check-types": "npx nx typecheck"
"check-types": "yarn run -BT nx typecheck"
},
"dependencies": {
"@prettier/sync": "^0.5.1",
Expand Down
3 changes: 1 addition & 2 deletionspackages/eslint-plugin-internal/project.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,8 +6,7 @@
"sourceRoot": "packages/eslint-plugin-internal/src",
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/vite:test"
Expand Down
12 changes: 6 additions & 6 deletionspackages/eslint-plugin/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -51,13 +51,13 @@
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf dist/ coverage/",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"generate:breaking-changes": "tsx tools/generate-breaking-changes.mts",
"generate:configs": "npx nxgenerate-configs repo",
"lint": "npx nx lint",
"format": "yarn run -T format",
"generate-breaking-changes": "tsx tools/generate-breaking-changes.mts",
"generate-configs": "yarn run -Tgenerate-configs",
"lint": "yarn run -BT nx lint",
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
"test-single": "vitest --run --config=$INIT_CWD/vitest.config.mts --no-coverage",
"check-types": "npx nx typecheck"
"check-types": "yarn run -BT nx typecheck"
},
"dependencies": {
"@eslint-community/regexpp": "^4.10.0",
Expand DownExpand Up@@ -85,7 +85,7 @@
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-mdx": "^3.0.0",
"micromark-extension-mdxjs": "^3.0.0",
"prettier": "^3.2.5",
"prettier": "^3.5.3",
"rimraf": "*",
"title-case": "^4.0.0",
"tsx": "*",
Expand Down
3 changes: 2 additions & 1 deletionpackages/eslint-plugin/project.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,9 +19,10 @@
"executor": "@nx/vite:test"
},
"generate-breaking-changes": {
"dependsOn": ["type-utils:build"],
"executor": "nx:run-script",
"options": {
"script": "generate:breaking-changes"
"script": "generate-breaking-changes"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletionspackages/integration-tests/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,10 +12,10 @@
"homepage": "https://typescript-eslint.io",
"license": "MIT",
"scripts": {
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "npx nx lint",
"format": "yarn run -T format",
"lint": "yarn run -BT nx lint",
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
"check-types": "npx nx typecheck"
"check-types": "yarn run -BT nx typecheck"
},
"devDependencies": {
"@vitest/coverage-v8": "^3.1.3",
Expand Down
3 changes: 1 addition & 2 deletionspackages/integration-tests/project.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,8 +7,7 @@
"implicitDependencies": ["typescript-eslint"],
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/vite:test"
Expand Down
7 changes: 3 additions & 4 deletionspackages/parser/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,10 +41,10 @@
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf dist/ coverage/",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "npx nx lint",
"format": "yarn run -T format",
"lint": "yarn run -BT nx lint",
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
"check-types": "npx nx typecheck"
"check-types": "yarn run -BT nx typecheck"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
Expand All@@ -60,7 +60,6 @@
"devDependencies": {
"@vitest/coverage-v8": "^3.1.3",
"glob": "*",
"prettier": "^3.2.5",
"rimraf": "*",
"typescript": "*",
"vitest": "^3.1.3"
Expand Down
3 changes: 1 addition & 2 deletionspackages/parser/project.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,8 +6,7 @@
"sourceRoot": "packages/parser/src",
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/vite:test"
Expand Down
7 changes: 4 additions & 3 deletionspackages/rule-schema-to-typescript-types/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -25,10 +25,11 @@
"license": "MIT",
"scripts": {
"build": "tsc -b tsconfig.build.json",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "npx nx lint",
"clean": "rimraf dist/ coverage/",
"format": "yarn run -T format",
"lint": "yarn run -BT nx lint",
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
"check-types": "npx nx typecheck"
"check-types": "yarn run -BT nx typecheck"
},
"dependencies": {
"@typescript-eslint/type-utils": "8.32.1",
Expand Down
3 changes: 1 addition & 2 deletionspackages/rule-schema-to-typescript-types/project.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,8 +6,7 @@
"sourceRoot": "packages/rule-schema-to-typescript-types/src",
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/eslint:lint"
}
}
}
11 changes: 6 additions & 5 deletionspackages/rule-tester/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,14 +36,13 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "tsc -b tsconfig.build.json --clean",
"postclean": "rimraf dist/ coverage/",
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
"lint": "npx nx lint",
"clean": "rimraf dist/ coverage/",
"format": "yarn run -T format",
"lint": "yarn run -BT nx lint",
"pretest-eslint-base": "tsc -b tsconfig.build.json",
"test-eslint-base": "mocha --require source-map-support/register ./tests/eslint-base/eslint-base.test.js",
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
"check-types": "npx nx typecheck"
"check-types": "yarn run -BT nx typecheck"
},
"//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70",
"dependencies": {
Expand All@@ -63,10 +62,12 @@
"@types/lodash.merge": "4.6.9",
"@vitest/coverage-v8": "^3.1.3",
"chai": "^5.2.0",
"eslint": "*",
"eslint-visitor-keys": "^4.2.0",
"espree": "^10.3.0",
"esprima": "^4.0.1",
"mocha": "^11.0.0",
"rimraf": "*",
"sinon": "^20.0.0",
"source-map-support": "^0.5.21",
"typescript": "*",
Expand Down
3 changes: 1 addition & 2 deletionspackages/rule-tester/project.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,8 +6,7 @@
"sourceRoot": "packages/rule-tester/src",
"targets": {
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/vite:test"
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp