Skip to content

Commit

Permalink
build: update to angular 17
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomo committed Mar 4, 2024
1 parent c2d78f0 commit f10f090
Show file tree
Hide file tree
Showing 7 changed files with 1,318 additions and 1,857 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# A list of available CircleCI Docker Convenience Images are available here: https://circleci.com/developer/images/image/cimg/node
docker:
- image: cimg/node:18.19-browsers
- image: cimg/node:20.11-browsers
# Then run your tests!
# CircleCI will report the results back to your VCS provider.
steps:
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ Angular multi-language module to display a cookie consent banner without other d

[![Open in Codeflow](https://developer.stackblitz.com/img/open_in_codeflow.svg)](https:///pr.new/github.com/giacomo/ngx-cookie-consent)

###### Works with Angular v14+
###### Works since Angular v14!
###### Available languages: English, German, Italian, Portuguese

## Versions
| Version | Angular Version |
|---------|-----------------|
| v1.1.0 | Angular v14 |
| v1.2.0 | Angular v15 |
| v1.3.0 | Angular v16 |
| Version | Angular Version |
|---------|------------------------------|
| v1.1.0 | Angular v14 (not maintained) |
| v1.2.0 | Angular v15 (not maintained) |
| v1.3.0 | Angular v16 (not maintained) |
| v2.0.0 | Angular v17 __*maintained*__ |


## Installation
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "library-workspace:build:production"
"buildTarget": "library-workspace:build:production"
},
"development": {
"browserTarget": "library-workspace:build:development"
"buildTarget": "library-workspace:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "library-workspace:build"
"buildTarget": "library-workspace:build"
}
},
"test": {
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,32 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^16.2.12",
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/forms": "^16.2.12",
"@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.3"
"@angular/animations": "^17.2.3",
"@angular/common": "^17.2.3",
"@angular/compiler": "^17.2.3",
"@angular/core": "^17.2.3",
"@angular/forms": "^17.2.3",
"@angular/platform-browser": "^17.2.3",
"@angular/platform-browser-dynamic": "^17.2.3",
"@angular/router": "^17.2.3",
"rxjs": "^7.4.0",
"tslib": "^2.6.2",
"zone.js": "~0.14.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.2.12",
"@angular/cli": "~16.2.12",
"@angular/compiler-cli": "^16.2.12",
"@angular-devkit/build-angular": "^17.2.2",
"@angular/cli": "~17.2.2",
"@angular/compiler-cli": "^17.2.3",
"@types/jasmine": "^5.1.4",
"@types/node": "18",
"@types/node": "^20.11.24",
"jasmine-core": "^5.1.2",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-spec-reporter": "^0.0.36",
"ng-packagr": "^16.2.3",
"typescript": "~4.9.5"
"ng-packagr": "^17.2.1",
"typescript": "~5.3.3"
}
}
11 changes: 10 additions & 1 deletion projects/ngx-cookie-consent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@ Angular multi-language module to display a cookie consent banner without other d

[![Open in Codeflow](https://developer.stackblitz.com/img/open_in_codeflow.svg)](https:///pr.new/github.com/giacomo/ngx-cookie-consent)

###### Works with Angular v14, v15
###### Works since Angular v14!
###### Available languages: English, German, Italian, Portuguese

## Versions
| Version | Angular Version |
|---------|------------------------------|
| v1.1.0 | Angular v14 (not maintained) |
| v1.2.0 | Angular v15 (not maintained) |
| v1.3.0 | Angular v16 (not maintained) |
| v2.0.0 | Angular v17 __*maintained*__ |


## Installation

### Install the package via npm:
Expand Down
12 changes: 6 additions & 6 deletions projects/ngx-cookie-consent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@localia/ngx-cookie-consent",
"version": "1.3.0",
"version": "2.0.0",
"description": "Angular module to display a cookie consent banner without other dependencies.",
"author": "Giacomo Barbalinardo <[email protected]>",
"license": "MIT",
Expand All @@ -25,11 +25,11 @@
"cookie-consent-banner"
],
"peerDependencies": {
"@angular/common": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/router": "^16.0.0",
"rxjs": "~7.5.0"
"@angular/common": "^17.0.0",
"@angular/core": "^17.0.0",
"@angular/forms": "^17.0.0",
"@angular/router": "^17.0.0",
"rxjs": "^7.4.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
Loading

0 comments on commit f10f090

Please sign in to comment.