@famgia/omnify-cli 0.0.65 → 0.0.66

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 +30 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -116,6 +116,36 @@ omnify generate --force
116
116
  omnify generate -v
117
117
  ```
118
118
 
119
+ ### `omnify create-laravel-project`
120
+
121
+ Create a new Laravel project from the boilerplate template.
122
+
123
+ ```bash
124
+ omnify create-laravel-project <project-name> [options]
125
+
126
+ Options:
127
+ -r, --repo <url> Custom boilerplate repository URL (default: git@github.com:dxscom/boilerplate.git)
128
+ --skip-setup Skip running the setup script
129
+ ```
130
+
131
+ Example:
132
+ ```bash
133
+ # Create new project
134
+ npx @famgia/omnify-cli create-laravel-project my-app
135
+
136
+ # Create with custom repo
137
+ npx @famgia/omnify-cli create-laravel-project my-app --repo git@github.com:myorg/template.git
138
+
139
+ # Skip setup (run manually later)
140
+ npx @famgia/omnify-cli create-laravel-project my-app --skip-setup
141
+ ```
142
+
143
+ This command will:
144
+ 1. Clone the boilerplate repository
145
+ 2. Remove `.git` and initialize a fresh git repository
146
+ 3. Clean up `.gitignore` (remove entries that consumers should track)
147
+ 4. Run `pnpm run setup` automatically (unless `--skip-setup` is used)
148
+
119
149
  ## Configuration
120
150
 
121
151
  ### Basic Configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@famgia/omnify-cli",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "description": "CLI interface for omnify-schema",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,11 +28,11 @@
28
28
  "commander": "^14.0.2",
29
29
  "jiti": "^2.6.1",
30
30
  "picocolors": "^1.1.1",
31
- "@famgia/omnify-atlas": "0.0.53",
32
- "@famgia/omnify-core": "0.0.59",
33
- "@famgia/omnify-laravel": "0.0.68",
34
- "@famgia/omnify-typescript": "0.0.47",
35
- "@famgia/omnify-types": "0.0.57"
31
+ "@famgia/omnify-atlas": "0.0.54",
32
+ "@famgia/omnify-core": "0.0.60",
33
+ "@famgia/omnify-laravel": "0.0.69",
34
+ "@famgia/omnify-typescript": "0.0.48",
35
+ "@famgia/omnify-types": "0.0.58"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsup",