ds-01 0.1.4 → 0.1.5

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/dist/index.js CHANGED
@@ -3,16 +3,18 @@ import { Command } from "commander";
3
3
  import { login } from "./commands/login.js";
4
4
  import { whoami } from "./commands/whoami.js";
5
5
  import { logout } from "./commands/logout.js";
6
- import { init } from "./commands/init.js"; // <-- Imported the new init command!
6
+ import { init } from "./commands/init.js";
7
+ import { add } from "./commands/add.js"; // <-- 1. Import the add command!
7
8
  const program = new Command();
8
9
  program
9
- .name("ds01")
10
+ .name("ds-01")
10
11
  .description("DS01 Custom Component Registry CLI")
11
- .version("1.0.0");
12
+ .version("0.1.5");
12
13
  // Register the commands
13
14
  program.addCommand(login);
14
15
  program.addCommand(whoami);
15
16
  program.addCommand(logout);
16
- program.addCommand(init); // <-- Registered it here!
17
+ program.addCommand(init);
18
+ program.addCommand(add); // <-- 2. Register the add command!
17
19
  // Parse the arguments from the terminal
18
20
  program.parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ds-01",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Make your site best with DS01",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -4,20 +4,22 @@ import { Command } from "commander";
4
4
  import { login } from "./commands/login.js";
5
5
  import { whoami } from "./commands/whoami.js";
6
6
  import { logout } from "./commands/logout.js";
7
- import { init } from "./commands/init.js"; // <-- Imported the new init command!
7
+ import { init } from "./commands/init.js";
8
+ import { add } from "./commands/add.js"; // <-- 1. Import the add command!
8
9
 
9
10
  const program = new Command();
10
11
 
11
12
  program
12
- .name("ds01")
13
+ .name("ds-01")
13
14
  .description("DS01 Custom Component Registry CLI")
14
- .version("1.0.0");
15
+ .version("0.1.5");
15
16
 
16
17
  // Register the commands
17
18
  program.addCommand(login);
18
19
  program.addCommand(whoami);
19
20
  program.addCommand(logout);
20
- program.addCommand(init); // <-- Registered it here!
21
+ program.addCommand(init);
22
+ program.addCommand(add); // <-- 2. Register the add command!
21
23
 
22
24
  // Parse the arguments from the terminal
23
25
  program.parse(process.argv);