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.
- package/dist/bundle.cjs.js +3 -0
- package/dist/bundle.esm.js +3 -0
- package/dist/components/ideAi.js +3 -0
- package/package.json +1 -1
- package/src/components/ideAi.js +3 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -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,
|
package/dist/bundle.esm.js
CHANGED
|
@@ -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,
|
package/dist/components/ideAi.js
CHANGED
|
@@ -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
package/src/components/ideAi.js
CHANGED
|
@@ -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,
|