ide-assi 0.197.0 → 0.198.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.
@@ -193689,7 +193689,7 @@ class IdeAi
193689
193689
 
193690
193690
  const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
193691
193691
  //const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
193692
- const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
193692
+ const namespace = path.split("/").join(".").toLowerCase();
193693
193693
  const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
193694
193694
 
193695
193695
  //console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
@@ -193704,7 +193704,7 @@ class IdeAi
193704
193704
  };
193705
193705
  /***
193706
193706
  return {
193707
- basePackage: packageName,
193707
+ package: packageName,
193708
193708
  namespace: namespace,
193709
193709
  controller: `/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193710
193710
  service: `/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
@@ -193685,7 +193685,7 @@ class IdeAi
193685
193685
 
193686
193686
  const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
193687
193687
  //const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
193688
- const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
193688
+ const namespace = path.split("/").join(".").toLowerCase();
193689
193689
  const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
193690
193690
 
193691
193691
  //console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
@@ -193700,7 +193700,7 @@ class IdeAi
193700
193700
  };
193701
193701
  /***
193702
193702
  return {
193703
- basePackage: packageName,
193703
+ package: packageName,
193704
193704
  namespace: namespace,
193705
193705
  controller: `/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
193706
193706
  service: `/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
@@ -287,7 +287,7 @@ export class IdeAi
287
287
 
288
288
  const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
289
289
  //const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
290
- const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
290
+ const namespace = path.split("/").join(".").toLowerCase();
291
291
  const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
292
292
 
293
293
  //console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
@@ -302,7 +302,7 @@ export class IdeAi
302
302
  };
303
303
  /***
304
304
  return {
305
- basePackage: packageName,
305
+ package: packageName,
306
306
  namespace: namespace,
307
307
  controller: `/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
308
308
  service: `/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.197.0",
4
+ "version": "0.198.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -287,7 +287,7 @@ export class IdeAi
287
287
 
288
288
  const packageName = `${this.#parent.config.basePackage}.${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
289
289
  //const packageName = `${path.split("/").slice(0, -1).join(".").toLowerCase()}`;
290
- const namespace = path.split("/").slice(0, -1).join(".").toLowerCase();
290
+ const namespace = path.split("/").join(".").toLowerCase();
291
291
  const fileName = path.split("/").at(-1).toLowerCase().split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join('');
292
292
 
293
293
  //console.log(this.#parent, this.#parent.config, packageName, namespace, fileName);
@@ -302,7 +302,7 @@ export class IdeAi
302
302
  };
303
303
  /***
304
304
  return {
305
- basePackage: packageName,
305
+ package: packageName,
306
306
  namespace: namespace,
307
307
  controller: `/src/main/java/${packageName.replaceAll(".", "/")}/controller/${fileName}Controller.java`,
308
308
  service: `/src/main/java/${packageName.replaceAll(".", "/")}/service/${fileName}Service.java`,