UNPKG

ng-packagr

Version:

Compile and package a TypeScript library to Angular Package Format

893 lines (454 loc) 83 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ### [5.7.1](https://github.com/ng-packagr/ng-packagr/compare/v5.7.0...v5.7.1) (2019-10-29) ### Bug Fixes * lock rollup version ([e80b275](https://github.com/ng-packagr/ng-packagr/commit/e80b275)), closes [#1431](https://github.com/ng-packagr/ng-packagr/issues/1431) ## [5.7.0](https://github.com/ng-packagr/ng-packagr/compare/v5.6.1...v5.7.0) (2019-10-15) ### Bug Fixes * re prioritize ngcc `propertiesToConsider` properties based ([ea89fb3](https://github.com/ng-packagr/ng-packagr/commit/ea89fb3)), closes [/github.com/angular/angular-cli/blob/0d70565f9d80f1d765622eb8c8b2c3c701723599/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/browser.ts#L68](https://github.com/ng-packagr//github.com/angular/angular-cli/blob/0d70565f9d80f1d765622eb8c8b2c3c701723599/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/browser.ts/issues/L68) ### Features * deprecate inlining of `bundledDependencies` ([0c52486](https://github.com/ng-packagr/ng-packagr/commit/0c52486)) ### [5.6.1](https://github.com/ng-packagr/ng-packagr/compare/v5.6.0...v5.6.1) (2019-10-09) ### Bug Fixes * tsickle references to non imported values when using Angular 8 ([de5894b](https://github.com/ng-packagr/ng-packagr/commit/de5894b)) ## [5.6.0](https://github.com/ng-packagr/ng-packagr/compare/v5.5.1...v5.6.0) (2019-10-08) ### Bug Fixes * disable internal `emitDecoratorMetadata` ([d0bf507](https://github.com/ng-packagr/ng-packagr/commit/d0bf507)) * support the ng-package.json in secondary entry points ([#1406](https://github.com/ng-packagr/ng-packagr/issues/1406)) ([8b97bfa](https://github.com/ng-packagr/ng-packagr/commit/8b97bfa)) * update @angular/cdk to version ~8.2.0 ([0007fef](https://github.com/ng-packagr/ng-packagr/commit/0007fef)) ### Build System * update @angular-devkit/build-angular to version ~0.803.0 ([194c6bb](https://github.com/ng-packagr/ng-packagr/commit/194c6bb)) * update cross-env to version ^6.0.0 ([120331a](https://github.com/ng-packagr/ng-packagr/commit/120331a)) * update jasmine-core to version ~3.5.0 ([#1404](https://github.com/ng-packagr/ng-packagr/issues/1404)) ([aeabd95](https://github.com/ng-packagr/ng-packagr/commit/aeabd95)) * update ts-node to version ~8.4.0 ([9a4dddc](https://github.com/ng-packagr/ng-packagr/commit/9a4dddc)) * update tslint to version ~5.20.0 ([4e4b1d5](https://github.com/ng-packagr/ng-packagr/commit/4e4b1d5)) * update zone.js to version ^0.10.0 ([88f8cb4](https://github.com/ng-packagr/ng-packagr/commit/88f8cb4)) ### Features * copies `CHANGELOG.md` to package destination ([db5ad68](https://github.com/ng-packagr/ng-packagr/commit/db5ad68)) ### Tests * update angular cli dev packages ([3e26f7b](https://github.com/ng-packagr/ng-packagr/commit/3e26f7b)) ### [5.5.1](https://github.com/ng-packagr/ng-packagr/compare/v5.5.0...v5.5.1) (2019-09-14) ### Bug Fixes * add downlevelConstructorParameters transformer ([b959010](https://github.com/ng-packagr/ng-packagr/commit/b959010)), closes [#1400](https://github.com/ng-packagr/ng-packagr/issues/1400) * remove terser warnings as these as not actionable ([9c80f62](https://github.com/ng-packagr/ng-packagr/commit/9c80f62)), closes [#1394](https://github.com/ng-packagr/ng-packagr/issues/1394) * update rimraf to version ^3.0.0 ([9236102](https://github.com/ng-packagr/ng-packagr/commit/9236102)) ## [5.5.0](https://github.com/ng-packagr/ng-packagr/compare/v5.4.3...v5.5.0) (2019-08-14) ### Bug Fixes * disable treeshaking when generating bundles ([34b26fc](https://github.com/ng-packagr/ng-packagr/commit/34b26fc)) * update commander to version ^3.0.0 ([dcd4853](https://github.com/ng-packagr/ng-packagr/commit/dcd4853)) ### Features * disable Ivy in default tsconfig ([f50dd2f](https://github.com/ng-packagr/ng-packagr/commit/f50dd2f)) * show error when trying to publish ivy packages ([c3122d6](https://github.com/ng-packagr/ng-packagr/commit/c3122d6)) ### [5.4.3](https://github.com/ng-packagr/ng-packagr/compare/v5.4.2...v5.4.3) (2019-07-29) ### Bug Fixes * handle svg templates same as html files ([2156f5f](https://github.com/ng-packagr/ng-packagr/commit/2156f5f)) ### [5.4.2](https://github.com/ng-packagr/ng-packagr/compare/v5.4.1...v5.4.2) (2019-07-29) ### Bug Fixes * handle deep undefined in schema options ([02055d0](https://github.com/ng-packagr/ng-packagr/commit/02055d0)), closes [#1356](https://github.com/ng-packagr/ng-packagr/issues/1356) ### [5.4.1](https://github.com/ng-packagr/ng-packagr/compare/v5.4.0...v5.4.1) (2019-07-29) ### Bug Fixes * remove defaults from `languageLevel` ([7650c65](https://github.com/ng-packagr/ng-packagr/commit/7650c65)) ## [5.4.0](https://github.com/ng-packagr/ng-packagr/compare/v5.3.0...v5.4.0) (2019-07-29) ### Features * add support for Ivy libraries ([b6dfcf6](https://github.com/ng-packagr/ng-packagr/commit/b6dfcf6)) * add support for typescript 3.5 and Angular 8.X pre-releases ([798de61](https://github.com/ng-packagr/ng-packagr/commit/798de61)) * use `ajv` to validate schema ([e5e9864](https://github.com/ng-packagr/ng-packagr/commit/e5e9864)) ## [5.3.0](https://github.com/ng-packagr/ng-packagr/compare/v5.2.0...v5.3.0) (2019-06-05) ### Bug Fixes * add quotes to less include-path ([af6816b](https://github.com/ng-packagr/ng-packagr/commit/af6816b)) * don't write stacktraces when there are errors ([42692b0](https://github.com/ng-packagr/ng-packagr/commit/42692b0)) * remove opencollective postinstall scripts ([123f39a](https://github.com/ng-packagr/ng-packagr/commit/123f39a)) * update terser to version ^4.0.0 ([dd28818](https://github.com/ng-packagr/ng-packagr/commit/dd28818)) ### Features * support inline javascript in less ([#1300](https://github.com/ng-packagr/ng-packagr/issues/1300)) ([e0b4136](https://github.com/ng-packagr/ng-packagr/commit/e0b4136)), closes [#1298](https://github.com/ng-packagr/ng-packagr/issues/1298) # [5.2.0](https://github.com/ng-packagr/ng-packagr/compare/v5.1.0...v5.2.0) (2019-05-17) ### Bug Fixes * copy+dereference LICENSE and README.md ([6ace017](https://github.com/ng-packagr/ng-packagr/commit/6ace017)) * fix resolution for less binary ([6bc789c](https://github.com/ng-packagr/ng-packagr/commit/6bc789c)), closes [#1276](https://github.com/ng-packagr/ng-packagr/issues/1276) * logger print errors and warnings to stderr ([9534d19](https://github.com/ng-packagr/ng-packagr/commit/9534d19)) * update chokidar to version ^3.0.0 ([2f0e75f](https://github.com/ng-packagr/ng-packagr/commit/2f0e75f)) * update fs-extra to version ^8.0.0 ([de09a1a](https://github.com/ng-packagr/ng-packagr/commit/de09a1a)) * update update-notifier to version ^3.0.0 ([d5b136f](https://github.com/ng-packagr/ng-packagr/commit/d5b136f)) ### Features * update several rollup dependencies ([0772371](https://github.com/ng-packagr/ng-packagr/commit/0772371)) # [5.1.0](https://github.com/ng-packagr/ng-packagr/compare/v5.0.1...v5.1.0) (2019-04-15) ### Bug Fixes * emit ts option diagnostic ([ed960b6](https://github.com/ng-packagr/ng-packagr/commit/ed960b6)) * error out gracefully when `package.json` is not found ([902dea2](https://github.com/ng-packagr/ng-packagr/commit/902dea2)), closes [#1255](https://github.com/ng-packagr/ng-packagr/issues/1255) ### Features * add support for TypeScript 3.4 ([828065c](https://github.com/ng-packagr/ng-packagr/commit/828065c)) ## [5.0.1](https://github.com/ng-packagr/ng-packagr/compare/v5.0.0...v5.0.1) (2019-03-27) ### Bug Fixes * version command should not require tsickle ([6ac0dcf](https://github.com/ng-packagr/ng-packagr/commit/6ac0dcf)) # [5.0.0](https://github.com/ng-packagr/ng-packagr/compare/v4.7.1...v5.0.0) (2019-03-27) ### Bug Fixes * update core-js to version ^3.0.0 ([b985c49](https://github.com/ng-packagr/ng-packagr/commit/b985c49)) * update read-pkg-up to version ^5.0.0 ([cb172fa](https://github.com/ng-packagr/ng-packagr/commit/cb172fa)) * update rollup-plugin-json to version ^4.0.0 ([8d4d4a7](https://github.com/ng-packagr/ng-packagr/commit/8d4d4a7)) ### Features * add node-sass support with sass as default ([43a0be6](https://github.com/ng-packagr/ng-packagr/commit/43a0be6)) * add support for Angular 8 and TypeScript 3.3 ([dfe5a27](https://github.com/ng-packagr/ng-packagr/commit/dfe5a27)) * remove tsickle from direct peerDepedencies ([1555cf6](https://github.com/ng-packagr/ng-packagr/commit/1555cf6)), closes [#1202](https://github.com/ng-packagr/ng-packagr/issues/1202) * replace `uglify-js` with `terser` ([a18d7ad](https://github.com/ng-packagr/ng-packagr/commit/a18d7ad)) * update rollup to version 1.6+ ([82f97e4](https://github.com/ng-packagr/ng-packagr/commit/82f97e4)), closes [#1227](https://github.com/ng-packagr/ng-packagr/issues/1227) ### Performance Improvements * generate umd bundle directly from fesm5 instead of esm5 ([b25731b](https://github.com/ng-packagr/ng-packagr/commit/b25731b)) * reduce the amount of dependees that are removed ([408541e](https://github.com/ng-packagr/ng-packagr/commit/408541e)) ### BREAKING CHANGES * Users outside of Google don't usually need closure annotations hence `annotateForClosureCompiler` is turned off by default. In case users want to emit closure compatible code, they need to install `tsickle` and enable opt it this feature. * We no longer use node-sass by default, instead we use sass (dart-sass). While in most cases this should not have an impact the generated code, dart sass has some differences from Ruby Sass. See https://github.com/sass/dart-sass#behavioral-differences-from-ruby-sass for more details If you wish to use node-sass instead of sass you need to install node-sass as a dev dependency. npm users ``` npm install node-sass --save-dev ``` yarn users ``` yarn add node-sass --dev ``` <a name="4.7.1"></a> ## [4.7.1](https://github.com/ng-packagr/ng-packagr/compare/v4.7.0...v4.7.1) (2019-02-15) ### Bug Fixes * don't use classic module resolution during analyse ([f0a1c38](https://github.com/ng-packagr/ng-packagr/commit/f0a1c38)), closes [#1210](https://github.com/ng-packagr/ng-packagr/issues/1210) * emit complete diagnostics ([82e1fd0](https://github.com/ng-packagr/ng-packagr/commit/82e1fd0)) * replace opencollective-cli with opencollective-postinstall ([#1203](https://github.com/ng-packagr/ng-packagr/issues/1203)) ([44776da](https://github.com/ng-packagr/ng-packagr/commit/44776da)), closes [#1178](https://github.com/ng-packagr/ng-packagr/issues/1178) <a name="4.7.0"></a> # [4.7.0](https://github.com/ng-packagr/ng-packagr/compare/v4.6.0...v4.7.0) (2019-01-26) ### Bug Fixes * read error when having files with spaces in less ([22cfdcc](https://github.com/ng-packagr/ng-packagr/commit/22cfdcc)), closes [#1197](https://github.com/ng-packagr/ng-packagr/issues/1197) * use old TypeScript API to support users which are still on 2.7.x+ ([eec8b84](https://github.com/ng-packagr/ng-packagr/commit/eec8b84)), closes [#1186](https://github.com/ng-packagr/ng-packagr/issues/1186) * use ts.compilerHost as moduleResolutionHost for tsickle.emitWithTsickle to support tsickle 0.33.1 ([30d3720](https://github.com/ng-packagr/ng-packagr/commit/30d3720)), closes [#1189](https://github.com/ng-packagr/ng-packagr/issues/1189) ### Features * add support for tsickle to 0.34.0 ([3b67d90](https://github.com/ng-packagr/ng-packagr/commit/3b67d90)) ### Performance Improvements * simplify Node `dependsOn` logic ([4a0585d](https://github.com/ng-packagr/ng-packagr/commit/4a0585d)) <a name="4.6.0"></a> # [4.6.0](https://github.com/ng-packagr/ng-packagr/compare/v4.3.1...v4.6.0) (2019-01-15) ### Bug Fixes * add opencollective postinstall hook ([c3dbaeb](https://github.com/ng-packagr/ng-packagr/commit/c3dbaeb)) * analyses of secondary entrypoints doesn't work with deep imports ([3f56df2](https://github.com/ng-packagr/ng-packagr/commit/3f56df2)), closes [#1183](https://github.com/ng-packagr/ng-packagr/issues/1183) <a name="4.5.0"></a> # [4.5.0](https://github.com/ng-packagr/ng-packagr/compare/v4.4.5...v4.5.0) (2019-01-11) ### Bug Fixes * update rollup-plugin-node-resolve to version ^4.0.0 ([ab2a55a](https://github.com/ng-packagr/ng-packagr/commit/ab2a55a)) ### Features * add support for TypeScript 3.2 ([9e6ee67](https://github.com/ng-packagr/ng-packagr/commit/9e6ee67)) ### Performance Improvements * cache ng program for faster incremental builds ([4131d4c](https://github.com/ng-packagr/ng-packagr/commit/4131d4c)) * improve entry points analyses ([bcc7f05](https://github.com/ng-packagr/ng-packagr/commit/bcc7f05)) <a name="4.4.5"></a> ## [4.4.5](https://github.com/ng-packagr/ng-packagr/compare/v4.4.4...v4.4.5) (2018-12-01) <a name="4.4.4"></a> ## [4.4.4](https://github.com/ng-packagr/ng-packagr/compare/v4.4.3...v4.4.4) (2018-12-01) <a name="4.4.3"></a> ## [4.4.3](https://github.com/ng-packagr/ng-packagr/compare/v4.4.2...v4.4.3) (2018-12-01) <a name="4.4.2"></a> ## [4.4.2](https://github.com/ng-packagr/ng-packagr/compare/v4.4.1...v4.4.2) (2018-12-01) ### Bug Fixes * add opencollective postinstall hook ([c3dbaeb](https://github.com/ng-packagr/ng-packagr/commit/c3dbaeb)) <a name="4.4.1"></a> ## [4.4.1](https://github.com/ng-packagr/ng-packagr/compare/v4.4.0...v4.4.1) (2018-11-07) ### Bug Fixes * ignore git folder on watch ([c61cbfc](https://github.com/ng-packagr/ng-packagr/commit/c61cbfc)) * UMD sourceMappingURL should point to file ([ab02f0f](https://github.com/ng-packagr/ng-packagr/commit/ab02f0f)) * update rollup to version ^0.67.0 ([4422aa1](https://github.com/ng-packagr/ng-packagr/commit/4422aa1)) <a name="4.4.0"></a> # [4.4.0](https://github.com/ng-packagr/ng-packagr/compare/v4.3.1...v4.4.0) (2018-10-21) ### Features * add support for `resolveJsonModule` ([1bf8eaf](https://github.com/ng-packagr/ng-packagr/commit/1bf8eaf)), closes [#1050](https://github.com/ng-packagr/ng-packagr/issues/1050) <a name="4.3.1"></a> ## [4.3.1](https://github.com/ng-packagr/ng-packagr/compare/v4.3.0...v4.3.1) (2018-10-14) ### Bug Fixes * update templates and styles in watch mode ([bfc019f](https://github.com/ng-packagr/ng-packagr/commit/bfc019f)) <a name="4.3.0"></a> # [4.3.0](https://github.com/ng-packagr/ng-packagr/compare/v4.2.0...v4.3.0) (2018-10-09) ### Bug Fixes * `JavaScript heap out of memory` when having a lot of secondary entrypoints ([ca3d1d3](https://github.com/ng-packagr/ng-packagr/commit/ca3d1d3)), closes [#1099](https://github.com/ng-packagr/ng-packagr/issues/1099) * tsconfig path mapping ([4421e6f](https://github.com/ng-packagr/ng-packagr/commit/4421e6f)) ### Features * add support for TypeScript 3.1 ([c354261](https://github.com/ng-packagr/ng-packagr/commit/c354261)) <a name="4.2.0"></a> # [4.2.0](https://github.com/ng-packagr/ng-packagr/compare/v4.1.1...v4.2.0) (2018-09-18) ### Bug Fixes * update rollup to version `^0.65.0` ([03db010](https://github.com/ng-packagr/ng-packagr/commit/03db010)) * update rollup to version ^0.66.0 ([3d381b0](https://github.com/ng-packagr/ng-packagr/commit/3d381b0)) ### Features * add and version as peerDependencies ([97c5fec](https://github.com/ng-packagr/ng-packagr/commit/97c5fec)) * add `TypeScript` version 3 as a `peerDependency` ([5f0b761](https://github.com/ng-packagr/ng-packagr/commit/5f0b761)) * add a option to pass a custom `tsconfig` in `CLI` ([cb6a980](https://github.com/ng-packagr/ng-packagr/commit/cb6a980)) <a name="4.1.1"></a> ## [4.1.1](https://github.com/ng-packagr/ng-packagr/compare/v4.1.0...v4.1.1) (2018-08-26) ### Bug Fixes * allow sass indexed syntax to be compiled (+ integration tests) ([#1053](https://github.com/ng-packagr/ng-packagr/issues/1053)) ([34a259d](https://github.com/ng-packagr/ng-packagr/commit/34a259d)) <a name="4.1.0"></a> # [4.1.0](https://github.com/ng-packagr/ng-packagr/compare/v4.0.1...v4.1.0) (2018-08-12) ### Bug Fixes * add fallback for `sources` when re-wiring sourcemaps ([#1033](https://github.com/ng-packagr/ng-packagr/issues/1033)) ([9521281](https://github.com/ng-packagr/ng-packagr/commit/9521281)) * no elements in sequence error ([#1029](https://github.com/ng-packagr/ng-packagr/issues/1029)) ([e80cc22](https://github.com/ng-packagr/ng-packagr/commit/e80cc22)) * update node-sass to v4.9.3 ([#1046](https://github.com/ng-packagr/ng-packagr/issues/1046)) ([befb3da](https://github.com/ng-packagr/ng-packagr/commit/befb3da)), closes [#1045](https://github.com/ng-packagr/ng-packagr/issues/1045) * update postcss-url to version ^8.0.0 ([#1042](https://github.com/ng-packagr/ng-packagr/issues/1042)) ([6b4ba96](https://github.com/ng-packagr/ng-packagr/commit/6b4ba96)) * update rollup to version ^0.64.0 ([#1039](https://github.com/ng-packagr/ng-packagr/issues/1039)) ([5d1ab49](https://github.com/ng-packagr/ng-packagr/commit/5d1ab49)) * update rollup to version ^0.64.0 ([#1047](https://github.com/ng-packagr/ng-packagr/issues/1047)) ([8cb4780](https://github.com/ng-packagr/ng-packagr/commit/8cb4780)) ### Features * add support for `~` import syntax for `less` ([#1036](https://github.com/ng-packagr/ng-packagr/issues/1036)) ([bd7c529](https://github.com/ng-packagr/ng-packagr/commit/bd7c529)), closes [#827](https://github.com/ng-packagr/ng-packagr/issues/827) [#227](https://github.com/ng-packagr/ng-packagr/issues/227) ### Performance Improvements * reduce memory consumption ([#1022](https://github.com/ng-packagr/ng-packagr/issues/1022)) ([3ba995e](https://github.com/ng-packagr/ng-packagr/commit/3ba995e)) <a name="4.0.1"></a> ## [4.0.1](https://github.com/ng-packagr/ng-packagr/compare/v4.0.0...v4.0.1) (2018-07-26) ### Bug Fixes * add `enableResourceInlining` by default to tsconfig ([#1021](https://github.com/ng-packagr/ng-packagr/issues/1021)) ([d2e9678](https://github.com/ng-packagr/ng-packagr/commit/d2e9678)), closes [#976](https://github.com/ng-packagr/ng-packagr/issues/976) ### Performance Improvements * analyse sources only for dirty entrypoints ([#1017](https://github.com/ng-packagr/ng-packagr/issues/1017)) ([191cf00](https://github.com/ng-packagr/ng-packagr/commit/191cf00)) <a name="4.0.0"></a> # [4.0.0](https://github.com/ng-packagr/ng-packagr/compare/v4.0.0-rc.4...v4.0.0) (2018-07-22) ### Bug Fixes * copy nested triple slash referenced typings to correct path ([#1009](https://github.com/ng-packagr/ng-packagr/issues/1009)) ([9b7b701](https://github.com/ng-packagr/ng-packagr/commit/9b7b701)), closes [#1007](https://github.com/ng-packagr/ng-packagr/issues/1007) * update autoprefixer to ^9.0.0, browserslist to ^4.0.0 ([#1010](https://github.com/ng-packagr/ng-packagr/issues/1010)) ([2171398](https://github.com/ng-packagr/ng-packagr/commit/2171398)) * update fs-extra to version ^7.0.0 ([#1003](https://github.com/ng-packagr/ng-packagr/issues/1003)) ([0fb2138](https://github.com/ng-packagr/ng-packagr/commit/0fb2138)) * update postcss to version ^7.0.0 ([#1004](https://github.com/ng-packagr/ng-packagr/issues/1004)) ([e2a3905](https://github.com/ng-packagr/ng-packagr/commit/e2a3905)) * update rollup to version ^0.63.0 ([#1005](https://github.com/ng-packagr/ng-packagr/issues/1005)) ([5764f38](https://github.com/ng-packagr/ng-packagr/commit/5764f38)) ### Features * build only entrypoints that are effected by the change ([#991](https://github.com/ng-packagr/ng-packagr/issues/991)) ([1f79aa2](https://github.com/ng-packagr/ng-packagr/commit/1f79aa2)), closes [#974](https://github.com/ng-packagr/ng-packagr/issues/974) <a name="4.0.0-rc.4"></a> # [4.0.0-rc.4](https://github.com/ng-packagr/ng-packagr/compare/v4.0.0-rc.3...v4.0.0-rc.4) (2018-07-17) ### Bug Fixes * browserlist configuration is not being picked up ([#994](https://github.com/ng-packagr/ng-packagr/issues/994)) ([72b2a00](https://github.com/ng-packagr/ng-packagr/commit/72b2a00)), closes [angular/angular-cli#11480](https://github.com/angular/angular-cli/issues/11480) * don't exclude `node_modules` from watch ([#995](https://github.com/ng-packagr/ng-packagr/issues/995)) ([3863d79](https://github.com/ng-packagr/ng-packagr/commit/3863d79)) <a name="4.0.0-rc.3"></a> # [4.0.0-rc.3](https://github.com/ng-packagr/ng-packagr/compare/v4.0.0-rc.2...v4.0.0-rc.3) (2018-06-29) ### Bug Fixes * debounce when a file changes ([#975](https://github.com/ng-packagr/ng-packagr/issues/975)) ([25e2f42](https://github.com/ng-packagr/ng-packagr/commit/25e2f42)) * update rollup to version ^0.62.0 ([#963](https://github.com/ng-packagr/ng-packagr/issues/963)) ([e44ab14](https://github.com/ng-packagr/ng-packagr/commit/e44ab14)) ### Features * add `watch` and `buildAsObservable` methods ([#982](https://github.com/ng-packagr/ng-packagr/issues/982)) ([6975192](https://github.com/ng-packagr/ng-packagr/commit/6975192)) * update `lib` compiler option to `es2018` ([#956](https://github.com/ng-packagr/ng-packagr/issues/956)) ([6bbedee](https://github.com/ng-packagr/ng-packagr/commit/6bbedee)) ### Performance Improvements * add teardown logic for watch ([#980](https://github.com/ng-packagr/ng-packagr/issues/980)) ([42ffec4](https://github.com/ng-packagr/ng-packagr/commit/42ffec4)) ### BREAKING CHANGES * The following `peerDependencies` are now required - `tslib: ^1.9.0` - `typescript: ^2.7.0` <a name="4.0.0-rc.2"></a> # [4.0.0-rc.2](https://github.com/ng-packagr/ng-packagr/compare/v4.0.0-rc.1...v4.0.0-rc.2) (2018-06-23) ### Bug Fixes * update read-pkg-up to version ^4.0.0 ([#955](https://github.com/ng-packagr/ng-packagr/issues/955)) ([c07e888](https://github.com/ng-packagr/ng-packagr/commit/c07e888)) ### Features * add support for incremental builds ([#884](https://github.com/ng-packagr/ng-packagr/issues/884)) ([fbbb434](https://github.com/ng-packagr/ng-packagr/commit/fbbb434)), closes [#828](https://github.com/ng-packagr/ng-packagr/issues/828) [#743](https://github.com/ng-packagr/ng-packagr/issues/743) [#635](https://github.com/ng-packagr/ng-packagr/issues/635) ### Performance Improvements * don't scan `node_modules` directory while globbing ([#949](https://github.com/ng-packagr/ng-packagr/issues/949)) ([ee7b892](https://github.com/ng-packagr/ng-packagr/commit/ee7b892)), closes [#948](https://github.com/ng-packagr/ng-packagr/issues/948) <a name="4.0.0-rc.1"></a> # [4.0.0-rc.1](https://github.com/ng-packagr/ng-packagr/compare/v4.0.0-rc.0...v4.0.0-rc.1) (2018-06-12) ### Bug Fixes * update rollup to version ^0.60.0 ([#926](https://github.com/ng-packagr/ng-packagr/issues/926)) ([9de5a1d](https://github.com/ng-packagr/ng-packagr/commit/9de5a1d)) ### Performance Improvements * speed up discovery of secondary entry points ([#930](https://github.com/ng-packagr/ng-packagr/issues/930)) ([d646721](https://github.com/ng-packagr/ng-packagr/commit/d646721)), closes [#921](https://github.com/ng-packagr/ng-packagr/issues/921) <a name="4.0.0-rc.0"></a> # [4.0.0-rc.0](https://github.com/ng-packagr/ng-packagr/compare/v3.0.0...v4.0.0-rc.0) (2018-05-25) ### Bug Fixes * unable to use an arbitrarily named config file ([#886](https://github.com/ng-packagr/ng-packagr/issues/886)) ([a50bf7d](https://github.com/ng-packagr/ng-packagr/commit/a50bf7d)), closes [#878](https://github.com/ng-packagr/ng-packagr/issues/878) * update rxjs to version ~6.2.0 ([#898](https://github.com/ng-packagr/ng-packagr/issues/898)) ([9e3de7c](https://github.com/ng-packagr/ng-packagr/commit/9e3de7c)) ### Features * embed templates and stylesheets with ngc `enableResourceInlining` ([#872](https://github.com/ng-packagr/ng-packagr/issues/872)) ([2655def](https://github.com/ng-packagr/ng-packagr/commit/2655def)), closes [#770](https://github.com/ng-packagr/ng-packagr/issues/770) ### BREAKING CHANGES * ng-packagr now requires a `peerDependency` of `@angular/compiler: ^6.0.0` and `@angular/compiler-cli: ^6.0.0`. Removes support for building packages with Angular compiler v5. * Consumers using a custom tsconfig via the programmatic API need to add `enableResourceInlining` under `angularCompilerOptions` <a name="3.0.0"></a> # [3.0.0](https://github.com/ng-packagr/ng-packagr/compare/v3.0.0-rc.5...v3.0.0) (2018-05-25) ### Bug Fixes * allow sideEffects to be set as an array ([#866](https://github.com/ng-packagr/ng-packagr/issues/866)) ([04bb2ad](https://github.com/ng-packagr/ng-packagr/commit/04bb2ad)) * analyse exported imports ([#873](https://github.com/ng-packagr/ng-packagr/issues/873)) ([c03d6f8](https://github.com/ng-packagr/ng-packagr/commit/c03d6f8)) * auto-wire paths for transitive dependencies of entry points ([#875](https://github.com/ng-packagr/ng-packagr/issues/875)) ([e9da0cf](https://github.com/ng-packagr/ng-packagr/commit/e9da0cf)), closes [#852](https://github.com/ng-packagr/ng-packagr/issues/852) * embed tslib helpers in umd bundle ([#868](https://github.com/ng-packagr/ng-packagr/issues/868)) ([0fc30e5](https://github.com/ng-packagr/ng-packagr/commit/0fc30e5)) * internal method `dependsOn` appends instead of replacing ([#867](https://github.com/ng-packagr/ng-packagr/issues/867)) ([207f2ac](https://github.com/ng-packagr/ng-packagr/commit/207f2ac)) * remove duplicate declarations under `dist` ([#864](https://github.com/ng-packagr/ng-packagr/issues/864)) ([46fd858](https://github.com/ng-packagr/ng-packagr/commit/46fd858)) * throw an error when a circular dependency is detected ([#888](https://github.com/ng-packagr/ng-packagr/issues/888)) ([ada4081](https://github.com/ng-packagr/ng-packagr/commit/ada4081)), closes [#855](https://github.com/ng-packagr/ng-packagr/issues/855) * update rollup to version ^0.59.0 ([#876](https://github.com/ng-packagr/ng-packagr/issues/876)) ([57f5ed9](https://github.com/ng-packagr/ng-packagr/commit/57f5ed9)) ### Features * provide UMD module id defaults for rxjs v6 ([#840](https://github.com/ng-packagr/ng-packagr/issues/840)) ([6613dde](https://github.com/ng-packagr/ng-packagr/commit/6613dde)), closes [#781](https://github.com/ng-packagr/ng-packagr/issues/781) [#838](https://github.com/ng-packagr/ng-packagr/issues/838) ### Performance Improvements * remove extra template type checking for downleveling ([#863](https://github.com/ng-packagr/ng-packagr/issues/863)) ([0e0e46d](https://github.com/ng-packagr/ng-packagr/commit/0e0e46d)) ### BREAKING CHANGES * UMD module ids for rxjs v5 are now longer provided out-ot-the-box. Users whishing to a build library for rxjs@5 (potentially relying on rxjs-compat), must provide the UMD module IDs in the ngPackage.lib.umdModuleIds section. Please take a look at the changeset of PR #840 to see what the UMD module IDs used to be for v5. <a name="3.0.0-rc.5"></a> # [3.0.0-rc.5](https://github.com/ng-packagr/ng-packagr/compare/v3.0.0-rc.4...v3.0.0-rc.5) (2018-05-11) ### Bug Fixes * do not disable fullTemplateTypeCheck when ES5 downleveling ([#860](https://github.com/ng-packagr/ng-packagr/issues/860)) ([dfa83f9](https://github.com/ng-packagr/ng-packagr/commit/dfa83f9)), closes [#826](https://github.com/ng-packagr/ng-packagr/issues/826) [#812](https://github.com/ng-packagr/ng-packagr/issues/812) [#822](https://github.com/ng-packagr/ng-packagr/issues/822) [#826](https://github.com/ng-packagr/ng-packagr/issues/826) * don't override `baseUrl` ([#862](https://github.com/ng-packagr/ng-packagr/issues/862)) ([769b091](https://github.com/ng-packagr/ng-packagr/commit/769b091)) ### BREAKING CHANGES * `baseUrl` in `tsconfig` is not overridden anymore, thus non-relative module paths will be resolved relative to the `baseUrl` in `tsconfig.json` <a name="3.0.0-rc.4"></a> # [3.0.0-rc.4](https://github.com/ng-packagr/ng-packagr/compare/v3.0.0-rc.3...v3.0.0-rc.4) (2018-05-10) ### Bug Fixes * add missing 'declaration' option in tsconfig ([#790](https://github.com/ng-packagr/ng-packagr/issues/790)) ([dbd8ce1](https://github.com/ng-packagr/ng-packagr/commit/dbd8ce1)) * correct depth analysis of unordered dependencies for secondaries ([#846](https://github.com/ng-packagr/ng-packagr/issues/846)) ([f4beea9](https://github.com/ng-packagr/ng-packagr/commit/f4beea9)) * create an array large enough to hold all buckets ([#845](https://github.com/ng-packagr/ng-packagr/issues/845)) ([353b0fa](https://github.com/ng-packagr/ng-packagr/commit/353b0fa)) * handle nested entry points with same name ([#850](https://github.com/ng-packagr/ng-packagr/issues/850)) ([f911882](https://github.com/ng-packagr/ng-packagr/commit/f911882)), closes [#851](https://github.com/ng-packagr/ng-packagr/issues/851) [#849](https://github.com/ng-packagr/ng-packagr/issues/849) * inline sourcemaps as base64-encoded data URI in esm5/esm015 ([#812](https://github.com/ng-packagr/ng-packagr/issues/812)) ([095feb1](https://github.com/ng-packagr/ng-packagr/commit/095feb1)), closes [#785](https://github.com/ng-packagr/ng-packagr/issues/785) [#803](https://github.com/ng-packagr/ng-packagr/issues/803) <a name="3.0.0-rc.3"></a> # [3.0.0-rc.3](https://github.com/ng-packagr/ng-packagr/compare/v3.0.0-rc.2...v3.0.0-rc.3) (2018-05-06) ### Bug Fixes * let `ngc` determine the typescript `emitFlags` ([#813](https://github.com/ng-packagr/ng-packagr/issues/813)) ([9b47d72](https://github.com/ng-packagr/ng-packagr/commit/9b47d72)) * migrate code base to compiler-cli@6 ([927e581](https://github.com/ng-packagr/ng-packagr/commit/927e581)) * migrate dependencies to angular 6 ([13917eb](https://github.com/ng-packagr/ng-packagr/commit/13917eb)) * remove nested `dist` folder ([#829](https://github.com/ng-packagr/ng-packagr/issues/829)) ([f9af7ca](https://github.com/ng-packagr/ng-packagr/commit/f9af7ca)) * unpin rollup-plugin-commonjs to version ^9.1.3 ([#823](https://github.com/ng-packagr/ng-packagr/issues/823)) ([17f791f](https://github.com/ng-packagr/ng-packagr/commit/17f791f)) * update fs-extra to version ^6.0.0 ([#825](https://github.com/ng-packagr/ng-packagr/issues/825)) ([2aabd33](https://github.com/ng-packagr/ng-packagr/commit/2aabd33)) * update rollup to version ^0.58.0 ([#772](https://github.com/ng-packagr/ng-packagr/issues/772)) ([cfcf3f9](https://github.com/ng-packagr/ng-packagr/commit/cfcf3f9)) * update rollup-plugin-commonjs to version ^9.1.2 ([#819](https://github.com/ng-packagr/ng-packagr/issues/819)) ([1731968](https://github.com/ng-packagr/ng-packagr/commit/1731968)) * update rxjs to version ~6.0.0 ([b171a28](https://github.com/ng-packagr/ng-packagr/commit/b171a28)) * update rxjs to version ~6.1.0 ([#832](https://github.com/ng-packagr/ng-packagr/issues/832)) ([365c759](https://github.com/ng-packagr/ng-packagr/commit/365c759)) ### Features * enable `fullTemplateTypeCheck` ([#826](https://github.com/ng-packagr/ng-packagr/issues/826)) ([83f2cb6](https://github.com/ng-packagr/ng-packagr/commit/83f2cb6)) <a name="3.0.0-rc.2"></a> # [3.0.0-rc.2](https://github.com/ng-packagr/ng-packagr/compare/v3.0.0-rc.1...v3.0.0-rc.2) (2018-04-21) ### Bug Fixes * add moduleResolution to downleveling options ([#787](https://github.com/ng-packagr/ng-packagr/issues/787)) ([d7b4094](https://github.com/ng-packagr/ng-packagr/commit/d7b4094)), closes [#784](https://github.com/ng-packagr/ng-packagr/issues/784) * generate correct UMD module id for `[@angular](https://github.com/angular)/common/http/testing` ([#782](https://github.com/ng-packagr/ng-packagr/issues/782)) ([a0451d8](https://github.com/ng-packagr/ng-packagr/commit/a0451d8)) * missing options when setting custom tsconfig ([#786](https://github.com/ng-packagr/ng-packagr/issues/786)) ([d687853](https://github.com/ng-packagr/ng-packagr/commit/d687853)) * update rollup-plugin-commonjs to version 9.1.0 ([#659](https://github.com/ng-packagr/ng-packagr/issues/659)) ([5204b0c](https://github.com/ng-packagr/ng-packagr/commit/5204b0c)) <a name="3.0.0-rc.1"></a> # [3.0.0-rc.1](https://github.com/ng-packagr/ng-packagr/compare/v3.0.0-rc.0...v3.0.0-rc.1) (2018-04-17) ### Features * add `"sideEffects": false` flag to dist-ready package.json ([#776](https://github.com/ng-packagr/ng-packagr/issues/776)) ([11535bb](https://github.com/ng-packagr/ng-packagr/commit/11535bb)) <a name="3.0.0-rc.0"></a> # [3.0.0-rc.0](https://github.com/ng-packagr/ng-packagr/compare/v2.4.2...v3.0.0-rc.0) (2018-04-16) ### Bug Fixes * update autoprefixer to version ^8.0.0 ([#615](https://github.com/ng-packagr/ng-packagr/issues/615)) ([a60bd88](https://github.com/ng-packagr/ng-packagr/commit/a60bd88)) * update browserslist to version ^3.0.0 ([#610](https://github.com/ng-packagr/ng-packagr/issues/610)) ([2f50354](https://github.com/ng-packagr/ng-packagr/commit/2f50354)) * update less to version ^3.0.0 ([#611](https://github.com/ng-packagr/ng-packagr/issues/611)) ([f45d89d](https://github.com/ng-packagr/ng-packagr/commit/f45d89d)) ### Features * build libaries in Angular Package Format (APF) v6.0 (#738) ([4e6c4f4](https://github.com/ng-packagr/ng-packagr/commit/4e6c4f4)), closes [#738](https://github.com/ng-packagr/ng-packagr/issues/738) [#705](https://github.com/ng-packagr/ng-packagr/issues/705) * drop support for node v6 and v7 (no longer supported by devkit) ([ee7e65d](https://github.com/ng-packagr/ng-packagr/commit/ee7e65d)) * remove deprecated code ([#773](https://github.com/ng-packagr/ng-packagr/issues/773)) ([866a4b5](https://github.com/ng-packagr/ng-packagr/commit/866a4b5)) * update tsickle to =>0.27.3, rollup to ^0.57.1 ([#769](https://github.com/ng-packagr/ng-packagr/issues/769)) ([3bcf233](https://github.com/ng-packagr/ng-packagr/commit/3bcf233)), closes [#679](https://github.com/ng-packagr/ng-packagr/issues/679) ### BREAKING CHANGES Removes several deprecated code items. - option `sassIncludePaths` is removed, please use `styleIncludePaths` instead - option `workingDirectory` is removed, removed corresponding getter from `NgPackage` class - method `createNgPackage` removed from programmatic API - removed `NgArtefacts` class from API - removed `BuildStep` interface from API - removed tarball generation ([#721](https://github.com/ng-packagr/ng-packagr/issues/721)) There were some important changes, mainly related to `rollup`, most of the options and functionality provided by `rollup` plugins (comments & license) have been removed, due to the fact this is not inline with APF V6 as one will end up with different outputs in different modules. - **`comments` option has been removed** - **`licensePath` option has been removed** In APF V6, it is recommanded to not embed dependencies due to the fact that it will end up having multiple copies of the same library in a single application. - **`embedded` option has been removed and the original functionality was dropped** as it increased the chance of having 2 copies of the same library. The recommended migration is to switch to `bundledDependencies` More info in the APF v6 spec: https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/preview Documentation on npm bundled dependencies: http://npm.github.io/using-pkgs-docs/package-json/types/bundleddependencies.html #### Tarball generation As we don't generate a tarball by default anymore, you should manually, after the build, create it by running [`npm pack`](https://docs.npmjs.com/cli/pack) in the `dist` folder of your library. See [#802](https://github.com/ng-packagr/ng-packagr/issues/802) and [#738 (comment)](https://github.com/ng-packagr/ng-packagr/pull/738#issuecomment-379457152) for more information. <a name="2.4.2"></a> ## [2.4.2](https://github.com/ng-packagr/ng-packagr/compare/v2.4.1...v2.4.2) (2018-04-08) ### Bug Fixes * update uglify-js version ([#754](https://github.com/ng-packagr/ng-packagr/issues/754)) ([ff176b7](https://github.com/ng-packagr/ng-packagr/commit/ff176b7)), closes [#752](https://github.com/ng-packagr/ng-packagr/issues/752) <a name="2.4.1"></a> ## [2.4.1](https://github.com/ng-packagr/ng-packagr/compare/v2.4.0...v2.4.1) (2018-03-25) ### Bug Fixes * don't verify devDependencies in dist-ready package.json ([#721](https://github.com/ng-packagr/ng-packagr/issues/721)) ([3535e86](https://github.com/ng-packagr/ng-packagr/commit/3535e86)) <a name="2.4.0"></a> # [2.4.0](https://github.com/ng-packagr/ng-packagr/compare/v2.3.0...v2.4.0) (2018-03-25) ### Features * create a tarball (dist.tgz) for the npm package ([#715](https://github.com/ng-packagr/ng-packagr/issues/715)) ([94bc915](https://github.com/ng-packagr/ng-packagr/commit/94bc915)) ### Performance Improvements * read content and map `async` in `minifyJsFile` ([#717](https://github.com/ng-packagr/ng-packagr/issues/717)) ([4da0052](https://github.com/ng-packagr/ng-packagr/commit/4da0052)) <a name="2.3.0"></a> # [2.3.0](https://github.com/ng-packagr/ng-packagr/compare/v2.2.0...v2.3.0) (2018-03-25) ### Bug Fixes * cannot read property 'text' of undefined ([#669](https://github.com/ng-packagr/ng-packagr/issues/669)) ([b91eb66](https://github.com/ng-packagr/ng-packagr/commit/b91eb66)), closes [#668](https://github.com/ng-packagr/ng-packagr/issues/668) * move `keepLifecycleScripts` to ngPackage conf ([#688](https://github.com/ng-packagr/ng-packagr/issues/688)) ([8eb6667](https://github.com/ng-packagr/ng-packagr/commit/8eb6667)) * validate non-peerDependencies at build time ([#687](https://github.com/ng-packagr/ng-packagr/issues/687)) ([ec9779c](https://github.com/ng-packagr/ng-packagr/commit/ec9779c)) ### Features * add support for AMD module id in umd bundles ([#675](https://github.com/ng-packagr/ng-packagr/issues/675)) ([59713b8](https://github.com/ng-packagr/ng-packagr/commit/59713b8)) * allow Angular 6 as a peer dependency ([#714](https://github.com/ng-packagr/ng-packagr/issues/714)) ([530d54e](https://github.com/ng-packagr/ng-packagr/commit/530d54e)) * allow to override umd module identifier ([#683](https://github.com/ng-packagr/ng-packagr/issues/683)) ([b6e099f](https://github.com/ng-packagr/ng-packagr/commit/b6e099f)) * remove scripts section in dist-ready package.json ([#686](https://github.com/ng-packagr/ng-packagr/issues/686)) ([810e58a](https://github.com/ng-packagr/ng-packagr/commit/810e58a)) * support intra-package dependencies (re. entry points, experimental) ([#685](https://github.com/ng-packagr/ng-packagr/issues/685)) ([988968e](https://github.com/ng-packagr/ng-packagr/commit/988968e)) <a name="2.2.0"></a> # [2.2.0](https://github.com/ng-packagr/ng-packagr/compare/v2.1.0...v2.2.0) (2018-03-06) ### Bug Fixes * add `chalk` to dependencies ([#647](https://github.com/ng-packagr/ng-packagr/issues/647)) ([e8aa93f](https://github.com/ng-packagr/ng-packagr/commit/e8aa93f)) * lock rollup-plugin-commonjs dependency at 8.3.0 ([#658](https://github.com/ng-packagr/ng-packagr/issues/658)) ([59d0c3b](https://github.com/ng-packagr/ng-packagr/commit/59d0c3b)), closes [#657](https://github.com/ng-packagr/ng-packagr/issues/657) * update rollup-plugin-license to version ^0.6.0 ([#664](https://github.com/ng-packagr/ng-packagr/issues/664)) ([2a21d7e](https://github.com/ng-packagr/ng-packagr/commit/2a21d7e)) ### Features * add `deleteDestPath` option ([#655](https://github.com/ng-packagr/ng-packagr/issues/655)) ([61922c1](https://github.com/ng-packagr/ng-packagr/commit/61922c1)), closes [#632](https://github.com/ng-packagr/ng-packagr/issues/632) * add Graph and Node API for angular transforms ([#644](https://github.com/ng-packagr/ng-packagr/issues/644)) ([92e6082](https://github.com/ng-packagr/ng-packagr/commit/92e6082)) * add update notifier to cli ([#649](https://github.com/ng-packagr/ng-packagr/issues/649)) ([f5c4afc](https://github.com/ng-packagr/ng-packagr/commit/f5c4afc)) * analyse typescript dependencies of an entry point ([#648](https://github.com/ng-packagr/ng-packagr/issues/648)) ([749d48b](https://github.com/ng-packagr/ng-packagr/commit/749d48b)) * reduce library bundle size by clean-css ([#563](https://github.com/ng-packagr/ng-packagr/issues/563)) ([65386c2](https://github.com/ng-packagr/ng-packagr/commit/65386c2)), closes [#614](https://github.com/ng-packagr/ng-packagr/issues/614) ### Performance Improvements * re-use postcss processor instance per entry point ([#645](https://github.com/ng-packagr/ng-packagr/issues/645)) ([f70985b](https://github.com/ng-packagr/ng-packagr/commit/f70985b)) <a name="2.1.0"></a> # [2.1.0](https://github.com/ng-packagr/ng-packagr/compare/v2.0.0-rc.13...v2.1.0) (2018-02-21) ### Bug Fixes * pass 'setParentNodes' when calling 'createCompilerHost' ([#625](https://github.com/ng-packagr/ng-packagr/issues/625)) ([9baa0bc](https://github.com/ng-packagr/ng-packagr/commit/9baa0bc)) * prune multiple import statements for `tslib` ([#588](https://github.com/ng-packagr/ng-packagr/issues/588)) ([2b6dac4](https://github.com/ng-packagr/ng-packagr/commit/2b6dac4)), closes [#587](https://github.com/ng-packagr/ng-packagr/issues/587) * recognize aliased and namespace decorator imports ([#585](https://github.com/ng-packagr/ng-packagr/issues/585)) ([8f88c5a](https://github.com/ng-packagr/ng-packagr/commit/8f88c5a)) * return redirect target of typescript source file ([#637](https://github.com/ng-packagr/ng-packagr/issues/637)) ([c1fced0](https://github.com/ng-packagr/ng-packagr/commit/c1fced0)), closes [#473](https://github.com/ng-packagr/ng-packagr/issues/473) ### Features * `styleIncludePaths` for feature parity with Angular CLI ([#603](https://github.com/ng-packagr/ng-packagr/issues/603)) ([ab973f4](https://github.com/ng-packagr/ng-packagr/commit/ab973f4)), closes [#282](https://github.com/ng-packagr/ng-packagr/issues/282) * comments cleanup and license header file ([#574](https://github.com/ng-packagr/ng-packagr/issues/574)) ([0237f24](https://github.com/ng-packagr/ng-packagr/commit/0237f24)), closes [#362](https://github.com/ng-packagr/ng-packagr/issues/362) * export and test public api surface ([#584](https://github.com/ng-packagr/ng-packagr/issues/584)) ([6858e2e](https://github.com/ng-packagr/ng-packagr/commit/6858e2e)) <a name="2.0.0"></a> # [2.0.0](https://github.com/ng-packagr/ng-packagr/compare/v2.0.0-rc.13...v2.0.0) (2018-02-05) Version 2 of ng-packagr is targeting Angular 5 (and beyond). Update your projects by: ```bash $ yarn add --dev ng-packagr@^2.0.0 @angular/compiler@^5.0.0 @angular/compiler-cli@^5.0.0 tsickle ``` ### Migrating from v1 (Breaking changes from v1.6.0 to v2.0.0) * Users now need to install `@angular/compiler`, `@angular/compiler-cli`, `typescript`, and `tsickle` to the `devDependency` section of their project (if not already installed). ng-packagr uses both the TypeScript and the Angular compiler version provided by the user workspace. * The setting for external dependencies (`lib.externals`) has been removed in favour of `lib.umdModuleIds` which is now just used to provide the UMD module identifiers of external dependencies. By default, all dependencies are now treated as externals and thus are not embedded in the final bundle. If a dependency should be embedded in the distributables, it needs to be explicity added to `lib.embedded`. Please consult the updated README on migrating your package confguration from `lib.externals` to `lib.umdModuleIds` and `lib.embedded`. * Discovery of primary and secondary entry points is changed to read from the following file sources. File locations are tried in this order: * `package.json` with `ngPackage` property * `ng-package.json` (requires a `package.json` as sibling) * `ng-package.js` (with a default export, requires a `package.json` as sibling) * Setting `ngPackage.src` has no effect any more. The source directory (base path) is equivalent to the location of the (primary) `ng-package.json`, `package.json`, or `ng-package.js`. * UMD Module IDs of packages have been changed: when you published a scoped npm package, e.g. `@sample/core`, the UMD module ID used to be `core` including only the second part of the npm package name. With this change, the UMD module ID is now `sample.core`. For secondary entrypoints, e.g. `@sample/core/testing`, the UMD module ID now also includes every part of the npm package name, e.g. `sample.core.testing`. Publishing your npm packages built with this version of ng-packagr causes a new UMD module ID to be generated. Users of your library need to update their configuration, e.g. when using SystemJS! An excerpt of each bug fix and feature is listed below for the respective release candidate version! ### Bug Fixes * recognize aliased and namespace decorator imports ([#585](https://github.com/ng-packagr/ng-packagr/issues/585)) ([8f88c5a](https://github.com/ng-packagr/ng-packagr/commit/8f88c5a)) ### Features * comments cleanup and license header file ([#574](https://github.com/ng-packagr/ng-packagr/issues/574)) ([0237f24](https://github.com/ng-packagr/ng-packagr/commit/0237f24)), closes [#362](https://github.com/ng-packagr/ng-packagr/issues/362) * export and test public api surface ([#584](https://github.com/ng-packagr/ng-packagr/issues/584)) ([6858e2e](https://github.com/ng-packagr/ng-packagr/commit/6858e2e)) <a name="2.0.0-rc.13"></a> # [2.0.0-rc.13](https://github.com/ng-packagr/ng-packagr/compare/v2.0.0-rc.12...v2.0.0-rc.13) (2018-02-03) ### Bug Fixes * add `postcss-discard-comments` as a dependency ([#544](https://github.com/ng-packagr/ng-packagr/issues/544)) ([bce5705](https://github.com/ng-packagr/ng-packagr/commit/bce5705)), closes [#543](https://github.com/ng-packagr/ng-packagr/issues/543) * css comments should be discarded irrespective of `cssUrl` ([#562](https://github.com/ng-packagr/ng-packagr/issues/562)) ([d6eb971](https://github.com/ng-packagr/ng-packagr/commit/d6eb971)) * embed `tslib` helpers in UMD bundles only ([#573](https://github.com/ng-packagr/ng-packagr/issues/573)) ([7a996ef](https://github.com/ng-packagr/ng-packagr/commit/7a996ef)), closes [#371](https://github.com/ng-packagr/ng-packagr/issues/371) * map `rxjs/util/*` to its UMD module ID by default ([#580](https://github.com/ng-packagr/ng-packagr/issues/580)) ([7c452fb](https://github.com/ng-packagr/ng-packagr/commit/7c452fb)), closes [#579](https://github.com/ng-packagr/ng-packagr/issues/579) * pin rollup dependency to 0.53.0 ([13a79d4](https://github.com/ng-packagr/ng-packagr/commit/13a79d4)) * report build errors ([d136422](https://github.com/ng-packagr/ng-packagr/commit/d136422)) * strip bom from templates and stylesheet files ([#571](https://github.com/ng-packagr/ng-packagr/issues/571)) ([5830e6a](https://github.com/ng-packagr/ng-packagr/commit/5830e6a)), closes [#487](https://github.com/ng-packagr/ng-packagr/issues/487) * update rollup to version `^0.55.0` ([#534](https://github.com/ng-packagr/ng-packagr/issues/534)) ([0cb0cce](https://github.com/ng-packagr/ng-packagr/commit/0cb0cce)), closes [#488](https://github.com/ng-packagr/ng-packagr/issues/488) [#523](https://github.com/ng-packagr/ng-packagr/issues/523) * write type definition files (via triple-slash reference) to npm package ([#443](https://github.com/ng-packagr/ng-packagr/issues/443)) ([9dad573](https://github.com/ng-packagr/ng-packagr/commit/9dad573)) ### Features * expand api to `.withTsConfig(string|TsConfig)`, `.forProject()` ([#561](https://github.com/ng-packagr/ng-packagr/issues/561)) ([48f3569](https://github.com/ng-packagr/ng-packagr/commit/48f3569)), closes [#557](https://github.com/ng-packagr/ng-packagr/issues/557) * le jardin, a broccoli-inspired rewrite ([#572](https://github.com/ng-packagr/ng-packagr/issues/572)) ([6efc2d2](https://github.com/ng-packagr/ng-packagr/commit/6efc2d2)) ### Performance Improvements * don't await and return ([#577](https://github.com/ng-packagr/ng-packagr/issues/577)) ([f479e81](https://github.com/ng-packagr/ng-packagr/commit/f479e81)) <a name="2.0.0-rc.12"></a> # [2.0.0-rc.12](https://github.com/ng-packagr/ng-packagr/compare/v2.0.0-rc.11...v2.0.0-rc.12) (2018-01-25) ### Bug Fixes * dispose the previous TransformationResult after inlining ([#533](https://github.com/ng-packagr/ng-packagr/issues/533)) ([b4c7e89](https://github.com/ng-packagr/ng-packagr/commit/b4c7e89)) * strip comments from processed styles ([#512](https://github.com/ng-packagr/ng-packagr/issues/512)) ([542aed2](https://github.com/ng-packagr/ng-packagr/commit/542aed2)), closes [#503](https://github.com/ng-packagr/ng-packagr/issues/503) ### Features * enable tsconfig customization thru the programmatic API ([#517](https://github.com/ng-packagr/ng-packagr/issues/517)) ([8b04d44](https://github.com/ng-packagr/ng-packagr/commit/8b04d44)), closes [#256](https://github.com/ng-packagr/ng-packagr/issues/256) <a name="2.0.0-rc.11"></a> # [2.0.0-rc.11](https://github.com/ng-packagr/ng-packagr/compare/v2.0.0-rc.10...v2.0.0-rc.11) (2018-01-17) ### Bug Fixes * escape unicode characters in css with a double blackslash ([#453](https://github.com/ng-packagr/ng-packagr/issues/453)) ([9891128](https://github.com/ng-packagr/ng-packagr/commit/9891128)), closes [#425](https://github.com/ng-packagr/ng-packagr/issues/425) ### Features * add language level support for library authors ([#486](https://github.com/ng-packagr/ng-packagr/issues/486)) ([b33e0bc](https://github.com/ng-packagr/ng-packagr/commit/b33e0bc)) * enable custom `sassIncludePaths` for resolving scss imports ([#494](https://github.com/ng-packagr/ng-packagr/issues/494)) ([f8e8dc5](https://github.com/ng-packagr/ng-packagr/commit/f8e8dc5)) <a name="2.0.0-rc.10"></a> # [2.0.0-rc.10](https://github.com/ng-packagr/ng-packagr/compare/v2.0.0-rc.9...v2.0.0-rc.10) (2018-01-10) ### Bug Fixes * exclude ng-package.json from entry point discovery ([#471](https://github.com/ng-packagr/ng-packagr/issues/471)) ([38103ac](https://github.com/ng-packagr/ng-packagr/commit/38103ac)), closes [#463](https://github.com/ng-packagr/ng-packagr/issues/463) * relax version constraints, enable TypeScript 2.6 (w/ tsickle ^0.26.0) ([3c3c6a7](https://github.com/ng-packagr/ng-packagr/commit/3c3c6a7)) * update dependendy tsickle to >=0.25.5 <0.26.0 ([#456](https://github.com/ng-packagr/ng-packagr/issues/456)) ([136867a](https://github.com/ng-packagr/ng-packagr/commit/136867a)), closes [#452](https