@storm-software/workspace-tools 1.156.0 → 1.158.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 +178 -128
- package/README.md +2 -1
- package/config/nx.json +4 -4
- package/declarations.d.ts +4 -13
- package/index.js +2394 -2290
- package/meta.json +1 -1
- package/package.json +7 -7
- package/src/base/index.js +3558 -3512
- package/src/executors/clean-package/executor.js +68061 -68048
- package/src/executors/npm-publish/executor.js +1 -1
- package/src/executors/rolldown/executor.js +5482 -5465
- package/src/executors/size-limit/executor.js +5482 -5465
- package/src/executors/tsup/executor.js +5482 -5465
- package/src/executors/tsup-browser/executor.js +5482 -5465
- package/src/executors/tsup-browser/schema.d.ts +4 -1
- package/src/executors/tsup-neutral/executor.js +5482 -5465
- package/src/executors/tsup-neutral/schema.d.ts +4 -1
- package/src/executors/tsup-node/executor.js +5482 -5465
- package/src/executors/tsup-node/schema.d.ts +4 -1
- package/src/executors/typia/executor.js +5482 -5465
- package/src/executors/unbuild/executor.js +5482 -5465
- package/src/generators/browser-library/generator.js +3550 -3507
- package/src/generators/config-schema/generator.js +302 -287
- package/src/generators/init/init.js +3 -3
- package/src/generators/neutral-library/generator.js +3550 -3507
- package/src/generators/node-library/generator.js +3550 -3507
- package/src/generators/preset/generator.js +5484 -5469
- package/{packages/workspace-tools/src → src}/generators/release-version/generator.d.ts +3 -8
- package/src/generators/release-version/generator.js +6050 -6076
- package/src/generators/release-version/schema.d.ts +2 -1
- package/src/generators/release-version/schema.json +4 -15
- package/src/plugins/rust/index.js +4 -5
- package/src/plugins/typescript/index.js +7 -1
- package/src/utils/index.js +4522 -4499
- package/{packages/workspace-tools/src → src}/utils/lock-file.d.ts +1 -1
- package/src/utils/lock-file.js +9 -5
- package/{packages/workspace-tools/src → src}/utils/toml.d.ts +1 -36
- package/packages/build-tools/src/build/index.d.ts +0 -3
- package/packages/build-tools/src/build/rolldown.d.ts +0 -20
- package/packages/build-tools/src/build/ts-build.d.ts +0 -20
- package/packages/build-tools/src/build/unbuild.d.ts +0 -20
- package/packages/build-tools/src/cli/index.d.ts +0 -2
- package/packages/build-tools/src/config/browser-config.d.ts +0 -2
- package/packages/build-tools/src/config/default-config.d.ts +0 -2
- package/packages/build-tools/src/config/get-config.d.ts +0 -2
- package/packages/build-tools/src/config/get-rolldown-config.d.ts +0 -6
- package/packages/build-tools/src/config/get-unbuild-config.d.ts +0 -6
- package/packages/build-tools/src/config/index.d.ts +0 -7
- package/packages/build-tools/src/config/neutral-config.d.ts +0 -2
- package/packages/build-tools/src/config/node-config.d.ts +0 -3
- package/packages/build-tools/src/index.d.ts +0 -6
- package/packages/build-tools/src/plugins/analyze-plugin.d.ts +0 -4
- package/packages/build-tools/src/plugins/index.d.ts +0 -4
- package/packages/build-tools/src/plugins/swc-plugin.d.ts +0 -2
- package/packages/build-tools/src/plugins/ts-resolve.d.ts +0 -6
- package/packages/build-tools/src/plugins/type-definitions.d.ts +0 -7
- package/packages/build-tools/src/types.d.ts +0 -213
- package/packages/build-tools/src/utils/apply-default-options.d.ts +0 -6
- package/packages/build-tools/src/utils/generate-package-json.d.ts +0 -7
- package/packages/build-tools/src/utils/get-entry-points.d.ts +0 -3
- package/packages/build-tools/src/utils/get-file-banner.d.ts +0 -8
- package/packages/build-tools/src/utils/get-project-deps.d.ts +0 -5
- package/packages/build-tools/src/utils/index.d.ts +0 -7
- package/packages/build-tools/src/utils/out-extension.d.ts +0 -8
- package/packages/build-tools/src/utils/run-tsup-build.d.ts +0 -3
- package/packages/build-tools/src/utils/task-graph.d.ts +0 -6
- package/packages/config/src/constants.d.ts +0 -3
- package/packages/config/src/define-config.d.ts +0 -174
- package/packages/config/src/index.d.ts +0 -12
- package/packages/config/src/schema.d.ts +0 -1915
- package/packages/config/src/types.d.ts +0 -23
- package/packages/config-tools/src/config-file/get-config-file.d.ts +0 -16
- package/packages/config-tools/src/config-file/index.d.ts +0 -1
- package/packages/config-tools/src/create-storm-config.d.ts +0 -26
- package/packages/config-tools/src/env/get-env.d.ts +0 -15
- package/packages/config-tools/src/env/index.d.ts +0 -2
- package/packages/config-tools/src/env/set-env.d.ts +0 -14
- package/packages/config-tools/src/index.d.ts +0 -13
- package/packages/config-tools/src/types.d.ts +0 -33
- package/packages/config-tools/src/utilities/apply-workspace-tokens.d.ts +0 -4
- package/packages/config-tools/src/utilities/chalk.d.ts +0 -23
- package/packages/config-tools/src/utilities/correct-paths.d.ts +0 -1
- package/packages/config-tools/src/utilities/file-path-utils.d.ts +0 -2
- package/packages/config-tools/src/utilities/find-up.d.ts +0 -4
- package/packages/config-tools/src/utilities/find-workspace-root.d.ts +0 -14
- package/packages/config-tools/src/utilities/get-default-config.d.ts +0 -15
- package/packages/config-tools/src/utilities/get-log-level.d.ts +0 -15
- package/packages/config-tools/src/utilities/index.d.ts +0 -10
- package/packages/config-tools/src/utilities/logger.d.ts +0 -74
- package/packages/config-tools/src/utilities/process-handler.d.ts +0 -4
- package/packages/config-tools/src/utilities/run.d.ts +0 -18
- package/{packages/workspace-tools/index.d.ts → index.d.ts} +0 -0
- package/{packages/workspace-tools/src → src}/base/base-executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/base/base-generator.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/base/index.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/base/typescript-library-generator.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/cargo-publish/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/clean-package/constants.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/clean-package/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/clean-package/types.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/clean-package/utils.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/npm-publish/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/rolldown/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/size-limit/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/tsup/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/tsup-browser/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/tsup-neutral/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/tsup-node/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/typia/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/executors/unbuild/executor.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/generators/browser-library/generator.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/generators/config-schema/generator.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/generators/init/init.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/generators/neutral-library/generator.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/generators/node-library/generator.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/generators/preset/generator.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/plugins/rust/cargo-toml.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/plugins/rust/index.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/plugins/typescript/index.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/plugins/typescript/project-config.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/utils/apply-workspace-tokens.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/utils/cargo.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/utils/create-cli-options.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/utils/get-project-configurations.d.ts +0 -0
- package/{packages/workspace-tools/src → src}/utils/index.d.ts +5 -5
- /package/{packages/workspace-tools/src → src}/utils/project-tags.d.ts +0 -0
- /package/{packages/workspace-tools/src → src}/utils/run-tsup-build.d.ts +0 -0
- /package/{packages/workspace-tools/src → src}/utils/typia-transform.d.ts +0 -0
- /package/{packages/workspace-tools/src → src}/utils/versions.d.ts +0 -0
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import type { StormConfigInput } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* Type the config values for the current Storm workspace
|
|
4
|
-
*
|
|
5
|
-
* @param input - The config values for the current Storm workspace
|
|
6
|
-
* @returns The config values for the current Storm workspace
|
|
7
|
-
*/
|
|
8
|
-
export declare const defineConfig: (input: StormConfigInput) => {
|
|
9
|
-
colors: {
|
|
10
|
-
dark: {
|
|
11
|
-
foreground?: string | undefined;
|
|
12
|
-
background?: string | undefined;
|
|
13
|
-
brand?: string | undefined;
|
|
14
|
-
brand2?: string | undefined;
|
|
15
|
-
brand3?: string | undefined;
|
|
16
|
-
accent?: string | undefined;
|
|
17
|
-
help?: string | undefined;
|
|
18
|
-
success?: string | undefined;
|
|
19
|
-
info?: string | undefined;
|
|
20
|
-
warning?: string | undefined;
|
|
21
|
-
error?: string | undefined;
|
|
22
|
-
fatal?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
light: {
|
|
25
|
-
foreground?: string | undefined;
|
|
26
|
-
background?: string | undefined;
|
|
27
|
-
brand?: string | undefined;
|
|
28
|
-
brand2?: string | undefined;
|
|
29
|
-
brand3?: string | undefined;
|
|
30
|
-
accent?: string | undefined;
|
|
31
|
-
help?: string | undefined;
|
|
32
|
-
success?: string | undefined;
|
|
33
|
-
info?: string | undefined;
|
|
34
|
-
warning?: string | undefined;
|
|
35
|
-
error?: string | undefined;
|
|
36
|
-
fatal?: string | undefined;
|
|
37
|
-
};
|
|
38
|
-
} | {
|
|
39
|
-
brand?: string | undefined;
|
|
40
|
-
brand2?: string | undefined;
|
|
41
|
-
brand3?: string | undefined;
|
|
42
|
-
accent?: string | undefined;
|
|
43
|
-
help?: string | undefined;
|
|
44
|
-
success?: string | undefined;
|
|
45
|
-
info?: string | undefined;
|
|
46
|
-
warning?: string | undefined;
|
|
47
|
-
error?: string | undefined;
|
|
48
|
-
fatal?: string | undefined;
|
|
49
|
-
dark?: string | undefined;
|
|
50
|
-
light?: string | undefined;
|
|
51
|
-
} | {
|
|
52
|
-
base: {
|
|
53
|
-
dark: {
|
|
54
|
-
foreground?: string | undefined;
|
|
55
|
-
background?: string | undefined;
|
|
56
|
-
brand?: string | undefined;
|
|
57
|
-
brand2?: string | undefined;
|
|
58
|
-
brand3?: string | undefined;
|
|
59
|
-
accent?: string | undefined;
|
|
60
|
-
help?: string | undefined;
|
|
61
|
-
success?: string | undefined;
|
|
62
|
-
info?: string | undefined;
|
|
63
|
-
warning?: string | undefined;
|
|
64
|
-
error?: string | undefined;
|
|
65
|
-
fatal?: string | undefined;
|
|
66
|
-
};
|
|
67
|
-
light: {
|
|
68
|
-
foreground?: string | undefined;
|
|
69
|
-
background?: string | undefined;
|
|
70
|
-
brand?: string | undefined;
|
|
71
|
-
brand2?: string | undefined;
|
|
72
|
-
brand3?: string | undefined;
|
|
73
|
-
accent?: string | undefined;
|
|
74
|
-
help?: string | undefined;
|
|
75
|
-
success?: string | undefined;
|
|
76
|
-
info?: string | undefined;
|
|
77
|
-
warning?: string | undefined;
|
|
78
|
-
error?: string | undefined;
|
|
79
|
-
fatal?: string | undefined;
|
|
80
|
-
};
|
|
81
|
-
} | {
|
|
82
|
-
brand?: string | undefined;
|
|
83
|
-
brand2?: string | undefined;
|
|
84
|
-
brand3?: string | undefined;
|
|
85
|
-
accent?: string | undefined;
|
|
86
|
-
help?: string | undefined;
|
|
87
|
-
success?: string | undefined;
|
|
88
|
-
info?: string | undefined;
|
|
89
|
-
warning?: string | undefined;
|
|
90
|
-
error?: string | undefined;
|
|
91
|
-
fatal?: string | undefined;
|
|
92
|
-
dark?: string | undefined;
|
|
93
|
-
light?: string | undefined;
|
|
94
|
-
};
|
|
95
|
-
} | Record<string, {
|
|
96
|
-
dark: {
|
|
97
|
-
foreground?: string | undefined;
|
|
98
|
-
background?: string | undefined;
|
|
99
|
-
brand?: string | undefined;
|
|
100
|
-
brand2?: string | undefined;
|
|
101
|
-
brand3?: string | undefined;
|
|
102
|
-
accent?: string | undefined;
|
|
103
|
-
help?: string | undefined;
|
|
104
|
-
success?: string | undefined;
|
|
105
|
-
info?: string | undefined;
|
|
106
|
-
warning?: string | undefined;
|
|
107
|
-
error?: string | undefined;
|
|
108
|
-
fatal?: string | undefined;
|
|
109
|
-
};
|
|
110
|
-
light: {
|
|
111
|
-
foreground?: string | undefined;
|
|
112
|
-
background?: string | undefined;
|
|
113
|
-
brand?: string | undefined;
|
|
114
|
-
brand2?: string | undefined;
|
|
115
|
-
brand3?: string | undefined;
|
|
116
|
-
accent?: string | undefined;
|
|
117
|
-
help?: string | undefined;
|
|
118
|
-
success?: string | undefined;
|
|
119
|
-
info?: string | undefined;
|
|
120
|
-
warning?: string | undefined;
|
|
121
|
-
error?: string | undefined;
|
|
122
|
-
fatal?: string | undefined;
|
|
123
|
-
};
|
|
124
|
-
} | {
|
|
125
|
-
brand?: string | undefined;
|
|
126
|
-
brand2?: string | undefined;
|
|
127
|
-
brand3?: string | undefined;
|
|
128
|
-
accent?: string | undefined;
|
|
129
|
-
help?: string | undefined;
|
|
130
|
-
success?: string | undefined;
|
|
131
|
-
info?: string | undefined;
|
|
132
|
-
warning?: string | undefined;
|
|
133
|
-
error?: string | undefined;
|
|
134
|
-
fatal?: string | undefined;
|
|
135
|
-
dark?: string | undefined;
|
|
136
|
-
light?: string | undefined;
|
|
137
|
-
}>;
|
|
138
|
-
$schema?: string | undefined;
|
|
139
|
-
extends?: string | undefined;
|
|
140
|
-
name?: string | undefined;
|
|
141
|
-
namespace?: string | undefined;
|
|
142
|
-
organization?: string | undefined;
|
|
143
|
-
repository?: string | undefined;
|
|
144
|
-
license?: string | undefined;
|
|
145
|
-
homepage?: string | undefined;
|
|
146
|
-
docs?: string | undefined;
|
|
147
|
-
licensing?: string | undefined;
|
|
148
|
-
branch?: string | undefined;
|
|
149
|
-
preid?: string | undefined;
|
|
150
|
-
owner?: string | undefined;
|
|
151
|
-
worker?: string | undefined;
|
|
152
|
-
env?: "development" | "staging" | "production" | undefined;
|
|
153
|
-
workspaceRoot?: string | undefined;
|
|
154
|
-
packageDirectory?: string | undefined;
|
|
155
|
-
externalPackagePatterns?: string[] | undefined;
|
|
156
|
-
skipCache?: boolean | undefined;
|
|
157
|
-
cacheDirectory?: string | undefined;
|
|
158
|
-
buildDirectory?: string | undefined;
|
|
159
|
-
outputDirectory?: string | undefined;
|
|
160
|
-
runtimeVersion?: string | undefined;
|
|
161
|
-
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
162
|
-
timezone?: string | undefined;
|
|
163
|
-
locale?: string | undefined;
|
|
164
|
-
logLevel?: "info" | "error" | "fatal" | "silent" | "warn" | "debug" | "trace" | "all" | undefined;
|
|
165
|
-
cloudflareAccountId?: string | null | undefined;
|
|
166
|
-
registry?: {
|
|
167
|
-
github?: string | undefined;
|
|
168
|
-
npm?: string | undefined;
|
|
169
|
-
cargo?: string | undefined;
|
|
170
|
-
cyclone?: string | undefined;
|
|
171
|
-
} | undefined;
|
|
172
|
-
configFile?: string | null | undefined;
|
|
173
|
-
extensions?: Record<string, any> | undefined;
|
|
174
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The config-schema library used by Storm Software for building TypeScript applications.
|
|
3
|
-
*
|
|
4
|
-
* @remarks
|
|
5
|
-
* A package containing various utilities to support custom workspace configurations
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
*/
|
|
9
|
-
export * from "./constants";
|
|
10
|
-
export * from "./define-config";
|
|
11
|
-
export * from "./schema";
|
|
12
|
-
export * from "./types";
|