base44 0.0.25 → 0.0.26

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/README.md CHANGED
@@ -64,7 +64,7 @@ When creating a project, [base44/skills](https://github.com/base44/skills) are a
64
64
  If you need to install skills manually, use the following command:
65
65
 
66
66
  ```bash
67
- npx add-skill base44/skills
67
+ npx skills add base44/skills
68
68
  ```
69
69
 
70
70
  ## Help
package/bin/dev.js CHANGED
@@ -1,19 +1,10 @@
1
1
  #!/usr/bin/env tsx
2
+ import { runCLI } from "../src/cli/index.ts";
2
3
 
3
4
  // Disable Clack spinners and animations in non-interactive environments.
4
5
  // Clack only checks the CI env var, so we set it when stdin/stdout aren't TTYs.
5
6
  if (!process.stdin.isTTY || !process.stdout.isTTY) {
6
- process.env.CI = 'true';
7
+ process.env.CI = "true";
7
8
  }
8
9
 
9
- import { program, CLIExitError } from "../src/cli/index.ts";
10
-
11
- try {
12
- await program.parseAsync();
13
- } catch (error) {
14
- if (error instanceof CLIExitError) {
15
- process.exit(error.code);
16
- }
17
- console.error(error);
18
- process.exit(1);
19
- }
10
+ await runCLI();
package/bin/run.js CHANGED
@@ -1,19 +1,10 @@
1
1
  #!/usr/bin/env node
2
+ import { runCLI } from "../dist/index.js";
2
3
 
3
4
  // Disable Clack spinners and animations in non-interactive environments.
4
5
  // Clack only checks the CI env var, so we set it when stdin/stdout aren't TTYs.
5
6
  if (!process.stdin.isTTY || !process.stdout.isTTY) {
6
- process.env.CI = 'true';
7
+ process.env.CI = "true";
7
8
  }
8
9
 
9
- import { program, CLIExitError } from "../dist/index.js";
10
-
11
- try {
12
- await program.parseAsync();
13
- } catch (error) {
14
- if (error instanceof CLIExitError) {
15
- process.exit(error.code);
16
- }
17
- console.error(error);
18
- process.exit(1);
19
- }
10
+ await runCLI();