tsdown-config-silverwind 1.7.5 → 2.0.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.
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ declare function base({
10
10
  report,
11
11
  loader,
12
12
  outputOptions,
13
+ deps,
13
14
  ...other
14
15
  }: CustomConfig): UserConfig;
15
16
  declare function nodeLib({
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ function isSingleEntry(entry) {
9
9
  else if (isObject(entry)) return Object.keys(entry).length === 1;
10
10
  else return true;
11
11
  }
12
- function base({ url, entry, report, loader, outputOptions, ...other }) {
12
+ function base({ url, entry, report, loader, outputOptions, deps, ...other }) {
13
13
  return {
14
14
  entry: entry ?? fileURLToPath(new URL("index.ts", url)),
15
15
  report: typeof report === "boolean" ? report : {
@@ -25,13 +25,16 @@ function base({ url, entry, report, loader, outputOptions, ...other }) {
25
25
  ...loader
26
26
  },
27
27
  outputOptions: {
28
- legalComments: "none",
28
+ comments: { legal: false },
29
29
  ...outputOptions
30
30
  },
31
31
  fixedExtension: false,
32
32
  failOnWarn: true,
33
33
  globImport: false,
34
- inlineOnly: false,
34
+ deps: {
35
+ onlyAllowBundle: false,
36
+ ...deps
37
+ },
35
38
  ...other
36
39
  };
37
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsdown-config-silverwind",
3
- "version": "1.7.5",
3
+ "version": "2.0.0",
4
4
  "description": "Shared tsdown configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": "silverwind/tsdown-config-silverwind",
@@ -20,17 +20,18 @@
20
20
  "tsdown": "*"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/node": "25.2.0",
24
- "@typescript/native-preview": "7.0.0-dev.20260203.1",
25
- "eslint": "9.39.2",
26
- "eslint-config-silverwind": "120.1.2",
23
+ "@types/node": "25.3.3",
24
+ "@typescript/native-preview": "7.0.0-dev.20260305.1",
25
+ "eslint": "9.39.3",
26
+ "eslint-config-silverwind": "121.2.0",
27
27
  "jest-extended": "7.0.0",
28
- "tsdown": "0.20.1",
28
+ "tsdown": "0.21.0",
29
29
  "typescript": "5.9.3",
30
- "typescript-config-silverwind": "14.0.0",
31
- "updates": "17.1.0",
32
- "versions": "14.1.0",
30
+ "typescript-config-silverwind": "15.0.0",
31
+ "updates": "17.8.1",
32
+ "updates-config-silverwind": "1.0.3",
33
+ "versions": "14.2.1",
33
34
  "vitest": "4.0.18",
34
- "vitest-config-silverwind": "10.6.1"
35
+ "vitest-config-silverwind": "10.6.3"
35
36
  }
36
37
  }