ide-assi 0.728.0 → 0.730.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 +5 -0
- package/dist/bundle.esm.js +5 -0
- package/dist/components/ideAi.js +5 -0
- package/package.json +1 -1
- package/src/components/ideAi.js +5 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -202860,11 +202860,16 @@ class IdeAi
|
|
|
202860
202860
|
}
|
|
202861
202861
|
|
|
202862
202862
|
if (apply.javascript) {
|
|
202863
|
+
console.log("111111");
|
|
202864
|
+
console.log(this.prompt);
|
|
202863
202865
|
|
|
202864
202866
|
const mainfiles = this.prompt.react.filter(item => item.includes(".main.") || item.includes(".all."));
|
|
202865
202867
|
const subfiles = this.prompt.react.filter(item => item.includes(".sub.") || item.includes(".all."));
|
|
202866
202868
|
|
|
202867
202869
|
if (["C1","U1"].includes(what)) {
|
|
202870
|
+
const pathArray = srcPath.javascriptTo.split("/");
|
|
202871
|
+
const javascriptFileTo = pathArray.pop();
|
|
202872
|
+
|
|
202868
202873
|
generatedSource.javascriptFrom = await this.#generateTmplFile(mainfiles, "reactFrom.jsx", {
|
|
202869
202874
|
userPrompt: userPrompt,
|
|
202870
202875
|
mybatis: srcPath.mybatis,
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202856,11 +202856,16 @@ class IdeAi
|
|
|
202856
202856
|
}
|
|
202857
202857
|
|
|
202858
202858
|
if (apply.javascript) {
|
|
202859
|
+
console.log("111111");
|
|
202860
|
+
console.log(this.prompt);
|
|
202859
202861
|
|
|
202860
202862
|
const mainfiles = this.prompt.react.filter(item => item.includes(".main.") || item.includes(".all."));
|
|
202861
202863
|
const subfiles = this.prompt.react.filter(item => item.includes(".sub.") || item.includes(".all."));
|
|
202862
202864
|
|
|
202863
202865
|
if (["C1","U1"].includes(what)) {
|
|
202866
|
+
const pathArray = srcPath.javascriptTo.split("/");
|
|
202867
|
+
const javascriptFileTo = pathArray.pop();
|
|
202868
|
+
|
|
202864
202869
|
generatedSource.javascriptFrom = await this.#generateTmplFile(mainfiles, "reactFrom.jsx", {
|
|
202865
202870
|
userPrompt: userPrompt,
|
|
202866
202871
|
mybatis: srcPath.mybatis,
|
package/dist/components/ideAi.js
CHANGED
|
@@ -331,11 +331,16 @@ export class IdeAi
|
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
if (apply.javascript) {
|
|
334
|
+
console.log("111111");
|
|
335
|
+
console.log(this.prompt);
|
|
334
336
|
|
|
335
337
|
const mainfiles = this.prompt.react.filter(item => item.includes(".main.") || item.includes(".all."));
|
|
336
338
|
const subfiles = this.prompt.react.filter(item => item.includes(".sub.") || item.includes(".all."));
|
|
337
339
|
|
|
338
340
|
if (["C1","U1"].includes(what)) {
|
|
341
|
+
const pathArray = srcPath.javascriptTo.split("/");
|
|
342
|
+
const javascriptFileTo = pathArray.pop();
|
|
343
|
+
|
|
339
344
|
generatedSource.javascriptFrom = await this.#generateTmplFile(mainfiles, "reactFrom.jsx", {
|
|
340
345
|
userPrompt: userPrompt,
|
|
341
346
|
mybatis: srcPath.mybatis,
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -331,11 +331,16 @@ export class IdeAi
|
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
if (apply.javascript) {
|
|
334
|
+
console.log("111111");
|
|
335
|
+
console.log(this.prompt);
|
|
334
336
|
|
|
335
337
|
const mainfiles = this.prompt.react.filter(item => item.includes(".main.") || item.includes(".all."));
|
|
336
338
|
const subfiles = this.prompt.react.filter(item => item.includes(".sub.") || item.includes(".all."));
|
|
337
339
|
|
|
338
340
|
if (["C1","U1"].includes(what)) {
|
|
341
|
+
const pathArray = srcPath.javascriptTo.split("/");
|
|
342
|
+
const javascriptFileTo = pathArray.pop();
|
|
343
|
+
|
|
339
344
|
generatedSource.javascriptFrom = await this.#generateTmplFile(mainfiles, "reactFrom.jsx", {
|
|
340
345
|
userPrompt: userPrompt,
|
|
341
346
|
mybatis: srcPath.mybatis,
|