Skip to content

Commit 0ffc5cc

Browse files
authored
Merge pull request #6 from xaos7991/chore/add-rule-schema-types
Added rule schema types
2 parents 83ea658 + df07c3c commit 0ffc5cc

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

nx.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,8 @@
138138
"!{projectRoot}/vitest.config.mts",
139139
"!{projectRoot}/src/test-setup.[jt]s"
140140
]
141+
},
142+
"sync": {
143+
"applyChanges": true
141144
}
142145
}

packages/eslint-plugin/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@
7373
"devDependencies": {
7474
"@types/mdast": "^4.0.3",
7575
"@types/natural-compare": "*",
76+
"@typescript-eslint/rule-schema-to-typescript-types": "workspace:*",
7677
"@typescript-eslint/rule-tester": "8.32.1",
7778
"@vitest/coverage-v8": "^3.1.3",
79+
"@types/json-schema": "^7.0.15",
7880
"ajv": "^6.12.6",
7981
"cross-fetch": "*",
8082
"eslint": "*",

packages/type-utils/tsconfig.build.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"extends": "../../tsconfig.build.json",
33
"compilerOptions": {},
44
"references": [
5-
{
6-
"path": "../types/tsconfig.build.json"
7-
},
85
{
96
"path": "../utils/tsconfig.build.json"
107
},

packages/type-utils/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"files": [],
44
"include": [],
55
"references": [
6-
{
7-
"path": "../types"
8-
},
96
{
107
"path": "../utils"
118
},

pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/scripts/postinstall.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ if (!process.env.SKIP_POSTINSTALL_BUILD) {
4242

4343
// Build all the packages ready for use
4444
await $`pnpm run build`;
45-
await $`pnpx nx typecheck ast-spec`;
45+
await $`pnpm exec nx typecheck ast-spec`;
4646
}

0 commit comments

Comments
 (0)