rolldown-plugin-dts 0.18.0 → 0.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,7 @@ A Rolldown plugin to generate and bundle dts files.
8
8
 
9
9
  ## Install
10
10
 
11
- Requires **`rolldown@1.0.0-beta.9`** or later.
11
+ Requires **`rolldown@1.0.0-beta.51`** or later.
12
12
 
13
13
  ```bash
14
14
  npm i -D rolldown-plugin-dts
package/dist/index.mjs CHANGED
@@ -604,7 +604,7 @@ function inheritNodeComments(oldNode, newNode) {
604
604
  //#endregion
605
605
  //#region src/generate.ts
606
606
  const debug$1 = createDebug("rolldown-plugin-dts:generate");
607
- const WORKER_URL = "./tsc-worker.js";
607
+ const WORKER_URL = "./tsc-worker.mjs";
608
608
  const spawnAsync = (...args) => new Promise((resolve, reject) => {
609
609
  const child = spawn(...args);
610
610
  child.on("close", () => resolve());
package/package.json CHANGED
@@ -1,8 +1,19 @@
1
1
  {
2
2
  "name": "rolldown-plugin-dts",
3
- "version": "0.18.0",
4
- "description": "A Rolldown plugin to generate and bundle dts files.",
5
3
  "type": "module",
4
+ "version": "0.18.2",
5
+ "description": "A Rolldown plugin to generate and bundle dts files.",
6
+ "author": "Kevin Deng <sxzz@sxzz.moe>",
7
+ "license": "MIT",
8
+ "funding": "https://github.com/sponsors/sxzz",
9
+ "homepage": "https://github.com/sxzz/rolldown-plugin-dts#readme",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/sxzz/rolldown-plugin-dts.git"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/sxzz/rolldown-plugin-dts/issues"
16
+ },
6
17
  "keywords": [
7
18
  "rolldown",
8
19
  "plugin",
@@ -11,23 +22,6 @@
11
22
  "vue",
12
23
  "jsdoc"
13
24
  ],
14
- "license": "MIT",
15
- "homepage": "https://github.com/sxzz/rolldown-plugin-dts#readme",
16
- "bugs": {
17
- "url": "https://github.com/sxzz/rolldown-plugin-dts/issues"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/sxzz/rolldown-plugin-dts.git"
22
- },
23
- "author": "Kevin Deng <sxzz@sxzz.moe>",
24
- "funding": "https://github.com/sponsors/sxzz",
25
- "files": [
26
- "dist"
27
- ],
28
- "main": "./dist/index.mjs",
29
- "module": "./dist/index.mjs",
30
- "types": "./dist/index.d.mts",
31
25
  "exports": {
32
26
  ".": "./dist/index.mjs",
33
27
  "./filename": "./dist/filename.mjs",
@@ -36,9 +30,18 @@
36
30
  "./tsc-worker": "./dist/tsc-worker.mjs",
37
31
  "./package.json": "./package.json"
38
32
  },
33
+ "main": "./dist/index.mjs",
34
+ "module": "./dist/index.mjs",
35
+ "types": "./dist/index.d.mts",
36
+ "files": [
37
+ "dist"
38
+ ],
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
+ "engines": {
43
+ "node": ">=20.19.0"
44
+ },
42
45
  "peerDependencies": {
43
46
  "@ts-macro/tsc": "^0.3.6",
44
47
  "@typescript/native-preview": ">=7.0.0-dev.20250601.1",
@@ -65,38 +68,35 @@
65
68
  "@babel/parser": "^7.28.5",
66
69
  "@babel/types": "^7.28.5",
67
70
  "ast-kit": "^2.2.0",
68
- "birpc": "^2.8.0",
71
+ "birpc": "^3.0.0",
69
72
  "dts-resolver": "^2.1.3",
70
73
  "get-tsconfig": "^4.13.0",
71
74
  "magic-string": "^0.30.21",
72
- "obug": "^2.0.0"
75
+ "obug": "^2.1.1"
73
76
  },
74
77
  "devDependencies": {
75
- "@sxzz/eslint-config": "^7.3.0",
76
- "@sxzz/prettier-config": "^2.2.5",
77
- "@sxzz/test-utils": "^0.5.12",
78
+ "@sxzz/eslint-config": "^7.4.1",
79
+ "@sxzz/prettier-config": "^2.2.6",
80
+ "@sxzz/test-utils": "^0.5.13",
78
81
  "@types/babel__generator": "^7.27.0",
79
82
  "@types/node": "^24.10.1",
80
- "@typescript/native-preview": "7.0.0-dev.20251118.1",
81
- "@volar/typescript": "^2.4.23",
82
- "@vue/language-core": "^3.1.4",
83
- "arktype": "^2.1.27",
84
- "bumpp": "^10.3.1",
83
+ "@typescript/native-preview": "7.0.0-dev.20251203.1",
84
+ "@volar/typescript": "^2.4.26",
85
+ "@vue/language-core": "^3.1.5",
86
+ "arktype": "^2.1.28",
87
+ "bumpp": "^10.3.2",
85
88
  "diff": "^8.0.2",
86
89
  "eslint": "^9.39.1",
87
- "prettier": "^3.6.2",
88
- "rolldown": "^1.0.0-beta.51",
89
- "rolldown-plugin-require-cjs": "^0.3.1",
90
- "rollup-plugin-dts": "^6.2.3",
90
+ "prettier": "^3.7.4",
91
+ "rolldown": "^1.0.0-beta.53",
92
+ "rolldown-plugin-require-cjs": "^0.3.2",
93
+ "rollup-plugin-dts": "^6.3.0",
91
94
  "tinyglobby": "^0.2.15",
92
- "tsdown": "^0.16.5",
95
+ "tsdown": "^0.17.0-beta.6",
93
96
  "typescript": "^5.9.3",
94
- "vitest": "^4.0.10",
95
- "vue": "^3.5.24",
96
- "vue-tsc": "^3.1.4"
97
- },
98
- "engines": {
99
- "node": ">=20.19.0"
97
+ "vitest": "^4.0.15",
98
+ "vue": "^3.5.25",
99
+ "vue-tsc": "^3.1.5"
100
100
  },
101
101
  "prettier": "@sxzz/prettier-config",
102
102
  "scripts": {
@@ -105,7 +105,7 @@
105
105
  "build": "tsdown",
106
106
  "dev": "tsdown --watch",
107
107
  "test": "vitest",
108
- "typecheck": "tsc --noEmit",
108
+ "typecheck": "tsgo --noEmit",
109
109
  "format": "prettier --cache --write .",
110
110
  "release": "bumpp"
111
111
  }