Skip to content

Commit

Permalink
Merge pull request #53 from Heatmanofurioso/feature/52-update-depende…
Browse files Browse the repository at this point in the history
…ncies-to-angular-16

[Feature] | Update to Angular 16
  • Loading branch information
Heatmanofurioso authored May 8, 2023
2 parents 01f3152 + b0ba90f commit 45cba9a
Show file tree
Hide file tree
Showing 8 changed files with 2,919 additions and 1,779 deletions.
230 changes: 115 additions & 115 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,118 +1,118 @@
{
"root": true,
"ignorePatterns": [
"!**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"src/tsconfig.app.json"
],
"createDefaultProgram": true
"root": true,
"ignorePatterns": [
"!**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"src/tsconfig.app.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:@angular-eslint/recommended--extra"
],
"rules": {
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"error"
],
"prefer-arrow/prefer-arrow-functions": [
"warn",
{
"disallowPrototype": true,
"singleReturnOnly": false,
"classPropertiesAllowed": false
}
],
"@angular-eslint/directive-selector": [
"warn",
{
"type": "attribute",
"prefix": "app",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"warn",
{
"type": "element",
"prefix": "",
"style": "kebab-case"
}
],
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "variable",
"format": [
"camelCase"
]
}
],
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"String": false,
"Boolean": false,
"Number": false,
"Symbol": false,
"{}": false,
"Object": false,
"object": false,
"Function": false
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:@angular-eslint/recommended--extra"
],
"rules": {
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"error"
],
"prefer-arrow/prefer-arrow-functions": [
"warn",
{
"disallowPrototype": true,
"singleReturnOnly": false,
"classPropertiesAllowed": false
}
],
"@angular-eslint/directive-selector": [
"warn",
{
"type": "attribute",
"prefix": "app",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"warn",
{
"type": "element",
"prefix": "",
"style": "kebab-case"
}
],
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "variable",
"format": [
"camelCase"
]
}
],
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"String": false,
"Boolean": false,
"Number": false,
"Symbol": false,
"{}": false,
"Object": false,
"object": false,
"Function": false
},
"extendDefaults": true
}
],
"@typescript-eslint/no-use-before-define": "error",
"brace-style": [
"error",
"1tbs"
],
"id-blacklist": "off",
"id-match": "off",
"max-len": [
"error",
{
"code": 240
}
],
"no-underscore-dangle": "off"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {
"@angular-eslint/template/eqeqeq": [
"error",
{
"allowNullOrUndefined": true
}
]
}
}
]
"extendDefaults": true
}
],
"@typescript-eslint/no-use-before-define": "error",
"brace-style": [
"error",
"1tbs"
],
"id-blacklist": "off",
"id-match": "off",
"max-len": [
"error",
{
"code": 240
}
],
"no-underscore-dangle": "off"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {
"@angular-eslint/template/eqeqeq": [
"error",
{
"allowNullOrUndefined": true
}
]
}
}
]
}
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.0]
- Migrate to Angular V16

## [1.5.0]
- Migrate to Angular V15

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ export class AppModule { }
```

## Release Notes & History
* 1.6.0: Migrate to Angular V16
* 1.5.0: Migrate to Angular V15
* 1.4.0: Migrate to Angular V14
* 1.3.2: Add referrerpolicy configuration to img tag. Update dependencies. Remove codelyzer.
Expand Down
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,56 +20,56 @@
"build": "ng build --configuration production",
"build-lib": "ng build ngx-avatars --configuration production",
"postbuild": "node scripts/copy-artifacts.js",
"postinstall": "ngcc && husky install",
"postinstall": "husky install",
"deploy": "cd dist/ngx-avatars && npm publish",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": false,
"dependencies": {
"@angular/animations": "^15.0.4",
"@angular/common": "^15.0.4",
"@angular/compiler": "^15.0.4",
"@angular/core": "^15.0.4",
"@angular/forms": "^15.0.4",
"@angular/platform-browser": "^15.0.4",
"@angular/platform-browser-dynamic": "^15.0.4",
"@angular/router": "^15.0.4",
"rxjs": "^7.8.0",
"@angular/animations": "^16.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/router": "^16.0.0",
"rxjs": "^7.8.1",
"ts-md5": "^1.3.1",
"tslib": "^2.4.1",
"zone.js": "~0.12.0"
"tslib": "^2.5.0",
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-builders/jest": "15.0.0",
"@angular-devkit/build-angular": "^15.0.4",
"@angular-devkit/build-angular": "^16.0.0",
"@angular-devkit/build-ng-packagr": "^0.1002.0",
"@angular-eslint/builder": "15.1.0",
"@angular-eslint/eslint-plugin": "15.1.0",
"@angular-eslint/eslint-plugin-template": "15.1.0",
"@angular-eslint/schematics": "15.1.0",
"@angular-eslint/template-parser": "15.1.0",
"@angular/cli": "^15.0.4",
"@angular/compiler-cli": "^15.0.4",
"@angular/language-service": "^15.0.4",
"@angular-eslint/builder": "16.0.1",
"@angular-eslint/eslint-plugin": "16.0.1",
"@angular-eslint/eslint-plugin-template": "16.0.1",
"@angular-eslint/schematics": "16.0.1",
"@angular-eslint/template-parser": "16.0.1",
"@angular/cli": "^16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@angular/language-service": "^16.0.0",
"@testing-library/jest-dom": "5.16.5",
"@types/jest": "29.2.4",
"@types/node": "^18.11.17",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"eslint": "^8.30.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsdoc": "39.6.4",
"@types/jest": "29.5.1",
"@types/node": "^20.1.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsdoc": "44.0.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"husky": "^8.0.2",
"jest": "29.3.1",
"jest-preset-angular": "12.2.3",
"ng-packagr": "^15.0.3",
"husky": "^8.0.3",
"jest": "29.5.0",
"jest-preset-angular": "13.1.0",
"ng-packagr": "^16.0.0",
"protractor": "~7.0.0",
"ts-jest": "29.0.3",
"ts-jest": "29.1.0",
"ts-node": "~10.9.1",
"typescript": "~4.8.4"
"typescript": "~5.0.4"
},
"jest": {
"preset": "jest-preset-angular",
Expand All @@ -91,4 +91,4 @@
}
}
}
}
}
8 changes: 4 additions & 4 deletions projects/ngx-avatars/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngx-avatars",
"description": "A universal avatar component for Angular applications that fetches / generates avatar based on the information you have about the user.",
"version": "1.5.0",
"version": "1.6.0",
"keywords": [
"angular",
"avatar",
Expand All @@ -24,10 +24,10 @@
"sideEffects": false,
"dependencies": {
"ts-md5": "^1.3.1",
"tslib": "^2.4.0"
"tslib": "^2.5.0"
},
"peerDependencies": {
"@angular/common": "^15.0.0",
"@angular/core": "^15.0.0"
"@angular/common": "^16.0.0",
"@angular/core": "^16.0.0"
}
}
6 changes: 3 additions & 3 deletions projects/ngx-avatars/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"target": "es2020",
"module": "es2020",
"target": "es2022",
"module": "es2022",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
Expand All @@ -15,7 +15,7 @@
"types": [],
"lib": [
"dom",
"es2020"
"es2022"
]
},
"angularCompilerOptions": {
Expand Down
Loading

0 comments on commit 45cba9a

Please sign in to comment.