@storm-software/linting-tools 1.48.2 → 1.49.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 +12 -0
- package/README.md +1 -1
- package/bin/lint.js +11 -0
- package/package.json +1 -1
- package/src/cli/index.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.49.0 (2024-05-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🚀 Features
|
|
5
|
+
|
|
6
|
+
- **cloudflare-tools:** Update worker generator to add hono depenendency ([946a9e59](https://github.com/storm-software/storm-ops/commit/946a9e59))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
1
13
|
## 1.48.2 (2024-05-27)
|
|
2
14
|
|
|
3
15
|
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/)
|
|
25
25
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
26
26
|
|
|
27
27
|
> [!IMPORTANT]
|
package/bin/lint.js
CHANGED
|
@@ -356045,6 +356045,7 @@ var StormConfigSchema = z2.object({
|
|
|
356045
356045
|
]).default("debug").describe(
|
|
356046
356046
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
356047
356047
|
),
|
|
356048
|
+
cloudflareAccountId: z2.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
356048
356049
|
configFile: z2.string().trim().nullable().default(null).describe(
|
|
356049
356050
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
356050
356051
|
),
|
|
@@ -356521,6 +356522,7 @@ var getConfigEnv = () => {
|
|
|
356521
356522
|
branch: process.env[`${prefix}BRANCH`],
|
|
356522
356523
|
preid: process.env[`${prefix}PRE_ID`],
|
|
356523
356524
|
externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
|
|
356525
|
+
cloudflareAccountId: process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] ? process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] : process.env.CLOUDFLARE_ACCOUNT_ID ? process.env.CLOUDFLARE_ACCOUNT_ID : process.env.STORM_BOT_CLOUDFLARE_ACCOUNT,
|
|
356524
356526
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
356525
356527
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
356526
356528
|
) ? getLogLevelLabel(
|
|
@@ -356727,6 +356729,15 @@ var setConfigEnv = (config) => {
|
|
|
356727
356729
|
config.externalPackagePatterns
|
|
356728
356730
|
);
|
|
356729
356731
|
}
|
|
356732
|
+
if (config.cloudflareAccountId) {
|
|
356733
|
+
process.env.STORM_BOT_CLOUDFLARE_ACCOUNT ??= String(
|
|
356734
|
+
config.cloudflareAccountId
|
|
356735
|
+
);
|
|
356736
|
+
process.env.CLOUDFLARE_ACCOUNT_ID ??= String(config.cloudflareAccountId);
|
|
356737
|
+
process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] = String(
|
|
356738
|
+
config.cloudflareAccountId
|
|
356739
|
+
);
|
|
356740
|
+
}
|
|
356730
356741
|
if (config.logLevel) {
|
|
356731
356742
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
356732
356743
|
process.env.LOG_LEVEL = String(config.logLevel);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.49.0",
|
|
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
|
@@ -291905,6 +291905,7 @@ var StormConfigSchema = z.object({
|
|
|
291905
291905
|
]).default("debug").describe(
|
|
291906
291906
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
291907
291907
|
),
|
|
291908
|
+
cloudflareAccountId: z.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
291908
291909
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
291909
291910
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
291910
291911
|
),
|