@storm-software/workspace-tools 1.52.17 → 1.53.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 +14 -0
- package/config/nx.json +13 -44
- package/index.js +16 -0
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +16 -0
- package/src/executors/design-tokens/executor.js +16 -0
- package/src/executors/tsup/executor.js +16 -0
- package/src/executors/tsup-browser/executor.js +16 -0
- package/src/executors/tsup-neutral/executor.js +16 -0
- package/src/executors/tsup-node/executor.js +16 -0
- package/src/executors/typia/executor.js +16 -0
- package/src/generators/browser-library/generator.js +16 -0
- package/src/generators/config-schema/generator.js +16 -0
- package/src/generators/neutral-library/generator.js +16 -0
- package/src/generators/node-library/generator.js +16 -0
- package/src/generators/preset/generator.js +16 -0
- package/src/utils/index.js +4 -0
package/package.json
CHANGED
package/src/base/index.js
CHANGED
|
@@ -47930,6 +47930,8 @@ var StormConfigSchema = objectType({
|
|
|
47930
47930
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
47931
47931
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
47932
47932
|
),
|
|
47933
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
47934
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
47933
47935
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
47934
47936
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
47935
47937
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -47970,6 +47972,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
47970
47972
|
owner: "@storm-software/development",
|
|
47971
47973
|
worker: "stormie-bot",
|
|
47972
47974
|
runtimeDirectory: "node_modules/.storm",
|
|
47975
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
47976
|
+
skipCache: false,
|
|
47973
47977
|
packageManager: "npm",
|
|
47974
47978
|
timezone: "America/New_York",
|
|
47975
47979
|
locale: "en-US",
|
|
@@ -49808,6 +49812,8 @@ var getConfigEnv = () => {
|
|
|
49808
49812
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
49809
49813
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
49810
49814
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
49815
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
49816
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
49811
49817
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
49812
49818
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
49813
49819
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -49915,6 +49921,16 @@ var setConfigEnv = (config) => {
|
|
|
49915
49921
|
if (config.buildDirectory) {
|
|
49916
49922
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
49917
49923
|
}
|
|
49924
|
+
if (config.skipCache !== void 0) {
|
|
49925
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
49926
|
+
if (config.skipCache) {
|
|
49927
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
49928
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
49929
|
+
}
|
|
49930
|
+
}
|
|
49931
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
49932
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
49933
|
+
}
|
|
49918
49934
|
if (config.runtimeVersion) {
|
|
49919
49935
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
49920
49936
|
}
|
|
@@ -65648,6 +65648,8 @@ var StormConfigSchema = objectType({
|
|
|
65648
65648
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
65649
65649
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
65650
65650
|
),
|
|
65651
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
65652
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
65651
65653
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
65652
65654
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
65653
65655
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -65688,6 +65690,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
65688
65690
|
owner: "@storm-software/development",
|
|
65689
65691
|
worker: "stormie-bot",
|
|
65690
65692
|
runtimeDirectory: "node_modules/.storm",
|
|
65693
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
65694
|
+
skipCache: false,
|
|
65691
65695
|
packageManager: "npm",
|
|
65692
65696
|
timezone: "America/New_York",
|
|
65693
65697
|
locale: "en-US",
|
|
@@ -67526,6 +67530,8 @@ var getConfigEnv = () => {
|
|
|
67526
67530
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
67527
67531
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
67528
67532
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
67533
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
67534
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
67529
67535
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
67530
67536
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
67531
67537
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -67633,6 +67639,16 @@ var setConfigEnv = (config) => {
|
|
|
67633
67639
|
if (config.buildDirectory) {
|
|
67634
67640
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
67635
67641
|
}
|
|
67642
|
+
if (config.skipCache !== void 0) {
|
|
67643
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
67644
|
+
if (config.skipCache) {
|
|
67645
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
67646
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
67647
|
+
}
|
|
67648
|
+
}
|
|
67649
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
67650
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
67651
|
+
}
|
|
67636
67652
|
if (config.runtimeVersion) {
|
|
67637
67653
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
67638
67654
|
}
|
|
@@ -106801,6 +106801,8 @@ var StormConfigSchema = objectType({
|
|
|
106801
106801
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
106802
106802
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
106803
106803
|
),
|
|
106804
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
106805
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
106804
106806
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
106805
106807
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
106806
106808
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -106841,6 +106843,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
106841
106843
|
owner: "@storm-software/development",
|
|
106842
106844
|
worker: "stormie-bot",
|
|
106843
106845
|
runtimeDirectory: "node_modules/.storm",
|
|
106846
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
106847
|
+
skipCache: false,
|
|
106844
106848
|
packageManager: "npm",
|
|
106845
106849
|
timezone: "America/New_York",
|
|
106846
106850
|
locale: "en-US",
|
|
@@ -108679,6 +108683,8 @@ var getConfigEnv = () => {
|
|
|
108679
108683
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
108680
108684
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
108681
108685
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
108686
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
108687
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
108682
108688
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
108683
108689
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
108684
108690
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -108786,6 +108792,16 @@ var setConfigEnv = (config) => {
|
|
|
108786
108792
|
if (config.buildDirectory) {
|
|
108787
108793
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
108788
108794
|
}
|
|
108795
|
+
if (config.skipCache !== void 0) {
|
|
108796
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
108797
|
+
if (config.skipCache) {
|
|
108798
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
108799
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
108800
|
+
}
|
|
108801
|
+
}
|
|
108802
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
108803
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
108804
|
+
}
|
|
108789
108805
|
if (config.runtimeVersion) {
|
|
108790
108806
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
108791
108807
|
}
|
|
@@ -106797,6 +106797,8 @@ var StormConfigSchema = objectType({
|
|
|
106797
106797
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
106798
106798
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
106799
106799
|
),
|
|
106800
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
106801
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
106800
106802
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
106801
106803
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
106802
106804
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -106837,6 +106839,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
106837
106839
|
owner: "@storm-software/development",
|
|
106838
106840
|
worker: "stormie-bot",
|
|
106839
106841
|
runtimeDirectory: "node_modules/.storm",
|
|
106842
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
106843
|
+
skipCache: false,
|
|
106840
106844
|
packageManager: "npm",
|
|
106841
106845
|
timezone: "America/New_York",
|
|
106842
106846
|
locale: "en-US",
|
|
@@ -108675,6 +108679,8 @@ var getConfigEnv = () => {
|
|
|
108675
108679
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
108676
108680
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
108677
108681
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
108682
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
108683
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
108678
108684
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
108679
108685
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
108680
108686
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -108782,6 +108788,16 @@ var setConfigEnv = (config) => {
|
|
|
108782
108788
|
if (config.buildDirectory) {
|
|
108783
108789
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
108784
108790
|
}
|
|
108791
|
+
if (config.skipCache !== void 0) {
|
|
108792
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
108793
|
+
if (config.skipCache) {
|
|
108794
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
108795
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
108796
|
+
}
|
|
108797
|
+
}
|
|
108798
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
108799
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
108800
|
+
}
|
|
108785
108801
|
if (config.runtimeVersion) {
|
|
108786
108802
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
108787
108803
|
}
|
|
@@ -106797,6 +106797,8 @@ var StormConfigSchema = objectType({
|
|
|
106797
106797
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
106798
106798
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
106799
106799
|
),
|
|
106800
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
106801
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
106800
106802
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
106801
106803
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
106802
106804
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -106837,6 +106839,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
106837
106839
|
owner: "@storm-software/development",
|
|
106838
106840
|
worker: "stormie-bot",
|
|
106839
106841
|
runtimeDirectory: "node_modules/.storm",
|
|
106842
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
106843
|
+
skipCache: false,
|
|
106840
106844
|
packageManager: "npm",
|
|
106841
106845
|
timezone: "America/New_York",
|
|
106842
106846
|
locale: "en-US",
|
|
@@ -108675,6 +108679,8 @@ var getConfigEnv = () => {
|
|
|
108675
108679
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
108676
108680
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
108677
108681
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
108682
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
108683
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
108678
108684
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
108679
108685
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
108680
108686
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -108782,6 +108788,16 @@ var setConfigEnv = (config) => {
|
|
|
108782
108788
|
if (config.buildDirectory) {
|
|
108783
108789
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
108784
108790
|
}
|
|
108791
|
+
if (config.skipCache !== void 0) {
|
|
108792
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
108793
|
+
if (config.skipCache) {
|
|
108794
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
108795
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
108796
|
+
}
|
|
108797
|
+
}
|
|
108798
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
108799
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
108800
|
+
}
|
|
108785
108801
|
if (config.runtimeVersion) {
|
|
108786
108802
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
108787
108803
|
}
|
|
@@ -106797,6 +106797,8 @@ var StormConfigSchema = objectType({
|
|
|
106797
106797
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
106798
106798
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
106799
106799
|
),
|
|
106800
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
106801
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
106800
106802
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
106801
106803
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
106802
106804
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -106837,6 +106839,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
106837
106839
|
owner: "@storm-software/development",
|
|
106838
106840
|
worker: "stormie-bot",
|
|
106839
106841
|
runtimeDirectory: "node_modules/.storm",
|
|
106842
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
106843
|
+
skipCache: false,
|
|
106840
106844
|
packageManager: "npm",
|
|
106841
106845
|
timezone: "America/New_York",
|
|
106842
106846
|
locale: "en-US",
|
|
@@ -108675,6 +108679,8 @@ var getConfigEnv = () => {
|
|
|
108675
108679
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
108676
108680
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
108677
108681
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
108682
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
108683
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
108678
108684
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
108679
108685
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
108680
108686
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -108782,6 +108788,16 @@ var setConfigEnv = (config) => {
|
|
|
108782
108788
|
if (config.buildDirectory) {
|
|
108783
108789
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
108784
108790
|
}
|
|
108791
|
+
if (config.skipCache !== void 0) {
|
|
108792
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
108793
|
+
if (config.skipCache) {
|
|
108794
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
108795
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
108796
|
+
}
|
|
108797
|
+
}
|
|
108798
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
108799
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
108800
|
+
}
|
|
108785
108801
|
if (config.runtimeVersion) {
|
|
108786
108802
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
108787
108803
|
}
|
|
@@ -37338,6 +37338,8 @@ var StormConfigSchema = objectType({
|
|
|
37338
37338
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
37339
37339
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
37340
37340
|
),
|
|
37341
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
37342
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
37341
37343
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
37342
37344
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
37343
37345
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -37378,6 +37380,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
37378
37380
|
owner: "@storm-software/development",
|
|
37379
37381
|
worker: "stormie-bot",
|
|
37380
37382
|
runtimeDirectory: "node_modules/.storm",
|
|
37383
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
37384
|
+
skipCache: false,
|
|
37381
37385
|
packageManager: "npm",
|
|
37382
37386
|
timezone: "America/New_York",
|
|
37383
37387
|
locale: "en-US",
|
|
@@ -39216,6 +39220,8 @@ var getConfigEnv = () => {
|
|
|
39216
39220
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
39217
39221
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
39218
39222
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
39223
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
39224
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
39219
39225
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
39220
39226
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
39221
39227
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -39323,6 +39329,16 @@ var setConfigEnv = (config) => {
|
|
|
39323
39329
|
if (config.buildDirectory) {
|
|
39324
39330
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
39325
39331
|
}
|
|
39332
|
+
if (config.skipCache !== void 0) {
|
|
39333
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
39334
|
+
if (config.skipCache) {
|
|
39335
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
39336
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
39337
|
+
}
|
|
39338
|
+
}
|
|
39339
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
39340
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
39341
|
+
}
|
|
39326
39342
|
if (config.runtimeVersion) {
|
|
39327
39343
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
39328
39344
|
}
|
|
@@ -47923,6 +47923,8 @@ var StormConfigSchema = objectType({
|
|
|
47923
47923
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
47924
47924
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
47925
47925
|
),
|
|
47926
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
47927
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
47926
47928
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
47927
47929
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
47928
47930
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -47963,6 +47965,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
47963
47965
|
owner: "@storm-software/development",
|
|
47964
47966
|
worker: "stormie-bot",
|
|
47965
47967
|
runtimeDirectory: "node_modules/.storm",
|
|
47968
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
47969
|
+
skipCache: false,
|
|
47966
47970
|
packageManager: "npm",
|
|
47967
47971
|
timezone: "America/New_York",
|
|
47968
47972
|
locale: "en-US",
|
|
@@ -49801,6 +49805,8 @@ var getConfigEnv = () => {
|
|
|
49801
49805
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
49802
49806
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
49803
49807
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
49808
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
49809
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
49804
49810
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
49805
49811
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
49806
49812
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -49908,6 +49914,16 @@ var setConfigEnv = (config) => {
|
|
|
49908
49914
|
if (config.buildDirectory) {
|
|
49909
49915
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
49910
49916
|
}
|
|
49917
|
+
if (config.skipCache !== void 0) {
|
|
49918
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
49919
|
+
if (config.skipCache) {
|
|
49920
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
49921
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
49922
|
+
}
|
|
49923
|
+
}
|
|
49924
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
49925
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
49926
|
+
}
|
|
49911
49927
|
if (config.runtimeVersion) {
|
|
49912
49928
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
49913
49929
|
}
|
|
@@ -30483,6 +30483,8 @@ var StormConfigSchema = objectType({
|
|
|
30483
30483
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
30484
30484
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
30485
30485
|
),
|
|
30486
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
30487
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
30486
30488
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
30487
30489
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
30488
30490
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -30523,6 +30525,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
30523
30525
|
owner: "@storm-software/development",
|
|
30524
30526
|
worker: "stormie-bot",
|
|
30525
30527
|
runtimeDirectory: "node_modules/.storm",
|
|
30528
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
30529
|
+
skipCache: false,
|
|
30526
30530
|
packageManager: "npm",
|
|
30527
30531
|
timezone: "America/New_York",
|
|
30528
30532
|
locale: "en-US",
|
|
@@ -32361,6 +32365,8 @@ var getConfigEnv = () => {
|
|
|
32361
32365
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
32362
32366
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
32363
32367
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
32368
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
32369
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
32364
32370
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
32365
32371
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
32366
32372
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -32468,6 +32474,16 @@ var setConfigEnv = (config) => {
|
|
|
32468
32474
|
if (config.buildDirectory) {
|
|
32469
32475
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
32470
32476
|
}
|
|
32477
|
+
if (config.skipCache !== void 0) {
|
|
32478
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
32479
|
+
if (config.skipCache) {
|
|
32480
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
32481
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
32482
|
+
}
|
|
32483
|
+
}
|
|
32484
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
32485
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
32486
|
+
}
|
|
32471
32487
|
if (config.runtimeVersion) {
|
|
32472
32488
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
32473
32489
|
}
|
|
@@ -47923,6 +47923,8 @@ var StormConfigSchema = objectType({
|
|
|
47923
47923
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
47924
47924
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
47925
47925
|
),
|
|
47926
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
47927
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
47926
47928
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
47927
47929
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
47928
47930
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -47963,6 +47965,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
47963
47965
|
owner: "@storm-software/development",
|
|
47964
47966
|
worker: "stormie-bot",
|
|
47965
47967
|
runtimeDirectory: "node_modules/.storm",
|
|
47968
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
47969
|
+
skipCache: false,
|
|
47966
47970
|
packageManager: "npm",
|
|
47967
47971
|
timezone: "America/New_York",
|
|
47968
47972
|
locale: "en-US",
|
|
@@ -49801,6 +49805,8 @@ var getConfigEnv = () => {
|
|
|
49801
49805
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
49802
49806
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
49803
49807
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
49808
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
49809
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
49804
49810
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
49805
49811
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
49806
49812
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -49908,6 +49914,16 @@ var setConfigEnv = (config) => {
|
|
|
49908
49914
|
if (config.buildDirectory) {
|
|
49909
49915
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
49910
49916
|
}
|
|
49917
|
+
if (config.skipCache !== void 0) {
|
|
49918
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
49919
|
+
if (config.skipCache) {
|
|
49920
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
49921
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
49922
|
+
}
|
|
49923
|
+
}
|
|
49924
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
49925
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
49926
|
+
}
|
|
49911
49927
|
if (config.runtimeVersion) {
|
|
49912
49928
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
49913
49929
|
}
|
|
@@ -47923,6 +47923,8 @@ var StormConfigSchema = objectType({
|
|
|
47923
47923
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
47924
47924
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
47925
47925
|
),
|
|
47926
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
47927
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
47926
47928
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
47927
47929
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
47928
47930
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -47963,6 +47965,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
47963
47965
|
owner: "@storm-software/development",
|
|
47964
47966
|
worker: "stormie-bot",
|
|
47965
47967
|
runtimeDirectory: "node_modules/.storm",
|
|
47968
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
47969
|
+
skipCache: false,
|
|
47966
47970
|
packageManager: "npm",
|
|
47967
47971
|
timezone: "America/New_York",
|
|
47968
47972
|
locale: "en-US",
|
|
@@ -49801,6 +49805,8 @@ var getConfigEnv = () => {
|
|
|
49801
49805
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
49802
49806
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
49803
49807
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
49808
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
49809
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
49804
49810
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
49805
49811
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
49806
49812
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -49908,6 +49914,16 @@ var setConfigEnv = (config) => {
|
|
|
49908
49914
|
if (config.buildDirectory) {
|
|
49909
49915
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
49910
49916
|
}
|
|
49917
|
+
if (config.skipCache !== void 0) {
|
|
49918
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
49919
|
+
if (config.skipCache) {
|
|
49920
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
49921
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
49922
|
+
}
|
|
49923
|
+
}
|
|
49924
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
49925
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
49926
|
+
}
|
|
49911
49927
|
if (config.runtimeVersion) {
|
|
49912
49928
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
49913
49929
|
}
|
|
@@ -30484,6 +30484,8 @@ var StormConfigSchema = objectType({
|
|
|
30484
30484
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
30485
30485
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
30486
30486
|
),
|
|
30487
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
30488
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
30487
30489
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
30488
30490
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
30489
30491
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -30524,6 +30526,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
30524
30526
|
owner: "@storm-software/development",
|
|
30525
30527
|
worker: "stormie-bot",
|
|
30526
30528
|
runtimeDirectory: "node_modules/.storm",
|
|
30529
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
30530
|
+
skipCache: false,
|
|
30527
30531
|
packageManager: "npm",
|
|
30528
30532
|
timezone: "America/New_York",
|
|
30529
30533
|
locale: "en-US",
|
|
@@ -32362,6 +32366,8 @@ var getConfigEnv = () => {
|
|
|
32362
32366
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
32363
32367
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
32364
32368
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
32369
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
32370
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
32365
32371
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
32366
32372
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
32367
32373
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -32469,6 +32475,16 @@ var setConfigEnv = (config) => {
|
|
|
32469
32475
|
if (config.buildDirectory) {
|
|
32470
32476
|
process.env[`${prefix}BUILD_DIRECTORY`] = config.buildDirectory;
|
|
32471
32477
|
}
|
|
32478
|
+
if (config.skipCache !== void 0) {
|
|
32479
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config.skipCache);
|
|
32480
|
+
if (config.skipCache) {
|
|
32481
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config.skipCache);
|
|
32482
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
|
|
32483
|
+
}
|
|
32484
|
+
}
|
|
32485
|
+
if (!config.skipCache && config.cacheDirectory) {
|
|
32486
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config.cacheDirectory;
|
|
32487
|
+
}
|
|
32472
32488
|
if (config.runtimeVersion) {
|
|
32473
32489
|
process.env[`${prefix}RUNTIME_VERSION`] = config.runtimeVersion;
|
|
32474
32490
|
}
|
package/src/utils/index.js
CHANGED
|
@@ -117851,6 +117851,8 @@ var StormConfigSchema = objectType({
|
|
|
117851
117851
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
117852
117852
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
117853
117853
|
),
|
|
117854
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
117855
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
117854
117856
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
117855
117857
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
117856
117858
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -117891,6 +117893,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
117891
117893
|
owner: "@storm-software/development",
|
|
117892
117894
|
worker: "stormie-bot",
|
|
117893
117895
|
runtimeDirectory: "node_modules/.storm",
|
|
117896
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
117897
|
+
skipCache: false,
|
|
117894
117898
|
packageManager: "npm",
|
|
117895
117899
|
timezone: "America/New_York",
|
|
117896
117900
|
locale: "en-US",
|