Skip to content

Commit cb25b72

Browse files
authored
Update dev dependencies (#601)
2 parents a83327e + 76de287 commit cb25b72

308 files changed

Lines changed: 1533 additions & 5405 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/website/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"dependencies": {
1414
"@astrojs/check": "^0.9.4",
1515
"@astrojs/starlight": "^0.32.0",
16-
"astro": "^5.1.2",
17-
"sharp": "^0.34.0"
16+
"astro": "^5.1.2"
1817
}
1918
}

biome.json

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,25 @@
88
"useIgnoreFile": true
99
},
1010
"files": {
11-
"ignore": [
12-
".changeset/*.json",
13-
".turbo",
14-
".vscode/*.txt",
15-
".vscode/*.code-snippets",
16-
"./docs",
17-
"packages/*/coverage",
18-
"packages/*/cjs",
19-
"packages/*/dist",
20-
"packages/*/esm",
21-
"packages/*/tslib",
22-
"old/checker",
23-
"packages/type-plus/src/types",
24-
"packages/type-plus/src/type-checker",
25-
"apps/website/dist",
26-
"_revealjs",
27-
"*.astro",
28-
"package.json"
11+
"includes": [
12+
"**",
13+
"!**/.changeset/**/*.json",
14+
"!**/.turbo",
15+
"!**/.vscode/**/*.txt",
16+
"!**/.vscode/**/*.code-snippets",
17+
"!docs",
18+
"!**/packages/**/*/coverage",
19+
"!**/packages/**/*/cjs",
20+
"!**/packages/**/*/dist",
21+
"!**/packages/**/*/esm",
22+
"!**/packages/**/*/tslib",
23+
"!**/old/checker",
24+
"!**/packages/type-plus/src/types",
25+
"!**/packages/type-plus/src/type-checker",
26+
"!**/apps/website/dist",
27+
"!**/_revealjs",
28+
"!**/*.astro",
29+
"!**/package.json"
2930
]
3031
},
3132
"linter": {
@@ -38,7 +39,5 @@
3839
}
3940
}
4041
},
41-
"organizeImports": {
42-
"enabled": true
43-
}
42+
"assist": { "actions": { "source": { "organizeImports": "on" } } }
4443
}

eslint.config.mjs

Lines changed: 0 additions & 14 deletions
This file was deleted.

jest.config.mjs

Lines changed: 0 additions & 4 deletions
This file was deleted.

knip.config.ts

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
import type { KnipConfig } from 'knip'
2+
3+
const config: KnipConfig = {
4+
workspaces: {
5+
'.': {
6+
entry: ['package.json'],
7+
project: ['**/*.{ts,tsx,js,jsx,mjs,cjs}'],
8+
ignore: [
9+
'**/*.{spec,test,unit,accept,integrate,system,perf,stress}.*',
10+
'**/node_modules/**',
11+
'**/dist/**',
12+
'**/build/**',
13+
'**/cjs/**',
14+
'**/esm/**',
15+
'**/lib/**',
16+
'**/coverage/**',
17+
'**/.turbo/**',
18+
'**/old/**',
19+
'**/slides/**',
20+
],
21+
},
22+
'packages/*': {
23+
entry: ['src/index.{ts,tsx,js,jsx}', 'package.json'],
24+
project: ['src/**/*.{ts,tsx,js,jsx,mjs,cjs}'],
25+
ignore: [
26+
'**/*.{spec,test,unit,accept,integrate,system,perf,stress}.*',
27+
'**/node_modules/**',
28+
'**/dist/**',
29+
'**/build/**',
30+
'**/cjs/**',
31+
'**/esm/**',
32+
'**/lib/**',
33+
'**/coverage/**',
34+
],
35+
},
36+
'apps/*': {
37+
entry: ['src/**/*.{ts,tsx,js,jsx,mjs,cjs}', 'package.json'],
38+
project: ['src/**/*.{ts,tsx,js,jsx,mjs,cjs}'],
39+
ignore: [
40+
'**/*.{spec,test,unit,accept,integrate,system,perf,stress}.*',
41+
'**/node_modules/**',
42+
'**/dist/**',
43+
'**/build/**',
44+
'**/.next/**',
45+
'**/coverage/**',
46+
],
47+
},
48+
},
49+
ignore: [
50+
'**/*.d.ts',
51+
'**/jest.config.*',
52+
'**/tsconfig*.json',
53+
'**/turbo.json',
54+
'**/pnpm-workspace.yaml',
55+
'**/biome.json',
56+
'**/eslint.config.*',
57+
'**/commitlint.config.*',
58+
],
59+
}
60+
61+
export default config

package.json

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@
99
"clean": "turbo run clean",
1010
"coverage": "turbo run coverage",
1111
"cs": "changeset",
12-
"depcheck": "turbo run depcheck",
12+
"knip": "knip",
1313
"format": "biome format .",
1414
"k": "pnpm --filter ./packages/kind",
15-
"lint": "run-p lint:*",
16-
"lint:biome": "biome lint .",
17-
"lint:eslint": "eslint .",
15+
"lint": "biome lint .",
1816
"nuke": "turbo run nuke && pnpm nuke:local",
1917
"nuke:local": "rimraf node_modules",
2018
"prepare": "husky",
@@ -24,33 +22,24 @@
2422
"test:type": "turbo run test:type",
2523
"ttp": "turbo --filter type-plus",
2624
"tp": "pnpm --filter type-plus",
27-
"verify": "run-p check verify:turbo",
28-
"verify:turbo": "turbo run test:type build build:doc depcheck coverage size",
25+
"verify": "run-p check verify:pkg",
26+
"verify:pkg": "turbo run test:type build build:doc coverage size",
2927
"version": "changeset version",
3028
"web": "pnpm --filter website"
3129
},
3230
"devDependencies": {
33-
"@biomejs/biome": "^1.9.4",
34-
"@changesets/cli": "^2.25.2",
31+
"@biomejs/biome": "^2.3.8",
32+
"@changesets/cli": "^2.29.8",
3533
"@commitlint/cli": "^20.0.0",
3634
"@commitlint/config-conventional": "^20.0.0",
37-
"@repobuddy/biome": "^1.5.1",
38-
"eslint": "^9.10.0",
39-
"eslint-plugin-yml": "~1.19.0",
40-
"globals": "^16.0.0",
35+
"@repobuddy/biome": "^2.2.0",
4136
"husky": "^9.0.11",
42-
"jest": "^29.7.0",
43-
"jest-watch-suspend": "^1.1.2",
44-
"jest-watch-toggle-config-2": "^2.1.0",
45-
"jest-watch-typeahead": "^3.0.0",
46-
"npm-check-updates": "^19.0.0",
37+
"knip": "^5.73.4",
4738
"npm-run-all2": "^8.0.0",
4839
"rimraf": "^6.0.0",
49-
"ts-jest": "^29.1.2",
50-
"turbo": "2.6.0",
51-
"typedoc": "^0.28.0",
52-
"typedoc-plugin-extras": "^4.0.0",
53-
"typescript": "^5.6.2"
40+
"turbo": "2.6.3",
41+
"typescript": "^5.6.2",
42+
"vitest": "^4.0.15"
5443
},
5544
"packageManager": "pnpm@10.21.0"
5645
}

packages/kind/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,17 @@
4646
"build": "tsc -p tsconfig.json",
4747
"clean": "rimraf coverage dist --glob *.tsbuildinfo",
4848
"coverage:x": "bun test --coverage",
49-
"depcheck": "depcheck",
49+
"knip": "knip",
5050
"nuke": "run-p clean nuke:local",
5151
"nuke:local": "rimraf node_modules",
5252
"test:x": "bun test",
5353
"test:type": "tsc --noEmit",
54-
"verify": "npm-run-all clean -p build depcheck coverage",
54+
"verify": "npm-run-all clean -p build knip coverage",
5555
"watch:x": "bun test --watch",
5656
"w:x": "bun test --watch"
5757
},
5858
"devDependencies": {
5959
"@repobuddy/typescript": "^2.0.0",
60-
"depcheck": "^1.4.3",
6160
"npm-run-all2": "^8.0.0",
6261
"rimraf": "^6.0.0"
6362
}

packages/type-plus/jest.config.mjs

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/type-plus/package.json

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,47 +54,40 @@
5454
"build": "run-p build:*",
5555
"build:cjs": "tsc -p tsconfig.cjs.json",
5656
"build:esm": "tsc -p tsconfig.esm.json",
57-
"build:doc": "typedoc",
5857
"clean": "rimraf cjs coverage esm lib libm tslib --glob *.tsbuildinfo",
59-
"coverage": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --coverage",
60-
"depcheck": "depcheck",
58+
"coverage": "vitest run --coverage",
59+
"knip": "knip",
6160
"nuke": "run-p clean nuke:local",
6261
"nuke:local": "rimraf node_modules",
6362
"size": "size-limit",
64-
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest",
63+
"test": "vitest run",
6564
"test:type": "run-p test:type:*",
6665
"test:type:latest": "./node_modules/typescript/bin/tsc --noEmit",
6766
"test:type:54": "./node_modules/ts-5.4/bin/tsc -p tsconfig.ts54.json --noEmit",
6867
"test:type:55": "./node_modules/ts-5.5/bin/tsc -p tsconfig.ts55.json --noEmit",
69-
"test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch",
70-
"verify": "npm-run-all clean -p build depcheck lint coverage -p size",
71-
"w": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch",
72-
"watch": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch"
68+
"test:watch": "vitest watch",
69+
"verify": "npm-run-all clean -p build knip lint coverage -p size",
70+
"w": "vitest watch",
71+
"watch": "vitest watch"
7372
},
7473
"dependencies": {
7574
"tersify": "^3.11.1",
7675
"unpartial": "^1.0.4"
7776
},
7877
"devDependencies": {
79-
"@jest/globals": "^29.5.0",
80-
"@repobuddy/jest": "^5.0.0",
8178
"@repobuddy/typescript": "^2.0.0",
8279
"@size-limit/esbuild-why": "^11.1.5",
8380
"@size-limit/preset-small-lib": "^11.1.5",
8481
"@types/node": "^18.11.11",
82+
"@vitest/coverage-v8": "^4.0.15",
8583
"assertron": "^11.0.2",
8684
"cross-env": "^7.0.3",
87-
"depcheck": "^1.4.3",
88-
"jest": "^29.7.0",
89-
"jest-watch-suspend": "^1.1.2",
90-
"jest-watch-toggle-config-2": "^2.1.0",
91-
"jest-watch-typeahead": "^3.0.0",
9285
"npm-run-all2": "^8.0.0",
9386
"rimraf": "^6.0.0",
9487
"size-limit": "^11.1.5",
9588
"ts-5.4": "npm:typescript@~5.4.0",
9689
"ts-5.5": "npm:typescript@~5.5.0",
97-
"ts-jest": "^29.1.2",
98-
"typescript": "^5.6.2"
90+
"typescript": "^5.6.2",
91+
"vitest": "^4.0.15"
9992
}
10093
}

packages/type-plus/src/$type/$resolve_options.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { it } from '@jest/globals'
1+
import { it } from 'vitest'
22

33
import { type $Never, type $ResolveOptions, type $Then, testType } from '../index.js'
44

0 commit comments

Comments
 (0)