Skip to content

Commit 14cbe3f

Browse files
jmaGarfield-fr
andcommitted
chore: upgrade to angular 19
* Upgrades to Angular version 19. * Upgrades to primeng version 19. * Replaces primeflex by tailwindcss. * Adds css prefix for tailwindcss. * Fixes tests. Co-Authored-by: Bertrand Zuchuat <[email protected]> Co-Authored-by: Johnny Mariéthoz <[email protected]>
1 parent 8076190 commit 14cbe3f

File tree

178 files changed

+10650
-9389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+10650
-9389
lines changed

.eslintrc.json

+3-11
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,15 @@
2020
"plugin:@angular-eslint/template/process-inline-templates"
2121
],
2222
"rules": {
23+
"@angular-eslint/prefer-standalone": "off",
2324
"@angular-eslint/component-selector": [
2425
"error",
2526
{
2627
"prefix": "ng-core",
2728
"style": "kebab-case",
2829
"type": "element"
2930
}
30-
],
31-
"@angular-eslint/directive-selector": [
32-
"error",
33-
{
34-
"prefix": "ng-core",
35-
"style": "camelCase",
36-
"type": "attribute"
37-
}
38-
],
39-
"@angular-eslint/component-class-suffix": ["off"]
31+
]
4032
}
4133
},
4234
{
@@ -47,7 +39,7 @@
4739
"plugin:@angular-eslint/template/recommended"
4840
],
4941
"rules": {
50-
"@angular-eslint/template/eqeqeq": [
42+
"@angular-eslint/template/eqeqeq": [
5143
"error",
5244
{
5345
"allowNullOrUndefined": true

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ Thumbs.db
5050

5151
# cache
5252
.nx/
53+
54+
# generated css file
55+
projects/rero/ng-core/assets/scss/ng-core-tailwind.css

.postcssrc.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"plugins": {
3+
"@tailwindcss/postcss": {
4+
"base": "./projects/ng-core-tester"
5+
}
6+
}
7+
}

angular.json

+21-10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"schematics": {
77
"@schematics/angular:component": {
88
"standalone": false
9+
},
10+
"@schematics/angular:directive": {
11+
"standalone": false
12+
},
13+
"@schematics/angular:pipe" : {
14+
"standalone": false
915
}
1016
},
1117
"projectType": "library",
@@ -45,26 +51,34 @@
4551
"projectType": "application",
4652
"schematics": {
4753
"@schematics/angular:component": {
48-
"style": "scss",
4954
"standalone": false
55+
},
56+
"@schematics/angular:directive": {
57+
"standalone": false
58+
},
59+
"@schematics/angular:pipe" : {
60+
"standalone": false
5061
}
5162
},
5263
"root": "projects/ng-core-tester",
5364
"sourceRoot": "projects/ng-core-tester/src",
5465
"prefix": "app",
5566
"architect": {
5667
"build": {
57-
"builder": "@angular-devkit/build-angular:browser",
68+
"builder": "@angular-devkit/build-angular:application",
5869
"options": {
5970
"allowedCommonJsDependencies": [
6071
"crypto-js",
6172
"easymde",
6273
"js-generate-password"
6374
],
64-
"outputPath": "dist/ng-core-tester",
75+
"outputPath": {
76+
"base": "dist/ng-core-tester"
77+
},
6578
"index": "projects/ng-core-tester/src/index.html",
66-
"main": "projects/ng-core-tester/src/main.ts",
67-
"polyfills": "projects/ng-core-tester/src/polyfills.ts",
79+
"polyfills": [
80+
"projects/ng-core-tester/src/polyfills.ts"
81+
],
6882
"tsConfig": "projects/ng-core-tester/tsconfig.app.json",
6983
"assets": [
7084
"projects/ng-core-tester/src/favicon.ico",
@@ -73,12 +87,11 @@
7387
"styles": [
7488
"projects/ng-core-tester/src/styles.scss"
7589
],
76-
"vendorChunk": true,
7790
"extractLicenses": false,
78-
"buildOptimizer": false,
7991
"sourceMap": true,
8092
"optimization": false,
81-
"namedChunks": true
93+
"namedChunks": true,
94+
"browser": "projects/ng-core-tester/src/main.ts"
8295
},
8396
"configurations": {
8497
"production": {
@@ -93,8 +106,6 @@
93106
"sourceMap": false,
94107
"namedChunks": false,
95108
"extractLicenses": true,
96-
"vendorChunk": false,
97-
"buildOptimizer": true,
98109
"budgets": [
99110
{
100111
"type": "initial",

0 commit comments

Comments
 (0)