Skip to content

Commit 7c3d398

Browse files
ChronosSFkdinevsimeonoffLipata
authored
Updating to ng 17 (#13596)
* feat(*): updating angular dependency * feat(*): updating dep of ng/cli * ci(gh actions): adding --legacy-peer-deps to * ci(gh actions): turning off typedoc build * chore(*): updating dependencies * fix(esf): search component interacts with checkbox * chore(*): updating migrations * chore(*): fixing test warnings * fix(demos): remove rem references in drag-drop sample * chore(*): updating package deps * chore(ci): temporary legacy-peer-deps for publish * fix(schematics): runSchematics returns promise * fix(migrations): import tss for types * fix(migrations): remove unnecessary method and import * test(migrations): use runSchematic which returns promise * chore(*): bumping to RC.2 * chore(ci): removing .travis.yml * chore(schematics): put schematics beta * docs(changelog): updating for radio and switch * docs(changelog): using correct LabelPosition * fix(migrations): add switch & radio migrations * chore(*): ng update @angular-eslint/schematics --next * ci(gh actions): bringing back typedoc build * ci(gh actions): remove --legacy-peer-deps * chore(migrations): update latest schematics beta * test(hgrid): increasing default timeout * chore(*): updating @angular/cli to 17 rc5 * chore(lint): fixing lint errors --------- Co-authored-by: Konstantin Dinev <[email protected]> Co-authored-by: Simeon Simeonoff <[email protected]> Co-authored-by: lipata <[email protected]>
1 parent 015a41d commit 7c3d398

File tree

59 files changed

+4432
-4571
lines changed

Some content is hidden

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

59 files changed

+4432
-4571
lines changed

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dist/
2+
projects/igniteui-angular/migrations/
3+
projects/igniteui-angular/schematics/
4+
projects/igniteui-angular/cypress/
5+
cypress/
6+
cypress.config.ts

.travis.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ All notable changes for each version of this project will be documented in this
1515
- `igniteui-angular` components have improved tree-shaking
1616
- DisplayDensity token and inputs are deprecated in favor of `--ig-size` theming
1717
- We're working on reducing the library size
18-
- IgxRadioComponent has been reduced in half
19-
- IgxSwitchComponent has been reduced in half
18+
- `IgxRadioComponent` size has been reduced in half
19+
- `IgxSwitchComponent` size has been reduced in half
20+
- `IgxRadioComponent`
21+
- **Breaking Change** `IChangeRadioEventArgs` is now `IChangeCheckboxEventArgs`. `ng update` to `17.0.0` will automatically migrate this for you.
22+
- **Breaking Change** `RadioLabelPosition` is now `LabelPosition`. `ng update` to `17.0.0` will automatically migrate this for you.
23+
- `IgxSwitchComponent`
24+
- **Breaking Change** `IChangeSwitchEventArgs` is now `IChangeCheckboxEventArgs`. `ng update` to `17.0.0` will automatically migrate this for you.
25+
- **Breaking Change** `SwitchLabelPosition` is now `LabelPosition`. `ng update` to `17.0.0` will automatically migrate this for you.
2026
- `IgxCombo`
2127
- **Breaking Change** `IComboSelectionChangingEventArgs` properties `newSelection` and `oldSelection` have been renamed to `newValue` and `oldValue` respectively to better reflect their function. Just like Combo's `value`, those will emit either the specified property values or full data items depending on whether `valueKey` is set or not. Automatic migrations are available and will be applied on `ng update`.
2228
- `IComboSelectionChangingEventArgs` exposes two new properties `newSelection` and `oldSelection` in place of the old ones that are no longer affected by `valueKey` and consistently emit items from Combo's `data`.

angular.json

Lines changed: 7 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -86,22 +86,22 @@
8686
"serve": {
8787
"builder": "@angular-devkit/build-angular:dev-server",
8888
"options": {
89-
"browserTarget": "igniteui-dev-demos:build"
89+
"buildTarget": "igniteui-dev-demos:build"
9090
},
9191
"configurations": {
9292
"production": {
93-
"browserTarget": "igniteui-dev-demos:build:production"
93+
"buildTarget": "igniteui-dev-demos:build:production"
9494
},
9595
"hmr": {
9696
"hmr": true,
97-
"browserTarget": "igniteui-dev-demos:build:hmr"
97+
"buildTarget": "igniteui-dev-demos:build:hmr"
9898
}
9999
}
100100
},
101101
"extract-i18n": {
102102
"builder": "@angular-devkit/build-angular:extract-i18n",
103103
"options": {
104-
"browserTarget": "igniteui-dev-demos:build"
104+
"buildTarget": "igniteui-dev-demos:build"
105105
}
106106
},
107107
"test": {
@@ -166,54 +166,6 @@
166166
}
167167
}
168168
},
169-
"igniteui-dev-demos-e2e": {
170-
"root": "e2e/",
171-
"projectType": "application",
172-
"architect": {
173-
"e2e": {
174-
"builder": "@cypress/schematic:cypress",
175-
"options": {
176-
"devServerTarget": "igniteui-dev-demos-e2e:serve",
177-
"watch": true,
178-
"headless": false
179-
},
180-
"configurations": {
181-
"production": {
182-
"devServerTarget": "igniteui-dev-demos-e2e:serve:production"
183-
}
184-
}
185-
},
186-
"lint": {
187-
"builder": "@angular-eslint/builder:lint",
188-
"options": {
189-
"lintFilePatterns": [
190-
"e2e/**/*.ts",
191-
"e2e/**/*.html"
192-
]
193-
}
194-
},
195-
"cypress-run": {
196-
"builder": "@cypress/schematic:cypress",
197-
"options": {
198-
"devServerTarget": "igniteui-dev-demos-e2e:serve",
199-
"configFile": "e2e//cypress.json"
200-
},
201-
"configurations": {
202-
"production": {
203-
"devServerTarget": "igniteui-dev-demos-e2e:serve:production"
204-
}
205-
}
206-
},
207-
"cypress-open": {
208-
"builder": "@cypress/schematic:cypress",
209-
"options": {
210-
"watch": true,
211-
"headless": false,
212-
"configFile": "e2e//cypress.json"
213-
}
214-
}
215-
}
216-
},
217169
"igniteui-angular": {
218170
"root": "projects/igniteui-angular",
219171
"sourceRoot": "projects/igniteui-angular/src",
@@ -353,18 +305,18 @@
353305
"builder": "@angular-devkit/build-angular:dev-server",
354306
"configurations": {
355307
"production": {
356-
"browserTarget": "bundle-test:build:production"
308+
"buildTarget": "bundle-test:build:production"
357309
},
358310
"development": {
359-
"browserTarget": "bundle-test:build:development"
311+
"buildTarget": "bundle-test:build:development"
360312
}
361313
},
362314
"defaultConfiguration": "development"
363315
},
364316
"extract-i18n": {
365317
"builder": "@angular-devkit/build-angular:extract-i18n",
366318
"options": {
367-
"browserTarget": "bundle-test:build"
319+
"buildTarget": "bundle-test:build"
368320
}
369321
},
370322
"test": {

e2e/cypress.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

e2e/cypress/integration/spec.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

e2e/cypress/plugins/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

e2e/cypress/support/commands.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

e2e/cypress/support/index.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

e2e/cypress/tsconfig.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)