@o3r/schematics 11.1.0-prerelease.8 → 11.1.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. package/cli/environment.js.map +1 -0
  2. package/package.json +34 -34
  3. package/schematics/ng-add/index.js.map +1 -0
  4. package/schematics/ng-add/schema.js.map +1 -0
  5. package/src/modules/modules.display.rule.js +1 -2
  6. package/src/modules/modules.display.rule.js.map +1 -1
  7. package/src/modules/modules.helpers.d.ts +2 -2
  8. package/src/modules/modules.helpers.d.ts.map +1 -1
  9. package/src/modules/modules.helpers.js +4 -4
  10. package/src/modules/modules.helpers.js.map +1 -1
  11. package/src/rule-factories/check-packages-peers/index.d.ts.map +1 -1
  12. package/src/rule-factories/check-packages-peers/index.js +1 -2
  13. package/src/rule-factories/check-packages-peers/index.js.map +1 -1
  14. package/src/rule-factories/eslint-fix/index.js +1 -2
  15. package/src/rule-factories/eslint-fix/index.js.map +1 -1
  16. package/src/rule-factories/get-test-frameworks/index.js +1 -2
  17. package/src/rule-factories/get-test-frameworks/index.js.map +1 -1
  18. package/src/rule-factories/ng-add/dependencies.d.ts.map +1 -1
  19. package/src/rule-factories/ng-add/dependencies.js.map +1 -1
  20. package/src/rule-factories/ng-add/ng-add.helpers.js +1 -2
  21. package/src/rule-factories/ng-add/ng-add.helpers.js.map +1 -1
  22. package/src/rule-factories/ng-add/schematics-register.js +3 -4
  23. package/src/rule-factories/ng-add/schematics-register.js.map +1 -1
  24. package/src/rule-factories/remove-packages/index.d.ts.map +1 -1
  25. package/src/rule-factories/remove-packages/index.js +1 -2
  26. package/src/rule-factories/remove-packages/index.js.map +1 -1
  27. package/src/rule-factories/update-imports/update-imports-with-scope.js +1 -2
  28. package/src/rule-factories/update-imports/update-imports-with-scope.js.map +1 -1
  29. package/src/rule-factories/update-imports/update-ts-imports.js +1 -2
  30. package/src/rule-factories/update-imports/update-ts-imports.js.map +1 -1
  31. package/src/rules/install.js +1 -2
  32. package/src/rules/install.js.map +1 -1
  33. package/src/tasks/eslint/index.d.ts.map +1 -1
  34. package/src/tasks/link/index.d.ts.map +1 -1
  35. package/src/tasks/package-manager/add-dev-dependency.d.ts +6 -6
  36. package/src/tasks/package-manager/npm-exec.d.ts.map +1 -1
  37. package/src/tasks/package-manager/npm-install.d.ts +5 -5
  38. package/src/tasks/package-manager/npm-run.d.ts.map +1 -1
  39. package/src/utility/ast.d.ts +1 -1
  40. package/src/utility/ast.d.ts.map +1 -1
  41. package/src/utility/ast.js +5 -5
  42. package/src/utility/ast.js.map +1 -1
  43. package/src/utility/builder.js +1 -2
  44. package/src/utility/builder.js.map +1 -1
  45. package/src/utility/collection.js +3 -4
  46. package/src/utility/collection.js.map +1 -1
  47. package/src/utility/component.d.ts.map +1 -1
  48. package/src/utility/dependencies.js +2 -3
  49. package/src/utility/dependencies.js.map +1 -1
  50. package/src/utility/environment.d.ts +0 -1
  51. package/src/utility/environment.d.ts.map +1 -1
  52. package/src/utility/file-info.js +2 -3
  53. package/src/utility/file-info.js.map +1 -1
  54. package/src/utility/generation.js +2 -2
  55. package/src/utility/generation.js.map +1 -1
  56. package/src/utility/gitignore.d.ts.map +1 -1
  57. package/src/utility/gitignore.js +18 -15
  58. package/src/utility/gitignore.js.map +1 -1
  59. package/src/utility/loaders.d.ts.map +1 -1
  60. package/src/utility/loaders.js +14 -15
  61. package/src/utility/loaders.js.map +1 -1
  62. package/src/utility/logo.d.ts +1 -1
  63. package/src/utility/matching-peers.js +3 -4
  64. package/src/utility/matching-peers.js.map +1 -1
  65. package/src/utility/migration/migration.js +1 -2
  66. package/src/utility/migration/migration.js.map +1 -1
  67. package/src/utility/modules.js +7 -8
  68. package/src/utility/modules.js.map +1 -1
  69. package/src/utility/monorepo.js +6 -6
  70. package/src/utility/monorepo.js.map +1 -1
  71. package/src/utility/package-manager-runner.js +7 -8
  72. package/src/utility/package-manager-runner.js.map +1 -1
  73. package/src/utility/package-version.js +2 -2
  74. package/src/utility/package-version.js.map +1 -1
  75. package/src/utility/question.d.ts.map +1 -1
  76. package/src/utility/routes.js +3 -4
  77. package/src/utility/routes.js.map +1 -1
  78. package/src/utility/sub-entry.js +2 -3
  79. package/src/utility/sub-entry.js.map +1 -1
  80. package/src/utility/template-property.helper.js +15 -16
  81. package/src/utility/template-property.helper.js.map +1 -1
  82. package/src/utility/update-imports.js +1 -2
  83. package/src/utility/update-imports.js.map +1 -1
  84. package/src/utility/update-pipes.js.map +1 -1
@@ -14,13 +14,13 @@ export declare class AddDevInstall extends NodePackageInstallTask {
14
14
  options: {
15
15
  command: string;
16
16
  packageName: string;
17
- quiet?: boolean | undefined;
18
- hideOutput?: boolean | undefined;
19
- workingDirectory?: string | undefined;
20
- packageManager?: string | undefined;
21
- allowScripts?: boolean | undefined;
17
+ quiet?: boolean;
18
+ hideOutput?: boolean;
19
+ workingDirectory?: string;
20
+ packageManager?: string;
21
+ allowScripts?: boolean;
22
22
  };
23
- dependencies?: import("@angular-devkit/schematics").TaskId[] | undefined;
23
+ dependencies?: Array<import("@angular-devkit/schematics").TaskId>;
24
24
  };
25
25
  }
26
26
  //# sourceMappingURL=add-dev-dependency.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"npm-exec.d.ts","sourceRoot":"","sources":["../../../../src/tasks/package-manager/npm-exec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAmB,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAGnH;;;GAGG;AACH,qBAAa,WAAY,YAAW,0BAA0B,CAAC,sBAAsB,CAAC;IAExE,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAU,OAAO,CAAC,QAAQ,CAAC,IAAI;IAAiB,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC;gBAAxF,MAAM,EAAE,MAAM,EAAmB,IAAI,GAAE,MAAM,EAAO,EAAmB,gBAAgB,CAAC,oBAAQ;IAEtH,eAAe,IAAI,iBAAiB,CAAC,sBAAsB,CAAC;CAYpE"}
1
+ {"version":3,"file":"npm-exec.d.ts","sourceRoot":"","sources":["../../../../src/tasks/package-manager/npm-exec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAmB,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAGnH;;;GAGG;AACH,qBAAa,WAAY,YAAW,0BAA0B,CAAC,sBAAsB,CAAC;IAExE,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAU,OAAO,CAAC,QAAQ,CAAC,IAAI;IAAiB,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC;gBAAxF,MAAM,EAAE,MAAM,EAAmB,IAAI,GAAE,MAAM,EAAO,EAAmB,gBAAgB,CAAC,EAAE,MAAM,YAAA;IAEtH,eAAe,IAAI,iBAAiB,CAAC,sBAAsB,CAAC;CAYpE"}
@@ -14,12 +14,12 @@ export declare class NpmInstall extends NodePackageInstallTask {
14
14
  command: string;
15
15
  quiet: boolean;
16
16
  packageManager: string;
17
- hideOutput?: boolean | undefined;
18
- workingDirectory?: string | undefined;
19
- packageName?: string | undefined;
20
- allowScripts?: boolean | undefined;
17
+ hideOutput?: boolean;
18
+ workingDirectory?: string;
19
+ packageName?: string;
20
+ allowScripts?: boolean;
21
21
  };
22
- dependencies?: import("@angular-devkit/schematics").TaskId[] | undefined;
22
+ dependencies?: Array<import("@angular-devkit/schematics").TaskId>;
23
23
  };
24
24
  }
25
25
  //# sourceMappingURL=npm-install.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"npm-run.d.ts","sourceRoot":"","sources":["../../../../src/tasks/package-manager/npm-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAmB,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAGnH;;;GAGG;AACH,qBAAa,UAAW,YAAW,0BAA0B,CAAC,sBAAsB,CAAC;IAEvE,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAU,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC;gBAAlD,MAAM,EAAE,MAAM,EAAmB,gBAAgB,CAAC,oBAAQ;IAEhF,eAAe,IAAI,iBAAiB,CAAC,sBAAsB,CAAC;CAWpE"}
1
+ {"version":3,"file":"npm-run.d.ts","sourceRoot":"","sources":["../../../../src/tasks/package-manager/npm-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAmB,sBAAsB,EAAE,MAAM,0DAA0D,CAAC;AAGnH;;;GAGG;AACH,qBAAa,UAAW,YAAW,0BAA0B,CAAC,sBAAsB,CAAC;IAEvE,OAAO,CAAC,QAAQ,CAAC,MAAM;IAAU,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC;gBAAlD,MAAM,EAAE,MAAM,EAAmB,gBAAgB,CAAC,EAAE,MAAM,YAAA;IAEhF,eAAe,IAAI,iBAAiB,CAAC,sBAAsB,CAAC;CAWpE"}
@@ -95,7 +95,7 @@ export declare const addCommentsOnClassProperties: (classElements: ts.ClassEleme
95
95
  * Transformer to be used to fix the string literals generated by creating a new SourceFile (for instance, using #generateClassElementsFromString)
96
96
  * @param ctx
97
97
  */
98
- export declare const fixStringLiterals: ts.TransformerFactory<ts.SourceFile>;
98
+ export declare const fixStringLiterals: ts.TransformerFactory<ts.Node>;
99
99
  /**
100
100
  * Returns a function to match classElement by method name
101
101
  * @param methodName
@@ -1 +1 @@
1
- {"version":3,"file":"ast.d.ts","sourceRoot":"","sources":["../../../src/utility/ast.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,CAA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AAO,MAAM,qCAAqC,mBAChC,MAAM,oBACL,CAAC,IAAI,EAAE,EAAE,CAAC,gBAAgB,KAAK,OAAO,uBACnC,GAAG,CAAC,MAAM,CAAC,KAC9B,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,CA0C/B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,kBACxB,EAAE,CAAC,YAAY,EAAE,YACtB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,SAiBjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,CAS5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,eAAgB,MAAM,oBAAoB,EAAE,CAAC,YAAY,KAAG,YAAY,IAAI,EAAE,CAAC,iBAGhD,CAAC;AAE7D;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,SAAU,EAAE,CAAC,gBAAgB,WAAW,EAAE,CAAC,WAAW,cAAc,MAAM,mBAAmB,EAAE,CAAC,SAAS,EAAE,yBA2B7I,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,SAAU,EAAE,CAAC,IAAI,KAAG,IAAI,IAAI,EAAE,CAAC,mBAAmB,GAAG;IAAE,UAAU,EAAE,EAAE,CAAC,cAAc,GAAG;QAAE,UAAU,EAAE,EAAE,CAAC,wBAAwB,CAAA;KAAE,CAAA;CAOzF,CAAC;AAE7E;;;;GAIG;AACH,eAAO,MAAM,qEAAqE,YACvE,CAAC,MAAM,GAAG,EAAE,CAAC,UAAU,CAAC,EAAE,SAC5B,MAAM,KACZ,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,CAmD7B,CAAC"}
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addImportsAndCodeBlockStatementAtSpecInitializationTransformerFactory = exports.isTestBedConfiguration = exports.getSimpleUpdatedMethod = exports.findMethodByName = exports.fixStringLiterals = exports.addCommentsOnClassProperties = exports.addInterfaceToClassTransformerFactory = exports.sortClassElement = exports.generateParametersDeclarationFromString = exports.generateBlockStatementsFromString = exports.generateClassElementsFromString = exports.generateImplementsExpressionWithTypeArguments = exports.getPropertyFromDecoratorFirstArgument = exports.isDecoratorWithArg = exports.getExportedSymbolsFromFile = exports.parseImportsFromFile = exports.findLastNodeOfKind = exports.findFirstNodeOfKind = void 0;
3
+ exports.addImportsAndCodeBlockStatementAtSpecInitializationTransformerFactory = exports.isTestBedConfiguration = exports.getSimpleUpdatedMethod = exports.findMethodByName = exports.fixStringLiterals = exports.addCommentsOnClassProperties = exports.addInterfaceToClassTransformerFactory = exports.sortClassElement = exports.generateParametersDeclarationFromString = exports.generateBlockStatementsFromString = exports.generateClassElementsFromString = exports.generateImplementsExpressionWithTypeArguments = exports.getPropertyFromDecoratorFirstArgument = exports.isDecoratorWithArg = void 0;
4
+ exports.findFirstNodeOfKind = findFirstNodeOfKind;
5
+ exports.findLastNodeOfKind = findLastNodeOfKind;
6
+ exports.parseImportsFromFile = parseImportsFromFile;
7
+ exports.getExportedSymbolsFromFile = getExportedSymbolsFromFile;
4
8
  const ts = require("typescript");
5
9
  const ast_utils_1 = require("@schematics/angular/utility/ast-utils");
6
10
  /**
@@ -24,7 +28,6 @@ function findFirstNodeOfKind(sourceFile, searchKind, node) {
24
28
  });
25
29
  return ret;
26
30
  }
27
- exports.findFirstNodeOfKind = findFirstNodeOfKind;
28
31
  /**
29
32
  * Find the last node with the specific syntax kind
30
33
  * @param sourceFile Typescript file
@@ -47,7 +50,6 @@ function findLastNodeOfKind(sourceFile, searchKind, node) {
47
50
  });
48
51
  return ret;
49
52
  }
50
- exports.findLastNodeOfKind = findLastNodeOfKind;
51
53
  /**
52
54
  * Reads all the imports of a given SourceFile and returns a parsed list that's easy to consume.
53
55
  * @param sourceFile
@@ -65,7 +67,6 @@ function parseImportsFromFile(sourceFile) {
65
67
  return { node: imp, symbols: imports, module: importFrom };
66
68
  });
67
69
  }
68
- exports.parseImportsFromFile = parseImportsFromFile;
69
70
  /**
70
71
  * Given a program and a path to a source file, returns all the Symbols exported by the file.
71
72
  * @param program
@@ -82,7 +83,6 @@ function getExportedSymbolsFromFile(program, sourcePath) {
82
83
  const symbol = typeChecker.getSymbolAtLocation(sourceFile);
83
84
  return typeChecker.getExportsOfModule(symbol);
84
85
  }
85
- exports.getExportedSymbolsFromFile = getExportedSymbolsFromFile;
86
86
  /**
87
87
  * Returns true if it is a decorator with arguments
88
88
  * @param node decorator node
@@ -1 +1 @@
1
- {"version":3,"file":"ast.js","sourceRoot":"","sources":["../../../src/utility/ast.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,qEAAkE;AAElE;;;;;GAKG;AACH,SAAgB,mBAAmB,CAA8B,UAAyB,EAAE,UAAyB,EAAE,IAAc;IACnI,MAAM,WAAW,GAAG,IAAI,IAAI,UAAU,CAAC;IACvC,IAAI,GAAG,GAAa,IAAI,CAAC;IACzB,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE;QAC7B,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,IAAI,CAAC,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;gBAC1B,GAAG,GAAG,CAAM,CAAC;YACf,CAAC;iBAAM,CAAC;gBACN,GAAG,GAAG,mBAAmB,CAAC,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;YACvD,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;IACH,OAAO,GAAG,CAAC;AACb,CAAC;AAbD,kDAaC;AAED;;;;;GAKG;AACH,SAAgB,kBAAkB,CAA8B,UAAyB,EAAE,UAAyB,EAAE,IAAc;IAClI,MAAM,WAAW,GAAG,IAAI,IAAI,UAAU,CAAC;IACvC,IAAI,GAAG,GAAa,IAAI,CAAC;IACzB,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE;QAC7B,IAAI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CAAC,EAAE,CACP,CAAC,MAAM,CACN,OAAO,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAChH,EACD,IAAI,CACL,CAAC;yBACH,EAAE,IAAI,CAAC;qBACT,CACF,CACF,CACF,CAAC;gBACJ,CAAC;gBACD,OAAO,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YAC/B,CAAC,EAAE,EAAE,CAAC;iBACL,MAAM,CACL,IAAI,CAAC,CAAC,CAAC,IAAA,yCAAiC,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CACpD,CACJ,CAAC;QACJ,CAAC;QACD,OAAO,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IAC7C,CAAC,CAAC;IACF,OAAO,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;AACvC,CAAC,CAAC;AAtDS,QAAA,qEAAqE,yEAsD9E"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.registerBuilder = void 0;
3
+ exports.registerBuilder = registerBuilder;
4
4
  /**
5
5
  * Register the builder to the workspace
6
6
  * @param workspaceProject Workspace project to add the builder to
@@ -17,5 +17,4 @@ function registerBuilder(workspaceProject, taskName, taskParameters, force = fal
17
17
  workspaceProject.architect[taskName] = taskParameters;
18
18
  return workspaceProject;
19
19
  }
20
- exports.registerBuilder = registerBuilder;
21
20
  //# sourceMappingURL=builder.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../src/utility/builder.ts"],"names":[],"mappings":";;;AAEA;;;;;;;GAOG;AACH,SAAgB,eAAe,CAAC,gBAAkC,EAAE,QAAgB,EAAE,cAAqC,EAAE,KAAK,GAAG,KAAK;IACxI,gBAAgB,CAAC,SAAS,KAAK,EAAE,CAAC;IAClC,IAAI,gBAAgB,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QACnD,MAAM,IAAI,KAAK,CAAC,oBAAoB,QAAQ,gBAAgB,CAAC,CAAC;IAChE,CAAC;IACD,gBAAgB,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,cAAc,CAAC;IACtD,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAPD,0CAOC"}
1
+ {"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../src/utility/builder.ts"],"names":[],"mappings":";;AAUA,0CAOC;AAfD;;;;;;;GAOG;AACH,SAAgB,eAAe,CAAC,gBAAkC,EAAE,QAAgB,EAAE,cAAqC,EAAE,KAAK,GAAG,KAAK;IACxI,gBAAgB,CAAC,SAAS,KAAK,EAAE,CAAC;IAClC,IAAI,gBAAgB,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QACnD,MAAM,IAAI,KAAK,CAAC,oBAAoB,QAAQ,gBAAgB,CAAC,CAAC;IAChE,CAAC;IACD,gBAAgB,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,cAAc,CAAC;IACtD,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSchematicOptions = exports.getDefaultOptionsForSchematic = exports.registerCollectionSchematics = void 0;
3
+ exports.registerCollectionSchematics = registerCollectionSchematics;
4
+ exports.getDefaultOptionsForSchematic = getDefaultOptionsForSchematic;
5
+ exports.getSchematicOptions = getSchematicOptions;
4
6
  /**
5
7
  * Register the collection schematic to the workspace
6
8
  * @param workspace Workspace to add the collection to
@@ -15,7 +17,6 @@ function registerCollectionSchematics(workspace, collection) {
15
17
  }
16
18
  return workspace;
17
19
  }
18
- exports.registerCollectionSchematics = registerCollectionSchematics;
19
20
  /**
20
21
  * Get default options for a schematic
21
22
  * This will look inside angular.json file for schematics with keys containing wildcards like `*:ng-add` or `@o3r/core:*`
@@ -44,7 +45,6 @@ function getDefaultOptionsForSchematic(workspace, collection, schematicName, opt
44
45
  .reduce((config, value) => ({ ...config, ...value }), acc);
45
46
  }, {});
46
47
  }
47
- exports.getDefaultOptionsForSchematic = getDefaultOptionsForSchematic;
48
48
  /**
49
49
  * Retrieves the schematics options of a given schematics name
50
50
  * If the schematics name is not found, then the generic options (*:*) will be returned. If the latter is not present the function returns undefined
@@ -60,5 +60,4 @@ function getSchematicOptions(config, context) {
60
60
  .reduce((acc, [, opts]) => ({ ...acc, ...opts }), {});
61
61
  return options && Object.keys(options).length ? options : config.schematics?.['*:*'];
62
62
  }
63
- exports.getSchematicOptions = getSchematicOptions;
64
63
  //# sourceMappingURL=collection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection.js","sourceRoot":"","sources":["../../../src/utility/collection.ts"],"names":[],"mappings":";;;AAGA;;;;;GAKG;AACH,SAAgB,4BAA4B,CAAC,SAA0B,EAAE,UAAkB;IACzF,SAAS,CAAC,GAAG,KAAK,EAAE,CAAC;IACrB,SAAS,CAAC,GAAG,CAAC,oBAAoB,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC/D,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,oBAAoB,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,SAAS,CAAC,GAAG,CAAC,oBAAoB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACzD,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAPD,oEAOC;AAED;;;;;;;;GAQG;AACH,SAAgB,6BAA6B,CACyB,SAAiC,EAAE,UAAkB,EAAE,aAAqB,EAAE,OAA8C;IAChM,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,EAAO,CAAC;IACjB,CAAC;IACD,MAAM,uBAAuB,GAAG;Q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I,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC;AACvF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/utility/component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAA6D,MAAM,OAAO,CAAC;AAGpG;;;GAGG;AACH,eAAO,MAAM,kBAAkB,SAAU,OAAO,6BAEsB,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,SAAU,OAAO,6BAEwB,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qBAAsB,GAAG,gBAAgB,YAAwE,CAAC;AAEjJ;;;GAGG;AACH,eAAO,MAAM,mBAAmB,qBAAsB,GAAG,gBAAgB,YAEA,CAAC;AAE1E,eAAO,MAAM,iCAAiC,wBACyG,CAAC;AAExJ,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,aAAa,EAAE,MAAM;CAOlC;AAED;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,SAAU,IAAI,iBAAiB,MAAM;;;;;CA4DrF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kDAAkD,YACpD,MAAM,EAAE,KAChB,GAAG,kBAAkB,CAAC,OAAO,CA4B/B,CAAC"}
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/utility/component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAA6D,MAAM,OAAO,CAAC;AAGpG;;;GAGG;AACH,eAAO,MAAM,kBAAkB,SAAU,EAAE,CAAC,IAAI,KAAG,IAAI,IAAI,gBAEW,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,SAAU,EAAE,CAAC,IAAI,KAAG,IAAI,IAAI,gBAEa,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qBAAsB,EAAE,CAAC,gBAAgB,YAAwE,CAAC;AAEjJ;;;GAGG;AACH,eAAO,MAAM,mBAAmB,qBAAsB,EAAE,CAAC,gBAAgB,YAEA,CAAC;AAE1E,eAAO,MAAM,iCAAiC,wBACyG,CAAC;AAExJ,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,aAAa,EAAE,MAAM;CAOlC;AAED;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,SAAU,IAAI,iBAAiB,MAAM;;;;;CA4DrF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kDAAkD,YACpD,MAAM,EAAE,KAChB,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,CA4B/B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getNodeDependencyList = exports.getExternalDependenciesVersionRange = void 0;
3
+ exports.getExternalDependenciesVersionRange = getExternalDependenciesVersionRange;
4
+ exports.getNodeDependencyList = getNodeDependencyList;
4
5
  const fs = require("node:fs");
5
6
  /**
6
7
  * Method to extract the provided package version range from a package.json file
@@ -24,7 +25,6 @@ function getExternalDependenciesVersionRange(packageNames, packageJsonPath, logg
24
25
  return acc;
25
26
  }, {});
26
27
  }
27
- exports.getExternalDependenciesVersionRange = getExternalDependenciesVersionRange;
28
28
  /**
29
29
  * Method used to build the list of node dependencies to be installed
30
30
  * @param dependenciesVersions map of dependency and its associated required version
@@ -34,5 +34,4 @@ exports.getExternalDependenciesVersionRange = getExternalDependenciesVersionRang
34
34
  function getNodeDependencyList(dependenciesVersions, type) {
35
35
  return Object.entries(dependenciesVersions).map(([name, version]) => ({ name, version, type, overwrite: true }));
36
36
  }
37
- exports.getNodeDependencyList = getNodeDependencyList;
38
37
  //# sourceMappingURL=dependencies.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dependencies.js","sourceRoot":"","sources":["../../../src/utility/dependencies.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAK9B;;;;;;GAMG;AACH,SAAgB,mCAAmC,CAAmB,YAAiB,EAAE,eAAuB,EAAE,MAAyB;IACzI,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,EAAC,QAAQ,EAAE,OAAO,EAAC,CAAC,CAAoE,CAAC;IAChK,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,GAA+B,EAAE,WAAW,EAAE,EAAE;QAC1E,GAAG,CAAC,WAAW,CAAC;YACd,kBAAkB,CAAC,qBAAqB,EAAE,CAAC,WAAW,CAAC;gBACvD,kBAAkB,CAAC,gBAAgB,EAAE,CAAC,WAAW,CAAC;gBAClD,kBAAkB,CAAC,YAAY,EAAE,CAAC,WAAW,CAAC;gBAC9C,kBAAkB,CAAC,eAAe,EAAE,CAAC,WAAW,CAAC,CAAC;QACpD,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,kCAAkC,WAAW,OAAO,eAAe,4BAA4B,CAAC,CAAC;YAC7G,GAAG,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC9B,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAsB,CAAC;AAC9B,CAAC;AAdD,kFAcC;AAED;;;;;GAKG;AACH,SAAgB,qBAAqB,CAAmB,oBAAuC,EAAE,IAAwB;IACvH,OAAO,MAAM,CAAC,OAAO,CAAS,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,I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,EAAE,SAAS,EAAE,IAAI,EAAC,CAAC,CAAC,CAAC;AACzH,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  /**
3
2
  * Get all environment information
4
3
  * Could be useful for debugging issue
@@ -1 +1 @@
1
- {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../src/utility/environment.ts"],"names":[],"mappings":";AAKA;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;CAmB9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,cAWvC,CAAC"}
1
+ {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../src/utility/environment.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;CAmB9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,cAWvC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getFileInfo = exports.getModuleIndex = void 0;
3
+ exports.getModuleIndex = getModuleIndex;
4
+ exports.getFileInfo = getFileInfo;
4
5
  const ast_utils_1 = require("@schematics/angular/utility/ast-utils");
5
6
  const ts = require("typescript");
6
7
  const modules_1 = require("./modules");
@@ -41,7 +42,6 @@ function getModuleIndex(sourceFile, sourceContent) {
41
42
  isStandalone: true
42
43
  };
43
44
  }
44
- exports.getModuleIndex = getModuleIndex;
45
45
  /**
46
46
  * Get file information in schematics context
47
47
  * @param tree
@@ -75,5 +75,4 @@ function getFileInfo(tree, context, projectName) {
75
75
  fileInfo.isStandalone = moduleIndex.isStandalone;
76
76
  return fileInfo;
77
77
  }
78
- exports.getFileInfo = getFileInfo;
79
78
  //# sourceMappingURL=file-info.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-info.js","sourceRoot":"","sources":["../../../src/utility/file-info.ts"],"names":[],"mappings":";;;AACA,qEAA6E;AAC7E,iCAAiC;AACjC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ationPath = exports.TYPES_DEFAULT_FOLDER = exports.OTTER_ITEM_TYPES = void 0;
3
+ exports.TYPES_DEFAULT_FOLDER = exports.OTTER_ITEM_TYPES = void 0;
4
+ exports.getDestinationPath = getDestinationPath;
4
5
  const error_1 = require("./error");
5
6
  const loaders_1 = require("./loaders");
6
7
  const collection_1 = require("./collection");
@@ -59,5 +60,4 @@ function getDestinationPath(typeOfItem, directory, tree, project) {
59
60
  }
60
61
  throw new error_1.O3rCliError('No destination directory configured.');
61
62
  }
62
- exports.getDestinationPath = getDestinationPath;
63
63
  //# sourceMappingURL=generation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generation.js","sourceRoot":"","sources":["../../../src/utility/generation.ts"],"names":[],"mappings":";;;AAEA,mCAAsC;AACtC,uCAA+C;AAC/C,6CAA6D;AAY7D,gCAAgC;AACnB,QAAA,gBAAgB,GAAwB;IACnD,qBAAqB;IACrB,gBAAgB;IAChB,mBAAmB;IACnB,iBAAiB;IACjB,6BAA6B;IAC7B,kCAAkC;IAClC,gCAAgC;CACjC,CAAC;AAEF,sEAAsE;AACzD,QAAA,oBAAoB,GAAkE;IACjG,gEAAgE;IAChE,qBAAqB,EAAE,EAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,EAAC;IACrE,gEAAgE;IAChE,gBAAgB,EAAE,EAAC,GAAG,EAAE,SAAS,EAAC;IAClC,gEAAgE;IAChE,mBAAmB,EAAE,EAAC,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,cAAc,EAAC;IAC/D,gEAAgE;IAChE,iBAAiB,EAAE,EAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,EAAC;IACvD,gEAAgE;IAChE,6BAA6B,EAAE,EAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,EAAC;IAC7E,gEAAgE;IAChE,kCAAkC,EAAE,EAAE,GAAG,EAAE,0BAA0B,EAAE;IACvE,gEAAgE;IAChE,gCAAgC,EA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O,CAAC,CAAC;IAChE,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QAC1B,OAAO,MAAM,CAAC,IAAc,CAAC;IAC/B,CAAC;IAED,MAAM,IAAI,mBAAW,CAAC,sCAAsC,CAAC,CAAC;AAChE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"gitignore.d.ts","sourceRoot":"","sources":["../../../src/utility/gitignore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAEvD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAC,EAAE,gEAoBrG"}
1
+ {"version":3,"file":"gitignore.d.ts","sourceRoot":"","sources":["../../../src/utility/gitignore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAEvD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAC,EAAE,gEA2BrG"}
@@ -1,27 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ignorePatterns = void 0;
3
+ exports.ignorePatterns = ignorePatterns;
4
4
  /**
5
5
  * Add patterns to .gitignore file
6
6
  * @param tree Schematics files tree
7
7
  * @param patternsToAdd List of patterns with description to add to gitignore files
8
8
  */
9
9
  function ignorePatterns(tree, patternsToAdd) {
10
- if (tree.exists('/.gitignore')) {
11
- let gitIgnoreFile = tree.read('/.gitignore').toString();
12
- let found = false;
13
- patternsToAdd
14
- .map(({ description, patterns }) => ({ description, patterns: patterns.filter((pattern) => new RegExp('^' + pattern.replace(/([*/\\.])/g, '\\$1')).test(gitIgnoreFile)) }))
15
- .filter(({ patterns }) => patterns.length)
16
- .forEach(({ description, patterns }) => {
17
- found = true;
18
- gitIgnoreFile = gitIgnoreFile + `\n# ${description}\n${patterns.join('\n')}\n`;
19
- });
20
- if (found) {
21
- tree.overwrite('/.gitignore', gitIgnoreFile);
22
- }
10
+ const gitIgnoreFileName = '/.gitignore';
11
+ const isGitIgnorePresent = tree.exists(gitIgnoreFileName);
12
+ let gitIgnoreFileContent = isGitIgnorePresent ? tree.readText(gitIgnoreFileName) : '';
13
+ const filteredPatternsToAdd = patternsToAdd
14
+ .map(({ description, patterns }) => ({ description, patterns: patterns.filter((pattern) => !new RegExp('^' + pattern.replace(/([*/\\.])/g, '\\$1')).test(gitIgnoreFileContent)) }))
15
+ .filter(({ patterns }) => patterns.length);
16
+ if (!filteredPatternsToAdd.length) {
17
+ return tree;
18
+ }
19
+ gitIgnoreFileContent += '\n' + filteredPatternsToAdd
20
+ .map(({ description, patterns }) => (description ? `# ${description}\n` : '')
21
+ + patterns.join('\n'))
22
+ .join('\n');
23
+ if (isGitIgnorePresent) {
24
+ tree.overwrite(gitIgnoreFileName, gitIgnoreFileContent);
25
+ return tree;
23
26
  }
27
+ tree.create(gitIgnoreFileName, gitIgnoreFileContent);
24
28
  return tree;
25
29
  }
26
- exports.ignorePatterns = ignorePatterns;
27
30
  //# sourceMappingURL=gitignore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gitignore.js","sourceRoot":"","sources":["../../../src/utility/gitignore.ts"],"names":[],"mappings":";;;AAEA;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAU,EAAE,aAA2D;IACpG,IAAI,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC;QAE/B,IAAI,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAE,CAAC,QAAQ,EAAE,CAAC;QACzD,IAAI,KAAK,GAAG,KAAK,CAAC;QAElB,aAAa;aACV,GAAG,CAAC,CAAC,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,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,GAOlD,WAAW,CACtC;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,CAAC,EAAE,gBAAgB,wDAEvE;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,kBAAkB,EAAE,CAE/F;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,SAAc,UAGpG;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,SAAM,EAAE,QAAQ,GAAE,MAAM,EAAO,EAAE,SAAS,UAAO,GAAG,MAAM,EAAE,CAQjH;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAGnE;AAED;;;;;GAKG;AACH,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,YAOjH;AAGD;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,YAK1E;AAED;;;;GAIG;AACH,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,YAEhF;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,YAE1E;AAGD;;;GAGG;AACH,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,IAAI,YAE7D"}
@@ -1,6 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSourceFilesFromWorkspaceProjects = exports.getFilesFromWorkspaceProjects = exports.getFilesFromRootOfWorkspaceProjects = exports.getFilesWithExtensionFromTree = exports.getFilesInFolderFromWorkspaceProjectsInTree = exports.globInTree = exports.getAllFilesInTree = exports.getTemplateFolder = exports.getProjectNewDependenciesTypes = exports.getProjectNewDependenciesType = exports.readPackageJson = exports.writeAngularJson = exports.getWorkspaceConfig = exports.findFilesInTree = void 0;
3
+ exports.findFilesInTree = findFilesInTree;
4
+ exports.getWorkspaceConfig = getWorkspaceConfig;
5
+ exports.writeAngularJson = writeAngularJson;
6
+ exports.readPackageJson = readPackageJson;
7
+ exports.getProjectNewDependenciesType = getProjectNewDependenciesType;
8
+ exports.getProjectNewDependenciesTypes = getProjectNewDependenciesTypes;
9
+ exports.getTemplateFolder = getTemplateFolder;
10
+ exports.getAllFilesInTree = getAllFilesInTree;
11
+ exports.globInTree = globInTree;
12
+ exports.getFilesInFolderFromWorkspaceProjectsInTree = getFilesInFolderFromWorkspaceProjectsInTree;
13
+ exports.getFilesWithExtensionFromTree = getFilesWithExtensionFromTree;
14
+ exports.getFilesFromRootOfWorkspaceProjects = getFilesFromRootOfWorkspaceProjects;
15
+ exports.getFilesFromWorkspaceProjects = getFilesFromWorkspaceProjects;
16
+ exports.getSourceFilesFromWorkspaceProjects = getSourceFilesFromWorkspaceProjects;
4
17
  const schematics_1 = require("@angular-devkit/schematics");
5
18
  const dependencies_1 = require("@schematics/angular/utility/dependencies");
6
19
  const minimatch_1 = require("minimatch");
@@ -28,7 +41,6 @@ function findFilesInTree(directory, fileMatchesCriteria, ignoreDirectories = ['n
28
41
  findFilesInTreeRec(memory, directory, fileMatchesCriteria, ignoreDirectories);
29
42
  return Array.from(memory);
30
43
  }
31
- exports.findFilesInTree = findFilesInTree;
32
44
  /**
33
45
  * Load the Workspace configuration object
34
46
  * @param tree File tree
@@ -41,7 +53,6 @@ function getWorkspaceConfig(tree, workspaceConfigFile = '/angular.json') {
41
53
  }
42
54
  return tree.readJson(workspaceConfigFile);
43
55
  }
44
- exports.getWorkspaceConfig = getWorkspaceConfig;
45
56
  /**
46
57
  * Update angular.json file
47
58
  * @param tree File tree
@@ -52,7 +63,6 @@ function writeAngularJson(tree, workspace, angularJsonFile = '/angular.json') {
52
63
  tree.overwrite(angularJsonFile, JSON.stringify(workspace, null, 2));
53
64
  return tree;
54
65
  }
55
- exports.writeAngularJson = writeAngularJson;
56
66
  /**
57
67
  * Load the target's package.json file
58
68
  * @param tree File tree
@@ -67,7 +77,6 @@ function readPackageJson(tree, workspaceProject) {
67
77
  const workspaceConfig = tree.readJson(packageJsonPath);
68
78
  return workspaceConfig;
69
79
  }
70
- exports.readPackageJson = readPackageJson;
71
80
  /**
72
81
  * Return the type of install to run depending on the project type (Peer or default)
73
82
  * @deprecated use {@link getProjectNewDependenciesTypes instead}, will be removed in V11
@@ -76,7 +85,6 @@ exports.readPackageJson = readPackageJson;
76
85
  function getProjectNewDependenciesType(project) {
77
86
  return project?.projectType === 'library' ? dependencies_1.NodeDependencyType.Peer : dependencies_1.NodeDependencyType.Default;
78
87
  }
79
- exports.getProjectNewDependenciesType = getProjectNewDependenciesType;
80
88
  /**
81
89
  * Return the types of install to run depending on the project type
82
90
  * @param project
@@ -84,7 +92,6 @@ exports.getProjectNewDependenciesType = getProjectNewDependenciesType;
84
92
  function getProjectNewDependenciesTypes(project) {
85
93
  return project?.projectType === 'library' ? [dependencies_1.NodeDependencyType.Peer, dependencies_1.NodeDependencyType.Dev] : [dependencies_1.NodeDependencyType.Default];
86
94
  }
87
- exports.getProjectNewDependenciesTypes = getProjectNewDependenciesTypes;
88
95
  /**
89
96
  * Get the folder of the templates for a specific sub-schematics
90
97
  * @param rootPath Root directory of the schematics ran
@@ -95,7 +102,6 @@ function getTemplateFolder(rootPath, currentPath, templateFolder = 'templates')
95
102
  const templateFolderPath = path.resolve(currentPath, templateFolder).replace(/[\\]/g, '/');
96
103
  return path.relative(rootPath, templateFolderPath);
97
104
  }
98
- exports.getTemplateFolder = getTemplateFolder;
99
105
  /**
100
106
  * Get the path of all the files in the Tree
101
107
  * @param basePath Base path from which starting the list
@@ -112,7 +118,6 @@ function getAllFilesInTree(tree, basePath = '/', excludes = [], recursive = true
112
118
  ...(recursive ? tree.getDir(basePath).subdirs.flatMap((dir) => getAllFilesInTree(tree, path.posix.join(basePath, dir), excludes, recursive)) : [])
113
119
  ];
114
120
  }
115
- exports.getAllFilesInTree = getAllFilesInTree;
116
121
  /**
117
122
  * Get the path of all the files in the Tree
118
123
  * @param tree Schematics file tree
@@ -122,7 +127,6 @@ function globInTree(tree, patterns) {
122
127
  const files = getAllFilesInTree(tree);
123
128
  return files.filter((basePath) => patterns.some((p) => (0, minimatch_1.minimatch)(basePath, p, { dot: true })));
124
129
  }
125
- exports.globInTree = globInTree;
126
130
  /**
127
131
  * Get all files with specific extension from the specified folder for all the projects described in the workspace
128
132
  * @param tree
@@ -137,7 +141,6 @@ function getFilesInFolderFromWorkspaceProjectsInTree(tree, folderInProject, exte
137
141
  .flatMap((project) => getAllFilesInTree(tree, path.posix.join(project.root, folderInProject), excludes))
138
142
  .filter((filePath) => extensionMatcher.test(filePath));
139
143
  }
140
- exports.getFilesInFolderFromWorkspaceProjectsInTree = getFilesInFolderFromWorkspaceProjectsInTree;
141
144
  /**
142
145
  * Get all files with specific extension from the tree
143
146
  * @param tree
@@ -149,7 +152,6 @@ function getFilesWithExtensionFromTree(tree, extension) {
149
152
  return getAllFilesInTree(tree, '/', excludes)
150
153
  .filter((filePath) => extensionMatcher.test(filePath));
151
154
  }
152
- exports.getFilesWithExtensionFromTree = getFilesWithExtensionFromTree;
153
155
  /**
154
156
  * Get all files with specific extension from the root of all the projects described in the workspace
155
157
  * @param tree
@@ -158,7 +160,6 @@ exports.getFilesWithExtensionFromTree = getFilesWithExtensionFromTree;
158
160
  function getFilesFromRootOfWorkspaceProjects(tree, extension) {
159
161
  return getFilesInFolderFromWorkspaceProjectsInTree(tree, '', extension);
160
162
  }
161
- exports.getFilesFromRootOfWorkspaceProjects = getFilesFromRootOfWorkspaceProjects;
162
163
  /**
163
164
  * Get all files with specific extension from the src folder for all the projects described in the workspace
164
165
  * @param tree
@@ -167,7 +168,6 @@ exports.getFilesFromRootOfWorkspaceProjects = getFilesFromRootOfWorkspaceProject
167
168
  function getFilesFromWorkspaceProjects(tree, extension) {
168
169
  return getFilesInFolderFromWorkspaceProjectsInTree(tree, 'src', extension);
169
170
  }
170
- exports.getFilesFromWorkspaceProjects = getFilesFromWorkspaceProjects;
171
171
  /**
172
172
  * Get all the typescript files from the src folder for all the projects described in the workspace
173
173
  * @param tree
@@ -175,5 +175,4 @@ exports.getFilesFromWorkspaceProjects = getFilesFromWorkspaceProjects;
175
175
  function getSourceFilesFromWorkspaceProjects(tree) {
176
176
  return getFilesFromWorkspaceProjects(tree, 'ts');
177
177
  }
178
- exports.getSourceFilesFromWorkspaceProjects = getSourceFilesFromWorkspaceProjects;
179
178
  //# sourceMappingURL=loaders.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loaders.js","sourceRoot":"","sources":["../../../src/utility/loaders.ts"],"names":[],"mappings":";;;AACA,2DAAuE;AACvE,2EAA8E;AAC9E,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,CAAC;QAClF,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,SAAS,CAAC,QAAQ;SACf,MAAM,CAAC,mBAAmB,CAAC;SAC3B,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC;IAExD,SAAS,CAAC,OAAO;SACd,OAAO,CAAC,CAAC,GAAG,EAAE,E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AAiB,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,CAAC;SAC1C,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED;;;;GAIG;AACH,SAAgB,mCAAmC,CAAC,IAAU,EAAE,SAAiB;IAC/E,OAAO,2CAA2C,CAAC,IAAI,EAAE,EAAE,EAAE,SAAS,CAAC,CAAC;AAC1E,CAAC;AAED;;;;GAIG;AACH,SAAgB,6BAA6B,CAAC,IAAU,EAAE,SAAiB;IACzE,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;AAC7E,CAAC;AAGD;;;GAGG;AACH,SAAgB,mCAAmC,CAAC,IAAU;IAC5D,OAAO,6BAA6B,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACnD,CAAC"}
@@ -2,5 +2,5 @@
2
2
  * Generate Logo for Otter Project
3
3
  * @param size Size of the logo to generate
4
4
  */
5
- export declare const getLogo: (size?: 'medium' | 'small') => string;
5
+ export declare const getLogo: (size?: "medium" | "small") => string;
6
6
  //# sourceMappingURL=logo.d.ts.map