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

Feature/angular update to v17 #516

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
267a736
chore: update package-lock.json
Dec 6, 2024
abdd3b8
BREAKING CHANGE: Update to Angular 14
Dec 6, 2024
f65f573
BREAKING CHANGE: Update to Angular 15
Dec 6, 2024
8401dc1
BREAKING CHANGE: Update to Angular 16
Dec 6, 2024
ee1651d
BREAKING CHANGE: Update to Angular 17
Dec 6, 2024
37cdb51
refactor: migrate to new @if/@for syntax
Dec 6, 2024
b2d0ae2
fix: Component ID generation collision
Dec 6, 2024
c86aca1
fix: fix compiler errors for jasmine assertions
Dec 6, 2024
814d32f
fix: add null check
Dec 6, 2024
ba5a639
fix: fix type for minuteStep
Dec 6, 2024
cab70d2
style: shorten if condition
Dec 6, 2024
4f13209
fix: fix typings
Dec 6, 2024
db95d13
fix: fix eslint config
Dec 6, 2024
dbd6dc0
Fix tests for UndefinedDateModelComponent
Dec 6, 2024
2cad518
fix: fix return type
Dec 6, 2024
393643a
fix: fix return type
Dec 6, 2024
1b5f685
fix: fix test
Dec 6, 2024
3f708c6
fix: fix return type
Dec 6, 2024
176a630
chore: update packages
Dec 6, 2024
3f58d00
fix: run npm audit fix
Dec 6, 2024
91507aa
chore: update bootstrap version
Dec 7, 2024
7482164
fix: fix padding
Dec 7, 2024
5424933
Update Node.js in workflow
Dec 7, 2024
8e50f17
chore: remove deprecated package
Dec 7, 2024
04b9d2c
chore: update npm version
Dec 7, 2024
03fa065
chore: install chromium in CI job
Dec 7, 2024
303116c
chore: run CI tests in headless browser mode
Dec 7, 2024
ae8093b
chore: remove core-js ... no need to install directly anymore
Dec 7, 2024
80e38dc
chore: remove unused package
Dec 7, 2024
02c9105
chore: update moment
Dec 7, 2024
fae3ca4
chore: rebuild package-lock.json
Dec 7, 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
6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"root": true,
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"projects/**/*"
],
Expand All @@ -9,9 +12,6 @@
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4.2.2

- name: Setup Node.js
uses: actions/setup-node@v4
- name: Set up Node.js
uses: actions/setup-node@v4.1.0
with:
node-version: '14.x'
node-version: '22.11.0'

- name: Install Chromium
run: |
sudo apt-get update
sudo apt-get install -y chromium-browser

- name: Install dependencies and Run Tests
run: npm clean-install-test
17 changes: 12 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
"style": "scss"
}
},
"architect": {
Expand Down Expand Up @@ -64,18 +64,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "angular-bootstrap-datetimepicker:build:production"
"buildTarget": "angular-bootstrap-datetimepicker:build:production"
},
"development": {
"browserTarget": "angular-bootstrap-datetimepicker:build:development"
"buildTarget": "angular-bootstrap-datetimepicker:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-bootstrap-datetimepicker:build"
"buildTarget": "angular-bootstrap-datetimepicker:build"
}
},
"test": {
Expand Down Expand Up @@ -139,5 +139,12 @@
}
}
},
"defaultProject": "angular-bootstrap-datetimepicker"
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}
Loading