@famgia/omnify-laravel 0.0.89 → 0.0.90

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/dist/index.js CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  shouldGenerateAIGuides,
27
27
  toColumnName,
28
28
  toTableName
29
- } from "./chunk-V7LWJ6OM.js";
29
+ } from "./chunk-2QSKZS63.js";
30
30
  export {
31
31
  formatColumnMethod,
32
32
  formatForeignKey,
package/dist/plugin.cjs CHANGED
@@ -3971,6 +3971,16 @@ function generateAIGuides(rootDir, options = {}) {
3971
3971
  cursorRules: 0,
3972
3972
  files: []
3973
3973
  };
3974
+ const readmeSrcPath = (0, import_node_path.join)(stubsDir, "README.md.stub");
3975
+ if ((0, import_node_fs.existsSync)(readmeSrcPath)) {
3976
+ const readmeDestDir = (0, import_node_path.resolve)(rootDir, ".claude/omnify");
3977
+ if (!(0, import_node_fs.existsSync)(readmeDestDir)) {
3978
+ (0, import_node_fs.mkdirSync)(readmeDestDir, { recursive: true });
3979
+ }
3980
+ const content = (0, import_node_fs.readFileSync)(readmeSrcPath, "utf-8");
3981
+ (0, import_node_fs.writeFileSync)((0, import_node_path.resolve)(readmeDestDir, "README.md"), content);
3982
+ result.files.push((0, import_node_path.resolve)(readmeDestDir, "README.md"));
3983
+ }
3974
3984
  const claudeSrcDir = (0, import_node_path.join)(stubsDir, "laravel");
3975
3985
  const claudeDestDir = (0, import_node_path.resolve)(rootDir, ".claude/omnify/guides/laravel");
3976
3986
  if ((0, import_node_fs.existsSync)(claudeSrcDir)) {