Skip to content

Commit

Permalink
ivy partial compile on dist with Angular 13 (#10043)
Browse files Browse the repository at this point in the history
* feat(*): updating to Angular 13 and partial ivy compilation

Co-authored-by: Konstantin Dinev <[email protected]>
Co-authored-by: Radoslav Karaivanov <[email protected]>
Co-authored-by: Hristo Anastasov <[email protected]>
Co-authored-by: iganchev <[email protected]>
Co-authored-by: Milko Venkov <[email protected]>
Co-authored-by: dobromirts <[email protected]>
Co-authored-by: Stamen Stoychev <[email protected]>
Co-authored-by: Nikolay Alipiev <[email protected]>
Co-authored-by: INFRAGISTICS\nrobakova <[email protected]>
Co-authored-by: IvayloG <[email protected]>
Co-authored-by: skrustev <[email protected]>
Co-authored-by: Simeon Simeonoff <[email protected]>
Co-authored-by: Silvia Ivanova <[email protected]>
Co-authored-by: Silvia Ivanova <[email protected]>
Co-authored-by: Marin Popov <[email protected]>
Co-authored-by: MPopov <[email protected]>
Co-authored-by: Viktor Aladzhov <[email protected]>
Co-authored-by: MPopov <[email protected]>
Co-authored-by: Diyan Dimitrov <[email protected]>
Co-authored-by: gedinakova <[email protected]>
  • Loading branch information
21 people authored Nov 16, 2021
1 parent df93331 commit 24f1698
Show file tree
Hide file tree
Showing 731 changed files with 29,555 additions and 27,262 deletions.
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
last 2 versions
Firefox ESR
not dead
IE 11 # For IE 9-11 support, remove 'not'.

5 changes: 2 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
Expand All @@ -36,7 +35,7 @@
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"warn",
"error",
{
"accessibility": "explicit",
"overrides": {
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x]

steps:
- name: Checkout
Expand Down Expand Up @@ -47,16 +47,9 @@ jobs:
- name: Build i18n & validate output
run: |
npm run build:i18n
npm run lint:i18n:dist
- name: Install coverage combiner - istanbul
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '14.x'
run: npm install -g istanbul
- name: Combine scripts
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '14.x'
run: istanbul report --dir coverage --include coverage/**/coverage-final.json lcov
npm run test:i18n:dist
- name: Publish to coveralls.io
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '14.x'
uses: coverallsapp/[email protected]
with:
github-token: ${{ github.token }}

2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
/tmp
/out-tsc

.angular/*

# dependencies
/node_modules

Expand All @@ -27,6 +29,7 @@
!.vscode/extensions.json

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ All notable changes for each version of this project will be documented in this

### General

- `IE discontinued support` **Breaking Change** [details](https://angular.io/guide/browser-support)
- `web-animations-js` is removed as Peer Dependency.
- Removed IE from `.browserslistrc`
- Removed IE related `polyfills`, like Importing ES7 polyfill for Object (`'core-js/es7/object'`) for IE is no longer used.

- `IgxDialog`
- **Breaking Change** - The default positionSettings open/close animation has been changed to `fadeIn`/`fadeOut`. The open/close animation can be set through the position settings, e.g. change the animation to the previously default open/close animation:

Expand Down
9 changes: 0 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@
"with": "src/environments/environment.hmr.ts"
}
]
},
"es5": {
"tsConfig": "src/tsconfig-es5.app.json"
}
}
},
Expand All @@ -92,13 +89,7 @@
},
"hmr": {
"hmr": true,
"hmrWarning": false,
"browserTarget": "igniteui-dev-demos:build:hmr"
},
"es5": {
"hmr": true,
"hmrWarning": false,
"browserTarget": "igniteui-dev-demos:build:es5"
}
}
},
Expand Down
5 changes: 5 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ module.exports.copyMigrations = (cb) => {
'!**/tsconfig.json'
]).pipe(gulp.dest('./dist/igniteui-angular/migrations'));


gulp.src([
'./projects/igniteui-angular/migrations/common/import-helper.js'
]).pipe(gulp.dest('./dist/igniteui-angular/migrations/common'));

cb();
};

Expand Down
Loading

0 comments on commit 24f1698

Please sign in to comment.