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 Angular to v18 #273

Draft
wants to merge 38 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7d5245a
Update from Angular v12 to v13
lukasmatta Nov 7, 2024
291e59f
Update Angular Material v12 to v13
lukasmatta Nov 7, 2024
ce02b05
Update ngrx from v12 to v13
lukasmatta Nov 7, 2024
76b71c3
Update Angular builders
lukasmatta Nov 7, 2024
cf93e8e
Fix unit tests
lukasmatta Nov 8, 2024
cfc1d58
Update from Angular v13 to v14
lukasmatta Nov 8, 2024
95546be
Update Angular Material v13 to v14
lukasmatta Nov 8, 2024
b3acdc8
Update Angular Material imports
lukasmatta Nov 8, 2024
50444ab
Update ngrx & ngx-translate from v13 to v14
lukasmatta Nov 8, 2024
8824301
Fix bootstrap imports
lukasmatta Nov 12, 2024
c8d8dde
Fix date range picker
lukasmatta Nov 12, 2024
6ea3075
Update jest & eslint
lukasmatta Nov 12, 2024
0c3fdd9
Update typescript to 4.8.0
lukasmatta Nov 12, 2024
26ce8ca
Update Angular from v14 to v15
lukasmatta Nov 12, 2024
ccf2ba4
Update ngrx from v14 to v15
lukasmatta Nov 12, 2024
cc15277
Update builders & eslint
lukasmatta Nov 12, 2024
da9a35b
Update Angular Material v14 to v15
lukasmatta Nov 12, 2024
7e086aa
Update typescript to 4.9.3
lukasmatta Nov 12, 2024
9568d64
Update Angular v15 to v16
lukasmatta Nov 12, 2024
302f880
Update builders and eslint
lukasmatta Nov 12, 2024
01c6ae9
Update Angular Material v15 to v16
lukasmatta Nov 12, 2024
6d71907
Update ngrx v15 to v16
lukasmatta Nov 12, 2024
e13ae44
Update ngx-json-viewer to Ivy supported version, fix type
lukasmatta Nov 12, 2024
3210382
Update typescript & zonejs
lukasmatta Nov 12, 2024
e1b9af5
Update Angular v16 to v17
lukasmatta Nov 12, 2024
947270a
Migrate material to mdc
lukasmatta Nov 12, 2024
952e43e
Update Angular Material v16 to v17
lukasmatta Nov 12, 2024
e3c2069
Update ngrx from v16 to v17
lukasmatta Nov 12, 2024
b753bf0
Update builders & eslint
lukasmatta Nov 12, 2024
47e7415
Update ngx-translate
lukasmatta Nov 12, 2024
76aec7f
Update package lock
lukasmatta Nov 12, 2024
91ea4c4
Fix pseudo checkbox and translate library
lukasmatta Nov 12, 2024
66ee2ae
Fix style imports
lukasmatta Nov 12, 2024
cfaec91
Update Angular v17 to v18
lukasmatta Nov 12, 2024
270c143
Update Angular Material v17 to v18
lukasmatta Nov 12, 2024
64f2c66
Update typescript, builders and eslint
lukasmatta Nov 12, 2024
e2ef887
Update ngrx to v18
lukasmatta Nov 12, 2024
7fd2e86
Update eslint
lukasmatta Nov 12, 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
1 change: 1 addition & 0 deletions ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ chrome-profiler-events*.json
speed-measure-plugin*.json

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage/
Expand Down
56 changes: 10 additions & 46 deletions ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@
"output": "/assets"
}
],
"styles": [
"src/styles/styles.scss"
],
"styles": ["src/styles/styles.scss"],
"stylePreprocessorOptions": {
"includePaths": [
"src/styles",
Expand Down Expand Up @@ -183,12 +181,7 @@
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
"options": {
"browserTarget": "spline-ui:build",
"sourceMap": {
"scripts": true,
"styles": true,
"vendor": false
}
"browserTarget": "spline-ui:build"
},
"configurations": {
"production": {
Expand All @@ -202,36 +195,24 @@
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "spline-ui:build"
"buildTarget": "spline-ui:build"
}
},
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"no-cache": true,
"bail": true,
"scripts": [],
"styles": [
"src/styles.css"
],
"assets": [
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
],
"styles": ["src/styles.css"],
"assets": [],
"tsConfig": "tsconfig.spec.json"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"eslintConfig": ".eslintrc.js",
"lintFilePatterns": [
"src/**/*.spec.ts",
"src/**/*.ts"
]
"lintFilePatterns": ["src/**/*.spec.ts", "src/**/*.ts"]
}
},
"cypress-run": {
Expand Down Expand Up @@ -302,7 +283,6 @@
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"no-cache": true,
"bail": true,
"scripts": []
}
Expand All @@ -311,10 +291,7 @@
"builder": "@angular-eslint/builder:lint",
"options": {
"eslintConfig": ".eslintrc.js",
"lintFilePatterns": [
"projects/spline-api/**/*.spec.ts",
"projects/spline-api/**/*.ts"
]
"lintFilePatterns": ["projects/spline-api/**/*.spec.ts", "projects/spline-api/**/*.ts"]
}
}
}
Expand All @@ -340,7 +317,6 @@
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"no-cache": true,
"bail": true,
"scripts": []
}
Expand All @@ -349,10 +325,7 @@
"builder": "@angular-eslint/builder:lint",
"options": {
"eslintConfig": ".eslintrc.js",
"lintFilePatterns": [
"projects/spline-common/**/*.spec.ts",
"projects/spline-common/**/*.ts"
]
"lintFilePatterns": ["projects/spline-common/**/*.spec.ts", "projects/spline-common/**/*.ts"]
}
}
}
Expand All @@ -378,7 +351,6 @@
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"no-cache": true,
"bail": true,
"scripts": []
}
Expand All @@ -387,10 +359,7 @@
"builder": "@angular-eslint/builder:lint",
"options": {
"eslintConfig": ".eslintrc.js",
"lintFilePatterns": [
"projects/spline-shared/**/*.spec.ts",
"projects/spline-shared/**/*.ts"
]
"lintFilePatterns": ["projects/spline-shared/**/*.spec.ts", "projects/spline-shared/**/*.ts"]
}
}
}
Expand All @@ -416,7 +385,6 @@
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"no-cache": true,
"bail": true,
"scripts": []
}
Expand All @@ -425,16 +393,12 @@
"builder": "@angular-eslint/builder:lint",
"options": {
"eslintConfig": ".eslintrc.js",
"lintFilePatterns": [
"projects/spline-utils/**/*.spec.ts",
"projects/spline-utils/**/*.ts"
]
"lintFilePatterns": ["projects/spline-utils/**/*.spec.ts", "projects/spline-utils/**/*.ts"]
}
}
}
}
},
"defaultProject": "spline-ui",
"cli": {
"analytics": "0813ba40-5264-4248-a453-393bba4de37c"
}
Expand Down
9 changes: 3 additions & 6 deletions ui/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@
/** @type {import('jest').Config} */
module.exports = {
'preset': 'jest-preset-angular',
'setupFilesAfterEnv': [
'<rootDir>/setup-jest.ts'
],
'rootDir': __dirname,
'testPathIgnorePatterns': [
'projects/spline-shared/dynamic-table/main/src/components/search-dynamic-table/__tests__'
],
'transformIgnorePatterns': [
'node_modules/(?!@ngrx)'
],
// 'transformIgnorePatterns': [
// 'node_modules/(?!@ngrx)'
// ],
// transform: {
// "^.+\\.jsx?$": "babel-jest",
// "^.+\\.mjs$": "babel-jest",
Expand Down
Loading