@storm-software/linting-tools 1.25.1 → 1.25.3
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/biome/biome.json +5 -0
- package/cli/index.js +10 -14
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.25.2](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.25.1...linting-tools-v1.25.2) (2024-01-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **git-tools:** Added dependency override for `request` package to prevent request forgery exposure ([1f42b96](https://github.com/storm-software/storm-ops/commit/1f42b96518e944a3b1e5a3e38dfc1c7dc1a7241f))
|
|
7
|
+
|
|
8
|
+
## [1.25.1](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.25.0...linting-tools-v1.25.1) (2024-01-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **linting-tools:** Resolve Dependabot Alerts [#1](https://github.com/storm-software/storm-ops/issues/1), [#2](https://github.com/storm-software/storm-ops/issues/2), [#3](https://github.com/storm-software/storm-ops/issues/3), and [#4](https://github.com/storm-software/storm-ops/issues/4) ([88253ba](https://github.com/storm-software/storm-ops/commit/88253ba59b21442d7af2f1f3cb958d9e9d13289e))
|
|
14
|
+
|
|
1
15
|
# [1.25.0](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.24.1...linting-tools-v1.25.0) (2024-01-15)
|
|
2
16
|
|
|
3
17
|
|
package/biome/biome.json
CHANGED
|
@@ -35,11 +35,16 @@
|
|
|
35
35
|
"noUselessElse": "warn"
|
|
36
36
|
},
|
|
37
37
|
"suspicious": {
|
|
38
|
+
"noAssignInExpressions": "warn",
|
|
38
39
|
"noEmptyInterface": "off",
|
|
39
40
|
"noExplicitAny": "off"
|
|
40
41
|
},
|
|
41
42
|
"security": {
|
|
42
43
|
"noDangerouslySetInnerHtml": "off"
|
|
44
|
+
},
|
|
45
|
+
"nursery": {
|
|
46
|
+
"useImportType": "error",
|
|
47
|
+
"useExportType": "error"
|
|
43
48
|
}
|
|
44
49
|
}
|
|
45
50
|
},
|
package/cli/index.js
CHANGED
|
@@ -277893,15 +277893,15 @@ import { join } from "path";
|
|
|
277893
277893
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
277894
277894
|
var depth = 0;
|
|
277895
277895
|
function findFolderUp(startPath, endFileNames) {
|
|
277896
|
-
|
|
277897
|
-
if (endFileNames.some((endFileName) => existsSync(join(
|
|
277898
|
-
return
|
|
277899
|
-
}
|
|
277900
|
-
|
|
277896
|
+
const _startPath = startPath ?? process.cwd();
|
|
277897
|
+
if (endFileNames.some((endFileName) => existsSync(join(_startPath, endFileName)))) {
|
|
277898
|
+
return _startPath;
|
|
277899
|
+
}
|
|
277900
|
+
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
|
|
277901
|
+
const parent = join(_startPath, "..");
|
|
277901
277902
|
return findFolderUp(parent, endFileNames);
|
|
277902
|
-
} else {
|
|
277903
|
-
return void 0;
|
|
277904
277903
|
}
|
|
277904
|
+
return void 0;
|
|
277905
277905
|
}
|
|
277906
277906
|
|
|
277907
277907
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
@@ -281541,17 +281541,13 @@ var StormConfigSchema = objectType({
|
|
|
281541
281541
|
license: stringType().trim().default("Apache License 2.0").describe("The root directory of the package"),
|
|
281542
281542
|
homepage: stringType().trim().url().default("https://stormsoftware.org").describe("The homepage of the workspace"),
|
|
281543
281543
|
branch: stringType().trim().default("main").describe("The branch of the workspace"),
|
|
281544
|
-
preMajor: booleanType().default(false).describe(
|
|
281545
|
-
"An indicator specifying if the package is still in it's pre-major version"
|
|
281546
|
-
),
|
|
281544
|
+
preMajor: booleanType().default(false).describe("An indicator specifying if the package is still in it's pre-major version"),
|
|
281547
281545
|
owner: stringType().trim().default("@storm-software/development").describe("The owner of the package"),
|
|
281548
281546
|
worker: stringType().trim().default("stormie-bot").describe(
|
|
281549
281547
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
281550
281548
|
),
|
|
281551
281549
|
env: enumType(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
|
|
281552
|
-
ci: booleanType().default(true).describe(
|
|
281553
|
-
"An indicator specifying if the current environment is a CI environment"
|
|
281554
|
-
),
|
|
281550
|
+
ci: booleanType().default(true).describe("An indicator specifying if the current environment is a CI environment"),
|
|
281555
281551
|
workspaceRoot: stringType().trim().optional().describe("The root directory of the workspace"),
|
|
281556
281552
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
281557
281553
|
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
@@ -281562,7 +281558,7 @@ var StormConfigSchema = objectType({
|
|
|
281562
281558
|
packageManager: enumType(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
|
|
281563
281559
|
timezone: stringType().trim().default("America/New_York").describe("The default timezone of the workspace"),
|
|
281564
281560
|
locale: stringType().trim().default("en-US").describe("The default locale of the workspace"),
|
|
281565
|
-
logLevel: enumType(["silent", "fatal", "error", "warn", "info", "debug", "trace"]).default("debug").describe(
|
|
281561
|
+
logLevel: enumType(["silent", "fatal", "error", "warn", "info", "debug", "trace", "all"]).default("debug").describe(
|
|
281566
281562
|
"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`)."
|
|
281567
281563
|
),
|
|
281568
281564
|
configFile: stringType().trim().nullable().default(null).describe(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.3",
|
|
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": [
|