@famgia/omnify 1.0.154 ā 1.0.155
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 +19 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@famgia/omnify",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.155",
|
|
4
4
|
"description": "Schema-driven database migration system with TypeScript types and Laravel migrations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"README.md"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@famgia/omnify-cli": "0.0.
|
|
30
|
-
"@famgia/omnify-core": "0.0.
|
|
31
|
-
"@famgia/omnify-types": "0.0.
|
|
32
|
-
"@famgia/omnify-
|
|
33
|
-
"@famgia/omnify-
|
|
34
|
-
"@famgia/omnify-
|
|
35
|
-
"@famgia/omnify-mcp": "0.0.
|
|
36
|
-
"@famgia/omnify-japan": "0.0.
|
|
29
|
+
"@famgia/omnify-cli": "0.0.151",
|
|
30
|
+
"@famgia/omnify-core": "0.0.145",
|
|
31
|
+
"@famgia/omnify-types": "0.0.143",
|
|
32
|
+
"@famgia/omnify-atlas": "0.0.139",
|
|
33
|
+
"@famgia/omnify-laravel": "0.0.154",
|
|
34
|
+
"@famgia/omnify-typescript": "0.0.133",
|
|
35
|
+
"@famgia/omnify-mcp": "0.0.131",
|
|
36
|
+
"@famgia/omnify-japan": "0.0.138"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"omnify",
|
package/scripts/postinstall.js
CHANGED
|
@@ -414,6 +414,19 @@ function setupClaudeMcp() {
|
|
|
414
414
|
// Main
|
|
415
415
|
// ============================================================================
|
|
416
416
|
|
|
417
|
+
/**
|
|
418
|
+
* Get package version from package.json
|
|
419
|
+
*/
|
|
420
|
+
function getPackageVersion() {
|
|
421
|
+
try {
|
|
422
|
+
const pkgPath = path.join(__dirname, '..', 'package.json');
|
|
423
|
+
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
|
|
424
|
+
return pkg.version;
|
|
425
|
+
} catch {
|
|
426
|
+
return null;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
417
430
|
function main() {
|
|
418
431
|
// Skip in CI
|
|
419
432
|
if (process.env.CI || process.env.CONTINUOUS_INTEGRATION) return;
|
|
@@ -425,7 +438,11 @@ function main() {
|
|
|
425
438
|
const projectRoot = findProjectRoot();
|
|
426
439
|
if (!projectRoot) return;
|
|
427
440
|
|
|
428
|
-
|
|
441
|
+
const version = getPackageVersion();
|
|
442
|
+
const versionStr = version ? ` v${version}` : '';
|
|
443
|
+
|
|
444
|
+
console.log(`\nš¦ @famgia/omnify${versionStr} installed!`);
|
|
445
|
+
console.log('š§ Setting up AI integration...\n');
|
|
429
446
|
|
|
430
447
|
const results = [];
|
|
431
448
|
|
|
@@ -465,7 +482,7 @@ function main() {
|
|
|
465
482
|
} catch { /* ignore */ }
|
|
466
483
|
|
|
467
484
|
for (const r of results) console.log(` ${r}`);
|
|
468
|
-
console.log('\nā
|
|
485
|
+
console.log('\nā
Setup complete! Run `npx omnify generate` to get started.\n');
|
|
469
486
|
}
|
|
470
487
|
|
|
471
488
|
main();
|