Skip to content

Commit

Permalink
Angular 13
Browse files Browse the repository at this point in the history
  • Loading branch information
jornetsimon committed Nov 14, 2021
1 parent 0c44ba8 commit 9caf3a3
Show file tree
Hide file tree
Showing 9 changed files with 2,890 additions and 4,123 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-rough-notation-workspace",
"version": "1.2.3",
"version": "1.2.4",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand All @@ -14,28 +14,28 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^12.0.4",
"@angular/common": "^12.0.4",
"@angular/compiler": "^12.0.4",
"@angular/core": "^12.0.4",
"@angular/forms": "^12.0.4",
"@angular/platform-browser": "^12.0.4",
"@angular/platform-browser-dynamic": "^12.0.4",
"@angular/router": "^12.0.4",
"@angular/animations": "^13.0.1",
"@angular/common": "^13.0.1",
"@angular/compiler": "^13.0.1",
"@angular/core": "^13.0.1",
"@angular/forms": "^13.0.1",
"@angular/platform-browser": "^13.0.1",
"@angular/platform-browser-dynamic": "^13.0.1",
"@angular/router": "^13.0.1",
"rough-notation": "~0.5.1",
"rxjs": "~6.6.3",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~12.0.4",
"@angular-devkit/build-angular": "~13.0.2",
"@angular-eslint/builder": "12.1.0",
"@angular-eslint/eslint-plugin": "12.1.0",
"@angular-eslint/eslint-plugin-template": "12.1.0",
"@angular-eslint/schematics": "12.1.0",
"@angular-eslint/template-parser": "12.1.0",
"@angular/cli": "^12.0.4",
"@angular/compiler-cli": "^12.0.4",
"@angular/cli": "^13.0.2",
"@angular/compiler-cli": "^13.0.1",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.12.62",
Expand All @@ -50,10 +50,10 @@
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^12.0.5",
"ng-packagr": "^13.0.3",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "~4.2.4"
"typescript": "~4.4.4"
}
}
}
10 changes: 0 additions & 10 deletions projects/demo/src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@
* BROWSER POLYFILLS
*/

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

/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.

/**
* By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags
Expand Down
8 changes: 5 additions & 3 deletions projects/demo/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';

declare const require: {
Expand All @@ -17,7 +17,9 @@ declare const require: {
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
Expand Down
2 changes: 1 addition & 1 deletion projects/ng-rough-notation/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"lib": {
"entryFile": "src/public-api.ts"
},
"whitelistedNonPeerDependencies": ["rough-notation"]
"allowedNonPeerDependencies": ["rough-notation"]
}
2 changes: 1 addition & 1 deletion projects/ng-rough-notation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-rough-notation",
"version": "1.2.3",
"version": "1.2.4",
"description": "Angular directive wrapper for rough-notation",
"author": "Simon Jornet",
"keywords": [
Expand Down
4 changes: 3 additions & 1 deletion projects/ng-rough-notation/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ declare const require: {
};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
});
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
Expand Down
2 changes: 1 addition & 1 deletion projects/ng-rough-notation/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}
Loading

0 comments on commit 9caf3a3

Please sign in to comment.