@o3r/schematics 9.7.0-alpha.0 → 10.0.0-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. package/package.json +35 -36
  2. package/src/interfaces/angular-workspace.d.ts +0 -20
  3. package/src/interfaces/angular-workspace.d.ts.map +1 -1
  4. package/src/modules/modules.display.rule.d.ts +0 -9
  5. package/src/modules/modules.display.rule.d.ts.map +1 -1
  6. package/src/modules/modules.display.rule.js +1 -18
  7. package/src/modules/modules.display.rule.js.map +1 -1
  8. package/src/modules/modules.helpers.d.ts +2 -2
  9. package/src/modules/modules.helpers.d.ts.map +1 -1
  10. package/src/modules/modules.helpers.js.map +1 -1
  11. package/src/rule-factories/add-imports/index.d.ts +0 -1
  12. package/src/rule-factories/add-imports/index.d.ts.map +1 -1
  13. package/src/rule-factories/add-imports/index.js +0 -1
  14. package/src/rule-factories/add-imports/index.js.map +1 -1
  15. package/src/rule-factories/check-packages-peers/index.d.ts +0 -1
  16. package/src/rule-factories/check-packages-peers/index.d.ts.map +1 -1
  17. package/src/rule-factories/check-packages-peers/index.js +0 -3
  18. package/src/rule-factories/check-packages-peers/index.js.map +1 -1
  19. package/src/rule-factories/dev-tools/devtools-registration.d.ts.map +1 -1
  20. package/src/rule-factories/dev-tools/devtools-registration.js +1 -2
  21. package/src/rule-factories/dev-tools/devtools-registration.js.map +1 -1
  22. package/src/rule-factories/eslint-fix/index.d.ts +0 -1
  23. package/src/rule-factories/eslint-fix/index.d.ts.map +1 -1
  24. package/src/rule-factories/eslint-fix/index.js +1 -3
  25. package/src/rule-factories/eslint-fix/index.js.map +1 -1
  26. package/src/rule-factories/get-test-frameworks/index.d.ts +0 -1
  27. package/src/rule-factories/get-test-frameworks/index.d.ts.map +1 -1
  28. package/src/rule-factories/get-test-frameworks/index.js +0 -1
  29. package/src/rule-factories/get-test-frameworks/index.js.map +1 -1
  30. package/src/rule-factories/remove-packages/index.d.ts +0 -1
  31. package/src/rule-factories/remove-packages/index.d.ts.map +1 -1
  32. package/src/rule-factories/remove-packages/index.js +0 -1
  33. package/src/rule-factories/remove-packages/index.js.map +1 -1
  34. package/src/rule-factories/update-imports/list-of-vars.d.ts +1 -2
  35. package/src/rule-factories/update-imports/list-of-vars.d.ts.map +1 -1
  36. package/src/rule-factories/update-imports/list-of-vars.js.map +1 -1
  37. package/src/rule-factories/update-imports/update-imports-with-scope.d.ts +0 -1
  38. package/src/rule-factories/update-imports/update-imports-with-scope.d.ts.map +1 -1
  39. package/src/rule-factories/update-imports/update-imports-with-scope.js +0 -1
  40. package/src/rule-factories/update-imports/update-imports-with-scope.js.map +1 -1
  41. package/src/rule-factories/update-imports/update-ts-imports.d.ts +0 -1
  42. package/src/rule-factories/update-imports/update-ts-imports.d.ts.map +1 -1
  43. package/src/rule-factories/update-imports/update-ts-imports.js +0 -1
  44. package/src/rule-factories/update-imports/update-ts-imports.js.map +1 -1
  45. package/src/rule-factories/update-imports/v7-to-v8-map-object.js +1 -1
  46. package/src/rule-factories/update-imports/v7-to-v8-map-object.js.map +1 -1
  47. package/src/rule-factories/vscode-extensions/index.d.ts +0 -1
  48. package/src/rule-factories/vscode-extensions/index.d.ts.map +1 -1
  49. package/src/rule-factories/vscode-extensions/index.js +0 -1
  50. package/src/rule-factories/vscode-extensions/index.js.map +1 -1
  51. package/src/rules/install.d.ts +0 -1
  52. package/src/rules/install.d.ts.map +1 -1
  53. package/src/rules/install.js +0 -1
  54. package/src/rules/install.js.map +1 -1
  55. package/src/tasks/eslint/index.d.ts +0 -9
  56. package/src/tasks/eslint/index.d.ts.map +1 -1
  57. package/src/tasks/eslint/index.js +3 -4
  58. package/src/tasks/eslint/index.js.map +1 -1
  59. package/src/utility/ast.d.ts +4 -20
  60. package/src/utility/ast.d.ts.map +1 -1
  61. package/src/utility/ast.js +0 -18
  62. package/src/utility/ast.js.map +1 -1
  63. package/src/utility/builder.d.ts +11 -0
  64. package/src/utility/builder.d.ts.map +1 -0
  65. package/src/utility/builder.js +21 -0
  66. package/src/utility/builder.js.map +1 -0
  67. package/src/utility/component.d.ts +0 -6
  68. package/src/utility/component.d.ts.map +1 -1
  69. package/src/utility/component.js +0 -6
  70. package/src/utility/component.js.map +1 -1
  71. package/src/utility/dependencies.d.ts +0 -2
  72. package/src/utility/dependencies.d.ts.map +1 -1
  73. package/src/utility/dependencies.js +0 -2
  74. package/src/utility/dependencies.js.map +1 -1
  75. package/src/utility/file-info.d.ts +11 -1
  76. package/src/utility/file-info.d.ts.map +1 -1
  77. package/src/utility/file-info.js +46 -4
  78. package/src/utility/file-info.js.map +1 -1
  79. package/src/utility/gitignore.d.ts +0 -1
  80. package/src/utility/gitignore.d.ts.map +1 -1
  81. package/src/utility/gitignore.js +0 -1
  82. package/src/utility/gitignore.js.map +1 -1
  83. package/src/utility/index.d.ts +1 -0
  84. package/src/utility/index.d.ts.map +1 -1
  85. package/src/utility/index.js +1 -0
  86. package/src/utility/index.js.map +1 -1
  87. package/src/utility/loaders.d.ts +4 -44
  88. package/src/utility/loaders.d.ts.map +1 -1
  89. package/src/utility/loaders.js +10 -93
  90. package/src/utility/loaders.js.map +1 -1
  91. package/src/utility/logo.d.ts +0 -1
  92. package/src/utility/logo.d.ts.map +1 -1
  93. package/src/utility/logo.js +0 -1
  94. package/src/utility/logo.js.map +1 -1
  95. package/src/utility/matching-peers.d.ts +11 -3
  96. package/src/utility/matching-peers.d.ts.map +1 -1
  97. package/src/utility/matching-peers.js +26 -5
  98. package/src/utility/matching-peers.js.map +1 -1
  99. package/src/utility/modules.d.ts +2 -2
  100. package/src/utility/modules.d.ts.map +1 -1
  101. package/src/utility/modules.js +12 -12
  102. package/src/utility/modules.js.map +1 -1
  103. package/src/utility/monorepo.d.ts +0 -5
  104. package/src/utility/monorepo.d.ts.map +1 -1
  105. package/src/utility/monorepo.js +0 -5
  106. package/src/utility/monorepo.js.map +1 -1
  107. package/src/utility/package-manager-runner.d.ts +2 -2
  108. package/src/utility/package-manager-runner.d.ts.map +1 -1
  109. package/src/utility/package-version.d.ts +0 -2
  110. package/src/utility/package-version.d.ts.map +1 -1
  111. package/src/utility/package-version.js +0 -2
  112. package/src/utility/package-version.js.map +1 -1
  113. package/src/utility/question.d.ts +0 -1
  114. package/src/utility/question.d.ts.map +1 -1
  115. package/src/utility/question.js +0 -1
  116. package/src/utility/question.js.map +1 -1
  117. package/src/utility/routes.d.ts +0 -3
  118. package/src/utility/routes.d.ts.map +1 -1
  119. package/src/utility/routes.js +0 -5
  120. package/src/utility/routes.js.map +1 -1
  121. package/src/utility/sub-entry.d.ts +0 -2
  122. package/src/utility/sub-entry.d.ts.map +1 -1
  123. package/src/utility/sub-entry.js +0 -2
  124. package/src/utility/sub-entry.js.map +1 -1
  125. package/src/utility/template-property.helper.d.ts +0 -15
  126. package/src/utility/template-property.helper.d.ts.map +1 -1
  127. package/src/utility/template-property.helper.js +0 -16
  128. package/src/utility/template-property.helper.js.map +1 -1
  129. package/src/utility/update-imports.d.ts +0 -1
  130. package/src/utility/update-imports.d.ts.map +1 -1
  131. package/src/utility/update-imports.js +0 -1
  132. package/src/utility/update-imports.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"loaders.js","sourceRoot":"","sources":["../../../src/utility/loaders.ts"],"names":[],"mappings":";;;AACA,2DAAuE;AACvE,2EAA8E;AAC9E,mCAA4C;AAC5C,yCAAsC;AACtC,kCAAkC;AAIlC,SAAS,kBAAkB,CAAC,MAAsB,EAAE,SAAmB,EAAE,mBAA8C,EAAE,iBAA2B;IAClJ,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE;QACjF,OAAO,MAAM,CAAC;KACf;IAED,SAAS,CAAC,QAAQ;SACf,MAAM,CAAC,mBAAmB,CAAC;SAC3B,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,S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CAAC,CAAC;AACnD,CAAC;AAFD,kFAEC"}
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Generate Logo for Otter Project
3
- *
4
3
  * @param size Size of the logo to generate
5
4
  */
6
5
  export declare const getLogo: (size?: 'medium' | 'small') => string;
@@ -1 +1 @@
1
- {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/utility/logo.ts"],"names":[],"mappings":"AAiCA;;;;GAIG;AACH,eAAO,MAAM,OAAO,UAAU,QAAQ,GAAG,OAAO,WAM/C,CAAC"}
1
+ {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/utility/logo.ts"],"names":[],"mappings":"AAiCA;;;GAGG;AACH,eAAO,MAAM,OAAO,UAAU,QAAQ,GAAG,OAAO,WAM/C,CAAC"}
@@ -33,7 +33,6 @@ const logoSmall = `
33
33
  `;
34
34
  /**
35
35
  * Generate Logo for Otter Project
36
- *
37
36
  * @param size Size of the logo to generate
38
37
  */
39
38
  const getLogo = (size = 'medium') => {
@@ -1 +1 @@
1
- {"version":3,"file":"logo.js","sourceRoot":"","sources":["../../../src/utility/logo.ts"],"names":[],"mappings":";;;AACA,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;GAsBhB,CAAC;AAEJ,MAAM,SAAS,GAAG;;;;;;GAMf,CAAC;AAEJ;;;;GAIG;AACI,MAAM,OAAO,GAAG,CAAC,OAA2B,QAAQ,EAAE,EAAE;IAC7D,MAAM,KAAK,GAAgC;QACzC,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,SAAS;KACjB,CAAC;IACF,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC,CAAC;AANW,QAAA,OAAO,WAMlB"}
1
+ {"version":3,"file":"logo.js","sourceRoot":"","sources":["../../../src/utility/logo.ts"],"names":[],"mappings":";;;AACA,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;GAsBhB,CAAC;AAEJ,MAAM,SAAS,GAAG;;;;;;GAMf,CAAC;AAEJ;;;GAGG;AACI,MAAM,OAAO,GAAG,CAAC,OAA2B,QAAQ,EAAE,EAAE;IAC7D,MAAM,KAAK,GAAgC;QACzC,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,SAAS;KACjB,CAAC;IACF,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC,CAAC;AANW,QAAA,OAAO,WAMlB"}
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Retrieve the peer dependencies with the given pattern from the given package json file
3
- *
4
3
  * @param packageJsonPath
5
4
  * @param pattern
6
5
  */
@@ -11,9 +10,8 @@ export declare function getPeerDepWithPattern(packageJsonPath: string, pattern?:
11
10
  };
12
11
  /**
13
12
  * Get the list of o3r peer deps from a given package.json file
14
- *
15
13
  * @param packageJsonPath The package json on which we search for o3r peer deps
16
- * @param filterBasics If activated it will remove the basic peer deps (o3r/core, o3r/dev-tools and o3r/schematics) from the list of results
14
+ * @param filterBasics If activated it will remove the basic peer deps (o3r/core, o3r/dev-tools, o3r/workspace and o3r/schematics) from the list of results
17
15
  * @param packagePattern Pattern of the package name to look in the packages peer dependencies.
18
16
  */
19
17
  export declare function getO3rPeerDeps(packageJsonPath: string, filterBasics?: boolean, packagePattern?: RegExp): {
@@ -21,4 +19,14 @@ export declare function getO3rPeerDeps(packageJsonPath: string, filterBasics?: b
21
19
  packageVersion: string | undefined;
22
20
  o3rPeerDeps: string[];
23
21
  };
22
+ /**
23
+ * Get the list of o3r generator deps from a given package.json file
24
+ * @param packageJsonPath The package json on which we search for o3r generator deps
25
+ * @param packagePattern Pattern of the package name to look in the packages generator dependencies.
26
+ */
27
+ export declare function getO3rGeneratorDeps(packageJsonPath: string, packagePattern?: RegExp): {
28
+ packageName: string | undefined;
29
+ packageVersion: string | undefined;
30
+ o3rGeneratorDeps: string[];
31
+ };
24
32
  //# sourceMappingURL=matching-peers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"matching-peers.d.ts","sourceRoot":"","sources":["../../../src/utility/matching-peers.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,SAA0B;;;;EAY/F;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,UAAO,EAAE,cAAc,SAAsB;;;;EAUhH"}
1
+ {"version":3,"file":"matching-peers.d.ts","sourceRoot":"","sources":["../../../src/utility/matching-peers.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,SAA0B;;;;EAY/F;AASD;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,UAAO,EAAE,cAAc,SAAsB;;;;EAUhH;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,eAAe,EAAE,MAAM,EAAE,cAAc,SAAsB;;;;EAahG"}
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getO3rPeerDeps = exports.getPeerDepWithPattern = void 0;
3
+ exports.getO3rGeneratorDeps = exports.getO3rPeerDeps = exports.getPeerDepWithPattern = void 0;
4
4
  const fs = require("node:fs");
5
5
  /**
6
6
  * Retrieve the peer dependencies with the given pattern from the given package json file
7
- *
8
7
  * @param packageJsonPath
9
8
  * @param pattern
10
9
  */
@@ -20,11 +19,16 @@ function getPeerDepWithPattern(packageJsonPath, pattern = /^@(otter|o3r|ama-sdk)
20
19
  return { packageName, packageVersion, matchingPackages };
21
20
  }
22
21
  exports.getPeerDepWithPattern = getPeerDepWithPattern;
22
+ const basicsPackageName = new Set([
23
+ '@o3r/core',
24
+ '@o3r/schematics',
25
+ '@o3r/dev-tools',
26
+ '@o3r/workspace'
27
+ ]);
23
28
  /**
24
29
  * Get the list of o3r peer deps from a given package.json file
25
- *
26
30
  * @param packageJsonPath The package json on which we search for o3r peer deps
27
- * @param filterBasics If activated it will remove the basic peer deps (o3r/core, o3r/dev-tools and o3r/schematics) from the list of results
31
+ * @param filterBasics If activated it will remove the basic peer deps (o3r/core, o3r/dev-tools, o3r/workspace and o3r/schematics) from the list of results
28
32
  * @param packagePattern Pattern of the package name to look in the packages peer dependencies.
29
33
  */
30
34
  function getO3rPeerDeps(packageJsonPath, filterBasics = true, packagePattern = /^@(?:o3r|ama-sdk)/) {
@@ -33,9 +37,26 @@ function getO3rPeerDeps(packageJsonPath, filterBasics = true, packagePattern = /
33
37
  packageName: depsInfo.packageName,
34
38
  packageVersion: depsInfo.packageVersion,
35
39
  o3rPeerDeps: filterBasics ?
36
- depsInfo.matchingPackages.filter(peerDep => peerDep !== '@o3r/core' && peerDep !== '@o3r/schematics' && peerDep !== '@o3r/dev-tools')
40
+ depsInfo.matchingPackages.filter((peerDep) => !basicsPackageName.has(peerDep))
37
41
  : depsInfo.matchingPackages
38
42
  };
39
43
  }
40
44
  exports.getO3rPeerDeps = getO3rPeerDeps;
45
+ /**
46
+ * Get the list of o3r generator deps from a given package.json file
47
+ * @param packageJsonPath The package json on which we search for o3r generator deps
48
+ * @param packagePattern Pattern of the package name to look in the packages generator dependencies.
49
+ */
50
+ function getO3rGeneratorDeps(packageJsonPath, packagePattern = /^@(?:o3r|ama-sdk)/) {
51
+ const packageJsonContent = JSON.parse(fs.readFileSync(packageJsonPath, { encoding: 'utf-8' }));
52
+ const packageName = packageJsonContent.name;
53
+ const packageVersion = packageJsonContent.version;
54
+ const optionalPackages = Object.entries(packageJsonContent.generatorDependencies || {})
55
+ .filter(([, dep]) => dep?.optional)
56
+ .map(([depName]) => depName);
57
+ const o3rGeneratorDeps = Object.keys(packageJsonContent.peerDependencies || [])
58
+ .filter(peerDep => packagePattern.test(peerDep) && !optionalPackages.includes(peerDep));
59
+ return { packageName, packageVersion, o3rGeneratorDeps };
60
+ }
61
+ exports.getO3rGeneratorDeps = getO3rGeneratorDeps;
41
62
  //# sourceMappingURL=mat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AC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;IAE/B,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,IAAI,EAAE,CAAC;SAC5E,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IAE1F,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAC;AAE3D,CAAC;AAbD,kDAaC"}
@@ -1,7 +1,8 @@
1
1
  import { SchematicContext, Tree, UpdateRecorder } from '@angular-devkit/schematics';
2
2
  import * as ts from 'typescript';
3
3
  /**
4
- * Get the path to the app.module.ts
4
+ * Get the path to the `app.module.ts`
5
+ * In case of standalone application, get the path to the `app.config.ts` instead
5
6
  * @param tree File tree
6
7
  * @param context Context of the rule
7
8
  * @param projectName The name of the project where to search for an app module file
@@ -9,7 +10,6 @@ import * as ts from 'typescript';
9
10
  export declare function getAppModuleFilePath(tree: Tree, context: SchematicContext, projectName?: string | null): string | undefined;
10
11
  /**
11
12
  * Get the path to the main.ts
12
- *
13
13
  * @param tree File tree
14
14
  * @param context Context of the rule
15
15
  * @param projectName
@@ -1 +1 @@
1
- {"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../../../src/utility/modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAuB,IAAI,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AACvG,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAejC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,sBA0DtG;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB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BAAgB,EAAE,QAAQ,EAAE,cAAc,EACrI,cAAc,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,kBAY3G;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAK3G"}
@@ -11,7 +11,8 @@ const path = require("node:path");
11
11
  const ast_1 = require("./ast");
12
12
  const loaders_1 = require("./loaders");
13
13
  /**
14
- * Get the path to the app.module.ts
14
+ * Get the path to the `app.module.ts`
15
+ * In case of standalone application, get the path to the `app.config.ts` instead
15
16
  * @param tree File tree
16
17
  * @param context Context of the rule
17
18
  * @param projectName The name of the project where to search for an app module file
@@ -23,25 +24,25 @@ function getAppModuleFilePath(tree, context, projectName) {
23
24
  context.logger.debug('Aborted. App module file path will be searched only in application project.');
24
25
  return undefined;
25
26
  }
26
- const mainFilePath = workspaceProject.architect.build.options.main;
27
+ const mainFilePath = workspaceProject.architect.build.options.main ?? workspaceProject.architect.build.options.browser;
27
28
  const mainFile = tree.read(mainFilePath).toString();
28
- const bootstrapModuleRegexpResult = mainFile.match(/bootstrapModule\(([^)]*)\)/m);
29
+ const bootstrapModuleRegexpResult = mainFile.match(/(?:bootstrapModule|bootstrapApplication)\((?:[^,)]*,)*\s*([^,) ]*)\s*\)/m);
29
30
  if (!bootstrapModuleRegexpResult || !bootstrapModuleRegexpResult[1]) {
30
- throw new schematics_1.SchematicsException('Could not find bootstrap module');
31
+ throw new schematics_1.SchematicsException('Could not find bootstrap module or appConfig');
31
32
  }
32
33
  const bootstrapModule = bootstrapModuleRegexpResult[1];
33
34
  const findSource = new RegExp(`import +\\{[^}]*${bootstrapModule}[^}]*\\} +from +['"]([^'"]+)['"] *;`, 'm');
34
35
  const bootstrapModuleFileRegExpResult = mainFile.match(findSource);
35
36
  if (!bootstrapModuleFileRegExpResult || !bootstrapModuleFileRegExpResult[1]) {
36
- throw new schematics_1.SchematicsException('Could not find bootstrap module');
37
+ throw new schematics_1.SchematicsException('Could not find bootstrap module or appConfig');
37
38
  }
38
39
  /** Path to the main module file */
39
- const moduleFilePath = path.join(path.dirname(workspaceProject.architect.build.options.main), bootstrapModuleFileRegExpResult[1] + '.ts');
40
- const exportAppModuleClassRegExp = new RegExp(`class\\s+${bootstrapModule}`, 'gm');
40
+ const moduleFilePath = path.join(path.dirname(mainFilePath), bootstrapModuleFileRegExpResult[1] + '.ts');
41
+ const exportAppModuleClassRegExp = new RegExp(`(?:class|const)\\s+${bootstrapModule}`, 'gm');
41
42
  if (tree.exists(moduleFilePath) && tree.read(moduleFilePath).toString().match(exportAppModuleClassRegExp)) {
42
43
  return moduleFilePath;
43
44
  }
44
- const possibleAppModule = path.join(path.dirname(workspaceProject.architect.build.options.main), path.dirname(bootstrapModuleFileRegExpResult[1]), 'app.module.ts');
45
+ const possibleAppModule = path.join(path.dirname(mainFilePath), path.dirname(bootstrapModuleFileRegExpResult[1]), 'app.module.ts');
45
46
  if (tree.exists(possibleAppModule) && tree.read(possibleAppModule).toString().match(exportAppModuleClassRegExp)) {
46
47
  return possibleAppModule;
47
48
  }
@@ -54,8 +55,8 @@ function getAppModuleFilePath(tree, context, projectName) {
54
55
  if (bootstrapModuleSymbol) {
55
56
  const pathPlusModuleString = checker.getFullyQualifiedName(bootstrapModuleSymbol);
56
57
  const filePath = pathPlusModuleString?.replace(new RegExp(`.${bootstrapModule}`), '').replace(/['"]/g, '');
57
- const relativeFilePath = filePath ? path.relative(path.dirname(workspaceProject.architect.build.options.main), `${filePath}.ts`) : undefined;
58
- const filePathInTree = relativeFilePath ? path.join(path.dirname(workspaceProject.architect.build.options.main), relativeFilePath) : undefined;
58
+ const relativeFilePath = filePath ? path.relative(path.dirname(mainFilePath), `${filePath}.ts`) : undefined;
59
+ const filePathInTree = relativeFilePath ? path.join(path.dirname(mainFilePath), relativeFilePath) : undefined;
59
60
  if (filePathInTree && tree.exists(filePathInTree) && tree.read(filePathInTree).toString().match(exportAppModuleClassRegExp)) {
60
61
  return filePathInTree;
61
62
  }
@@ -65,7 +66,6 @@ function getAppModuleFilePath(tree, context, projectName) {
65
66
  exports.getAppModuleFilePath = getAppModuleFilePath;
66
67
  /**
67
68
  * Get the path to the main.ts
68
- *
69
69
  * @param tree File tree
70
70
  * @param context Context of the rule
71
71
  * @param projectName
@@ -77,7 +77,7 @@ function getMainFilePath(tree, context, projectName) {
77
77
  context.logger.debug('Register localization on main module only in application project');
78
78
  return undefined;
79
79
  }
80
- const mainFilePath = workspaceProject.architect.build.options.main;
80
+ const mainFilePath = workspaceProject.architect.build.options.main ?? workspaceProject.architect.build.options.browser;
81
81
  return mainFilePath;
82
82
  }
83
83
  exports.getMainFilePath = getMainFilePath;
@@ -1 +1 @@
1
- {"version":3,"file":"modules.js","sourceRoot":"","sources":["../../../src/utility/modules.ts"],"names":[],"mappings":";;;AAAA,2DAAuG;AACvG,iCAAiC;AACjC,qEAK+C;AAC/C,+DAAgE;AAChE,8BAA8B;AAC9B,mCAA0C;AAC1C,kCAAkC;AAClC,+BAAiD;AACjD,uCAA+C;AAG/C;;;;;GAKG;AACH,SAAgB,oBAAoB,CAAC,IAAU,EAAE,OAAyB,EAAE,WAA2B;IACrG,MAAM,gBAAgB,GAAG,WAAW,CAAC,CAAC,CAAC,IAAA,4BAAkB,EAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACnG,6BAA6B;IAC7B,IAAI,CAAC,gBAAgB,EAAE;QACrB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,6EAA6E,CAAC,CAAC;QACpG,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,YAAY,GAAW,gBAAgB,CAAC,SAAU,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;IAC5E,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,CAAE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AAC,MAAM,CAAC,GAAG,EAAE,cAAc,IAAI,MAAM,CAAC,GAAG,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;SACpJ;IACH,CAAC,CAAC,CAAC;IACL,OAAO,QAAQ,CAAC;AAClB,CAAC;AAbD,0DAaC;AAED;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAAC,IAAY,EAAE,IAAY,EAAE,QAAwB,EAAE,WAAmB;IAC1G,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE;QACtD,OAAO,QAAQ,CAAC,UAAU,CAAC,WAAW,GAAG,CAAC,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC;KAC5D;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AALD,gDAKC"}
@@ -2,7 +2,6 @@ import type { SchematicContext, Tree } from '@angular-devkit/schematics';
2
2
  import { WorkspaceLayout, WorkspaceProject, WorkspaceSchema } from '../interfaces';
3
3
  /**
4
4
  * Find the relative path to a configuration file at the monorepo root
5
- *
6
5
  * @param tree
7
6
  * @param files List of files to look for, the first of the list will used
8
7
  * @param originPath Path from where to calculate the relative path
@@ -11,19 +10,16 @@ import { WorkspaceLayout, WorkspaceProject, WorkspaceSchema } from '../interface
11
10
  export declare function findConfigFileRelativePath(tree: Tree, files: string[], originPath: string): string;
12
11
  /**
13
12
  * Determine if we are in an Nx Monorepo context
14
- *
15
13
  * @param tree
16
14
  */
17
15
  export declare function isNxContext(tree: Tree): boolean;
18
16
  /**
19
17
  * Determine if a repository is standalone (not part of a monorepo)
20
- *
21
18
  * @param tree
22
19
  */
23
20
  export declare function isStandaloneRepository(tree: Tree): boolean | null;
24
21
  /**
25
22
  * Determine if we are in a project with multi packages
26
- *
27
23
  * @param tree
28
24
  */
29
25
  export declare function isMultipackagesContext(tree: Tree): boolean;
@@ -39,7 +35,6 @@ export declare const BASE_ROOT_FOLDERS_MAP: Record<WorkspaceProject['projectType
39
35
  * Retrieve the project base root generation folder, based on the given projectType.
40
36
  * - The default project root will be returned if there is no project root found in nx.json or angular.json (in schematics options)
41
37
  * - The root path '/' will be returned if no project type given
42
- *
43
38
  * @param tree
44
39
  * @param context
45
40
  * @param config
@@ -1 +1 @@
1
- {"version":3,"file":"monorepo.d.ts","sourceRoot":"","sources":["../../../src/utility/monorepo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAKnF;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,UAOzF;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,WAErC;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,kBAGhD;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,WAEhD;AAED,mFAAmF;AACnF,eAAO,MAAM,qBAAqB,SAAS,CAAC;AAC5C,sFAAsF;AACtF,eAAO,MAAM,wBAAwB,SAAS,CAAC;AAE/C,oEAAoE;AACpE,eAAO,MAAM,oBAAoB,EAAE,eAGlC,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,MAAM,eAAe,CAGhG,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,OAQtJ"}
1
+ {"version":3,"file":"monorepo.d.ts","sourceRoot":"","sources":["../../../src/utility/monorepo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAKnF;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,UAOzF;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,WAErC;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,kBAGhD;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,WAEhD;AAED,mFAAmF;AACnF,eAAO,MAAM,qBAAqB,SAAS,CAAC;AAC5C,sFAAsF;AACtF,eAAO,MAAM,wBAAwB,SAAS,CAAC;AAE/C,oEAAoE;AACpE,eAAO,MAAM,oBAAoB,EAAE,eAGlC,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,MAAM,eAAe,CAGhG,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,OAQtJ"}
@@ -6,7 +6,6 @@ const collection_1 = require("./collection");
6
6
  const loaders_1 = require("./loaders");
7
7
  /**
8
8
  * Find the relative path to a configuration file at the monorepo root
9
- *
10
9
  * @param tree
11
10
  * @param files List of files to look for, the first of the list will used
12
11
  * @param originPath Path from where to calculate the relative path
@@ -22,7 +21,6 @@ function findConfigFileRelativePath(tree, files, originPath) {
22
21
  exports.findConfigFileRelativePath = findConfigFileRelativePath;
23
22
  /**
24
23
  * Determine if we are in an Nx Monorepo context
25
- *
26
24
  * @param tree
27
25
  */
28
26
  function isNxContext(tree) {
@@ -31,7 +29,6 @@ function isNxContext(tree) {
31
29
  exports.isNxContext = isNxContext;
32
30
  /**
33
31
  * Determine if a repository is standalone (not part of a monorepo)
34
- *
35
32
  * @param tree
36
33
  */
37
34
  function isStandaloneRepository(tree) {
@@ -41,7 +38,6 @@ function isStandaloneRepository(tree) {
41
38
  exports.isStandaloneRepository = isStandaloneRepository;
42
39
  /**
43
40
  * Determine if we are in a project with multi packages
44
- *
45
41
  * @param tree
46
42
  */
47
43
  function isMultipackagesContext(tree) {
@@ -66,7 +62,6 @@ exports.BASE_ROOT_FOLDERS_MAP = {
66
62
  * Retrieve the project base root generation folder, based on the given projectType.
67
63
  * - The default project root will be returned if there is no project root found in nx.json or angular.json (in schematics options)
68
64
  * - The root path '/' will be returned if no project type given
69
- *
70
65
  * @param tree
71
66
  * @param context
72
67
  * @param config
@@ -1 +1 @@
1
- {"version":3,"file":"monorepo.js","sourceRoot":"","sources":["../../../src/utility/monorepo.ts"],"names":[],"mappings":";;;AACA,kCAAkC;AAElC,6CAAmD;AAEnD,uCAA+C;AAE/C;;;;;;;GAOG;AACH,SAAgB,0BAA0B,CAAC,IAAU,EAAE,KAAe,EAAE,UAAkB;IACxF,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC;IAChE,IAAI,SAAS,KAAK,SAAS,EAAE;QAC3B,OAAO,EAAE,CAAC;KACX;IAED,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,SAAS,EAAE,CAAC,CAAC;AAC1D,CAA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ptions): Supp
31
31
  * @param workspaceConfig Workspace configuration
32
32
  * @param packageName Name of the package of the workspace to run the script (name from package.json)
33
33
  */
34
- export declare function getPackageManagerRunner(workspaceConfig?: WorkspaceSchema | string | null, packageName?: string | undefined): SupportedPackageManagerRunners | string;
34
+ export declare function getPackageManagerRunner(workspaceConfig?: WorkspaceSchema | string | null, packageName?: string | undefined): string;
35
35
  /**
36
36
  * Get command to execute bin command with your package manager
37
37
  * @param workspaceConfig Workspace configuration
38
38
  * @param packageName Name of the package of the workspace to execute the command
39
39
  */
40
- export declare function getPackageManagerExecutor(workspaceConfig?: WorkspaceSchema | string | null, packageName?: string | undefined): SupportedPackageManagerExecutors | string;
40
+ export declare function getPackageManagerExecutor(workspaceConfig?: WorkspaceSchema | string | null, packageName?: string | undefined): string;
41
41
  /**
42
42
  * Determine if the given package is installed
43
43
  * @param packageName name of the package to check
@@ -1 +1 @@
1
- {"version":3,"file":"package-manager-runner.d.ts","sourceRoot":"","sources":["../../../src/utility/package-manager-runner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,mCAAmC;AACnC,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,MAAM,CAAC;AAEtD,mCAAmC;AACnC,MAAM,MAAM,8BAA8B,GAAG,GAAG,wBAAwB,MAAM,GAAG,MAAM,CAAC;AAExF,mCAAmC;AACnC,MAAM,MAAM,gCAAgC,GAAG,GAAG,wBAAwB,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;AAOnG,0CAA0C;AAC1C,MAAM,WAAW,qBAAqB;IACpC,8BAA8B;IAC9B,eAAe,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI,CAAC;IAElD,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAA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nG,0CAA0C;AAC1C,MAAM,WAAW,qBAAqB;IACpC,8BAA8B;IAC9B,eAAe,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI,CAAC;IAElD,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI,IAAI,wBAAwB,CAEtF;AAYD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,qBAAqB,4BAWhE;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,eAAe,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAMnI;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,eAAe,CAAC,EAAE,eAAe,GAAG,MAAM,GAAG,IAAI,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAMrI;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,WAMrD;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,CAAC,EAAE,qBAAqB,GAAG,MAAM,GAAG,SAAS,CAiB5F;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,CAAC,EAAE,qBAAqB;;;EAKpE"}
@@ -1,14 +1,12 @@
1
1
  import { Tree } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * Return the version of the given package json path
4
- *
5
4
  * @param packageJsonPath
6
5
  */
7
6
  export declare function getPackageVersion(packageJsonPath: string): string | undefined;
8
7
  /**
9
8
  * Find the closest package.json file in parent folders
10
9
  * Note: It is using file system if no tree provided
11
- *
12
10
  * @param currentPath current path to inspect
13
11
  * @param tree current path to inspect
14
12
  * @returns
@@ -1 +1 @@
1
- {"version":3,"file":"package-version.d.ts","sourceRoot":"","sources":["../../../src/utility/package-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAMlD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,eAAe,EAAE,MAAM,sBAGxD;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,gBAAiB,MAAM,SAAS,IAAI,KAAG,MAAM,GAAG,SAQlF,CAAC"}
1
+ {"version":3,"file":"package-version.d.ts","sourceRoot":"","sources":["../../../src/utility/package-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAMlD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,eAAe,EAAE,MAAM,sBAGxD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,gBAAiB,MAAM,SAAS,IAAI,KAAG,MAAM,GAAG,SAQlF,CAAC"}
@@ -6,7 +6,6 @@ const node_fs_1 = require("node:fs");
6
6
  const node_path_1 = require("node:path");
7
7
  /**
8
8
  * Return the version of the given package json path
9
- *
10
9
  * @param packageJsonPath
11
10
  */
12
11
  function getPackageVersion(packageJsonPath) {
@@ -17,7 +16,6 @@ exports.getPackageVersion = getPackageVersion;
17
16
  /**
18
17
  * Find the closest package.json file in parent folders
19
18
  * Note: It is using file system if no tree provided
20
- *
21
19
  * @param currentPath current path to inspect
22
20
  * @param tree current path to inspect
23
21
  * @returns
@@ -1 +1 @@
1
- {"version":3,"file":"package-version.js","sourceRoot":"","sources":["../../../src/utility/package-version.ts"],"names":[],"mappings":";;;AACA,8BAA8B;AAC9B,qCAAqC;AACrC,yCAAiD;AAGjD;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,eAAuB;IACvD,MAAM,kBAAkB,GAAgB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,EAA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AE,IAAW,EAAsB,EAAE;IAC7F,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAK,CAAC,OAAO,CAAC,CAAC,CAAC,mBAAO,CAAC,CAAC,WAAW,CAAC,CAAC;IAC1D,IAAI,GAAG,KAAK,WAAW,IAAI,WAAW,KAAK,GAAG,EAAE;QAC9C,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,eAAe,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAK,CAAC,IAAI,CAAC,CAAC,CAAC,gBAAI,CAAC,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;IACxE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,oBAAU,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,IAAA,8BAAsB,EAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAClH,CAAC,CAAC;AARW,QAAA,sBAAsB,0BAQjC"}
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Display a question in the terminal and wait for the user answer
3
- *
4
3
  * @param question Question to ask to the user
5
4
  * @returns user's answer
6
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"question.d.ts","sourceRoot":"","sources":["../../../src/utility/question.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,aAAoB,MAAM,KAAG,QAAQ,MAAM,CAYnE,CAAC"}
1
+ {"version":3,"file":"question.d.ts","sourceRoot":"","sources":["../../../src/utility/question.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,YAAY,aAAoB,MAAM,KAAG,QAAQ,MAAM,CAYnE,CAAC"}
@@ -4,7 +4,6 @@ exports.askUserInput = void 0;
4
4
  const node_readline_1 = require("node:readline");
5
5
  /**
6
6
  * Display a question in the terminal and wait for the user answer
7
- *
8
7
  * @param question Question to ask to the user
9
8
  * @returns user's answer
10
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"question.js","sourceRoot":"","sources":["../../../src/utility/question.ts"],"names":[],"mappings":";;;AAAA,iDAAgD;AAEhD;;;;;GAKG;AACI,MAAM,YAAY,GAAG,KAAK,EAAE,QAAgB,EAAmB,EAAE;IACtE,MAAM,QAAQ,GAAG,IAAA,+BAAe,EAAC;QAC/B,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,MAAM,EAAE,OAAO,CAAC,MAAM;KACvB,CAAC,CAAC;IACH,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,EAAE;QACxD,QAAQ,CAAC,QAAQ,CAAC,GAAG,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,MAAM,WAAW,EAAE,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAZW,QAAA,YAAY,gBAYvB"}
1
+ {"version":3,"file":"question.js","sourceRoot":"","sources":["../../../src/utility/question.ts"],"names":[],"mappings":";;;AAAA,iDAAgD;AAEhD;;;;GAIG;AACI,MAAM,YAAY,GAAG,KAAK,EAAE,QAAgB,EAAmB,EAAE;IACtE,MAAM,QAAQ,GAAG,IAAA,+BAAe,EAAC;QAC/B,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,MAAM,EAAE,OAAO,CAAC,MAAM;KACvB,CAAC,CAAC;IACH,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,EAAE;QACxD,QAAQ,CAAC,QAAQ,CAAC,GAAG,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,MAAM,WAAW,EAAE,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAZW,QAAA,YAAY,gBAYvB"}
@@ -13,7 +13,6 @@ export interface Route {
13
13
  }
14
14
  /**
15
15
  * Get the Routes variable declaration from the given App Routing Module path.
16
- *
17
16
  * @param tree File tree
18
17
  * @param context Context of the rule
19
18
  * @param appRoutingModulePath Path of the App Routing Module
@@ -21,7 +20,6 @@ export interface Route {
21
20
  export declare function getRoutesDeclaration(tree: Tree, context: SchematicContext, appRoutingModulePath: string): ts.VariableDeclaration | null;
22
21
  /**
23
22
  * Gets the Routes Node array of the App Routing Module of the given path.
24
- *
25
23
  * @param tree File tree
26
24
  * @param context Context of the rule
27
25
  * @param appRoutingModulePath
@@ -29,7 +27,6 @@ export declare function getRoutesDeclaration(tree: Tree, context: SchematicConte
29
27
  export declare function getRoutesNodeArray(tree: Tree, context: SchematicContext, appRoutingModulePath: string): ts.NodeArray<ts.ObjectLiteralExpression> | null;
30
28
  /**
31
29
  * Inserts a route in the App Routing Module of the given path.
32
- *
33
30
  * @param tree File tree
34
31
  * @param context Context of the rule
35
32
  * @param appRoutingModulePath Path of the App Routing Module
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/utility/routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IAEb,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAC;IAEf,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB;AAmCD;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,GAAG,EAAE,CAAC,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AAE,KAAK,EAAE,UAAU,UAAQ,gEAehI"}
@@ -4,7 +4,6 @@ exports.insertRoute = exports.getRoutesNodeArray = exports.getRoutesDeclaration
4
4
  const ts = require("typescript");
5
5
  /**
6
6
  * Indicates if the given Route expression has the given path.
7
- *
8
7
  * @param route Route expression
9
8
  * @param path Path to test
10
9
  */
@@ -15,7 +14,6 @@ function hasRoutePath(route, path) {
15
14
  }
16
15
  /**
17
16
  * Indicates if the given variable declaration is a Routes declaration.
18
- *
19
17
  * @param declaration Declaration to test
20
18
  */
21
19
  function isRoutesDeclaration(declaration) {
@@ -31,7 +29,6 @@ function isRoutesDeclaration(declaration) {
31
29
  }
32
30
  /**
33
31
  * Get the Routes variable declaration from the given App Routing Module path.
34
- *
35
32
  * @param tree File tree
36
33
  * @param context Context of the rule
37
34
  * @param appRoutingModulePath Path of the App Routing Module
@@ -52,7 +49,6 @@ function getRoutesDeclaration(tree, context, appRoutingModulePath) {
52
49
  exports.getRoutesDeclaration = getRoutesDeclaration;
53
50
  /**
54
51
  * Gets the Routes Node array of the App Routing Module of the given path.
55
- *
56
52
  * @param tree File tree
57
53
  * @param context Context of the rule
58
54
  * @param appRoutingModulePath
@@ -79,7 +75,6 @@ function getRoutesNodeArray(tree, context, appRoutingModulePath) {
79
75
  exports.getRoutesNodeArray = getRoutesNodeArray;
80
76
  /**
81
77
  * Inserts a route in the App Routing Module of the given path.
82
- *
83
78
  * @param tree File tree
84
79
  * @param context Context of the rule
85
80
  * @param appRoutingModulePath Path of the App Routing Module
@@ -1 +1 @@
1
- {"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../src/utility/routes.ts"],"names":[],"mappings":";;;AACA,iCAAiC;AAgBjC;;;;;GAKG;AACH,SAAS,YAAY,CAAC,KAAiC,EAAE,IAAY;IACnE,OAAO,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CACxC,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,kBA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AAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACpC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;KAC7B;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAfD,kCAeC"}
@@ -1,7 +1,6 @@
1
1
  import { Tree } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * If ng-package.json is found under the /src/ folder of the module, it means sub entry points mechanism is implemented
4
- *
5
4
  * @param tree tree
6
5
  * @param destination the destination path
7
6
  */
@@ -9,7 +8,6 @@ export declare function moduleHasSubEntryPoints(tree: Tree, destination: string)
9
8
  /**
10
9
  * Checks if exists and returns the 'store' project from angular.json.
11
10
  * Otherwise, it returns the default project if exists, if not it returns the first project
12
- *
13
11
  * @param tree tree
14
12
  * @param destination the destination path
15
13
  * @param entityName the entity name
@@ -1 +1 @@
1
- {"version":3,"file":"sub-entry.d.ts","sourceRoot":"","sources":["../../../src/utility/sub-entry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAGlD;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,WAEtE;AACD;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,QA2BhG"}
1
+ {"version":3,"file":"sub-entry.d.ts","sourceRoot":"","sources":["../../../src/utility/sub-entry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAGlD;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,WAEtE;AACD;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,QA2BhG"}