Skip to content

Commit

Permalink
Merge pull request #171 from sapienstech/DECISION-26436_angular_forms…
Browse files Browse the repository at this point in the history
…_extension_upgrade

DECISION-26436_Upgrades_angular_jasmine_karma_components
  • Loading branch information
krupasodha authored Mar 23, 2022
2 parents ec37d6d + b5a317d commit b1a8785
Show file tree
Hide file tree
Showing 15 changed files with 3,202 additions and 3,953 deletions.
32 changes: 24 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
# Changelog
# Change Log

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.

### [0.1.94](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.93...v0.1.94) (2020-12-04)
<a name="0.1.97"></a>
## [0.1.97](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.96...v0.1.97) (2022-02-02)

### [0.1.93](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.92...v0.1.93) (2020-12-03)

### [0.1.92](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.90...v0.1.92) (2020-11-23)

### [0.1.90](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.84...v0.1.90) (2020-11-02)
<a name="0.1.96"></a>
## [0.1.96](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.95...v0.1.96) (2022-01-21)

### [0.1.82](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.84...v0.1.82) (2020-11-02)

### [0.1.81](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.84...v0.1.81) (2020-11-02)

### [0.1.80](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.84...v0.1.80) (2020-11-02)
<a name="0.1.95"></a>
## [0.1.95](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.94...v0.1.95) (2022-01-20)



<a name="0.1.96"></a>
## [0.1.96](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.95...v0.1.96) (2022-01-20)



<a name="0.1.95"></a>
## [0.1.95](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.96...v0.1.95) (2022-01-19)



<a name="0.1.96"></a>
## [0.1.96](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.94...v0.1.96) (2022-01-19)



<a name="0.1.87"></a>
## [0.1.87](https://github.com/sapienstech/angular-forms-extension/compare/v0.1.86...v0.1.87) (2020-10-26)
Expand Down
9 changes: 6 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ const path = require('path');
const glob = require('glob');
const camelCase = require('camelcase');
const ngc = require('@angular/compiler-cli/src/main').main;
const ngFsUtils = require('@angular/compiler-cli/src/ngtsc/file_system');
const rollup = require('rollup');
const { uglify } = require('rollup-plugin-uglify');
const uglify = require('rollup-plugin-uglify');
const sourcemaps = require('rollup-plugin-sourcemaps');

const inlineResources = require('./inline-resources');
Expand Down Expand Up @@ -57,11 +58,14 @@ return Promise.resolve()
.then(() => console.log('Inlining succeeded.'))
)
// Compile to ES2015.
.then(() => ngc(['-p', `${tempLibFolder}/tsconfig.lib.json`], (error) => {
.then(() => {
ngFsUtils.setFileSystem(new ngFsUtils.NodeJSFileSystem());
ngc(['-p', `${tempLibFolder}/tsconfig.lib.json`], (error) => {
if (error) {
throw new Error('ngc ES2015 compilation failed: ' + error);
}
})
}
)
.then(() => console.log('ES2015 compilation succeeded.'))

Expand All @@ -76,7 +80,6 @@ return Promise.resolve()
// Copy typings and metadata to `dist/` folder.
.then(() => Promise.resolve()
.then(() => _relativeCopy('**/*.d.ts', es2015OutputFolder, distFolder))
.then(() => _relativeCopy('**/*.metadata.json', es2015OutputFolder, distFolder))
.then(() => console.log('Typings and metadata copy succeeded.'))
)
// Bundle lib.
Expand Down
Loading

0 comments on commit b1a8785

Please sign in to comment.