@famgia/omnify 1.0.91 → 1.0.93
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/package.json +9 -9
- package/scripts/postinstall.js +11 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@famgia/omnify",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.93",
|
|
4
4
|
"description": "Schema-driven database migration system with TypeScript types and Laravel migrations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"README.md"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@famgia/omnify-
|
|
29
|
-
"@famgia/omnify-
|
|
30
|
-
"@famgia/omnify-
|
|
31
|
-
"@famgia/omnify-
|
|
32
|
-
"@famgia/omnify-
|
|
33
|
-
"@famgia/omnify-
|
|
34
|
-
"@famgia/omnify-
|
|
35
|
-
"@famgia/omnify-
|
|
28
|
+
"@famgia/omnify-core": "0.0.83",
|
|
29
|
+
"@famgia/omnify-typescript": "0.0.71",
|
|
30
|
+
"@famgia/omnify-atlas": "0.0.77",
|
|
31
|
+
"@famgia/omnify-cli": "0.0.89",
|
|
32
|
+
"@famgia/omnify-mcp": "0.0.69",
|
|
33
|
+
"@famgia/omnify-japan": "0.0.76",
|
|
34
|
+
"@famgia/omnify-types": "0.0.81",
|
|
35
|
+
"@famgia/omnify-laravel": "0.0.92"
|
|
36
36
|
},
|
|
37
37
|
"keywords": [
|
|
38
38
|
"omnify",
|
package/scripts/postinstall.js
CHANGED
|
@@ -149,8 +149,18 @@ function generateCombinedSchema(projectRoot) {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
function copyAiGuides(projectRoot) {
|
|
152
|
-
|
|
152
|
+
// AI guides are now generated by the laravel/typescript plugins via `npx omnify generate`
|
|
153
|
+
// This postinstall only creates placeholder files for first-time setup
|
|
153
154
|
const dest = path.join(projectRoot, '.claude', 'omnify');
|
|
155
|
+
if (!fs.existsSync(dest)) fs.mkdirSync(dest, { recursive: true });
|
|
156
|
+
|
|
157
|
+
// Only copy if guides/omnify doesn't exist (first install, generate not run yet)
|
|
158
|
+
const guidesOmnify = path.join(dest, 'guides', 'omnify');
|
|
159
|
+
if (fs.existsSync(guidesOmnify)) {
|
|
160
|
+
return []; // Already generated by plugin, skip
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
const src = path.join(__dirname, '..', 'ai-guides');
|
|
154
164
|
return copyFiles(src, dest);
|
|
155
165
|
}
|
|
156
166
|
|