From 252a818feb9de737a83e03ec9e9cf5b0a7141719 Mon Sep 17 00:00:00 2001 From: elvirus Date: Tue, 14 Jun 2022 18:23:28 +0200 Subject: [PATCH 01/11] fixed wrong dependencies --- angular.json | 2 +- package.json | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/angular.json b/angular.json index 1a015e8..ad90e69 100644 --- a/angular.json +++ b/angular.json @@ -149,6 +149,6 @@ } }, "cli": { - "packageManager": "yarn" + "packageManager": "npm" } } diff --git a/package.json b/package.json index 315276e..47aa885 100644 --- a/package.json +++ b/package.json @@ -51,16 +51,16 @@ "peerDependencies": {}, "devDependencies": { "@angular-devkit/build-angular": "~0.1000.4", - "@angular/animations": "10.0.5", + "@angular/animations": "10.1.0", "@angular/cli": "10.0.4", - "@angular/common": "10.0.5", - "@angular/compiler": "10.0.5", - "@angular/compiler-cli": "10.0.5", - "@angular/core": "10.0.5", - "@angular/platform-browser": "10.0.5", - "@angular/platform-browser-dynamic": "10.0.5", - "@angular/platform-server": "10.0.5", - "@nguniversal/express-engine": "^10.0.1", + "@angular/common": "10.1.0", + "@angular/compiler": "10.1.0", + "@angular/compiler-cli": "10.1.0", + "@angular/core": "10.1.0", + "@angular/platform-browser": "10.1.0", + "@angular/platform-browser-dynamic": "10.1.0", + "@angular/platform-server": "10.1.0", + "@nguniversal/express-engine": "^10.1.0", "@thisissoon/schematics": "^1.0.0-alpha.17", "@types/jasmine": "^3.5.11", "@types/jasminewd2": "~2.0.2", From e65fc0f6d7de6e8c7dd9a97219ca3e592ee54623 Mon Sep 17 00:00:00 2001 From: elvirus Date: Tue, 14 Jun 2022 18:27:11 +0200 Subject: [PATCH 02/11] updated to angular 11 --- angular.json | 1 - e2e/tsconfig.e2e.json | 2 +- package.json | 36 ++++++++++++++++++------------------ src/tsconfig.app.json | 2 +- src/tsconfig.spec.json | 2 +- tsconfig.base.json | 15 --------------- tsconfig.json | 33 ++++++++++++++------------------- 7 files changed, 35 insertions(+), 56 deletions(-) delete mode 100644 tsconfig.base.json diff --git a/angular.json b/angular.json index ad90e69..e871605 100644 --- a/angular.json +++ b/angular.json @@ -33,7 +33,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, "aot": true, "extractLicenses": true, diff --git a/e2e/tsconfig.e2e.json b/e2e/tsconfig.e2e.json index 8cc9c0d..1d9e5ed 100644 --- a/e2e/tsconfig.e2e.json +++ b/e2e/tsconfig.e2e.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.base.json", + "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/e2e", "baseUrl": "./", diff --git a/package.json b/package.json index 47aa885..36176b7 100644 --- a/package.json +++ b/package.json @@ -50,19 +50,19 @@ "private": false, "peerDependencies": {}, "devDependencies": { - "@angular-devkit/build-angular": "~0.1000.4", - "@angular/animations": "10.1.0", - "@angular/cli": "10.0.4", - "@angular/common": "10.1.0", - "@angular/compiler": "10.1.0", - "@angular/compiler-cli": "10.1.0", - "@angular/core": "10.1.0", - "@angular/platform-browser": "10.1.0", - "@angular/platform-browser-dynamic": "10.1.0", - "@angular/platform-server": "10.1.0", - "@nguniversal/express-engine": "^10.1.0", + "@angular-devkit/build-angular": "~0.1102.19", + "@angular/animations": "11.2.14", + "@angular/cli": "11.2.19", + "@angular/common": "11.2.14", + "@angular/compiler": "11.2.14", + "@angular/compiler-cli": "11.2.14", + "@angular/core": "11.2.14", + "@angular/platform-browser": "11.2.14", + "@angular/platform-browser-dynamic": "11.2.14", + "@angular/platform-server": "11.2.14", + "@nguniversal/express-engine": "^11.2.1", "@thisissoon/schematics": "^1.0.0-alpha.17", - "@types/jasmine": "^3.5.11", + "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.2", "@types/node": "^14.0.25", "codelyzer": "^6.0.0", @@ -72,17 +72,17 @@ "express": "^4.16.3", "husky": "^4.2.5", "intersection-observer": "^0.11.0", - "jasmine-core": "^3.6.0", + "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", - "karma": "~5.1.0", + "karma": "~6.4.0", "karma-chrome-launcher": "~3.1.0", "karma-cli": "^2.0.0", "karma-coverage-istanbul-reporter": "~3.0.2", - "karma-jasmine": "~3.3.0", + "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "karma-mocha-reporter": "^2.2.5", "lint-staged": "^10.2.11", - "ng-packagr": "^10.0.0", + "ng-packagr": "^11.2.4", "prettier": "^2.0.5", "protractor": "^7.0.0", "rxjs": "^6.6.0", @@ -97,7 +97,7 @@ "ts-node": "^8.10.2", "tslint": "~6.1.0", "tslint-config-prettier": "^1.16.0", - "typescript": "~3.9.7", + "typescript": "~4.1.6", "zone.js": "~0.10.3" }, "config": { @@ -133,4 +133,4 @@ "dependencies": { "tslib": "^2.0.0" } -} +} \ No newline at end of file diff --git a/src/tsconfig.app.json b/src/tsconfig.app.json index 58f696d..bc2ba40 100644 --- a/src/tsconfig.app.json +++ b/src/tsconfig.app.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.base.json", + "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/app", "baseUrl": "./", diff --git a/src/tsconfig.spec.json b/src/tsconfig.spec.json index 26b4523..879cc84 100644 --- a/src/tsconfig.spec.json +++ b/src/tsconfig.spec.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.base.json", + "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/spec", "baseUrl": "./", diff --git a/tsconfig.base.json b/tsconfig.base.json deleted file mode 100644 index 3991c28..0000000 --- a/tsconfig.base.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "module": "es2020", - "outDir": "./dist/out-tsc", - "sourceMap": true, - "declaration": false, - "moduleResolution": "node", - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "target": "es5", - "typeRoots": ["node_modules/@types"], - "lib": ["es2017", "dom"] - } -} diff --git a/tsconfig.json b/tsconfig.json index c87d836..3991c28 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,20 +1,15 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "files": [], - "references": [ - { - "path": "./src/tsconfig.app.json" - }, - { - "path": "./src/tsconfig.spec.json" - }, - { - "path": "./src/tsconfig.server.json" - } - ] -} \ No newline at end of file + "compileOnSave": false, + "compilerOptions": { + "module": "es2020", + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, + "moduleResolution": "node", + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "target": "es5", + "typeRoots": ["node_modules/@types"], + "lib": ["es2017", "dom"] + } +} From 8c0f292d3d28978c1b3e486c7f9192b04b730ffa Mon Sep 17 00:00:00 2001 From: elvirus Date: Tue, 14 Jun 2022 18:34:10 +0200 Subject: [PATCH 03/11] updated package.json for angular 12 --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 36176b7..5ca3752 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@angular/platform-server": "11.2.14", "@nguniversal/express-engine": "^11.2.1", "@thisissoon/schematics": "^1.0.0-alpha.17", - "@types/jasmine": "~3.6.0", + "@types/jasmine": "~3.8.0", "@types/jasminewd2": "~2.0.2", "@types/node": "^14.0.25", "codelyzer": "^6.0.0", @@ -72,7 +72,7 @@ "express": "^4.16.3", "husky": "^4.2.5", "intersection-observer": "^0.11.0", - "jasmine-core": "~3.6.0", + "jasmine-core": "~3.8.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.4.0", "karma-chrome-launcher": "~3.1.0", @@ -133,4 +133,4 @@ "dependencies": { "tslib": "^2.0.0" } -} \ No newline at end of file +} From 5d0a2b5bd002834e169ec794e92bbb8084b9b875 Mon Sep 17 00:00:00 2001 From: elvirus Date: Tue, 14 Jun 2022 18:38:22 +0200 Subject: [PATCH 04/11] updated to angular 12 --- angular.json | 20 ++++++++++++++------ package.json | 32 ++++++++++++++++---------------- server.ts | 2 +- src/polyfills.ts | 2 +- tsconfig.json | 1 - 5 files changed, 32 insertions(+), 25 deletions(-) diff --git a/angular.json b/angular.json index e871605..1573e60 100644 --- a/angular.json +++ b/angular.json @@ -11,7 +11,6 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "aot": true, "outputPath": "dist/angular-inviewport", "index": "src/index.html", "main": "src/main.ts", @@ -20,7 +19,13 @@ "assets": ["src/assets", "src/favicon.ico"], "styles": ["src/styles.scss"], "scripts": [], - "progress": false + "progress": false, + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true }, "configurations": { "production": { @@ -34,7 +39,6 @@ "outputHashing": "all", "sourceMap": false, "namedChunks": false, - "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true, @@ -54,7 +58,8 @@ ], "progress": false } - } + }, + "defaultConfiguration": "" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", @@ -110,8 +115,11 @@ "options": { "outputPath": "dist/angular-inviewport-server", "main": "src/main.server.ts", - "tsConfig": "src/tsconfig.server.json" - } + "tsConfig": "src/tsconfig.server.json", + "sourceMap": true, + "optimization": false + }, + "defaultConfiguration": "" } } }, diff --git a/package.json b/package.json index 5ca3752..e2eb52a 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "packagr": "ng-packagr -p package.json", "build:ssr": "npm run build:client-and-server-bundles && npm run webpack:server", "serve:ssr": "node dist/server.js", - "build:client-and-server-bundles": "ng build --prod && ng run angular-inviewport:server", + "build:client-and-server-bundles": "ng build --configuration production && ng run angular-inviewport:server", "webpack:server": "webpack --config webpack.server.js --progress --colors", "release": "standard-version", "postrelease": "npm run packagr" @@ -50,17 +50,17 @@ "private": false, "peerDependencies": {}, "devDependencies": { - "@angular-devkit/build-angular": "~0.1102.19", - "@angular/animations": "11.2.14", - "@angular/cli": "11.2.19", - "@angular/common": "11.2.14", - "@angular/compiler": "11.2.14", - "@angular/compiler-cli": "11.2.14", - "@angular/core": "11.2.14", - "@angular/platform-browser": "11.2.14", - "@angular/platform-browser-dynamic": "11.2.14", - "@angular/platform-server": "11.2.14", - "@nguniversal/express-engine": "^11.2.1", + "@angular-devkit/build-angular": "~12.2.17", + "@angular/animations": "12.2.16", + "@angular/cli": "12.2.17", + "@angular/common": "12.2.16", + "@angular/compiler": "12.2.16", + "@angular/compiler-cli": "12.2.16", + "@angular/core": "12.2.16", + "@angular/platform-browser": "12.2.16", + "@angular/platform-browser-dynamic": "12.2.16", + "@angular/platform-server": "12.2.16", + "@nguniversal/express-engine": "^12.1.3", "@thisissoon/schematics": "^1.0.0-alpha.17", "@types/jasmine": "~3.8.0", "@types/jasminewd2": "~2.0.2", @@ -82,7 +82,7 @@ "karma-jasmine-html-reporter": "^1.5.0", "karma-mocha-reporter": "^2.2.5", "lint-staged": "^10.2.11", - "ng-packagr": "^11.2.4", + "ng-packagr": "^12.2.7", "prettier": "^2.0.5", "protractor": "^7.0.0", "rxjs": "^6.6.0", @@ -97,8 +97,8 @@ "ts-node": "^8.10.2", "tslint": "~6.1.0", "tslint-config-prettier": "^1.16.0", - "typescript": "~4.1.6", - "zone.js": "~0.10.3" + "typescript": "~4.3.5", + "zone.js": "~0.11.4" }, "config": { "commitizen": { @@ -133,4 +133,4 @@ "dependencies": { "tslib": "^2.0.0" } -} +} \ No newline at end of file diff --git a/server.ts b/server.ts index b2fb558..6644d59 100644 --- a/server.ts +++ b/server.ts @@ -1,4 +1,4 @@ -import 'zone.js/dist/zone-node'; +import 'zone.js/node'; import 'reflect-metadata'; import { enableProdMode } from '@angular/core'; diff --git a/src/polyfills.ts b/src/polyfills.ts index e752a9a..ed62793 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -52,7 +52,7 @@ import 'core-js/es/set'; /*************************************************************************************************** * Zone JS is required by Angular itself. */ -import 'zone.js/dist/zone'; // Included with Angular CLI. +import 'zone.js'; // Included with Angular CLI. /*************************************************************************************************** * APPLICATION IMPORTS diff --git a/tsconfig.json b/tsconfig.json index 3991c28..30bda24 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,6 @@ "sourceMap": true, "declaration": false, "moduleResolution": "node", - "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "es5", "typeRoots": ["node_modules/@types"], From c8c06b3dd2a36bd65a41687f0b64e3f5497f79c4 Mon Sep 17 00:00:00 2001 From: elvirus Date: Wed, 15 Jun 2022 01:59:06 +0200 Subject: [PATCH 05/11] updated to angular 13 --- .gitignore | 1 + angular.json | 14 -------------- package.json | 26 +++++++++++++------------- src/polyfills.ts | 9 --------- src/test.ts | 5 ++++- 5 files changed, 18 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 6a18b88..16aa23a 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ !.vscode/extensions.json # misc +/.angular/cache /.sass-cache /connect.lock /coverage diff --git a/angular.json b/angular.json index 1573e60..780d470 100644 --- a/angular.json +++ b/angular.json @@ -103,13 +103,6 @@ } } }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"], - "exclude": ["**/node_modules/**"] - } - }, "server": { "builder": "@angular-devkit/build-angular:server", "options": { @@ -134,13 +127,6 @@ "protractorConfig": "e2e/protractor.conf.js", "devServerTarget": "angular-inviewport:serve:no-progress" } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": ["e2e/tsconfig.e2e.json"], - "exclude": ["**/node_modules/**"] - } } } } diff --git a/package.json b/package.json index e2eb52a..d809811 100644 --- a/package.json +++ b/package.json @@ -50,17 +50,17 @@ "private": false, "peerDependencies": {}, "devDependencies": { - "@angular-devkit/build-angular": "~12.2.17", - "@angular/animations": "12.2.16", - "@angular/cli": "12.2.17", - "@angular/common": "12.2.16", - "@angular/compiler": "12.2.16", - "@angular/compiler-cli": "12.2.16", - "@angular/core": "12.2.16", - "@angular/platform-browser": "12.2.16", - "@angular/platform-browser-dynamic": "12.2.16", - "@angular/platform-server": "12.2.16", - "@nguniversal/express-engine": "^12.1.3", + "@angular-devkit/build-angular": "~13.3.7", + "@angular/animations": "13.3.11", + "@angular/cli": "13.3.7", + "@angular/common": "13.3.11", + "@angular/compiler": "13.3.11", + "@angular/compiler-cli": "13.3.11", + "@angular/core": "13.3.11", + "@angular/platform-browser": "13.3.11", + "@angular/platform-browser-dynamic": "13.3.11", + "@angular/platform-server": "13.3.11", + "@nguniversal/express-engine": "^13.1.1", "@thisissoon/schematics": "^1.0.0-alpha.17", "@types/jasmine": "~3.8.0", "@types/jasminewd2": "~2.0.2", @@ -82,7 +82,7 @@ "karma-jasmine-html-reporter": "^1.5.0", "karma-mocha-reporter": "^2.2.5", "lint-staged": "^10.2.11", - "ng-packagr": "^12.2.7", + "ng-packagr": "^13.3.1", "prettier": "^2.0.5", "protractor": "^7.0.0", "rxjs": "^6.6.0", @@ -97,7 +97,7 @@ "ts-node": "^8.10.2", "tslint": "~6.1.0", "tslint-config-prettier": "^1.16.0", - "typescript": "~4.3.5", + "typescript": "~4.6.4", "zone.js": "~0.11.4" }, "config": { diff --git a/src/polyfills.ts b/src/polyfills.ts index ed62793..7ddecee 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -34,21 +34,12 @@ import 'core-js/es/map'; import 'core-js/es/weak-map'; import 'core-js/es/set'; -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. - /** IE10 and IE11 requires the following for the Reflect API. */ // import 'core-js/es/reflect'; /** Evergreen browsers require these. **/ // Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove. -/** - * Required to support Web Animations `@angular/platform-browser/animations`. - * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation - **/ -// import 'web-animations-js'; // Run `npm install --save web-animations-js`. - /*************************************************************************************************** * Zone JS is required by Angular itself. */ diff --git a/src/test.ts b/src/test.ts index ce104e0..4f17128 100644 --- a/src/test.ts +++ b/src/test.ts @@ -22,7 +22,10 @@ __karma__.loaded = function () {}; // 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$/); From f4457b9cf75bb37a63814e30a77b68c8b73a5af7 Mon Sep 17 00:00:00 2001 From: elvirus Date: Wed, 15 Jun 2022 02:00:46 +0200 Subject: [PATCH 06/11] updated to angular 14 --- angular.json | 1 - package.json | 24 ++++++++++++------------ src/tsconfig.spec.json | 2 +- tsconfig.json | 2 +- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/angular.json b/angular.json index 780d470..ae5b209 100644 --- a/angular.json +++ b/angular.json @@ -131,7 +131,6 @@ } } }, - "defaultProject": "angular-inviewport", "schematics": { "@schematics/angular:component": { "prefix": "sn", diff --git a/package.json b/package.json index d809811..4df4003 100644 --- a/package.json +++ b/package.json @@ -50,17 +50,17 @@ "private": false, "peerDependencies": {}, "devDependencies": { - "@angular-devkit/build-angular": "~13.3.7", - "@angular/animations": "13.3.11", - "@angular/cli": "13.3.7", - "@angular/common": "13.3.11", - "@angular/compiler": "13.3.11", - "@angular/compiler-cli": "13.3.11", - "@angular/core": "13.3.11", - "@angular/platform-browser": "13.3.11", - "@angular/platform-browser-dynamic": "13.3.11", - "@angular/platform-server": "13.3.11", - "@nguniversal/express-engine": "^13.1.1", + "@angular-devkit/build-angular": "^14.0.1", + "@angular/animations": "14.0.1", + "@angular/cli": "14.0.1", + "@angular/common": "14.0.1", + "@angular/compiler": "14.0.1", + "@angular/compiler-cli": "14.0.1", + "@angular/core": "14.0.1", + "@angular/platform-browser": "14.0.1", + "@angular/platform-browser-dynamic": "14.0.1", + "@angular/platform-server": "14.0.1", + "@nguniversal/express-engine": "^14.0.0", "@thisissoon/schematics": "^1.0.0-alpha.17", "@types/jasmine": "~3.8.0", "@types/jasminewd2": "~2.0.2", @@ -82,7 +82,7 @@ "karma-jasmine-html-reporter": "^1.5.0", "karma-mocha-reporter": "^2.2.5", "lint-staged": "^10.2.11", - "ng-packagr": "^13.3.1", + "ng-packagr": "^14.0.2", "prettier": "^2.0.5", "protractor": "^7.0.0", "rxjs": "^6.6.0", diff --git a/src/tsconfig.spec.json b/src/tsconfig.spec.json index 879cc84..ad1ff5d 100644 --- a/src/tsconfig.spec.json +++ b/src/tsconfig.spec.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "../out-tsc/spec", "baseUrl": "./", - "target": "es5", + "target": "es2020", "types": ["jasmine", "node"] }, "files": ["test.ts", "polyfills.ts"], diff --git a/tsconfig.json b/tsconfig.json index 30bda24..21b0c3c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "declaration": false, "moduleResolution": "node", "experimentalDecorators": true, - "target": "es5", + "target": "es2020", "typeRoots": ["node_modules/@types"], "lib": ["es2017", "dom"] } From 0b3719eefba4a0efed6788be3cc73530a04b813a Mon Sep 17 00:00:00 2001 From: elvirus Date: Wed, 15 Jun 2022 02:01:45 +0200 Subject: [PATCH 07/11] chore(release): 5.0.0 --- CHANGELOG.md | 17 ++++++++++++++++- package.json | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 878778c..c67867b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,22 @@ -# Change Log +# 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.0.0](https://github.com/thisissoon/angular-inviewport/compare/v4.2.2...v5.0.0) (2022-06-15) + + +### ⚠ BREAKING CHANGES + +* requires Angular v10 + +### Bug Fixes + +* **@nguniversal/module-map-ngfactory-loader:** remove module-map-ngfactory-loader (deprecated) ([30e6a57](https://github.com/thisissoon/angular-inviewport/commit/30e6a570bf8858f10fa2cc0c711f1e94487ebfa9)) +* **package.json:** update package versions to go along with Angular v10 upgrade ([ea3b739](https://github.com/thisissoon/angular-inviewport/commit/ea3b739fbd327579c942511ae6f71a108e83a412)), closes [#41](https://github.com/thisissoon/angular-inviewport/issues/41) +* **polyfills,lock file:** update polyfills to use proper references; rebuild lock file ([ef09fe0](https://github.com/thisissoon/angular-inviewport/commit/ef09fe0490d9247022ef9e379daa0a6d7e860934)), closes [#41](https://github.com/thisissoon/angular-inviewport/issues/41) +* update packages for audit issues ([2e8e7f5](https://github.com/thisissoon/angular-inviewport/commit/2e8e7f5e1d580cc0555e613289c838c3e6a9fbf0)), closes [#41](https://github.com/thisissoon/angular-inviewport/issues/41) +* Upgrade to Angular v10 ([3e5b1ca](https://github.com/thisissoon/angular-inviewport/commit/3e5b1ca233d0d55d5865125c6ce6ac8afafae679)) + ## [4.2.2](https://github.com/thisissoon/angular-inviewport/compare/v4.2.1...v4.2.2) (2020-02-03) diff --git a/package.json b/package.json index 4df4003..d89d64b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@thisissoon/angular-inviewport", - "version": "4.2.2", + "version": "5.0.0", "description": "A simple lightweight library for Angular that detects when an element is within the browser viewport and adds a sn-viewport--in or sn-viewport--out class to the element.", "keywords": [ "angular", @@ -133,4 +133,4 @@ "dependencies": { "tslib": "^2.0.0" } -} \ No newline at end of file +} From 9dd237ccc109f4b7c9587399b78f0dec753f1e77 Mon Sep 17 00:00:00 2001 From: elvirus Date: Wed, 15 Jun 2022 02:05:35 +0200 Subject: [PATCH 08/11] chore(release): 5.0.1 --- CHANGELOG.md | 2 ++ package.json | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c67867b..438e72f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ 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.0.1](https://github.com/thisissoon/angular-inviewport/compare/v5.0.0...v5.0.1) (2022-06-15) + ## [5.0.0](https://github.com/thisissoon/angular-inviewport/compare/v4.2.2...v5.0.0) (2022-06-15) diff --git a/package.json b/package.json index d89d64b..5c5b1f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,5 @@ { - "name": "@thisissoon/angular-inviewport", - "version": "5.0.0", + "version": "5.0.1", "description": "A simple lightweight library for Angular that detects when an element is within the browser viewport and adds a sn-viewport--in or sn-viewport--out class to the element.", "keywords": [ "angular", From 2959be51f1f40fe01bb49d61b4aab4b7096da003 Mon Sep 17 00:00:00 2001 From: elvirus Date: Wed, 15 Jun 2022 02:07:15 +0200 Subject: [PATCH 09/11] version 4.3.0 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5c5b1f5..9bb2400 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { - "version": "5.0.1", + "name": "@thisissoon/angular-inviewport", + "version": "4.3.0", "description": "A simple lightweight library for Angular that detects when an element is within the browser viewport and adds a sn-viewport--in or sn-viewport--out class to the element.", "keywords": [ "angular", From 35e544e4854a536a0dddab24d730b1be1ff89be8 Mon Sep 17 00:00:00 2001 From: elvirus Date: Wed, 15 Jun 2022 02:14:10 +0200 Subject: [PATCH 10/11] version 5.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9bb2400..171b3fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@thisissoon/angular-inviewport", - "version": "4.3.0", + "version": "5.0.1", "description": "A simple lightweight library for Angular that detects when an element is within the browser viewport and adds a sn-viewport--in or sn-viewport--out class to the element.", "keywords": [ "angular", From 047413ed3d8c3a9c5ec7403daa02d90a6db3784c Mon Sep 17 00:00:00 2001 From: elvirus Date: Wed, 15 Jun 2022 02:56:16 +0200 Subject: [PATCH 11/11] final version 5.0.2 --- ng-package.json | 6 ++++++ package.json | 10 ++-------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 ng-package.json diff --git a/ng-package.json b/ng-package.json new file mode 100644 index 0000000..827d8be --- /dev/null +++ b/ng-package.json @@ -0,0 +1,6 @@ +{ + "$schema": "./node_modules/ng-packagr/ng-package.schema.json", + "lib": { + "entryFile": "src/index.ts" + } +} diff --git a/package.json b/package.json index 171b3fb..e301175 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@thisissoon/angular-inviewport", - "version": "5.0.1", + "name": "@elvirus/angular-inviewport", + "version": "5.0.2", "description": "A simple lightweight library for Angular that detects when an element is within the browser viewport and adds a sn-viewport--in or sn-viewport--out class to the element.", "keywords": [ "angular", @@ -105,12 +105,6 @@ "path": "./node_modules/cz-conventional-changelog" } }, - "ngPackage": { - "$schema": "./node_modules/ng-packagr/ng-package.schema.json", - "lib": { - "entryFile": "src/index.ts" - } - }, "husky": { "hooks": { "pre-commit": "lint-staged"