@storm-software/tsdown 0.22.2 → 0.22.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/README.md +1 -1
- package/dist/build.cjs +3 -3
- package/dist/build.js +2 -2
- package/dist/{chunk-EHVHDVI3.cjs → chunk-2Z7WS4H3.cjs} +20 -16
- package/dist/{chunk-MLTU5LTF.js → chunk-QVK624ZI.js} +18 -14
- package/dist/{chunk-22FHFD4Q.js → chunk-XKKDJDDD.js} +90 -41
- package/dist/{chunk-7QXMK5E7.cjs → chunk-ZNJE4VS3.cjs} +167 -118
- package/dist/clean.cjs +2 -2
- package/dist/clean.d.cts +13 -13
- package/dist/clean.d.ts +13 -13
- package/dist/clean.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/dist/tsdown.cjs +4 -4
- package/package.json +4 -4
package/dist/clean.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import z from 'zod';
|
|
|
5
5
|
*/
|
|
6
6
|
declare const StormConfigSchema: z.ZodObject<{
|
|
7
7
|
$schema: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodString>>>>;
|
|
8
|
-
extends: z.ZodOptional<z.ZodString
|
|
8
|
+
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
9
9
|
name: z.ZodOptional<z.ZodString>;
|
|
10
10
|
namespace: z.ZodOptional<z.ZodString>;
|
|
11
11
|
organization: z.ZodDefault<z.ZodString>;
|
|
@@ -40,15 +40,15 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
40
40
|
build: z.ZodDefault<z.ZodString>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
build: string;
|
|
43
|
+
config?: string | undefined;
|
|
43
44
|
cache?: string | undefined;
|
|
44
45
|
data?: string | undefined;
|
|
45
|
-
config?: string | undefined;
|
|
46
46
|
temp?: string | undefined;
|
|
47
47
|
log?: string | undefined;
|
|
48
48
|
}, {
|
|
49
|
+
config?: string | undefined;
|
|
49
50
|
cache?: string | undefined;
|
|
50
51
|
data?: string | undefined;
|
|
51
|
-
config?: string | undefined;
|
|
52
52
|
temp?: string | undefined;
|
|
53
53
|
log?: string | undefined;
|
|
54
54
|
build?: string | undefined;
|
|
@@ -794,6 +794,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
794
794
|
}>]>>]>]>;
|
|
795
795
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
796
796
|
}, "strip", z.ZodTypeAny, {
|
|
797
|
+
env: "development" | "staging" | "production";
|
|
797
798
|
organization: string;
|
|
798
799
|
license: string;
|
|
799
800
|
homepage: string;
|
|
@@ -805,22 +806,21 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
805
806
|
name: string;
|
|
806
807
|
email: string;
|
|
807
808
|
};
|
|
808
|
-
env: "development" | "staging" | "production";
|
|
809
809
|
workspaceRoot: string;
|
|
810
810
|
externalPackagePatterns: string[];
|
|
811
811
|
skipCache: boolean;
|
|
812
812
|
directories: {
|
|
813
813
|
build: string;
|
|
814
|
+
config?: string | undefined;
|
|
814
815
|
cache?: string | undefined;
|
|
815
816
|
data?: string | undefined;
|
|
816
|
-
config?: string | undefined;
|
|
817
817
|
temp?: string | undefined;
|
|
818
818
|
log?: string | undefined;
|
|
819
819
|
};
|
|
820
820
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
821
821
|
timezone: string;
|
|
822
822
|
locale: string;
|
|
823
|
-
logLevel: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "
|
|
823
|
+
logLevel: "silent" | "debug" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
|
|
824
824
|
registry: {
|
|
825
825
|
npm?: string | undefined;
|
|
826
826
|
github?: string | undefined;
|
|
@@ -977,9 +977,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
977
977
|
};
|
|
978
978
|
}>;
|
|
979
979
|
extensions: Record<string, any>;
|
|
980
|
-
$schema?: string | null | undefined;
|
|
981
|
-
extends?: string | undefined;
|
|
982
980
|
name?: string | undefined;
|
|
981
|
+
$schema?: string | null | undefined;
|
|
982
|
+
extends?: string | string[] | undefined;
|
|
983
983
|
namespace?: string | undefined;
|
|
984
984
|
repository?: string | undefined;
|
|
985
985
|
preid?: string | undefined;
|
|
@@ -989,9 +989,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
989
989
|
email?: string | undefined;
|
|
990
990
|
};
|
|
991
991
|
directories: {
|
|
992
|
+
config?: string | undefined;
|
|
992
993
|
cache?: string | undefined;
|
|
993
994
|
data?: string | undefined;
|
|
994
|
-
config?: string | undefined;
|
|
995
995
|
temp?: string | undefined;
|
|
996
996
|
log?: string | undefined;
|
|
997
997
|
build?: string | undefined;
|
|
@@ -1143,9 +1143,10 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1143
1143
|
background?: string | undefined;
|
|
1144
1144
|
};
|
|
1145
1145
|
}>;
|
|
1146
|
-
$schema?: string | null | undefined;
|
|
1147
|
-
extends?: string | undefined;
|
|
1148
1146
|
name?: string | undefined;
|
|
1147
|
+
env?: "development" | "staging" | "production" | undefined;
|
|
1148
|
+
$schema?: string | null | undefined;
|
|
1149
|
+
extends?: string | string[] | undefined;
|
|
1149
1150
|
namespace?: string | undefined;
|
|
1150
1151
|
organization?: string | undefined;
|
|
1151
1152
|
repository?: string | undefined;
|
|
@@ -1156,14 +1157,13 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1156
1157
|
branch?: string | undefined;
|
|
1157
1158
|
preid?: string | undefined;
|
|
1158
1159
|
owner?: string | undefined;
|
|
1159
|
-
env?: "development" | "staging" | "production" | undefined;
|
|
1160
1160
|
workspaceRoot?: string | undefined;
|
|
1161
1161
|
externalPackagePatterns?: string[] | undefined;
|
|
1162
1162
|
skipCache?: boolean | undefined;
|
|
1163
1163
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1164
1164
|
timezone?: string | undefined;
|
|
1165
1165
|
locale?: string | undefined;
|
|
1166
|
-
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "
|
|
1166
|
+
logLevel?: "silent" | "debug" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
|
|
1167
1167
|
registry?: {
|
|
1168
1168
|
npm?: string | undefined;
|
|
1169
1169
|
github?: string | undefined;
|
package/dist/clean.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import z from 'zod';
|
|
|
5
5
|
*/
|
|
6
6
|
declare const StormConfigSchema: z.ZodObject<{
|
|
7
7
|
$schema: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodString>>>>;
|
|
8
|
-
extends: z.ZodOptional<z.ZodString
|
|
8
|
+
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
9
9
|
name: z.ZodOptional<z.ZodString>;
|
|
10
10
|
namespace: z.ZodOptional<z.ZodString>;
|
|
11
11
|
organization: z.ZodDefault<z.ZodString>;
|
|
@@ -40,15 +40,15 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
40
40
|
build: z.ZodDefault<z.ZodString>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
build: string;
|
|
43
|
+
config?: string | undefined;
|
|
43
44
|
cache?: string | undefined;
|
|
44
45
|
data?: string | undefined;
|
|
45
|
-
config?: string | undefined;
|
|
46
46
|
temp?: string | undefined;
|
|
47
47
|
log?: string | undefined;
|
|
48
48
|
}, {
|
|
49
|
+
config?: string | undefined;
|
|
49
50
|
cache?: string | undefined;
|
|
50
51
|
data?: string | undefined;
|
|
51
|
-
config?: string | undefined;
|
|
52
52
|
temp?: string | undefined;
|
|
53
53
|
log?: string | undefined;
|
|
54
54
|
build?: string | undefined;
|
|
@@ -794,6 +794,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
794
794
|
}>]>>]>]>;
|
|
795
795
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
796
796
|
}, "strip", z.ZodTypeAny, {
|
|
797
|
+
env: "development" | "staging" | "production";
|
|
797
798
|
organization: string;
|
|
798
799
|
license: string;
|
|
799
800
|
homepage: string;
|
|
@@ -805,22 +806,21 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
805
806
|
name: string;
|
|
806
807
|
email: string;
|
|
807
808
|
};
|
|
808
|
-
env: "development" | "staging" | "production";
|
|
809
809
|
workspaceRoot: string;
|
|
810
810
|
externalPackagePatterns: string[];
|
|
811
811
|
skipCache: boolean;
|
|
812
812
|
directories: {
|
|
813
813
|
build: string;
|
|
814
|
+
config?: string | undefined;
|
|
814
815
|
cache?: string | undefined;
|
|
815
816
|
data?: string | undefined;
|
|
816
|
-
config?: string | undefined;
|
|
817
817
|
temp?: string | undefined;
|
|
818
818
|
log?: string | undefined;
|
|
819
819
|
};
|
|
820
820
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
821
821
|
timezone: string;
|
|
822
822
|
locale: string;
|
|
823
|
-
logLevel: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "
|
|
823
|
+
logLevel: "silent" | "debug" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
|
|
824
824
|
registry: {
|
|
825
825
|
npm?: string | undefined;
|
|
826
826
|
github?: string | undefined;
|
|
@@ -977,9 +977,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
977
977
|
};
|
|
978
978
|
}>;
|
|
979
979
|
extensions: Record<string, any>;
|
|
980
|
-
$schema?: string | null | undefined;
|
|
981
|
-
extends?: string | undefined;
|
|
982
980
|
name?: string | undefined;
|
|
981
|
+
$schema?: string | null | undefined;
|
|
982
|
+
extends?: string | string[] | undefined;
|
|
983
983
|
namespace?: string | undefined;
|
|
984
984
|
repository?: string | undefined;
|
|
985
985
|
preid?: string | undefined;
|
|
@@ -989,9 +989,9 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
989
989
|
email?: string | undefined;
|
|
990
990
|
};
|
|
991
991
|
directories: {
|
|
992
|
+
config?: string | undefined;
|
|
992
993
|
cache?: string | undefined;
|
|
993
994
|
data?: string | undefined;
|
|
994
|
-
config?: string | undefined;
|
|
995
995
|
temp?: string | undefined;
|
|
996
996
|
log?: string | undefined;
|
|
997
997
|
build?: string | undefined;
|
|
@@ -1143,9 +1143,10 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1143
1143
|
background?: string | undefined;
|
|
1144
1144
|
};
|
|
1145
1145
|
}>;
|
|
1146
|
-
$schema?: string | null | undefined;
|
|
1147
|
-
extends?: string | undefined;
|
|
1148
1146
|
name?: string | undefined;
|
|
1147
|
+
env?: "development" | "staging" | "production" | undefined;
|
|
1148
|
+
$schema?: string | null | undefined;
|
|
1149
|
+
extends?: string | string[] | undefined;
|
|
1149
1150
|
namespace?: string | undefined;
|
|
1150
1151
|
organization?: string | undefined;
|
|
1151
1152
|
repository?: string | undefined;
|
|
@@ -1156,14 +1157,13 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1156
1157
|
branch?: string | undefined;
|
|
1157
1158
|
preid?: string | undefined;
|
|
1158
1159
|
owner?: string | undefined;
|
|
1159
|
-
env?: "development" | "staging" | "production" | undefined;
|
|
1160
1160
|
workspaceRoot?: string | undefined;
|
|
1161
1161
|
externalPackagePatterns?: string[] | undefined;
|
|
1162
1162
|
skipCache?: boolean | undefined;
|
|
1163
1163
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1164
1164
|
timezone?: string | undefined;
|
|
1165
1165
|
locale?: string | undefined;
|
|
1166
|
-
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "
|
|
1166
|
+
logLevel?: "silent" | "debug" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
|
|
1167
1167
|
registry?: {
|
|
1168
1168
|
npm?: string | undefined;
|
|
1169
1169
|
github?: string | undefined;
|
package/dist/clean.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkZNJE4VS3cjs = require('./chunk-ZNJE4VS3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk2Z7WS4H3cjs = require('./chunk-2Z7WS4H3.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk5KRF6IVWcjs = require('./chunk-5KRF6IVW.cjs');
|
|
@@ -13,4 +13,4 @@ require('./chunk-SFZRYJZ2.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.DEFAULT_BUILD_OPTIONS = _chunk5KRF6IVWcjs.DEFAULT_BUILD_OPTIONS; exports.build =
|
|
16
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunk5KRF6IVWcjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkZNJE4VS3cjs.build; exports.clean = _chunk2Z7WS4H3cjs.clean;
|
package/dist/index.js
CHANGED
package/dist/tsdown.cjs
CHANGED
|
@@ -3,7 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
4
4
|
|
|
5
5
|
// bin/tsdown.ts
|
|
6
|
-
var
|
|
6
|
+
var import_get_config2 = require("@storm-software/config-tools/get-config");
|
|
7
7
|
var import_console3 = require("@storm-software/config-tools/logger/console");
|
|
8
8
|
var import_find_workspace_root2 = require("@storm-software/config-tools/utilities/find-workspace-root");
|
|
9
9
|
var import_process_handler = require("@storm-software/config-tools/utilities/process-handler");
|
|
@@ -13,7 +13,7 @@ var import_commander = require("commander");
|
|
|
13
13
|
var import_node2 = require("@humanfs/node");
|
|
14
14
|
var import_devkit = require("@nx/devkit");
|
|
15
15
|
var import_build_tools = require("@storm-software/build-tools");
|
|
16
|
-
var
|
|
16
|
+
var import_get_config = require("@storm-software/config-tools/get-config");
|
|
17
17
|
var import_console2 = require("@storm-software/config-tools/logger/console");
|
|
18
18
|
var import_get_log_level = require("@storm-software/config-tools/logger/get-log-level");
|
|
19
19
|
var import_correct_paths = require("@storm-software/config-tools/utilities/correct-paths");
|
|
@@ -133,7 +133,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
133
133
|
if (!workspaceRoot) {
|
|
134
134
|
throw new Error("Cannot find Nx workspace root");
|
|
135
135
|
}
|
|
136
|
-
const config = await (0,
|
|
136
|
+
const config = await (0, import_get_config.getConfig)(workspaceRoot.dir);
|
|
137
137
|
(0, import_console2.writeDebug)(" \u2699\uFE0F Resolving build options", config);
|
|
138
138
|
const stopwatch = (0, import_console2.getStopwatch)("Build options resolution");
|
|
139
139
|
const projectGraph = await (0, import_devkit.createProjectGraphAsync)({
|
|
@@ -420,7 +420,7 @@ var cleanAction = /* @__PURE__ */ __name((config) => async (options) => {
|
|
|
420
420
|
}
|
|
421
421
|
}, "cleanAction");
|
|
422
422
|
void (async () => {
|
|
423
|
-
const config = await (0,
|
|
423
|
+
const config = await (0, import_get_config2.getConfig)();
|
|
424
424
|
const stopwatch = (0, import_console3.getStopwatch)("Storm TSDown executable");
|
|
425
425
|
try {
|
|
426
426
|
(0, import_process_handler.handleProcess)(config);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/tsdown",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `tsdown` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -173,9 +173,9 @@
|
|
|
173
173
|
"@microsoft/api-extractor": "^7.48.1",
|
|
174
174
|
"@nx/devkit": "^20.3.1",
|
|
175
175
|
"@nx/js": "^20.3.1",
|
|
176
|
-
"@storm-software/build-tools": "0.135.
|
|
177
|
-
"@storm-software/config": "1.98.
|
|
178
|
-
"@storm-software/config-tools": "1.141.
|
|
176
|
+
"@storm-software/build-tools": "0.135.6",
|
|
177
|
+
"@storm-software/config": "1.98.3",
|
|
178
|
+
"@storm-software/config-tools": "1.141.6",
|
|
179
179
|
"@types/node": "^22.10.2",
|
|
180
180
|
"defu": "6.1.4",
|
|
181
181
|
"rollup": "4.29.1",
|