tsdown-config-silverwind 2.0.1 → 2.0.3
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.js +6 -0
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { fileURLToPath } from "node:url";
|
|
2
2
|
|
|
3
3
|
//#region index.ts
|
|
4
|
+
const origWarn = console.warn;
|
|
5
|
+
console.warn = (...args) => {
|
|
6
|
+
if (typeof args[0] === "string" && args[0].includes("`tsgo` option is experimental")) return;
|
|
7
|
+
origWarn(...args);
|
|
8
|
+
};
|
|
4
9
|
function isObject(obj) {
|
|
5
10
|
return Object.prototype.toString.call(obj) === "[object Object]";
|
|
6
11
|
}
|
|
@@ -31,6 +36,7 @@ function base({ url, entry, report, loader, outputOptions, deps, ...other }) {
|
|
|
31
36
|
fixedExtension: false,
|
|
32
37
|
failOnWarn: true,
|
|
33
38
|
globImport: false,
|
|
39
|
+
dts: { tsgo: true },
|
|
34
40
|
deps: {
|
|
35
41
|
onlyBundle: false,
|
|
36
42
|
...deps
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsdown-config-silverwind",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Shared tsdown configuration",
|
|
5
5
|
"author": "silverwind <me@silverwind.io>",
|
|
6
6
|
"repository": "silverwind/tsdown-config-silverwind",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"tsdown": "*"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/node": "25.
|
|
24
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
25
|
-
"eslint": "
|
|
26
|
-
"eslint-config-silverwind": "
|
|
23
|
+
"@types/node": "25.5.0",
|
|
24
|
+
"@typescript/native-preview": "7.0.0-dev.20260325.1",
|
|
25
|
+
"eslint": "10.1.0",
|
|
26
|
+
"eslint-config-silverwind": "127.1.4",
|
|
27
27
|
"jest-extended": "7.0.0",
|
|
28
|
-
"tsdown": "0.21.
|
|
28
|
+
"tsdown": "0.21.5",
|
|
29
29
|
"typescript": "5.9.3",
|
|
30
|
-
"typescript-config-silverwind": "
|
|
31
|
-
"updates": "17.
|
|
32
|
-
"updates-config-silverwind": "
|
|
33
|
-
"versions": "14.2.
|
|
34
|
-
"vitest": "4.
|
|
35
|
-
"vitest-config-silverwind": "
|
|
30
|
+
"typescript-config-silverwind": "16.1.0",
|
|
31
|
+
"updates": "17.11.4",
|
|
32
|
+
"updates-config-silverwind": "2.0.1",
|
|
33
|
+
"versions": "14.2.5",
|
|
34
|
+
"vitest": "4.1.1",
|
|
35
|
+
"vitest-config-silverwind": "11.0.2"
|
|
36
36
|
}
|
|
37
37
|
}
|