rolldown-plugin-dts 0.17.8 → 0.18.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +9 -9
package/dist/index.mjs CHANGED
@@ -27,7 +27,7 @@ const {
27
27
  tmpdir
28
28
  } = globalThis.process.getBuiltinModule("node:os");
29
29
  const path = globalThis.process.getBuiltinModule("node:path");
30
- import { ResolverFactory, isolatedDeclaration } from "rolldown/experimental";
30
+ import { ResolverFactory, isolatedDeclarationSync } from "rolldown/experimental";
31
31
  const process = globalThis.process;
32
32
  import { getTsconfig, parseTsconfig } from "get-tsconfig";
33
33
  import { createResolver } from "dts-resolver";
@@ -726,7 +726,7 @@ function createGeneratePlugin({ tsconfig, tsconfigRaw, build, incremental, cwd,
726
726
  throw new Error(`tsgo did not generate dts file for ${id}, please check your tsconfig.`);
727
727
  }
728
728
  } else if (oxc && !RE_VUE.test(id)) {
729
- const result = isolatedDeclaration(id, code, oxc);
729
+ const result = isolatedDeclarationSync(id, code, oxc);
730
730
  if (result.errors.length) {
731
731
  const [error] = result.errors;
732
732
  return this.error({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown-plugin-dts",
3
- "version": "0.17.8",
3
+ "version": "0.18.0",
4
4
  "description": "A Rolldown plugin to generate and bundle dts files.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -42,7 +42,7 @@
42
42
  "peerDependencies": {
43
43
  "@ts-macro/tsc": "^0.3.6",
44
44
  "@typescript/native-preview": ">=7.0.0-dev.20250601.1",
45
- "rolldown": "^1.0.0-beta.44",
45
+ "rolldown": "^1.0.0-beta.51",
46
46
  "typescript": "^5.0.0",
47
47
  "vue-tsc": "~3.1.0"
48
48
  },
@@ -72,26 +72,26 @@
72
72
  "obug": "^2.0.0"
73
73
  },
74
74
  "devDependencies": {
75
- "@sxzz/eslint-config": "^7.2.10",
76
- "@sxzz/prettier-config": "^2.2.4",
75
+ "@sxzz/eslint-config": "^7.3.0",
76
+ "@sxzz/prettier-config": "^2.2.5",
77
77
  "@sxzz/test-utils": "^0.5.12",
78
78
  "@types/babel__generator": "^7.27.0",
79
79
  "@types/node": "^24.10.1",
80
- "@typescript/native-preview": "7.0.0-dev.20251116.1",
80
+ "@typescript/native-preview": "7.0.0-dev.20251118.1",
81
81
  "@volar/typescript": "^2.4.23",
82
82
  "@vue/language-core": "^3.1.4",
83
- "arktype": "^2.1.26",
83
+ "arktype": "^2.1.27",
84
84
  "bumpp": "^10.3.1",
85
85
  "diff": "^8.0.2",
86
86
  "eslint": "^9.39.1",
87
87
  "prettier": "^3.6.2",
88
- "rolldown": "^1.0.0-beta.50",
88
+ "rolldown": "^1.0.0-beta.51",
89
89
  "rolldown-plugin-require-cjs": "^0.3.1",
90
90
  "rollup-plugin-dts": "^6.2.3",
91
91
  "tinyglobby": "^0.2.15",
92
- "tsdown": "^0.16.4",
92
+ "tsdown": "^0.16.5",
93
93
  "typescript": "^5.9.3",
94
- "vitest": "^4.0.9",
94
+ "vitest": "^4.0.10",
95
95
  "vue": "^3.5.24",
96
96
  "vue-tsc": "^3.1.4"
97
97
  },