@barcidev/ngx-autogen 0.1.0 → 0.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barcidev/ngx-autogen",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
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));