ng-packagr 13.2.1 → 13.3.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.
Files changed (47) hide show
  1. package/cli/main.js +5 -1
  2. package/cli/main.js.map +1 -1
  3. package/lib/esbuild/esbuild-executor.js +5 -1
  4. package/lib/esbuild/esbuild-executor.js.map +1 -1
  5. package/lib/file-system/file-watcher.js +5 -1
  6. package/lib/file-system/file-watcher.js.map +1 -1
  7. package/lib/flatten/downlevel-plugin.js +5 -1
  8. package/lib/flatten/downlevel-plugin.js.map +1 -1
  9. package/lib/flatten/rollup.js +5 -1
  10. package/lib/flatten/rollup.js.map +1 -1
  11. package/lib/ng-package/discover-packages.js +5 -1
  12. package/lib/ng-package/discover-packages.js.map +1 -1
  13. package/lib/ng-package/entry-point/compile-ngc.transform.js +5 -1
  14. package/lib/ng-package/entry-point/compile-ngc.transform.js.map +1 -1
  15. package/lib/ng-package/entry-point/entry-point.js +5 -1
  16. package/lib/ng-package/entry-point/entry-point.js.map +1 -1
  17. package/lib/ng-package/entry-point/entry-point.transform.js +5 -1
  18. package/lib/ng-package/entry-point/entry-point.transform.js.map +1 -1
  19. package/lib/ng-package/entry-point/write-package.transform.js +5 -1
  20. package/lib/ng-package/entry-point/write-package.transform.js.map +1 -1
  21. package/lib/ng-package/package.js +5 -1
  22. package/lib/ng-package/package.js.map +1 -1
  23. package/lib/ng-package/package.transform.js +5 -1
  24. package/lib/ng-package/package.transform.js.map +1 -1
  25. package/lib/ng-package/schema.js +5 -1
  26. package/lib/ng-package/schema.js.map +1 -1
  27. package/lib/ngc/compile-source-files.js +5 -1
  28. package/lib/ngc/compile-source-files.js.map +1 -1
  29. package/lib/ngc/ngcc-processor.js +5 -1
  30. package/lib/ngc/ngcc-processor.js.map +1 -1
  31. package/lib/styles/stylesheet-processor.js +5 -1
  32. package/lib/styles/stylesheet-processor.js.map +1 -1
  33. package/lib/ts/cache-compiler-host.js +5 -1
  34. package/lib/ts/cache-compiler-host.js.map +1 -1
  35. package/lib/ts/tsconfig.js +5 -1
  36. package/lib/ts/tsconfig.js.map +1 -1
  37. package/lib/utils/cache.js +5 -1
  38. package/lib/utils/cache.js.map +1 -1
  39. package/lib/utils/color.js +5 -1
  40. package/lib/utils/color.js.map +1 -1
  41. package/lib/utils/fs.js +5 -1
  42. package/lib/utils/fs.js.map +1 -1
  43. package/lib/utils/path.js +5 -1
  44. package/lib/utils/path.js.map +1 -1
  45. package/package.json +3 -3
  46. package/public_api.js +5 -1
  47. package/public_api.js.map +1 -1
package/lib/utils/path.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"path.js","sourceRoot":"","sources":["../../../src/lib/utils/path.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AAEjC,MAAM,WAAW,GAAG,IAAI,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAC/D,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAkB,CAAC;AACtD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC;AAEnC,QAAA,cAAc,GAAG,UAAU;IACtC,CAAC,CAAC,CAAC,IAAa,EAAiB,EAAE;QAC/B,IAAI,CAAC,IAAI,EAAE;YACT,OAAO,IAAI,CAAC;SACb;QAED,MAAM,SAAS,GAAG,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAChD,IAAI,SAAS,EAAE;YACb,OAAO,SAAS,CAAC;SAClB;QAED,2FAA2F;QAC3F,iEAAiE;QACjE,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrE,mBAAmB,CAAC,GAAG,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAE9C,OAAO,cAAc,CAAC;IACxB,CAAC;IACH,CAAC,CAAC,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,CAAC","sourcesContent":["import * as nodePath from 'path';\n\nconst PATH_REGEXP = new RegExp('\\\\' + nodePath.win32.sep, 'g');\nconst ensureUnixPathCache = new Map<string, string>();\nconst IS_WINDOWS = process.platform === 'win32';\n\nexport const ensureUnixPath = IS_WINDOWS\n ? (path?: string): string | null => {\n if (!path) {\n return null;\n }\n\n const cachePath = ensureUnixPathCache.get(path);\n if (cachePath) {\n return cachePath;\n }\n\n // we use a regex instead of the character literal due to a bug in some versions of node.js\n // the path separator needs to be preceded by an escape character\n const normalizedPath = path.replace(PATH_REGEXP, nodePath.posix.sep);\n ensureUnixPathCache.set(path, normalizedPath);\n\n return normalizedPath;\n }\n : (path?: string) => path;\n"]}
1
+ {"version":3,"file":"path.js","sourceRoot":"","sources":["../../../src/lib/utils/path.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AAEjC,MAAM,WAAW,GAAG,IAAI,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAC/D,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAkB,CAAC;AACtD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC;AAEnC,QAAA,cAAc,GAAG,UAAU;IACtC,CAAC,CAAC,CAAC,IAAa,EAAiB,EAAE;QAC/B,IAAI,CAAC,IAAI,EAAE;YACT,OAAO,IAAI,CAAC;SACb;QAED,MAAM,SAAS,GAAG,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAChD,IAAI,SAAS,EAAE;YACb,OAAO,SAAS,CAAC;SAClB;QAED,2FAA2F;QAC3F,iEAAiE;QACjE,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrE,mBAAmB,CAAC,GAAG,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAE9C,OAAO,cAAc,CAAC;IACxB,CAAC;IACH,CAAC,CAAC,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,CAAC","sourcesContent":["import * as nodePath from 'path';\n\nconst PATH_REGEXP = new RegExp('\\\\' + nodePath.win32.sep, 'g');\nconst ensureUnixPathCache = new Map<string, string>();\nconst IS_WINDOWS = process.platform === 'win32';\n\nexport const ensureUnixPath = IS_WINDOWS\n ? (path?: string): string | null => {\n if (!path) {\n return null;\n }\n\n const cachePath = ensureUnixPathCache.get(path);\n if (cachePath) {\n return cachePath;\n }\n\n // we use a regex instead of the character literal due to a bug in some versions of node.js\n // the path separator needs to be preceded by an escape character\n const normalizedPath = path.replace(PATH_REGEXP, nodePath.posix.sep);\n ensureUnixPathCache.set(path, normalizedPath);\n\n return normalizedPath;\n }\n : (path?: string) => path;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-packagr",
3
- "version": "13.2.1",
3
+ "version": "13.3.0",
4
4
  "description": "Compile and package Angular libraries in Angular Package Format (APF)",
5
5
  "keywords": [
6
6
  "apf",
@@ -61,8 +61,8 @@
61
61
  "esbuild": "^0.14.0"
62
62
  },
63
63
  "peerDependencies": {
64
- "@angular/compiler-cli": "^13.0.0 || ^13.2.0-next",
64
+ "@angular/compiler-cli": "^13.0.0",
65
65
  "tslib": "^2.3.0",
66
- "typescript": ">=4.4.0 <4.6"
66
+ "typescript": ">=4.4.0 <4.7"
67
67
  }
68
68
  }
package/public_api.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
package/public_api.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"public_api.js","sourceRoot":"","sources":["../src/public_api.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;GAEG;AACH,yDAAuC;AACvC,+DAA6C;AAC7C,iEAA+C;AAE/C;;GAEG;AACH,gDAA8B","sourcesContent":["/**\n * Commands API\n */\nexport * from './lib/commands/command';\nexport * from './lib/commands/build.command';\nexport * from './lib/commands/version.command';\n\n/**\n * ngPackagr() programmatic API\n */\nexport * from './lib/packagr';\n"]}
1
+ {"version":3,"file":"public_api.js","sourceRoot":"","sources":["../src/public_api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,yDAAuC;AACvC,+DAA6C;AAC7C,iEAA+C;AAE/C;;GAEG;AACH,gDAA8B","sourcesContent":["/**\n * Commands API\n */\nexport * from './lib/commands/command';\nexport * from './lib/commands/build.command';\nexport * from './lib/commands/version.command';\n\n/**\n * ngPackagr() programmatic API\n */\nexport * from './lib/packagr';\n"]}