ide-assi 0.728.0 → 0.729.0

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.
@@ -202865,6 +202865,9 @@ class IdeAi
202865
202865
  const subfiles = this.prompt.react.filter(item => item.includes(".sub.") || item.includes(".all."));
202866
202866
 
202867
202867
  if (["C1","U1"].includes(what)) {
202868
+ const pathArray = srcPath.javascriptTo.split("/");
202869
+ const javascriptFileTo = pathArray.pop();
202870
+
202868
202871
  generatedSource.javascriptFrom = await this.#generateTmplFile(mainfiles, "reactFrom.jsx", {
202869
202872
  userPrompt: userPrompt,
202870
202873
  mybatis: srcPath.mybatis,
@@ -202861,6 +202861,9 @@ class IdeAi
202861
202861
  const subfiles = this.prompt.react.filter(item => item.includes(".sub.") || item.includes(".all."));
202862
202862
 
202863
202863
  if (["C1","U1"].includes(what)) {
202864
+ const pathArray = srcPath.javascriptTo.split("/");
202865
+ const javascriptFileTo = pathArray.pop();
202866
+
202864
202867
  generatedSource.javascriptFrom = await this.#generateTmplFile(mainfiles, "reactFrom.jsx", {
202865
202868
  userPrompt: userPrompt,
202866
202869
  mybatis: srcPath.mybatis,
@@ -336,6 +336,9 @@ export class IdeAi
336
336
  const subfiles = this.prompt.react.filter(item => item.includes(".sub.") || item.includes(".all."));
337
337
 
338
338
  if (["C1","U1"].includes(what)) {
339
+ const pathArray = srcPath.javascriptTo.split("/");
340
+ const javascriptFileTo = pathArray.pop();
341
+
339
342
  generatedSource.javascriptFrom = await this.#generateTmplFile(mainfiles, "reactFrom.jsx", {
340
343
  userPrompt: userPrompt,
341
344
  mybatis: srcPath.mybatis,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.728.0",
4
+ "version": "0.729.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -336,6 +336,9 @@ export class IdeAi
336
336
  const subfiles = this.prompt.react.filter(item => item.includes(".sub.") || item.includes(".all."));
337
337
 
338
338
  if (["C1","U1"].includes(what)) {
339
+ const pathArray = srcPath.javascriptTo.split("/");
340
+ const javascriptFileTo = pathArray.pop();
341
+
339
342
  generatedSource.javascriptFrom = await this.#generateTmplFile(mainfiles, "reactFrom.jsx", {
340
343
  userPrompt: userPrompt,
341
344
  mybatis: srcPath.mybatis,