@prodara/cli 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -19,6 +19,9 @@ This ensures you always run the compiler version pinned in your project's `packa
19
19
  ## Usage
20
20
 
21
21
  ```bash
22
+ # Create a new project — automatically installs @prodara/compiler
23
+ prodara init my-project
24
+
22
25
  # In a project with @prodara/compiler installed locally
23
26
  prodara build
24
27
  prodara validate
@@ -28,6 +31,16 @@ prodara test
28
31
  prodara doctor
29
32
  ```
30
33
 
34
+ ### Automatic Setup
35
+
36
+ `prodara init` handles project setup automatically:
37
+
38
+ 1. Runs `npm init -y` if no `package.json` exists
39
+ 2. Installs `@prodara/compiler` as a dev dependency
40
+ 3. Scaffolds the `.prd` project structure
41
+
42
+ Use `--skip-install` to skip the npm init and compiler installation steps.
43
+
31
44
  If no local compiler is found, the CLI prints installation instructions.
32
45
 
33
46
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prodara/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Prodara CLI — thin wrapper that delegates to the project-local @prodara/compiler",
5
5
  "author": "Prodara Contributors",
6
6
  "repository": {