@storm-software/workspace-tools 1.130.0 → 1.132.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/CHANGELOG.md +16 -0
- package/README.md +3 -1
- package/config/nx.json +1 -1
- package/index.js +148 -121
- package/meta.json +1 -1
- package/package.json +1 -1
- package/packages/build-tools/src/config/get-unbuild-config.d.ts +2 -2
- package/packages/build-tools/src/types.d.ts +2 -1
- package/packages/config/src/define-config.d.ts +18 -0
- package/packages/config/src/schema.d.ts +254 -0
- package/packages/config-tools/src/config-file/get-config-file.d.ts +1 -1
- package/packages/config-tools/src/utilities/get-default-config.d.ts +1 -1
- package/packages/config-tools/src/utilities/logger.d.ts +1 -1
- package/src/base/index.js +138 -111
- package/src/executors/clean-package/executor.js +38 -10
- package/src/executors/rolldown/executor.js +38 -10
- package/src/executors/size-limit/executor.js +38 -10
- package/src/executors/tsup/executor.js +38 -10
- package/src/executors/tsup-browser/executor.js +38 -10
- package/src/executors/tsup-neutral/executor.js +38 -10
- package/src/executors/tsup-node/executor.js +38 -10
- package/src/executors/typia/executor.js +38 -10
- package/src/executors/unbuild/executor.js +38 -10
- package/src/executors/unbuild/schema.json +13 -0
- package/src/generators/browser-library/generator.js +138 -111
- package/src/generators/config-schema/generator.js +38 -10
- package/src/generators/neutral-library/generator.js +138 -111
- package/src/generators/node-library/generator.js +138 -111
- package/src/generators/preset/generator.js +40 -12
- package/src/generators/release-version/generator.js +46 -18
- package/src/utils/index.js +38 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProjectGraph } from "@nx/devkit";
|
|
2
2
|
import type { StormConfig } from "@storm-software/config";
|
|
3
3
|
import type { PackageJson } from "nx/src/utils/package-json.js";
|
|
4
4
|
import { type BuildConfig } from "unbuild";
|
|
5
5
|
import type { UnbuildBuildOptions } from "../types";
|
|
6
|
-
export declare function getUnbuildBuildOptions(config: StormConfig, options: UnbuildBuildOptions,
|
|
6
|
+
export declare function getUnbuildBuildOptions(config: StormConfig, options: UnbuildBuildOptions, packageJson: PackageJson, projectGraph: ProjectGraph): Promise<BuildConfig[]>;
|
|
@@ -196,10 +196,11 @@ export type UnbuildBuildOptions = AdditionalCLIOptions & Omit<UnbuildOptions, "n
|
|
|
196
196
|
watch: boolean;
|
|
197
197
|
verbose: boolean;
|
|
198
198
|
minify: boolean;
|
|
199
|
+
tsLibs: string[];
|
|
199
200
|
includeSrc: boolean;
|
|
201
|
+
generatePackageJson: boolean;
|
|
200
202
|
tsConfig: string;
|
|
201
203
|
outputPath: string;
|
|
202
|
-
generatePackageJson?: boolean;
|
|
203
204
|
entry?: string;
|
|
204
205
|
additionalEntryPoints?: string[];
|
|
205
206
|
external?: (string | RegExp)[];
|
|
@@ -11,6 +11,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
11
11
|
foreground?: string | undefined;
|
|
12
12
|
background?: string | undefined;
|
|
13
13
|
brand?: string | undefined;
|
|
14
|
+
brand2?: string | undefined;
|
|
15
|
+
brand3?: string | undefined;
|
|
14
16
|
accent?: string | undefined;
|
|
15
17
|
help?: string | undefined;
|
|
16
18
|
success?: string | undefined;
|
|
@@ -23,6 +25,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
23
25
|
foreground?: string | undefined;
|
|
24
26
|
background?: string | undefined;
|
|
25
27
|
brand?: string | undefined;
|
|
28
|
+
brand2?: string | undefined;
|
|
29
|
+
brand3?: string | undefined;
|
|
26
30
|
accent?: string | undefined;
|
|
27
31
|
help?: string | undefined;
|
|
28
32
|
success?: string | undefined;
|
|
@@ -33,6 +37,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
33
37
|
};
|
|
34
38
|
} | {
|
|
35
39
|
brand?: string | undefined;
|
|
40
|
+
brand2?: string | undefined;
|
|
41
|
+
brand3?: string | undefined;
|
|
36
42
|
accent?: string | undefined;
|
|
37
43
|
help?: string | undefined;
|
|
38
44
|
success?: string | undefined;
|
|
@@ -48,6 +54,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
48
54
|
foreground?: string | undefined;
|
|
49
55
|
background?: string | undefined;
|
|
50
56
|
brand?: string | undefined;
|
|
57
|
+
brand2?: string | undefined;
|
|
58
|
+
brand3?: string | undefined;
|
|
51
59
|
accent?: string | undefined;
|
|
52
60
|
help?: string | undefined;
|
|
53
61
|
success?: string | undefined;
|
|
@@ -60,6 +68,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
60
68
|
foreground?: string | undefined;
|
|
61
69
|
background?: string | undefined;
|
|
62
70
|
brand?: string | undefined;
|
|
71
|
+
brand2?: string | undefined;
|
|
72
|
+
brand3?: string | undefined;
|
|
63
73
|
accent?: string | undefined;
|
|
64
74
|
help?: string | undefined;
|
|
65
75
|
success?: string | undefined;
|
|
@@ -70,6 +80,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
70
80
|
};
|
|
71
81
|
} | {
|
|
72
82
|
brand?: string | undefined;
|
|
83
|
+
brand2?: string | undefined;
|
|
84
|
+
brand3?: string | undefined;
|
|
73
85
|
accent?: string | undefined;
|
|
74
86
|
help?: string | undefined;
|
|
75
87
|
success?: string | undefined;
|
|
@@ -85,6 +97,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
85
97
|
foreground?: string | undefined;
|
|
86
98
|
background?: string | undefined;
|
|
87
99
|
brand?: string | undefined;
|
|
100
|
+
brand2?: string | undefined;
|
|
101
|
+
brand3?: string | undefined;
|
|
88
102
|
accent?: string | undefined;
|
|
89
103
|
help?: string | undefined;
|
|
90
104
|
success?: string | undefined;
|
|
@@ -97,6 +111,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
97
111
|
foreground?: string | undefined;
|
|
98
112
|
background?: string | undefined;
|
|
99
113
|
brand?: string | undefined;
|
|
114
|
+
brand2?: string | undefined;
|
|
115
|
+
brand3?: string | undefined;
|
|
100
116
|
accent?: string | undefined;
|
|
101
117
|
help?: string | undefined;
|
|
102
118
|
success?: string | undefined;
|
|
@@ -107,6 +123,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
107
123
|
};
|
|
108
124
|
} | {
|
|
109
125
|
brand?: string | undefined;
|
|
126
|
+
brand2?: string | undefined;
|
|
127
|
+
brand3?: string | undefined;
|
|
110
128
|
accent?: string | undefined;
|
|
111
129
|
help?: string | undefined;
|
|
112
130
|
success?: string | undefined;
|