@storm-software/linting-tools 1.27.2 → 1.28.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/bin/cli.mjs DELETED
@@ -1,31 +0,0 @@
1
- #!/usr/bin/env zx
2
-
3
- // biome-ignore lint/correctness/noUndeclaredVariables: <explanation>
4
- cd(__dirname);
5
-
6
- import { writeFatal, writeSuccess } from "../../config-tools/utilities/logger.js";
7
- import { prepareWorkspace } from "../../config-tools/utilities/prepare-workspace.js";
8
- import { createProgram } from "../cli/index.js";
9
-
10
- const _STORM_CONFIG = await prepareWorkspace();
11
-
12
- try {
13
- // biome-ignore lint/correctness/noUndeclaredVariables: <explanation>
14
- cd(_STORM_CONFIG.workspaceRoot);
15
-
16
- // biome-ignore lint/correctness/noUndeclaredVariables: <explanation>
17
- await spinner("Executing code linting and fixing...", async () => {
18
- const program = createProgram();
19
- program.exitOverride();
20
-
21
- await program.parseAsync(process.argv.splice(1));
22
- });
23
-
24
- writeSuccess(_STORM_CONFIG, "Code linting and fixing completed successfully!");
25
- } catch (e) {
26
- writeFatal(
27
- _STORM_CONFIG,
28
- `A fatal error occurred while running the program: ${e.stderr} \nStacktrace: ${e.stack}`
29
- );
30
- process.exit(1);
31
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes