ide-assi 0.613.0 → 0.615.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.
@@ -202633,6 +202633,9 @@ console.log(el, href, title);
202633
202633
  let jsSrcFrom;
202634
202634
  let jsSrcTo;
202635
202635
  if (apply.javascript) {
202636
+ const pathArray = srcPath.javascriptTo.split("/");
202637
+ const javascriptFileTo = pathArray.pop();
202638
+
202636
202639
  jsSrcFrom = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Link.txt", "reactFrom.jsx", {
202637
202640
  userPrompt: userPrompt,
202638
202641
  mybatis: srcPath.mybatis,
@@ -202643,6 +202646,7 @@ console.log(el, href, title);
202643
202646
  classFrom: srcPath.classFrom,
202644
202647
  classTo: srcPath.classTo,
202645
202648
  index: srcPath.index,
202649
+ javascriptFileTo: javascriptFileTo,
202646
202650
  mybatisXmlSource: mybatisXmlSource,
202647
202651
  controllerSource: controllerSrc,
202648
202652
  tableDefinitions: JSON.stringify(columnInfo),
@@ -202629,6 +202629,9 @@ console.log(el, href, title);
202629
202629
  let jsSrcFrom;
202630
202630
  let jsSrcTo;
202631
202631
  if (apply.javascript) {
202632
+ const pathArray = srcPath.javascriptTo.split("/");
202633
+ const javascriptFileTo = pathArray.pop();
202634
+
202632
202635
  jsSrcFrom = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Link.txt", "reactFrom.jsx", {
202633
202636
  userPrompt: userPrompt,
202634
202637
  mybatis: srcPath.mybatis,
@@ -202639,6 +202642,7 @@ console.log(el, href, title);
202639
202642
  classFrom: srcPath.classFrom,
202640
202643
  classTo: srcPath.classTo,
202641
202644
  index: srcPath.index,
202645
+ javascriptFileTo: javascriptFileTo,
202642
202646
  mybatisXmlSource: mybatisXmlSource,
202643
202647
  controllerSource: controllerSrc,
202644
202648
  tableDefinitions: JSON.stringify(columnInfo),
@@ -763,6 +763,9 @@ console.log(el, href, title);
763
763
  let jsSrcFrom;
764
764
  let jsSrcTo;
765
765
  if (apply.javascript) {
766
+ const pathArray = srcPath.javascriptTo.split("/");
767
+ const javascriptFileTo = pathArray.pop();
768
+
766
769
  jsSrcFrom = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Link.txt", "reactFrom.jsx", {
767
770
  userPrompt: userPrompt,
768
771
  mybatis: srcPath.mybatis,
@@ -773,6 +776,7 @@ console.log(el, href, title);
773
776
  classFrom: srcPath.classFrom,
774
777
  classTo: srcPath.classTo,
775
778
  index: srcPath.index,
779
+ javascriptFileTo: javascriptFileTo,
776
780
  mybatisXmlSource: mybatisXmlSource,
777
781
  controllerSource: controllerSrc,
778
782
  tableDefinitions: JSON.stringify(columnInfo),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.613.0",
4
+ "version": "0.615.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -763,6 +763,9 @@ console.log(el, href, title);
763
763
  let jsSrcFrom;
764
764
  let jsSrcTo;
765
765
  if (apply.javascript) {
766
+ const pathArray = srcPath.javascriptTo.split("/");
767
+ const javascriptFileTo = pathArray.pop();
768
+
766
769
  jsSrcFrom = await this.#generateTmplFile("/prompts/meta/detail/4.BuildReactJsx_Link.txt", "reactFrom.jsx", {
767
770
  userPrompt: userPrompt,
768
771
  mybatis: srcPath.mybatis,
@@ -773,6 +776,7 @@ console.log(el, href, title);
773
776
  classFrom: srcPath.classFrom,
774
777
  classTo: srcPath.classTo,
775
778
  index: srcPath.index,
779
+ javascriptFileTo: javascriptFileTo,
776
780
  mybatisXmlSource: mybatisXmlSource,
777
781
  controllerSource: controllerSrc,
778
782
  tableDefinitions: JSON.stringify(columnInfo),