Skip to content

Commit 8b9a5a3

Browse files
authored
chore: upgrade TypeScript to 6.0.2 (#61)
1 parent 8738957 commit 8b9a5a3

File tree

3 files changed

+112
-112
lines changed

3 files changed

+112
-112
lines changed

package.json

Lines changed: 88 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,90 @@
11
{
2-
"name": "@rsbuild/plugin-node-polyfill",
3-
"version": "1.4.4",
4-
"repository": "https://github.com/rstackjs/rsbuild-plugin-node-polyfill",
5-
"license": "MIT",
6-
"type": "module",
7-
"exports": {
8-
".": {
9-
"types": "./dist/index.d.ts",
10-
"import": "./dist/index.js",
11-
"require": "./dist/index.cjs"
12-
}
13-
},
14-
"main": "./dist/index.cjs",
15-
"module": "./dist/index.js",
16-
"types": "./dist/index.d.ts",
17-
"files": ["dist"],
18-
"scripts": {
19-
"build": "rslib",
20-
"dev": "rslib -w",
21-
"lint": "biome check .",
22-
"lint:write": "biome check . --write",
23-
"prepare": "simple-git-hooks && npm run build",
24-
"test": "pnpm run /^test:/",
25-
"test:e2e": "playwright test",
26-
"test:unit": "rstest",
27-
"bump": "npx bumpp"
28-
},
29-
"simple-git-hooks": {
30-
"pre-commit": "npx nano-staged"
31-
},
32-
"nano-staged": {
33-
"*.{js,jsx,ts,tsx,mjs,cjs}": [
34-
"biome check --write --no-errors-on-unmatched"
35-
]
36-
},
37-
"dependencies": {
38-
"assert": "^2.1.0",
39-
"browserify-zlib": "^0.2.0",
40-
"buffer": "^5.7.1",
41-
"console-browserify": "^1.2.0",
42-
"constants-browserify": "^1.0.0",
43-
"crypto-browserify": "^3.12.1",
44-
"domain-browser": "^5.7.0",
45-
"events": "^3.3.0",
46-
"https-browserify": "^1.0.0",
47-
"os-browserify": "^0.3.0",
48-
"path-browserify": "^1.0.1",
49-
"process": "^0.11.10",
50-
"punycode": "^2.3.1",
51-
"querystring-es3": "^0.2.1",
52-
"readable-stream": "^4.7.0",
53-
"stream-browserify": "^3.0.0",
54-
"stream-http": "^3.2.0",
55-
"string_decoder": "^1.3.0",
56-
"timers-browserify": "^2.0.12",
57-
"tty-browserify": "^0.0.1",
58-
"url": "^0.11.4",
59-
"util": "^0.12.5",
60-
"vm-browserify": "^1.1.2"
61-
},
62-
"devDependencies": {
63-
"@biomejs/biome": "^1.9.4",
64-
"@playwright/test": "^1.58.2",
65-
"@rsbuild/core": "^1.7.3",
66-
"@rslib/core": "^0.20.0",
67-
"@rstest/core": "0.9.4",
68-
"@types/node": "^24.12.0",
69-
"nano-staged": "^0.9.0",
70-
"playwright": "^1.58.2",
71-
"simple-git-hooks": "^2.13.1",
72-
"tsx": "^4.21.0",
73-
"typescript": "^5.9.3"
74-
},
75-
"peerDependencies": {
76-
"@rsbuild/core": "^1.0.0 || ^2.0.0-0"
77-
},
78-
"peerDependenciesMeta": {
79-
"@rsbuild/core": {
80-
"optional": true
81-
}
82-
},
83-
"packageManager": "pnpm@10.32.1",
84-
"publishConfig": {
85-
"access": "public",
86-
"registry": "https://registry.npmjs.org/"
87-
}
2+
"name": "@rsbuild/plugin-node-polyfill",
3+
"version": "1.4.4",
4+
"repository": "https://github.com/rstackjs/rsbuild-plugin-node-polyfill",
5+
"license": "MIT",
6+
"type": "module",
7+
"exports": {
8+
".": {
9+
"types": "./dist/index.d.ts",
10+
"import": "./dist/index.js",
11+
"require": "./dist/index.cjs"
12+
}
13+
},
14+
"main": "./dist/index.cjs",
15+
"module": "./dist/index.js",
16+
"types": "./dist/index.d.ts",
17+
"files": [
18+
"dist"
19+
],
20+
"scripts": {
21+
"build": "rslib",
22+
"dev": "rslib -w",
23+
"lint": "biome check .",
24+
"lint:write": "biome check . --write",
25+
"prepare": "simple-git-hooks && npm run build",
26+
"test": "pnpm run /^test:/",
27+
"test:e2e": "playwright test",
28+
"test:unit": "rstest",
29+
"bump": "npx bumpp"
30+
},
31+
"simple-git-hooks": {
32+
"pre-commit": "npx nano-staged"
33+
},
34+
"nano-staged": {
35+
"*.{js,jsx,ts,tsx,mjs,cjs}": [
36+
"biome check --write --no-errors-on-unmatched"
37+
]
38+
},
39+
"dependencies": {
40+
"assert": "^2.1.0",
41+
"browserify-zlib": "^0.2.0",
42+
"buffer": "^5.7.1",
43+
"console-browserify": "^1.2.0",
44+
"constants-browserify": "^1.0.0",
45+
"crypto-browserify": "^3.12.1",
46+
"domain-browser": "^5.7.0",
47+
"events": "^3.3.0",
48+
"https-browserify": "^1.0.0",
49+
"os-browserify": "^0.3.0",
50+
"path-browserify": "^1.0.1",
51+
"process": "^0.11.10",
52+
"punycode": "^2.3.1",
53+
"querystring-es3": "^0.2.1",
54+
"readable-stream": "^4.7.0",
55+
"stream-browserify": "^3.0.0",
56+
"stream-http": "^3.2.0",
57+
"string_decoder": "^1.3.0",
58+
"timers-browserify": "^2.0.12",
59+
"tty-browserify": "^0.0.1",
60+
"url": "^0.11.4",
61+
"util": "^0.12.5",
62+
"vm-browserify": "^1.1.2"
63+
},
64+
"devDependencies": {
65+
"@biomejs/biome": "^1.9.4",
66+
"@playwright/test": "^1.58.2",
67+
"@rsbuild/core": "^1.7.3",
68+
"@rslib/core": "^0.20.0",
69+
"@rstest/core": "0.9.4",
70+
"@types/node": "^24.12.0",
71+
"nano-staged": "^0.9.0",
72+
"playwright": "^1.58.2",
73+
"simple-git-hooks": "^2.13.1",
74+
"tsx": "^4.21.0",
75+
"typescript": "6.0.2"
76+
},
77+
"peerDependencies": {
78+
"@rsbuild/core": "^1.0.0 || ^2.0.0-0"
79+
},
80+
"peerDependenciesMeta": {
81+
"@rsbuild/core": {
82+
"optional": true
83+
}
84+
},
85+
"packageManager": "pnpm@10.32.1",
86+
"publishConfig": {
87+
"access": "public",
88+
"registry": "https://registry.npmjs.org/"
89+
}
8890
}

pnpm-lock.yaml

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

tsconfig.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
{
2-
"compilerOptions": {
3-
"outDir": "./dist",
4-
"baseUrl": "./",
5-
"target": "ES2020",
6-
"lib": ["DOM", "ESNext"],
7-
"module": "Node16",
8-
"strict": true,
9-
"declaration": true,
10-
"isolatedModules": true,
11-
"esModuleInterop": true,
12-
"skipLibCheck": true,
13-
"resolveJsonModule": true,
14-
"moduleResolution": "Node16"
15-
},
16-
"include": ["src"]
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"outDir": "./dist",
5+
"target": "ES2023",
6+
"types": ["node"],
7+
"lib": ["DOM", "ESNext"],
8+
"declaration": true,
9+
"isolatedModules": true,
10+
"skipLibCheck": true,
11+
"module": "nodenext",
12+
"moduleResolution": "nodenext"
13+
},
14+
"include": ["src"]
1715
}

0 commit comments

Comments
 (0)