tsdown-config-silverwind 3.0.3 → 3.0.5

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
@@ -1,33 +1,11 @@
1
1
  import { UserConfig } from "tsdown";
2
-
3
2
  //#region index.d.ts
4
3
  type CustomConfig = UserConfig & {
5
4
  url: string;
6
5
  };
7
- declare function base({
8
- url,
9
- entry,
10
- report,
11
- loader,
12
- outputOptions,
13
- deps,
14
- ...other
15
- }: CustomConfig): UserConfig;
16
- declare function nodeLib({
17
- url,
18
- entry,
19
- outputOptions,
20
- ...other
21
- }: CustomConfig): UserConfig;
22
- declare function webLib({
23
- url,
24
- ...other
25
- }: CustomConfig): UserConfig;
26
- declare function nodeCli({
27
- url,
28
- entry,
29
- outputOptions,
30
- ...other
31
- }: CustomConfig): UserConfig;
6
+ declare function base({ url, entry, report, loader, outputOptions, deps, ...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;
32
10
  //#endregion
33
11
  export { base, nodeCli, nodeLib, webLib };
package/dist/index.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import { fileURLToPath } from "node:url";
2
2
 
3
3
  //#region index.ts
4
+ const suppressedWarnings = /* @__PURE__ */ new Set(["The `tsgo` option is experimental and may change in the future.", "TypeScript 7.0 does not yet have a stable API and is experimental. Some options will be unavailable."]);
4
5
  const origWarn = console.warn;
5
6
  console.warn = (...args) => {
6
- if (typeof args[0] === "string" && args[0].includes("`tsgo` option is experimental")) return;
7
+ if (typeof args[0] === "string" && suppressedWarnings.has(args[0])) return;
7
8
  origWarn(...args);
8
9
  };
9
10
  function isObject(obj) {
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "tsdown-config-silverwind",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "description": "Shared tsdown configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
- "repository": "silverwind/tsdown-config-silverwind",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "silverwind/tsdown-config-silverwind"
9
+ },
7
10
  "license": "BSD-2-Clause",
8
11
  "type": "module",
9
12
  "sideEffects": false,
@@ -20,18 +23,18 @@
20
23
  "tsdown": "*"
21
24
  },
22
25
  "devDependencies": {
23
- "@types/node": "25.9.2",
24
- "@typescript/native-preview": "7.0.0-dev.20260608.1",
25
- "eslint": "10.4.1",
26
- "eslint-config-silverwind": "134.0.1",
26
+ "@types/node": "26.1.1",
27
+ "@typescript/native-preview": "7.0.0-dev.20260707.2",
28
+ "eslint": "10.6.0",
29
+ "eslint-config-silverwind": "140.1.2",
27
30
  "jest-extended": "7.0.0",
28
- "tsdown": "0.22.2",
31
+ "tsdown": "0.22.4",
29
32
  "typescript": "6.0.3",
30
33
  "typescript-config-silverwind": "20.0.0",
31
- "updates": "17.17.3",
32
- "updates-config-silverwind": "3.0.2",
33
- "versions": "15.1.0",
34
- "vitest": "4.1.8",
35
- "vitest-config-silverwind": "11.3.5"
34
+ "updates": "17.18.2",
35
+ "updates-config-silverwind": "4.0.1",
36
+ "versions": "15.1.3",
37
+ "vitest": "4.1.10",
38
+ "vitest-config-silverwind": "11.3.6"
36
39
  }
37
40
  }