@jvittechs/j 1.0.48 → 1.0.49

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/cli.js CHANGED
@@ -149,7 +149,7 @@ import { basename as basename5 } from "path";
149
149
  // package.json
150
150
  var package_default = {
151
151
  name: "@jvittechs/j",
152
- version: "1.0.48",
152
+ version: "1.0.49",
153
153
  description: "A unified CLI tool for JV-IT TECHS developers to manage Jai1 Framework. Supports both `j` and `jai1` commands. Please contact TeamAI for usage instructions.",
154
154
  type: "module",
155
155
  bin: {
@@ -738,6 +738,7 @@ var IDE_MIGRATION_CONFIGS = {
738
738
  workflowsPath: "workflows",
739
739
  commandsPath: null,
740
740
  fileExtension: ".md",
741
+ flattenSubdirs: true,
741
742
  generateFrontmatter: (opts) => {
742
743
  let trigger;
743
744
  if (opts.trigger) {
@@ -763,6 +764,7 @@ trigger: ${trigger}
763
764
  workflowsPath: "workflows",
764
765
  commandsPath: null,
765
766
  fileExtension: ".md",
767
+ flattenSubdirs: true,
766
768
  generateFrontmatter: (opts) => {
767
769
  let trigger;
768
770
  if (opts.trigger) {
@@ -1116,7 +1118,8 @@ ${bodyContent}
1116
1118
  if (!contentPath) {
1117
1119
  return null;
1118
1120
  }
1119
- const filename = `${item.name}${extension}`;
1121
+ const itemName = config.flattenSubdirs ? item.name.replace(/\//g, ":") : item.name;
1122
+ const filename = `${itemName}${extension}`;
1120
1123
  return path.join(this.projectPath, config.basePath, contentPath, filename);
1121
1124
  }
1122
1125
  // Helper methods