Skip to content

Commit

Permalink
Merge pull request #20 from giacomo/angular-18
Browse files Browse the repository at this point in the history
release: angular 18 update
  • Loading branch information
giacomo committed Jul 19, 2024
2 parents 20c9325 + 1c187db commit 32f780a
Show file tree
Hide file tree
Showing 7 changed files with 2,623 additions and 1,964 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,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 since Angular v14!
###### Available languages: English, German, Italian, Portuguese, Francais
###### Available languages: English, German, Italian, Portuguese, Francais and custom language ready.

## 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*__ |
| v2.0.0 | Angular v17 (not maintained) |
| v3.0.0+ | Angular v18 __*maintained*__ |


## Installation
Expand Down
16 changes: 9 additions & 7 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/library-workspace",
"outputPath": {
"base": "dist/library-workspace"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand All @@ -30,7 +33,8 @@
"styles": [
"src/styles.scss"
],
"scripts": []
"scripts": [],
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -55,9 +59,7 @@
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@
},
"private": true,
"dependencies": {
"@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",
"@angular/animations": "^18.1.1",
"@angular/common": "^18.1.1",
"@angular/compiler": "^18.1.1",
"@angular/core": "^18.1.1",
"@angular/forms": "^18.1.1",
"@angular/platform-browser": "^18.1.1",
"@angular/platform-browser-dynamic": "^18.1.1",
"@angular/router": "^18.1.1",
"rxjs": "^7.4.0",
"tslib": "^2.6.2",
"zone.js": "~0.14.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.2.2",
"@angular/cli": "~17.2.2",
"@angular/compiler-cli": "^17.2.3",
"@angular-devkit/build-angular": "^18.1.1",
"@angular/cli": "~18.1.1",
"@angular/compiler-cli": "^18.1.1",
"@types/jasmine": "^5.1.4",
"@types/node": "^20.11.24",
"jasmine-core": "^5.1.2",
Expand All @@ -35,8 +35,8 @@
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-spec-reporter": "^0.0.36",
"ng-packagr": "^17.2.1",
"typescript": "~5.3.3"
"ng-packagr": "^18.1.0",
"typescript": "~5.5.3"
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}
5 changes: 3 additions & 2 deletions projects/ngx-cookie-consent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,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 since Angular v14!
###### Available languages: English, German, Italian, Portuguese, Francais
###### Available languages: English, German, Italian, Portuguese, Francais and custom language ready.

## 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*__ |
| v2.0.0 | Angular v17 (not maintained) |
| v3.0.0+ | Angular v18 __*maintained*__ |


## Installation
Expand Down
10 changes: 5 additions & 5 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": "2.3.0",
"version": "3.0.0",
"description": "Angular module to display a cookie consent banner without other dependencies.",
"author": "Giacomo Barbalinardo <me@giacomo.dev>",
"license": "MIT",
Expand All @@ -25,10 +25,10 @@
"cookie-consent-banner"
],
"peerDependencies": {
"@angular/common": "^17.0.0",
"@angular/core": "^17.0.0",
"@angular/forms": "^17.0.0",
"@angular/router": "^17.0.0",
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/forms": "^18.0.0",
"@angular/router": "^18.0.0",
"rxjs": "^7.4.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
Expand All @@ -17,7 +18,6 @@
]
},
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
Expand Down
Loading

0 comments on commit 32f780a

Please sign in to comment.