@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/{chunk-V7LWJ6OM.js → chunk-2QSKZS63.js} +11 -1
- package/dist/{chunk-V7LWJ6OM.js.map → chunk-2QSKZS63.js.map} +1 -1
- package/dist/index.cjs +10 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin.cjs +10 -0
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +4 -4
- package/stubs/ai-guides/README.md.stub +95 -0
- package/stubs/ai-guides/claude-omnify/react-form-guide.md.stub +259 -0
- package/stubs/ai-guides/cursor/omnify.mdc.stub +58 -0
package/dist/index.js
CHANGED
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)) {
|