@storm-software/linting-tools 1.34.17 → 1.35.1
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 +26 -0
- package/bin/lint.js +16 -0
- package/package.json +1 -1
- package/src/cli/index.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
## 1.35.1 (2024-02-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🚀 Features
|
|
5
|
+
|
|
6
|
+
- **config-tools:** Added the `cacheDirectory` and `skipCache` options to the base Storm config ([e9931c58](https://github.com/storm-software/storm-ops/commit/e9931c58))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
13
|
+
## 1.35.0 (2024-02-05)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🚀 Features
|
|
17
|
+
|
|
18
|
+
- **config-tools:** Added the `cacheDirectory` and `skipCache` options to the base Storm config ([e9931c58](https://github.com/storm-software/storm-ops/commit/e9931c58))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### ❤️ Thank You
|
|
22
|
+
|
|
23
|
+
- Patrick Sullivan
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
1
27
|
|
|
2
28
|
|
|
3
29
|
## 1.34.16 (2024-01-29)
|
package/bin/lint.js
CHANGED
|
@@ -292968,6 +292968,8 @@ var StormConfigSchema = objectType({
|
|
|
292968
292968
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
292969
292969
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
292970
292970
|
),
|
|
292971
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
292972
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
292971
292973
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
292972
292974
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
292973
292975
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -293008,6 +293010,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
293008
293010
|
owner: "@storm-software/development",
|
|
293009
293011
|
worker: "stormie-bot",
|
|
293010
293012
|
runtimeDirectory: "node_modules/.storm",
|
|
293013
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
293014
|
+
skipCache: false,
|
|
293011
293015
|
packageManager: "npm",
|
|
293012
293016
|
timezone: "America/New_York",
|
|
293013
293017
|
locale: "en-US",
|
|
@@ -294870,6 +294874,8 @@ var getConfigEnv = () => {
|
|
|
294870
294874
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`],
|
|
294871
294875
|
packageDirectory: process.env[`${prefix}PACKAGE_DIRECTORY`],
|
|
294872
294876
|
buildDirectory: process.env[`${prefix}BUILD_DIRECTORY`],
|
|
294877
|
+
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
294878
|
+
cacheDirectory: process.env[`${prefix}CACHE_DIRECTORY`],
|
|
294873
294879
|
runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
|
|
294874
294880
|
runtimeDirectory: process.env[`${prefix}RUNTIME_DIRECTORY`],
|
|
294875
294881
|
env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
|
|
@@ -294977,6 +294983,16 @@ var setConfigEnv = (config3) => {
|
|
|
294977
294983
|
if (config3.buildDirectory) {
|
|
294978
294984
|
process.env[`${prefix}BUILD_DIRECTORY`] = config3.buildDirectory;
|
|
294979
294985
|
}
|
|
294986
|
+
if (config3.skipCache !== void 0) {
|
|
294987
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config3.skipCache);
|
|
294988
|
+
if (config3.skipCache) {
|
|
294989
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config3.skipCache);
|
|
294990
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config3.skipCache);
|
|
294991
|
+
}
|
|
294992
|
+
}
|
|
294993
|
+
if (!config3.skipCache && config3.cacheDirectory) {
|
|
294994
|
+
process.env[`${prefix}CACHE_DIRECTORY`] = config3.cacheDirectory;
|
|
294995
|
+
}
|
|
294980
294996
|
if (config3.runtimeVersion) {
|
|
294981
294997
|
process.env[`${prefix}RUNTIME_VERSION`] = config3.runtimeVersion;
|
|
294982
294998
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
|
|
6
6
|
"keywords": [
|
package/src/cli/index.js
CHANGED
|
@@ -292923,6 +292923,8 @@ var StormConfigSchema = objectType({
|
|
|
292923
292923
|
externalPackagePatterns: arrayType(stringType()).default([]).describe(
|
|
292924
292924
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
292925
292925
|
),
|
|
292926
|
+
skipCache: booleanType().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
292927
|
+
cacheDirectory: stringType().trim().default("node_modules/.cache/storm").describe("The directory used to store the workspace's cached file data"),
|
|
292926
292928
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
292927
292929
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
292928
292930
|
runtimeVersion: stringType().trim().regex(
|
|
@@ -292963,6 +292965,8 @@ var DEFAULT_STORM_CONFIG = {
|
|
|
292963
292965
|
owner: "@storm-software/development",
|
|
292964
292966
|
worker: "stormie-bot",
|
|
292965
292967
|
runtimeDirectory: "node_modules/.storm",
|
|
292968
|
+
cacheDirectory: "node_modules/.cache/storm",
|
|
292969
|
+
skipCache: false,
|
|
292966
292970
|
packageManager: "npm",
|
|
292967
292971
|
timezone: "America/New_York",
|
|
292968
292972
|
locale: "en-US",
|