@storm-software/workspace-tools 1.49.30 → 1.50.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 +24 -0
- package/index.js +19 -23
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +3 -0
- package/src/executors/design-tokens/executor.js +3 -0
- package/src/executors/tsup/executor.js +19 -23
- package/src/executors/tsup-browser/executor.js +19 -23
- package/src/executors/tsup-neutral/executor.js +19 -23
- package/src/executors/tsup-node/executor.js +19 -23
- package/src/executors/typia/executor.js +3 -0
- package/src/generators/browser-library/generator.js +3 -0
- package/src/generators/config-schema/generator.js +3 -0
- package/src/generators/neutral-library/generator.js +3 -0
- package/src/generators/node-library/generator.js +3 -0
- package/src/generators/preset/generator.js +3 -0
- package/src/utils/index.js +3 -0
package/package.json
CHANGED
package/src/base/index.js
CHANGED
|
@@ -47927,6 +47927,9 @@ var StormConfigSchema = objectType({
|
|
|
47927
47927
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
47928
47928
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
47929
47929
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
47930
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
47931
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
47932
|
+
),
|
|
47930
47933
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
47931
47934
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
47932
47935
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -65645,6 +65645,9 @@ var StormConfigSchema = objectType({
|
|
|
65645
65645
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
65646
65646
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
65647
65647
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
65648
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
65649
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
65650
|
+
),
|
|
65648
65651
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
65649
65652
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
65650
65653
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -106778,6 +106778,9 @@ var StormConfigSchema = objectType({
|
|
|
106778
106778
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
106779
106779
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
106780
106780
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
106781
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
106782
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
106783
|
+
),
|
|
106781
106784
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
106782
106785
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
106783
106786
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -115684,17 +115687,18 @@ ${Object.keys(options).map(
|
|
|
115684
115687
|
return ret;
|
|
115685
115688
|
}, options.external);
|
|
115686
115689
|
}
|
|
115687
|
-
|
|
115688
|
-
|
|
115689
|
-
|
|
115690
|
-
|
|
115690
|
+
for (const thirdPartyDependency of getExternalDependencies(
|
|
115691
|
+
context.projectName,
|
|
115692
|
+
context.projectGraph
|
|
115693
|
+
)) {
|
|
115694
|
+
const packageConfig = thirdPartyDependency.node.data;
|
|
115695
|
+
if (packageConfig?.packageName && !config?.externalPackagePatterns?.some(
|
|
115696
|
+
(pattern) => pattern.includes(packageConfig.packageName)
|
|
115697
|
+
) && !externalDependencies?.some(
|
|
115698
|
+
(externalDependency) => externalDependency.name.includes(packageConfig.packageName)
|
|
115691
115699
|
)) {
|
|
115692
|
-
|
|
115693
|
-
|
|
115694
|
-
options.external.push(packageConfig.packageName);
|
|
115695
|
-
if (!packageJson?.devDependencies?.[packageConfig.packageName]) {
|
|
115696
|
-
externalDependencies.push(thirdPartyDependency);
|
|
115697
|
-
}
|
|
115700
|
+
if (!packageJson?.devDependencies?.[packageConfig.packageName] || !packageConfig.hash) {
|
|
115701
|
+
externalDependencies.push(thirdPartyDependency);
|
|
115698
115702
|
}
|
|
115699
115703
|
}
|
|
115700
115704
|
}
|
|
@@ -115764,6 +115768,9 @@ ${externalDependencies.map((dep) => {
|
|
|
115764
115768
|
packageJson.dependencies ??= {};
|
|
115765
115769
|
packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
|
|
115766
115770
|
}
|
|
115771
|
+
if (!options.external.includes(packageName)) {
|
|
115772
|
+
options.external.push(packageName);
|
|
115773
|
+
}
|
|
115767
115774
|
}
|
|
115768
115775
|
}
|
|
115769
115776
|
for (const packageName of internalDependencies) {
|
|
@@ -115889,14 +115896,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115889
115896
|
}
|
|
115890
115897
|
await Promise.all(
|
|
115891
115898
|
entryPoints.map((entryPoint) => {
|
|
115892
|
-
|
|
115893
|
-
if (outputPath.startsWith(".")) {
|
|
115894
|
-
outputPath = outputPath.substring(1);
|
|
115895
|
-
}
|
|
115896
|
-
if (outputPath.startsWith("/")) {
|
|
115897
|
-
outputPath = outputPath.substring(1);
|
|
115898
|
-
}
|
|
115899
|
-
writeInfo(config, `*** Build output path: ${outputPath} ***`);
|
|
115899
|
+
writeInfo(config, `*** Build output path: ${options.outputPath} ***`);
|
|
115900
115900
|
return runTsupBuild(
|
|
115901
115901
|
{
|
|
115902
115902
|
main: entryPoint,
|
|
@@ -115905,11 +115905,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115905
115905
|
sourceRoot
|
|
115906
115906
|
},
|
|
115907
115907
|
config,
|
|
115908
|
-
|
|
115909
|
-
...options,
|
|
115910
|
-
outputPath,
|
|
115911
|
-
getConfig: options.getConfig
|
|
115912
|
-
}
|
|
115908
|
+
options
|
|
115913
115909
|
);
|
|
115914
115910
|
})
|
|
115915
115911
|
);
|
|
@@ -106774,6 +106774,9 @@ var StormConfigSchema = objectType({
|
|
|
106774
106774
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
106775
106775
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
106776
106776
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
106777
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
106778
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
106779
|
+
),
|
|
106777
106780
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
106778
106781
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
106779
106782
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -115714,17 +115717,18 @@ ${Object.keys(options).map(
|
|
|
115714
115717
|
return ret;
|
|
115715
115718
|
}, options.external);
|
|
115716
115719
|
}
|
|
115717
|
-
|
|
115718
|
-
|
|
115719
|
-
|
|
115720
|
-
|
|
115720
|
+
for (const thirdPartyDependency of getExternalDependencies(
|
|
115721
|
+
context.projectName,
|
|
115722
|
+
context.projectGraph
|
|
115723
|
+
)) {
|
|
115724
|
+
const packageConfig = thirdPartyDependency.node.data;
|
|
115725
|
+
if (packageConfig?.packageName && !config?.externalPackagePatterns?.some(
|
|
115726
|
+
(pattern) => pattern.includes(packageConfig.packageName)
|
|
115727
|
+
) && !externalDependencies?.some(
|
|
115728
|
+
(externalDependency) => externalDependency.name.includes(packageConfig.packageName)
|
|
115721
115729
|
)) {
|
|
115722
|
-
|
|
115723
|
-
|
|
115724
|
-
options.external.push(packageConfig.packageName);
|
|
115725
|
-
if (!packageJson?.devDependencies?.[packageConfig.packageName]) {
|
|
115726
|
-
externalDependencies.push(thirdPartyDependency);
|
|
115727
|
-
}
|
|
115730
|
+
if (!packageJson?.devDependencies?.[packageConfig.packageName] || !packageConfig.hash) {
|
|
115731
|
+
externalDependencies.push(thirdPartyDependency);
|
|
115728
115732
|
}
|
|
115729
115733
|
}
|
|
115730
115734
|
}
|
|
@@ -115794,6 +115798,9 @@ ${externalDependencies.map((dep) => {
|
|
|
115794
115798
|
packageJson.dependencies ??= {};
|
|
115795
115799
|
packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
|
|
115796
115800
|
}
|
|
115801
|
+
if (!options.external.includes(packageName)) {
|
|
115802
|
+
options.external.push(packageName);
|
|
115803
|
+
}
|
|
115797
115804
|
}
|
|
115798
115805
|
}
|
|
115799
115806
|
for (const packageName of internalDependencies) {
|
|
@@ -115919,14 +115926,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115919
115926
|
}
|
|
115920
115927
|
await Promise.all(
|
|
115921
115928
|
entryPoints.map((entryPoint) => {
|
|
115922
|
-
|
|
115923
|
-
if (outputPath.startsWith(".")) {
|
|
115924
|
-
outputPath = outputPath.substring(1);
|
|
115925
|
-
}
|
|
115926
|
-
if (outputPath.startsWith("/")) {
|
|
115927
|
-
outputPath = outputPath.substring(1);
|
|
115928
|
-
}
|
|
115929
|
-
writeInfo(config, `*** Build output path: ${outputPath} ***`);
|
|
115929
|
+
writeInfo(config, `*** Build output path: ${options.outputPath} ***`);
|
|
115930
115930
|
return runTsupBuild(
|
|
115931
115931
|
{
|
|
115932
115932
|
main: entryPoint,
|
|
@@ -115935,11 +115935,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115935
115935
|
sourceRoot
|
|
115936
115936
|
},
|
|
115937
115937
|
config,
|
|
115938
|
-
|
|
115939
|
-
...options,
|
|
115940
|
-
outputPath,
|
|
115941
|
-
getConfig: options.getConfig
|
|
115942
|
-
}
|
|
115938
|
+
options
|
|
115943
115939
|
);
|
|
115944
115940
|
})
|
|
115945
115941
|
);
|
|
@@ -106774,6 +106774,9 @@ var StormConfigSchema = objectType({
|
|
|
106774
106774
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
106775
106775
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
106776
106776
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
106777
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
106778
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
106779
|
+
),
|
|
106777
106780
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
106778
106781
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
106779
106782
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -115714,17 +115717,18 @@ ${Object.keys(options).map(
|
|
|
115714
115717
|
return ret;
|
|
115715
115718
|
}, options.external);
|
|
115716
115719
|
}
|
|
115717
|
-
|
|
115718
|
-
|
|
115719
|
-
|
|
115720
|
-
|
|
115720
|
+
for (const thirdPartyDependency of getExternalDependencies(
|
|
115721
|
+
context.projectName,
|
|
115722
|
+
context.projectGraph
|
|
115723
|
+
)) {
|
|
115724
|
+
const packageConfig = thirdPartyDependency.node.data;
|
|
115725
|
+
if (packageConfig?.packageName && !config?.externalPackagePatterns?.some(
|
|
115726
|
+
(pattern) => pattern.includes(packageConfig.packageName)
|
|
115727
|
+
) && !externalDependencies?.some(
|
|
115728
|
+
(externalDependency) => externalDependency.name.includes(packageConfig.packageName)
|
|
115721
115729
|
)) {
|
|
115722
|
-
|
|
115723
|
-
|
|
115724
|
-
options.external.push(packageConfig.packageName);
|
|
115725
|
-
if (!packageJson?.devDependencies?.[packageConfig.packageName]) {
|
|
115726
|
-
externalDependencies.push(thirdPartyDependency);
|
|
115727
|
-
}
|
|
115730
|
+
if (!packageJson?.devDependencies?.[packageConfig.packageName] || !packageConfig.hash) {
|
|
115731
|
+
externalDependencies.push(thirdPartyDependency);
|
|
115728
115732
|
}
|
|
115729
115733
|
}
|
|
115730
115734
|
}
|
|
@@ -115794,6 +115798,9 @@ ${externalDependencies.map((dep) => {
|
|
|
115794
115798
|
packageJson.dependencies ??= {};
|
|
115795
115799
|
packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
|
|
115796
115800
|
}
|
|
115801
|
+
if (!options.external.includes(packageName)) {
|
|
115802
|
+
options.external.push(packageName);
|
|
115803
|
+
}
|
|
115797
115804
|
}
|
|
115798
115805
|
}
|
|
115799
115806
|
for (const packageName of internalDependencies) {
|
|
@@ -115919,14 +115926,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115919
115926
|
}
|
|
115920
115927
|
await Promise.all(
|
|
115921
115928
|
entryPoints.map((entryPoint) => {
|
|
115922
|
-
|
|
115923
|
-
if (outputPath.startsWith(".")) {
|
|
115924
|
-
outputPath = outputPath.substring(1);
|
|
115925
|
-
}
|
|
115926
|
-
if (outputPath.startsWith("/")) {
|
|
115927
|
-
outputPath = outputPath.substring(1);
|
|
115928
|
-
}
|
|
115929
|
-
writeInfo(config, `*** Build output path: ${outputPath} ***`);
|
|
115929
|
+
writeInfo(config, `*** Build output path: ${options.outputPath} ***`);
|
|
115930
115930
|
return runTsupBuild(
|
|
115931
115931
|
{
|
|
115932
115932
|
main: entryPoint,
|
|
@@ -115935,11 +115935,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115935
115935
|
sourceRoot
|
|
115936
115936
|
},
|
|
115937
115937
|
config,
|
|
115938
|
-
|
|
115939
|
-
...options,
|
|
115940
|
-
outputPath,
|
|
115941
|
-
getConfig: options.getConfig
|
|
115942
|
-
}
|
|
115938
|
+
options
|
|
115943
115939
|
);
|
|
115944
115940
|
})
|
|
115945
115941
|
);
|
|
@@ -106774,6 +106774,9 @@ var StormConfigSchema = objectType({
|
|
|
106774
106774
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
106775
106775
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
106776
106776
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
106777
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
106778
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
106779
|
+
),
|
|
106777
106780
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
106778
106781
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
106779
106782
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -115714,17 +115717,18 @@ ${Object.keys(options).map(
|
|
|
115714
115717
|
return ret;
|
|
115715
115718
|
}, options.external);
|
|
115716
115719
|
}
|
|
115717
|
-
|
|
115718
|
-
|
|
115719
|
-
|
|
115720
|
-
|
|
115720
|
+
for (const thirdPartyDependency of getExternalDependencies(
|
|
115721
|
+
context.projectName,
|
|
115722
|
+
context.projectGraph
|
|
115723
|
+
)) {
|
|
115724
|
+
const packageConfig = thirdPartyDependency.node.data;
|
|
115725
|
+
if (packageConfig?.packageName && !config?.externalPackagePatterns?.some(
|
|
115726
|
+
(pattern) => pattern.includes(packageConfig.packageName)
|
|
115727
|
+
) && !externalDependencies?.some(
|
|
115728
|
+
(externalDependency) => externalDependency.name.includes(packageConfig.packageName)
|
|
115721
115729
|
)) {
|
|
115722
|
-
|
|
115723
|
-
|
|
115724
|
-
options.external.push(packageConfig.packageName);
|
|
115725
|
-
if (!packageJson?.devDependencies?.[packageConfig.packageName]) {
|
|
115726
|
-
externalDependencies.push(thirdPartyDependency);
|
|
115727
|
-
}
|
|
115730
|
+
if (!packageJson?.devDependencies?.[packageConfig.packageName] || !packageConfig.hash) {
|
|
115731
|
+
externalDependencies.push(thirdPartyDependency);
|
|
115728
115732
|
}
|
|
115729
115733
|
}
|
|
115730
115734
|
}
|
|
@@ -115794,6 +115798,9 @@ ${externalDependencies.map((dep) => {
|
|
|
115794
115798
|
packageJson.dependencies ??= {};
|
|
115795
115799
|
packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
|
|
115796
115800
|
}
|
|
115801
|
+
if (!options.external.includes(packageName)) {
|
|
115802
|
+
options.external.push(packageName);
|
|
115803
|
+
}
|
|
115797
115804
|
}
|
|
115798
115805
|
}
|
|
115799
115806
|
for (const packageName of internalDependencies) {
|
|
@@ -115919,14 +115926,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115919
115926
|
}
|
|
115920
115927
|
await Promise.all(
|
|
115921
115928
|
entryPoints.map((entryPoint) => {
|
|
115922
|
-
|
|
115923
|
-
if (outputPath.startsWith(".")) {
|
|
115924
|
-
outputPath = outputPath.substring(1);
|
|
115925
|
-
}
|
|
115926
|
-
if (outputPath.startsWith("/")) {
|
|
115927
|
-
outputPath = outputPath.substring(1);
|
|
115928
|
-
}
|
|
115929
|
-
writeInfo(config, `*** Build output path: ${outputPath} ***`);
|
|
115929
|
+
writeInfo(config, `*** Build output path: ${options.outputPath} ***`);
|
|
115930
115930
|
return runTsupBuild(
|
|
115931
115931
|
{
|
|
115932
115932
|
main: entryPoint,
|
|
@@ -115935,11 +115935,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
115935
115935
|
sourceRoot
|
|
115936
115936
|
},
|
|
115937
115937
|
config,
|
|
115938
|
-
|
|
115939
|
-
...options,
|
|
115940
|
-
outputPath,
|
|
115941
|
-
getConfig: options.getConfig
|
|
115942
|
-
}
|
|
115938
|
+
options
|
|
115943
115939
|
);
|
|
115944
115940
|
})
|
|
115945
115941
|
);
|
|
@@ -36964,6 +36964,9 @@ var StormConfigSchema = objectType({
|
|
|
36964
36964
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
36965
36965
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
36966
36966
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
36967
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
36968
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
36969
|
+
),
|
|
36967
36970
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
36968
36971
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
36969
36972
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -47920,6 +47920,9 @@ var StormConfigSchema = objectType({
|
|
|
47920
47920
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
47921
47921
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
47922
47922
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
47923
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
47924
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
47925
|
+
),
|
|
47923
47926
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
47924
47927
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
47925
47928
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -30480,6 +30480,9 @@ var StormConfigSchema = objectType({
|
|
|
30480
30480
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
30481
30481
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
30482
30482
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
30483
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
30484
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
30485
|
+
),
|
|
30483
30486
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
30484
30487
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
30485
30488
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -47920,6 +47920,9 @@ var StormConfigSchema = objectType({
|
|
|
47920
47920
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
47921
47921
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
47922
47922
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
47923
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
47924
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
47925
|
+
),
|
|
47923
47926
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
47924
47927
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
47925
47928
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -47920,6 +47920,9 @@ var StormConfigSchema = objectType({
|
|
|
47920
47920
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
47921
47921
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
47922
47922
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
47923
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
47924
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
47925
|
+
),
|
|
47923
47926
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
47924
47927
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
47925
47928
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -30481,6 +30481,9 @@ var StormConfigSchema = objectType({
|
|
|
30481
30481
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
30482
30482
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
30483
30483
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
30484
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
30485
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
30486
|
+
),
|
|
30484
30487
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
30485
30488
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
30486
30489
|
runtimeVersion: stringType().trim().regex(
|
package/src/utils/index.js
CHANGED
|
@@ -117472,6 +117472,9 @@ var StormConfigSchema = objectType({
|
|
|
117472
117472
|
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
117473
117473
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
117474
117474
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
117475
|
+
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
117476
|
+
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
117477
|
+
),
|
|
117475
117478
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
117476
117479
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
117477
117480
|
runtimeVersion: stringType().trim().regex(
|