@storm-software/linting-tools 1.23.0 → 1.24.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 CHANGED
@@ -1,3 +1,23 @@
1
+ # [1.24.0](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.23.0...linting-tools-v1.24.0) (2024-01-14)
2
+
3
+
4
+ ### Features
5
+
6
+ * **git-tools:** Improved all CLI tools and git hooks to use the `zx` package ([a905c21](https://github.com/storm-software/storm-ops/commit/a905c213d710d995cc114b32a90bf4d042c550d6))
7
+
8
+ # [1.23.0](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.22.0...linting-tools-v1.23.0) (2024-01-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **storm-ops:** Added missing dependencies ([4ab8aee](https://github.com/storm-software/storm-ops/commit/4ab8aeeab3b7ca4610a3ef0adb31332688c8346a))
14
+
15
+
16
+ ### Features
17
+
18
+ * **git-tools:** Re-added the Git hooks to drive workspace processing ([24311bf](https://github.com/storm-software/storm-ops/commit/24311bfde1becaba5573c4a55d1a6d68e84eb4fb))
19
+ * **linting-tools:** Added Typia compiler transformer to tsup build ([5b39221](https://github.com/storm-software/storm-ops/commit/5b39221dedcc63c21b15f653f56efb4f5cf20989))
20
+
1
21
  # [1.22.0](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.21.1...linting-tools-v1.22.0) (2024-01-13)
2
22
 
3
23
 
package/bin/cli.mjs ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env zx
2
+
3
+ import { findWorkspaceRootSafe } from "../../config-tools/utilities/find-workspace-root.js";
4
+ import { createProgram } from "../cli/index.js";
5
+
6
+ try {
7
+ const workspaceRoot = findWorkspaceRootSafe();
8
+ cd(workspaceRoot);
9
+
10
+ await spinner("Executing code linting and fixing...", async () => {
11
+ const program = createProgram();
12
+ program.exitOverride();
13
+
14
+ await program.parseAsync(process.argv.splice(1));
15
+ });
16
+ } catch (e) {
17
+ console.error(`Error: ${e.stderr}`);
18
+ console.error(e);
19
+ process.exit(1);
20
+ }