tsdown-config-silverwind 4.0.4 → 4.1.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
@@ -3,9 +3,8 @@ import { UserConfig } from "tsdown";
3
3
  type CustomConfig = UserConfig & {
4
4
  url: string;
5
5
  };
6
- declare function base({ url, entry, report, loader, outputOptions, deps, checks, ...other }: CustomConfig): UserConfig;
7
- declare function nodeLib({ url, entry, outputOptions, ...other }: CustomConfig): UserConfig;
8
- declare function webLib({ url, ...other }: CustomConfig): UserConfig;
9
- declare function nodeCli({ url, entry, outputOptions, ...other }: CustomConfig): UserConfig;
10
- //#endregion
11
- export { base, nodeCli, nodeLib, webLib };
6
+ export declare function base({ url, entry, report, loader, outputOptions, deps, checks, ...other }: CustomConfig): UserConfig;
7
+ export declare function nodeLib({ url, entry, outputOptions, ...other }: CustomConfig): UserConfig;
8
+ export declare function webLib({ url, ...other }: CustomConfig): UserConfig;
9
+ export declare function nodeCli({ url, entry, outputOptions, ...other }: CustomConfig): UserConfig;
10
+ //#endregion
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ function base({ url, entry, report, loader, outputOptions, deps, checks, ...othe
16
16
  report: typeof report === "boolean" ? report : {
17
17
  gzip: false,
18
18
  brotli: false,
19
- ...isObject(report) && { report }
19
+ ...isObject(report) && report
20
20
  },
21
21
  loader: {
22
22
  ".svg": "text",
@@ -37,7 +37,7 @@ function base({ url, entry, report, loader, outputOptions, deps, checks, ...othe
37
37
  ...checks
38
38
  },
39
39
  globImport: false,
40
- dts: { tsgo: true },
40
+ dts: { generator: "tsgo" },
41
41
  deps: {
42
42
  onlyBundle: false,
43
43
  ...deps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsdown-config-silverwind",
3
- "version": "4.0.4",
3
+ "version": "4.1.0",
4
4
  "description": "Shared tsdown configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "eslint": "10.9.1",
29
29
  "eslint-config-silverwind": "146.0.2",
30
30
  "jest-extended": "7.0.0",
31
- "tsdown": "0.22.14",
31
+ "tsdown": "0.23.0",
32
32
  "typescript": "6.0.3",
33
33
  "typescript-config-silverwind": "20.0.4",
34
34
  "updates": "18.1.0",