diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 359c541134ae..932c2d280685 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -53,7 +53,7 @@ "clean": "rimraf dist/ coverage/", "format": "pnpm --workspace-root run format", "generate-breaking-changes": "tsx tools/generate-breaking-changes.mts", - "generate-configs": "yarn run -T generate-configs", + "generate-configs": "pnpm --workspace-root run generate-configs", "lint": "pnpm --workspace-root exec nx lint", "test": "vitest --run --config=./vitest.config.mts", "test-single": "vitest --run --config=./vitest.config.mts --no-coverage", diff --git a/packages/scope-manager/package.json b/packages/scope-manager/package.json index 753ce7b7bea0..23cb94fbb2db 100644 --- a/packages/scope-manager/package.json +++ b/packages/scope-manager/package.json @@ -41,7 +41,7 @@ "clean": "rimraf dist/ coverage/", "clean-fixtures": "rimraf -g \"./src/**/fixtures/**/snapshots\"", "format": "pnpm --workspace-root run format", - "generate-lib": "yarn run -BT nx generate-lib repo", + "generate-lib": "pnpm --workspace-root exec nx generate-lib repo", "lint": "pnpm --workspace-root exec nx lint", "test": "vitest --run --config=./vitest.config.mts", "check-types": "pnpm --workspace-root exec nx typecheck" diff --git a/packages/type-utils/tsconfig.build.json b/packages/type-utils/tsconfig.build.json index 1bb2abba12ab..2c29fdf0c620 100644 --- a/packages/type-utils/tsconfig.build.json +++ b/packages/type-utils/tsconfig.build.json @@ -2,6 +2,9 @@ "extends": "../../tsconfig.build.json", "compilerOptions": {}, "references": [ + { + "path": "../types/tsconfig.build.json" + }, { "path": "../utils/tsconfig.build.json" }, diff --git a/packages/type-utils/tsconfig.json b/packages/type-utils/tsconfig.json index 2eb8e60114d8..a57d8d1814a8 100644 --- a/packages/type-utils/tsconfig.json +++ b/packages/type-utils/tsconfig.json @@ -3,6 +3,9 @@ "files": [], "include": [], "references": [ + { + "path": "../types" + }, { "path": "../utils" }, diff --git a/packages/types/package.json b/packages/types/package.json index 2c89107da858..4ca9800fdb2c 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -41,7 +41,7 @@ "build": "tsc -b tsconfig.build.json", "clean": "rimraf dist/ src/generated/ coverage/", "format": "pnpm --workspace-root run format", - "generate-lib": "yarn run -BT nx run scope-manager:generate-lib", + "generate-lib": "pnpm --workspace-root exec nx run scope-manager:generate-lib", "lint": "pnpm --workspace-root exec nx lint", "test": "vitest --run --config=./vitest.config.mts", "check-types": "pnpm --workspace-root exec nx typecheck" diff --git a/packages/website-eslint/package.json b/packages/website-eslint/package.json index 507d588f1b0f..46e1bc42d5ad 100644 --- a/packages/website-eslint/package.json +++ b/packages/website-eslint/package.json @@ -37,6 +37,7 @@ "@eslint/js": "*", "@typescript-eslint/eslint-plugin": "workspace:*", "@typescript-eslint/parser": "workspace:*", + "@typescript-eslint/type-utils": "workspace:*", "@typescript-eslint/scope-manager": "workspace:*", "@typescript-eslint/typescript-estree": "workspace:*", "@typescript-eslint/visitor-keys": "workspace:*", diff --git a/packages/website-eslint/tsconfig.build.json b/packages/website-eslint/tsconfig.build.json index 445eb94f880a..a8719db160a4 100644 --- a/packages/website-eslint/tsconfig.build.json +++ b/packages/website-eslint/tsconfig.build.json @@ -18,6 +18,9 @@ { "path": "../scope-manager/tsconfig.build.json" }, + { + "path": "../type-utils/tsconfig.build.json" + }, { "path": "../parser/tsconfig.build.json" }, diff --git a/packages/website-eslint/tsconfig.json b/packages/website-eslint/tsconfig.json index 1f518d0e3023..69bde31c7eb1 100644 --- a/packages/website-eslint/tsconfig.json +++ b/packages/website-eslint/tsconfig.json @@ -12,6 +12,9 @@ { "path": "../scope-manager" }, + { + "path": "../type-utils" + }, { "path": "../parser" }, diff --git a/packages/website/package.json b/packages/website/package.json index ef1d0757d6d2..c43f1a0b88bf 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -21,7 +21,7 @@ "stylelint:fix": "stylelint \"src/**/*.css\" --fix", "lint": "pnpm --workspace-root exec nx lint", "serve": "docusaurus serve", - "start": "yarn run -BT nx start", + "start": "pnpm --workspace-root exec nx start", "swizzle": "docusaurus swizzle", "check-types": "pnpm --workspace-root exec nx typecheck" }, @@ -30,10 +30,12 @@ "@docusaurus/core": "^3.2.1", "@docusaurus/plugin-client-redirects": "^3.2.1", "@docusaurus/plugin-content-blog": "^3.7.0", + "@docusaurus/plugin-content-docs": "^3.7.0", "@docusaurus/plugin-pwa": "^3.2.1", "@docusaurus/preset-classic": "^3.2.1", "@docusaurus/remark-plugin-npm2yarn": "^3.2.1", "@docusaurus/theme-common": "^3.2.1", + "@mdx-js/react": "^3.1.0", "@typescript-eslint/parser": "workspace:*", "@typescript-eslint/website-eslint": "workspace:*", "@uiw/react-shields": "2.0.1", @@ -45,6 +47,7 @@ "lz-string": "^1.5.0", "prettier": "^3.2.5", "prism-react-renderer": "^2.3.1", + "prismjs": "^1.30.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-markdown": "^10.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ca60bbf46ad7..9a300342d200 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -731,6 +731,9 @@ importers: '@docusaurus/plugin-content-blog': specifier: ^3.7.0 version: 3.7.0(@docusaurus/plugin-content-docs@3.7.0(@mdx-js/react@3.1.0(@types/react@18.3.21)(react@18.3.1))(@swc/core@1.11.24(@swc/helpers@0.5.17))(acorn@8.14.1)(eslint@9.27.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.8.2))(@mdx-js/react@3.1.0(@types/react@18.3.21)(react@18.3.1))(@swc/core@1.11.24(@swc/helpers@0.5.17))(acorn@8.14.1)(eslint@9.27.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.8.2) + '@docusaurus/plugin-content-docs': + specifier: ^3.7.0 + version: 3.7.0(@mdx-js/react@3.1.0(@types/react@18.3.21)(react@18.3.1))(@swc/core@1.11.24(@swc/helpers@0.5.17))(acorn@8.14.1)(eslint@9.27.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.8.2) '@docusaurus/plugin-pwa': specifier: ^3.2.1 version: 3.7.0(@docusaurus/plugin-content-docs@3.7.0(@mdx-js/react@3.1.0(@types/react@18.3.21)(react@18.3.1))(@swc/core@1.11.24(@swc/helpers@0.5.17))(acorn@8.14.1)(eslint@9.27.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.8.2))(@mdx-js/react@3.1.0(@types/react@18.3.21)(react@18.3.1))(@swc/core@1.11.24(@swc/helpers@0.5.17))(@types/babel__core@7.20.5)(acorn@8.14.1)(eslint@9.27.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.8.2) @@ -743,6 +746,9 @@ importers: '@docusaurus/theme-common': specifier: ^3.2.1 version: 3.7.0(@docusaurus/plugin-content-docs@3.7.0(@mdx-js/react@3.1.0(@types/react@18.3.21)(react@18.3.1))(@swc/core@1.11.24(@swc/helpers@0.5.17))(acorn@8.14.1)(eslint@9.27.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.8.2))(@swc/core@1.11.24(@swc/helpers@0.5.17))(acorn@8.14.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mdx-js/react': + specifier: ^3.1.0 + version: 3.1.0(@types/react@18.3.21)(react@18.3.1) '@typescript-eslint/parser': specifier: workspace:* version: link:../parser @@ -776,6 +782,9 @@ importers: prism-react-renderer: specifier: ^2.3.1 version: 2.4.1(react@18.3.1) + prismjs: + specifier: ^1.30.0 + version: 1.30.0 react: specifier: ^18.2.0 version: 18.3.1 @@ -897,6 +906,9 @@ importers: '@typescript-eslint/scope-manager': specifier: workspace:* version: link:../scope-manager + '@typescript-eslint/type-utils': + specifier: workspace:* + version: link:../type-utils '@typescript-eslint/typescript-estree': specifier: workspace:* version: link:../typescript-estree