Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
with:
key: vite-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
path: node_modules/.vite
- run: pnpm exec tsc -b # For types tests
- # Run partial test pass on PRs (only changed files)
if: ${{ github.event_name == 'pull_request' }}
name: Run affected tests
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"type": "module",
"scripts": {
"build": "tsdown",
"clean": "rimraf -g \"**/node_modules\"",
"clean": "rimraf -g \"**/node_modules\" \"**/lib\"",
"flint": "node packages/flint/bin/index.js",
"flint:cache-ignore": "node packages/flint/bin/index.js --cache-ignore",
"lint": "eslint . --max-warnings 0",
"lint:knip": "knip",
"prepare": "husky",
"start:site": "pnpm --filter=site prebuild && pnpm --filter=site start",
"test": "vitest --typecheck"
"test": "vitest"
},
"devDependencies": {
"@arethetypeswrong/core": "0.18.2",
Expand All @@ -36,7 +36,7 @@
"@flint.fyi/spelling": "workspace:^",
"@flint.fyi/ts-patch": "workspace:^",
"@types/node": "24.12.0",
"@vitest/coverage-v8": "4.0.18",
"@vitest/coverage-v8": "4.0.15",
"@vitest/eslint-plugin": "1.6.1",
"console-fail-test": "0.6.1",
"eslint": "10.0.1",
Expand All @@ -62,7 +62,7 @@
"tsdown": "0.21.0",
"typescript": "5.9.3",
"typescript-eslint": "8.57.0",
"vitest": "4.0.18"
"vitest": "4.0.15"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There's quite a bit of drift, sounds to me like we should do #2296.

},
"packageManager": "pnpm@10.32.0",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project astro"
"test": "vitest --project astro"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project browser"
"test": "vitest --project browser"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project cli"
"test": "vitest --project cli"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/comparisons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project comparisons"
"test": "vitest --project comparisons"
},
"dependencies": {
"prettier": "3.8.1"
},
"devDependencies": {
"eslint": "10.0.2",
"eslint": "10.0.1",
"tsdown": "0.21.0",
"vitest": "4.0.15"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project core"
"test": "vitest --project core"
},
"dependencies": {
"@flint.fyi/utils": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsconfig.src.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
},
"extends": "../../tsconfig.base.json",
"include": ["src"],
"exclude": ["src/**/*.test.ts"],
"exclude": ["src/**/*.test.ts", "src/**/*.test-d.ts"],
"references": [{ "path": "../utils" }]
}
2 changes: 1 addition & 1 deletion packages/core/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"types": ["node"]
},
"extends": "../../tsconfig.base.json",
"include": ["src/**/*.test.ts"],
"include": ["src/**/*.test.ts", "src/**/*.test-d.ts"],
"references": [{ "path": "./tsconfig.src.json" }]
}
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@flint.fyi/utils": "workspace:^",
"execa": "9.6.1",
"flint": "workspace:^",
"vitest": "4.0.18",
"vitest": "4.0.15",
"vitest-ansi-serializer": "0.2.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/flint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"!lib/bin/**"
],
"scripts": {
"test": "vitest --typecheck --project flint"
"test": "vitest --project flint"
},
"dependencies": {
"@flint.fyi/cli": "workspace:",
Expand Down
2 changes: 1 addition & 1 deletion packages/json-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project json-language"
"test": "vitest --project json-language"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project json"
"test": "vitest --project json"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project jsx"
"test": "vitest --project jsx"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/markdown-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project markdown-language"
"test": "vitest --project markdown-language"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/md/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project md"
"test": "vitest --project md"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project next"
"test": "vitest --project next"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project node"
"test": "vitest --project node"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project nuxt"
"test": "vitest --project nuxt"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/package-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project package-json"
"test": "vitest --project package-json"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/performance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project performance"
"test": "vitest --project performance"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-flint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project plugin-flint"
"test": "vitest --project plugin-flint"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project react"
"test": "vitest --project react"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/rule-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project rule-tester"
"test": "vitest --project rule-tester"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project solid"
"test": "vitest --project solid"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/spelling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project spelling"
"test": "vitest --project spelling"
},
"dependencies": {
"@cspell/url": "^9.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/text-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project text-language"
"test": "vitest --project text-language"
},
"dependencies": {
"@flint.fyi/core": "workspace:^"
Expand Down
2 changes: 1 addition & 1 deletion packages/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project ts"
"test": "vitest --project ts"
},
"dependencies": {
"@eslint-community/regexpp": "^4.12.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/ts/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"tsBuildInfoFile": "node_modules/.cache/tsbuild/info.test.json",
"rootDir": "src/",
"outDir": "node_modules/.cache/tsbuild/test",
"types": ["node"],
"erasableSyntaxOnly": false
"types": ["node"]
},
"extends": "../../tsconfig.base.json",
"include": ["src/**/*.test.ts", "src/rules/ruleTester.ts"],
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project typescript-language"
"test": "vitest --project typescript-language"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project utils"
"test": "vitest --project utils"
},
"devDependencies": {
"tsdown": "0.21.0",
Expand Down
12 changes: 5 additions & 7 deletions packages/utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"compilerOptions": {
"tsBuildInfoFile": "node_modules/.cache/tsbuild/info.json",
"rootDir": "src/",
"outDir": "lib/",
"types": ["node"]
},
"extends": "../../tsconfig.base.json",
"include": ["src"]
"include": [],
"references": [
{ "path": "./tsconfig.src.json" },
{ "path": "./tsconfig.test.json" }
]
}
12 changes: 12 additions & 0 deletions packages/utils/tsconfig.src.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"tsBuildInfoFile": "node_modules/.cache/tsbuild/info.src.json",
"rootDir": "src/",
"outDir": "lib/",
"types": ["node"]
},
"extends": "../../tsconfig.base.json",
"include": ["src"],
"exclude": ["src/**/*.test.ts"],
"references": []
}
11 changes: 11 additions & 0 deletions packages/utils/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"compilerOptions": {
"tsBuildInfoFile": "node_modules/.cache/tsbuild/info.test.json",
"rootDir": "src/",
"outDir": "node_modules/.cache/tsbuild/test",
"types": ["node"]
},
"extends": "../../tsconfig.base.json",
"include": ["src/**/*.test.ts"],
"references": [{ "path": "./tsconfig.src.json" }]
}
2 changes: 1 addition & 1 deletion packages/volar-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project volar-language"
"test": "vitest --project volar-language"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
3 changes: 1 addition & 2 deletions packages/volar-language/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"tsBuildInfoFile": "node_modules/.cache/tsbuild/info.test.json",
"rootDir": "src/",
"outDir": "node_modules/.cache/tsbuild/test",
"types": ["node"],
"erasableSyntaxOnly": false
"types": ["node"]
},
"extends": "../../tsconfig.base.json",
"include": ["src/**/*.test.ts"],
Expand Down
2 changes: 1 addition & 1 deletion packages/yaml-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project yaml-language"
"test": "vitest --project yaml-language"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/yaml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"!lib/**/*.map"
],
"scripts": {
"test": "vitest --typecheck --project yaml"
"test": "vitest --project yaml"
},
"dependencies": {
"@flint.fyi/core": "workspace:^",
Expand Down
Loading