@ic-reactor/cli 0.5.0 → 0.5.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/README.md CHANGED
@@ -15,7 +15,7 @@ pnpm add -D @ic-reactor/cli
15
15
  ### 1. Initialize your project
16
16
 
17
17
  ```bash
18
- npx ic-reactor init
18
+ npx @ic-reactor/cli init
19
19
  ```
20
20
 
21
21
  This creates an `ic-reactor.json` configuration file in your project root and optionally sets up a default `ClientManager` at `src/clients.ts`.
@@ -70,7 +70,7 @@ function MyComponent() {
70
70
  Initialize the configuration file (`ic-reactor.json`).
71
71
 
72
72
  ```bash
73
- npx ic-reactor init [options]
73
+ npx @ic-reactor/cli init [options]
74
74
 
75
75
  Options:
76
76
  -y, --yes Skip prompts and use defaults
package/dist/index.js CHANGED
@@ -170,7 +170,7 @@ async function generateCommand(options) {
170
170
  const configPath = findConfigFile();
171
171
  if (!configPath) {
172
172
  p2.log.error(
173
- `No ${pc2.yellow("ic-reactor.json")} found. Run ${pc2.cyan("npx ic-reactor init")} first.`
173
+ `No ${pc2.yellow("ic-reactor.json")} found. Run ${pc2.cyan("npx @ic-reactor/cli init")} first.`
174
174
  );
175
175
  process.exit(1);
176
176
  }
@@ -252,7 +252,7 @@ Failed: ${pc2.red(errorCount.toString())}`,
252
252
  import pc3 from "picocolors";
253
253
 
254
254
  // package.json
255
- var version = "0.5.0";
255
+ var version = "0.5.1";
256
256
 
257
257
  // src/index.ts
258
258
  var program = new Command();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "description": "CLI tool to generate shadcn-style React hooks for ICP canisters",
6
6
  "main": "dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "@icp-sdk/core": "^5.0.0",
34
34
  "commander": "^14.0.3",
35
35
  "picocolors": "^1.1.1",
36
- "@ic-reactor/codegen": "0.5.0"
36
+ "@ic-reactor/codegen": "0.5.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^25.2.3",
@@ -18,7 +18,7 @@ export async function generateCommand(options: GenerateOptions) {
18
18
  const configPath = findConfigFile()
19
19
  if (!configPath) {
20
20
  p.log.error(
21
- `No ${pc.yellow("ic-reactor.json")} found. Run ${pc.cyan("npx ic-reactor init")} first.`
21
+ `No ${pc.yellow("ic-reactor.json")} found. Run ${pc.cyan("npx @ic-reactor/cli init")} first.`
22
22
  )
23
23
  process.exit(1)
24
24
  }