Skip to content

Commit b4ddf66

Browse files
committed
chore: add README, polyfill.ts
1 parent 7d53e55 commit b4ddf66

File tree

7 files changed

+68
-24
lines changed

7 files changed

+68
-24
lines changed

Diff for: CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
### [@coreui/angular](https://coreui.io/) changelog
22

3+
##### `v2.2.1`
4+
- fix: remove `-fixed` class on layout components destroy
5+
- chore: commit `package-lock.json`
6+
- chore: add [README](./projects/coreui/angular/README.md)
7+
- update: `core-js` to `2.6.0`
8+
- update: `@angular-devkit/build-angular` to `0.11.1`
9+
- update: `@angular-devkit/build-ng-packagr` to `0.11.1`
10+
- update: `@angular/cli` to `7.1.1`
11+
- update: `@types/jasmine` to `3.3.1`
12+
- update: `@types/node` to `10.12.12`
13+
314
##### `v2.2.0`
415
- chore: build with Angular 7
516
- chore: update Angular to `^7.1.0` see: https://update.angular.io/

Diff for: package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/angular-dev",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"license": "MIT",
55
"author": {
66
"name": "Łukasz Holeczek",
@@ -18,11 +18,12 @@
1818
"ng": "ng",
1919
"start": "ng serve",
2020
"build": "ng build",
21-
"build-lib": "ng build @coreui/angular",
21+
"build-lib": "ng build @coreui/angular --prod",
2222
"test": "ng test",
2323
"lint": "ng lint",
2424
"e2e": "ng e2e",
2525
"publish": "cd dist/@coreui/angular/ && npm publish",
26+
"link": "cd dist/@coreui/angular/ && npm link",
2627
"release-version": "node build/change-version.js"
2728
},
2829
"private": true,

Diff for: projects/coreui/angular/README.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# [@coreui/angular](https://coreui.io/angular)
2+
3+
[![@coreui angular](https://img.shields.io/badge/@coreui%20-angular-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui-angular)
4+
[![Npm badge](https://img.shields.io/npm/v/@coreui/angular.svg)][npm]
5+
[![NPM downloads][npm-download]][npm]
6+
[![@coreui coreui](https://img.shields.io/badge/@coreui%20-coreui-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui)
7+
[![npm package][npm-coreui-badge]][npm-coreui]
8+
[![NPM downloads][npm-coreui-download]][npm-coreui]
9+
![angular](https://img.shields.io/badge/angular-^7.1.1-lightgrey.svg?style=flat-square)
10+
11+
[npm]: https://www.npmjs.com/package/@coreui/angular
12+
[npm-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
13+
[npm-coreui]: https://www.npmjs.com/package/@coreui/coreui
14+
[npm-coreui-badge]: https://img.shields.io/npm/v/@coreui/coreui.png?style=flat-square
15+
[npm-coreui-download]: https://img.shields.io/npm/dm/@coreui/coreui.svg?style=flat-square
16+
17+
> [@coreui/angular](https://coreui.io/angular) `v2` library project
18+
> for use with [CoreUI](https://coreui.io/angular/) `v2` Bootstrap Admin Template
19+
20+
## Installation
21+
```
22+
npm install @coreui/angular
23+
```
24+
25+
## Changelog
26+
27+
See the GitHub [release history](https://github.com/coreui/coreui-angular/releases).
28+
29+
## Contributing
30+
31+
See [CONTRIBUTING.md](https://github.com/coreui/coreui-angular/blob/master/CONTRIBUTING.md).

Diff for: projects/coreui/angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/angular",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "CoreUI Angular Bootstrap 4 components",
55
"license": "MIT",
66
"homepage": "https://coreui.io/angular",

Diff for: projects/coreui/angular/tsconfig.spec.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
]
99
},
1010
"files": [
11-
"src/test.ts"
11+
"src/test.ts",
12+
"../../../src/polyfills.ts"
1213
],
1314
"include": [
1415
"**/*.spec.ts",

Diff for: src/polyfills.ts

+19-19
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,26 @@
1919
*/
2020

2121
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
22-
// import 'core-js/es6/symbol';
23-
// import 'core-js/es6/object';
24-
// import 'core-js/es6/function';
25-
// import 'core-js/es6/parse-int';
26-
// import 'core-js/es6/parse-float';
27-
// import 'core-js/es6/number';
28-
// import 'core-js/es6/math';
29-
// import 'core-js/es6/string';
30-
// import 'core-js/es6/date';
31-
// import 'core-js/es6/array';
32-
// import 'core-js/es6/regexp';
33-
// import 'core-js/es6/map';
34-
// import 'core-js/es6/weak-map';
35-
// import 'core-js/es6/set';
22+
import 'core-js/es6/symbol';
23+
import 'core-js/es6/object';
24+
import 'core-js/es6/function';
25+
import 'core-js/es6/parse-int';
26+
import 'core-js/es6/parse-float';
27+
import 'core-js/es6/number';
28+
import 'core-js/es6/math';
29+
import 'core-js/es6/string';
30+
import 'core-js/es6/date';
31+
import 'core-js/es6/array';
32+
import 'core-js/es6/regexp';
33+
import 'core-js/es6/map';
34+
import 'core-js/es6/weak-map';
35+
import 'core-js/es6/set';
3636

3737
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
3838
// import 'classlist.js'; // Run `npm install --save classlist.js`.
3939

4040
/** IE10 and IE11 requires the following for the Reflect API. */
41-
// import 'core-js/es6/reflect';
41+
import 'core-js/es6/reflect';
4242

4343

4444
/** Evergreen browsers require these. **/
@@ -58,15 +58,15 @@
5858
* user can disable parts of macroTask/DomEvents patch by setting following flags
5959
*/
6060

61-
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
62-
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
63-
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
61+
(window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
62+
(window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
63+
(window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
6464

6565
/*
6666
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
6767
* with the following flag, it will bypass `zone.js` patch for IE/Edge
6868
*/
69-
// (window as any).__Zone_enable_cross_context_check = true;
69+
(window as any).__Zone_enable_cross_context_check = true;
7070

7171
/***************************************************************************************************
7272
* Zone JS is required by default for Angular itself.

0 commit comments

Comments
 (0)