ide-assi 0.212.0 → 0.213.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.
@@ -193681,21 +193681,16 @@ class IdeAi
193681
193681
  //const packageName = path.split("/").join(".").toLowerCase();
193682
193682
  const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
193683
193683
 
193684
- console.log(this.#parent.config);
193685
-
193686
- const beBasePath = "ide-assi-be";
193687
- //console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
193688
-
193689
193684
  return {
193690
193685
  package: packageName,
193691
193686
  namespace: namespace,
193692
193687
  baseClass: fileName,
193693
193688
  resultType: this.#parent.config.basePackage.split(".").slice(0, -1).join(".") + ".core.utils.CamelCaseMap",
193694
193689
  mybatis: `${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193695
- mybatisPullPath: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193696
- controllerPullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193697
- servicePullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
193698
- javascriptPullPath: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
193690
+ mybatisPullPath: `${this.#parent.settings.beProjectName}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193691
+ controllerPullPath: `${this.#parent.settings.beProjectName}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193692
+ servicePullPath: `${this.#parent.settings.beProjectName}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
193693
+ javascriptPullPath: `${this.#parent.settings.feProjectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
193699
193694
  };
193700
193695
  /***
193701
193696
  return {
@@ -193763,7 +193758,7 @@ class IdeAi
193763
193758
  });
193764
193759
  this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
193765
193760
 
193766
- //await this.#generateRealFile(srcPath);
193761
+ await this.#generateRealFile(srcPath);
193767
193762
 
193768
193763
  return "OK";
193769
193764
  }
@@ -193677,21 +193677,16 @@ class IdeAi
193677
193677
  //const packageName = path.split("/").join(".").toLowerCase();
193678
193678
  const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
193679
193679
 
193680
- console.log(this.#parent.config);
193681
-
193682
- const beBasePath = "ide-assi-be";
193683
- //console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
193684
-
193685
193680
  return {
193686
193681
  package: packageName,
193687
193682
  namespace: namespace,
193688
193683
  baseClass: fileName,
193689
193684
  resultType: this.#parent.config.basePackage.split(".").slice(0, -1).join(".") + ".core.utils.CamelCaseMap",
193690
193685
  mybatis: `${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193691
- mybatisPullPath: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193692
- controllerPullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193693
- servicePullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
193694
- javascriptPullPath: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
193686
+ mybatisPullPath: `${this.#parent.settings.beProjectName}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
193687
+ controllerPullPath: `${this.#parent.settings.beProjectName}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193688
+ servicePullPath: `${this.#parent.settings.beProjectName}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
193689
+ javascriptPullPath: `${this.#parent.settings.feProjectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
193695
193690
  };
193696
193691
  /***
193697
193692
  return {
@@ -193759,7 +193754,7 @@ class IdeAi
193759
193754
  });
193760
193755
  this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
193761
193756
 
193762
- //await this.#generateRealFile(srcPath);
193757
+ await this.#generateRealFile(srcPath);
193763
193758
 
193764
193759
  return "OK";
193765
193760
  }
@@ -265,21 +265,16 @@ export class IdeAi
265
265
  //const packageName = path.split("/").join(".").toLowerCase();
266
266
  const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
267
267
 
268
- console.log(this.#parent.config);
269
-
270
- const beBasePath = "ide-assi-be";
271
- //console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
272
-
273
268
  return {
274
269
  package: packageName,
275
270
  namespace: namespace,
276
271
  baseClass: fileName,
277
272
  resultType: this.#parent.config.basePackage.split(".").slice(0, -1).join(".") + ".core.utils.CamelCaseMap",
278
273
  mybatis: `${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
279
- mybatisPullPath: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
280
- controllerPullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
281
- servicePullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
282
- javascriptPullPath: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
274
+ mybatisPullPath: `${this.#parent.settings.beProjectName}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
275
+ controllerPullPath: `${this.#parent.settings.beProjectName}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
276
+ servicePullPath: `${this.#parent.settings.beProjectName}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
277
+ javascriptPullPath: `${this.#parent.settings.feProjectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
283
278
  };
284
279
  /***
285
280
  return {
@@ -347,7 +342,7 @@ export class IdeAi
347
342
  });
348
343
  this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
349
344
 
350
- //await this.#generateRealFile(srcPath);
345
+ await this.#generateRealFile(srcPath);
351
346
 
352
347
  return "OK";
353
348
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.212.0",
4
+ "version": "0.213.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -265,21 +265,16 @@ export class IdeAi
265
265
  //const packageName = path.split("/").join(".").toLowerCase();
266
266
  const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
267
267
 
268
- console.log(this.#parent.config);
269
-
270
- const beBasePath = "ide-assi-be";
271
- //console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
272
-
273
268
  return {
274
269
  package: packageName,
275
270
  namespace: namespace,
276
271
  baseClass: fileName,
277
272
  resultType: this.#parent.config.basePackage.split(".").slice(0, -1).join(".") + ".core.utils.CamelCaseMap",
278
273
  mybatis: `${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
279
- mybatisPullPath: `${beBasePath}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
280
- controllerPullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
281
- servicePullPath: `${beBasePath}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
282
- javascriptPullPath: `${this.#parent.settings.projectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
274
+ mybatisPullPath: `${this.#parent.settings.beProjectName}/src/main/resources/mapper/${cleaned.split(".").slice(0, -1).join("/")}/${fileName}Mapper.xml`,
275
+ controllerPullPath: `${this.#parent.settings.beProjectName}/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
276
+ servicePullPath: `${this.#parent.settings.beProjectName}/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
277
+ javascriptPullPath: `${this.#parent.settings.feProjectName}/src/views/${cleaned.split(".").slice(0, -1).join("/")}/${path.split("/").at(-1)}.jsx`,
283
278
  };
284
279
  /***
285
280
  return {
@@ -347,7 +342,7 @@ export class IdeAi
347
342
  });
348
343
  this.#parent.addMessage("Jsx(React) 소스파일을 생성했습니다.");
349
344
 
350
- //await this.#generateRealFile(srcPath);
345
+ await this.#generateRealFile(srcPath);
351
346
 
352
347
  return "OK";
353
348
  }