rsbuild-plugin-dts 0.17.2 → 0.18.1

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/dts.js +3 -0
  2. package/package.json +6 -6
package/dist/dts.js CHANGED
@@ -126,6 +126,9 @@ async function generateDts(data) {
126
126
  if (!hasError) await bundleDtsIfNeeded();
127
127
  } else if (!isWatch) await bundleDtsIfNeeded();
128
128
  }
129
+ process.on('disconnect', ()=>{
130
+ process.exit();
131
+ });
129
132
  process.on('message', async (data)=>{
130
133
  if (!data.cwd) return;
131
134
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsbuild-plugin-dts",
3
- "version": "0.17.2",
3
+ "version": "0.18.1",
4
4
  "description": "Rsbuild plugin that supports emitting declaration files for TypeScript.",
5
5
  "homepage": "https://rslib.rs",
6
6
  "bugs": {
@@ -29,14 +29,14 @@
29
29
  "@ast-grep/napi": "0.37.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@microsoft/api-extractor": "^7.54.0",
33
- "@rsbuild/core": "~1.6.6",
34
- "@typescript/native-preview": "7.0.0-dev.20251109.1",
32
+ "@microsoft/api-extractor": "^7.55.1",
33
+ "@rsbuild/core": "~1.6.8",
34
+ "@typescript/native-preview": "7.0.0-dev.20251123.1",
35
35
  "magic-string": "^0.30.21",
36
36
  "picocolors": "1.1.1",
37
- "prebundle": "1.5.0",
37
+ "prebundle": "1.6.0",
38
38
  "rsbuild-plugin-publint": "^0.3.3",
39
- "rslib": "npm:@rslib/core@0.17.1",
39
+ "rslib": "npm:@rslib/core@0.18.0",
40
40
  "tinyglobby": "0.2.14",
41
41
  "tsconfig-paths": "^4.2.0",
42
42
  "typescript": "^5.9.3",