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

Update to angular17 #15

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5977633
Updated to angular 12
ENate Feb 20, 2024
44b1ea5
Updated material to 12
ENate Feb 20, 2024
7fb97b2
Updated to 12
ENate Feb 20, 2024
c3b07bf
Updated to material 13!
ENate Feb 20, 2024
4128500
Updated to store 17
ENate Feb 20, 2024
4d99340
Updated all to 13!
ENate Feb 20, 2024
bec9bae
Locked to 15
ENate Feb 20, 2024
8c96fdd
Updated individual packages to 13
ENate Feb 20, 2024
7e7d4ab
Updated to 14
ENate Feb 20, 2024
4383568
Updated cli to 14!
ENate Feb 20, 2024
fa56ca9
Updated to ng 15
ENate Feb 20, 2024
44453b6
Updated to ng 17
ENate Feb 21, 2024
f4a1866
Updated to carbon icons 17
ENate Feb 21, 2024
1721c68
Fixed NgxModule import, cli to 17
ENate Feb 21, 2024
9047a50
Modified packages
ENate Feb 21, 2024
8224d3d
More dependency updates
ENate Mar 21, 2024
babc88d
More updates to libs, components and dependencies
ENate Mar 21, 2024
67026bc
ibm-tab-header -> ibm-header
ENate Mar 21, 2024
ee5f0d7
Replaced @ using "@" characters
ENate Mar 21, 2024
c96b657
Updated pagination&Overflow modules from carbon-components angular
ENate Mar 21, 2024
556c5b8
Updated carbon modules and prettier tabs
ENate Mar 22, 2024
7cd39d6
Updated resizable element by removing resizableCursorPrecision property
ENate Mar 22, 2024
72f4366
Fixed identation for most components
ENate Mar 22, 2024
6867f8b
Updated import statements for styles
ENate Mar 23, 2024
410f02d
Updated checkbox, addEventLister and media Observer
ENate Mar 25, 2024
793c8e1
Downgrade typescript
ENate Mar 26, 2024
14a127a
Updated carbon styles and type
ENate Apr 7, 2024
b51db7d
Updated styles
ENate Aug 16, 2024
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
18 changes: 0 additions & 18 deletions .browserslistrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
100 changes: 100 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
** Executing migrations of package '@angular/cli' **

▸ Remove Browserslist configuration files that matches the Angular CLI default configuration.
DELETE .browserslistrc
Migration completed (1 file modified).

▸ Remove exported `@angular/platform-server` `renderModule` method.
The `renderModule` method is now exported by the Angular CLI.
Migration completed (No changes made).

▸ Remove no longer needed require calls in Karma builder main file.
UPDATE src/test.ts (458 bytes)
Migration completed (1 file modified).

▸ Update TypeScript compiler `target` and set `useDefineForClassFields`.
These changes are for IDE purposes as TypeScript compiler options `target` and `useDefineForClassFields` are set to `ES2022` and `false` respectively by the Angular CLI.
To control ECMA version and features use the Browerslist configuration.
Migration completed (No changes made).

▸ Remove options from 'angular.json' that are no longer supported by the official builders.
Migration completed (No changes made).

➜ youpez-admin ⚡( update-to-angular17)  18.17.1  3.10.13 24 minutes ago
▶ ng update @angular/core@15 --force
Using package manager: npm
Collecting installed dependencies...
Found 66 dependencies.
Fetching dependency metadata from registry...
✔ Packages successfully installed.
➜ youpez-admin ⚡( update-to-angular17)  18.17.1  3.10.13 4 minutes ago
▶ ng update @angular/core@16 --force
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 16.2.12 to perform the update.
✔ Packages successfully installed.
Using package manager: npm
Collecting installed dependencies...
Found 66 dependencies.
Fetching dependency metadata from registry...
✔ Packages successfully installed.
➜ youpez-admin ⚡( update-to-angular17)  18.17.1  3.10.13 12 minutes ago
▶ ng update @angular/cli@16 --force
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 16.2.12 to perform the update.
✔ Packages successfully installed.
Using package manager: npm
Collecting installed dependencies...
Found 66 dependencies.
Fetching dependency metadata from registry...
Updating package.json with dependency @angular/cli @ "16.2.12" (was "15.2.10")...
UPDATE package.json (2902 bytes)
✔ Packages successfully installed.
** Executing migrations of package '@angular/cli' **

▸ Remove 'defaultProject' option from workspace configuration.
The project to use will be determined from the current working directory.
Migration completed (No changes made).

▸ Replace removed 'defaultCollection' option in workspace configuration with 'schematicCollections'.
Migration completed (No changes made).

▸ Update the '@angular-devkit/build-angular:server' builder configuration to disable 'buildOptimizer' for non optimized builds.
Migration completed (No changes made).

➜ youpez-admin ⚡( update-to-angular17)  18.17.1  3.10.13 20 minutes ago
▶ ng update @angular/cli@16 --force
Error: Repository is not clean. Please commit or stash any changes before updating.
➜ youpez-admin ⚡( update-to-angular17)   18.17.1  3.10.13 72 seconds ago
▶ ng update @angular/cli@16 --force
Using package manager: npm
Collecting installed dependencies...
Found 66 dependencies.
Fetching dependency metadata from registry...
Package '@angular/cli' is already up to date.
➜ youpez-admin ⚡( update-to-angular17)  18.17.1  3.10.13 82 seconds ago
▶ ng update @angular/cli@17 --force
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 17.2.0 to perform the update.
✔ Packages successfully installed.
Using package manager: npm
Collecting installed dependencies...
Found 66 dependencies.
Fetching dependency metadata from registry...
Updating package.json with dependency @angular/cli @ "17.2.0" (was "16.2.12")...
UPDATE package.json (2894 bytes)
✔ Packages successfully installed.
** Executing migrations of package '@angular/cli' **

▸ Replace usages of '@nguniversal/builders' with '@angular-devkit/build-angular'.
Migration completed (No changes made).

▸ Replace usages of '@nguniversal/' packages with '@angular/ssr'.
Migration completed (No changes made).

▸ Replace deprecated options in 'angular.json'.
UPDATE angular.json (4401 bytes)
Migration completed (1 file modified).

▸ Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' is used, as it is no longer a direct dependency of '@angular-devkit/build-angular'.
Migration completed (No changes made).

41 changes: 19 additions & 22 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"stylePreprocessorOptions": {
"includePaths": ["src", "./node_modules"]
},
"outputPath": "dist/theme",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
Expand All @@ -42,7 +44,13 @@
"src/app/shared/styles/app.themes.scss",
"src/assets/tailwind/tailwind.css"
],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand Down Expand Up @@ -80,27 +88,28 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "theme:build"
"buildTarget": "theme:build"
},
"configurations": {
"production": {
"browserTarget": "theme:build:production"
"buildTarget": "theme:build:production"
},
"hmr": {
"hmr": true,
"browserTarget": "theme:build:hmr"
"buildTarget": "theme:build:hmr"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "theme:build"
"buildTarget": "theme:build"
}
},
"test": {
Expand All @@ -120,19 +129,6 @@
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
Expand All @@ -148,8 +144,9 @@
}
}
},
"defaultProject": "theme",
"cli": {
"defaultCollection": "@ngrx/schematics"
"schematicCollections": [
"@ngrx/schematics"
]
}
}
Empty file added dependency
Empty file.
Loading