@barcidev/ngx-autogen 0.1.0 → 0.1.2

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/README.es.md CHANGED
@@ -23,7 +23,7 @@ El proyecto se lanza inicialmente con un enfoque en la gestión de estado, pero
23
23
  Puedes instalar el paquete en tu proyecto Angular mediante angular cli para que se configure automáticamente el proyecto con las dependencias necesarias:
24
24
 
25
25
  ```bash
26
- ng add ngx-autogen
26
+ ng add @barcidev/ngx-autogen
27
27
  ```
28
28
 
29
29
  ## 🛠️ Uso
package/README.md CHANGED
@@ -23,7 +23,7 @@ The project is initially launched with a focus on state management, but is desig
23
23
  You can install the package in your Angular project using Angular CLI so that the project is automatically configured with the necessary dependencies:
24
24
 
25
25
  ```bash
26
- ng add ngx-autogen
26
+ ng add @barcidev/ngx-autogen
27
27
  ```
28
28
 
29
29
  ## 🛠️ Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barcidev/ngx-autogen",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "A collection of Angular schematics for essential functionalities.",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -27,7 +27,7 @@ function ngAdd(options) {
27
27
  const ngrxVersion = `^${mainVersion}.0.0`;
28
28
  _context.logger.info(`📦 Configuring dependencies for Angular v${mainVersion}...`);
29
29
  // 4. Modificar package.json
30
- const packageName = "ngx-autogen";
30
+ const packageName = "@barcidev/ngx-autogen";
31
31
  // Inyectar dependencias compatibles
32
32
  packageJson.dependencies = Object.assign(Object.assign({}, packageJson.dependencies), { "@ngrx/signals": ngrxVersion });
33
33
  // Mover a devDependencies si es necesario
@@ -63,13 +63,13 @@ function updateAngularJson(tree, options) {
63
63
  if (!workspace.cli)
64
64
  workspace.cli = {};
65
65
  const collections = workspace.cli.schematicCollections || [];
66
- if (!collections.includes("ngx-autogen")) {
67
- collections.push("ngx-autogen");
66
+ if (!collections.includes("@barcidev/ngx-autogen")) {
67
+ collections.push("@barcidev/ngx-autogen");
68
68
  workspace.cli.schematicCollections = collections;
69
69
  }
70
70
  if (!workspace.schematics)
71
71
  workspace.schematics = {};
72
- workspace.schematics["ngx-autogen:all"] = {
72
+ workspace.schematics["@barcidev/ngx-autogen:all"] = {
73
73
  pk: options.pk,
74
74
  };
75
75
  tree.overwrite(path, JSON.stringify(workspace, null, 2));