Skip to content

Commit

Permalink
feat: upgrade angular 18 and bootstrap italia
Browse files Browse the repository at this point in the history
BREAKING CHANGE: support Angular 18
Closes: #361
  • Loading branch information
AntoninoBonanno authored and astagi committed Jul 18, 2024
1 parent 8531c15 commit 4cb98e7
Show file tree
Hide file tree
Showing 14 changed files with 6,938 additions and 5,492 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers-contrib/features/angular-cli:2": {
"version": "17.1.2"
"version": "18.0.7"
},
"ghcr.io/devcontainers-contrib/features/cz-cli:1": {}
},
Expand All @@ -35,4 +35,4 @@
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
}
2 changes: 1 addition & 1 deletion .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Build documentation
run: |
npm run build
cp dist/design-angular-kit-bundle/index.html dist/design-angular-kit-bundle/404.html
cp dist/design-angular-kit-bundle/browser/index.html dist/design-angular-kit-bundle/browser/404.html
- name: Publish on gh-pages
run: |
Expand Down
7 changes: 4 additions & 3 deletions README.EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ npm install design-angular-kit --save

Choose the version corresponding to your Angular version:

| Angular | design-angular-kit |
|---------|-----------------------|
| 17+ | v1.0.0 + |
| Angular | design-angular-kit |
|---------|--------------------|
| 18+ | v1.1.0 + |
| 17+ | v1.0.0 + |

## Configuration

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ npm install design-angular-kit --save

Scegli la versione corrispondente alla tua versione Angular:

| Angular | design-angular-kit |
|---------|-----------------------|
| 17+ | v1.0.0 + |
| Angular | design-angular-kit |
|---------|--------------------|
| 18+ | v1.1.0 + |
| 17+ | v1.0.0 + |

## Configurazione

Expand Down
27 changes: 16 additions & 11 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/design-angular-kit-bundle",
"outputPath": {
"base": "dist/design-angular-kit-bundle"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"zone.js",
"@angular/localize/init"
],
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
Expand Down Expand Up @@ -65,12 +69,11 @@
"safe-json-parse/tuple",
"videojs-vtt.js"
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -90,9 +93,7 @@
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
"extractLicenses": true
},
"development": {
"optimization": false,
Expand Down Expand Up @@ -127,7 +128,11 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"zone.js",
"zone.js/testing",
"@angular/localize/init"
],
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
Expand Down
Loading

0 comments on commit 4cb98e7

Please sign in to comment.