Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Angular 18 and Bootstrap Italia #367

Merged
merged 5 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading