@nextsparkjs/cli 0.1.0-beta.1 → 0.1.0-beta.2

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 +29 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,24 +4,47 @@ CLI tool for NextSpark development workflow.
4
4
 
5
5
  ## Installation
6
6
 
7
+ The CLI is included with `@nextsparkjs/core`. You can use it with npx:
8
+
9
+ ```bash
10
+ npx nextspark <command>
11
+ ```
12
+
13
+ Or install globally:
14
+
7
15
  ```bash
8
16
  npm install -g @nextsparkjs/cli
9
- # or use with npx
10
- npx @nextsparkjs/cli <command>
11
17
  ```
12
18
 
13
19
  ## Commands
14
20
 
21
+ ### Initialize Project
22
+
23
+ ```bash
24
+ npx nextspark init # Interactive wizard
25
+ npx nextspark init --preset saas # Use SaaS preset
26
+ npx nextspark init --preset blog # Use Blog preset
27
+ npx nextspark init --preset crm # Use CRM preset
28
+ ```
29
+
30
+ ### Development
31
+
32
+ ```bash
33
+ nextspark dev # Start dev server with active theme
34
+ nextspark build # Production build
35
+ nextspark registry # Build component registries
36
+ ```
37
+
38
+ ### Database
39
+
15
40
  ```bash
16
- nextspark init # Initialize NextSpark in an existing Next.js project
17
- nextspark migrate # Run database migrations
18
- nextspark registry # Build component registries
41
+ nextspark migrate # Run database migrations
19
42
  ```
20
43
 
21
44
  ## Requirements
22
45
 
23
46
  - Node.js 18+
24
- - @nextsparkjs/core installed in your project
47
+ - pnpm recommended
25
48
 
26
49
  ## Documentation
27
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextsparkjs/cli",
3
- "version": "0.1.0-beta.1",
3
+ "version": "0.1.0-beta.2",
4
4
  "description": "CLI for NextSpark - wrap core scripts with a professional interface",
5
5
  "type": "module",
6
6
  "bin": {