Skip to content

Commit c86a332

Browse files
authored
Merge branch 'master' into hhristov/remove-unsupported-packages
2 parents 07149f2 + cc21a46 commit c86a332

File tree

47 files changed

+881
-510
lines changed

Some content is hidden

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

47 files changed

+881
-510
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
# [14.3.2](https://github.com/IgniteUI/igniteui-cli/compare/v14.3.1...v14.3.2) (2024-11-28)
2+
3+
## What's Changed
4+
* Remove build step from angular github pages yaml files by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1348
5+
* chore: release 14.3.1 by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1350
6+
* remove deployment script flag and if condition in github pages workflow by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1351
7+
* Fix pattern matching when upgrading packages by @jackofdiamond5 in https://github.com/IgniteUI/igniteui-cli/pull/1347
8+
* fix: adapt ngModules templates to 19 changes by @Lipata in https://github.com/IgniteUI/igniteui-cli/pull/1352
9+
10+
**Full Changelog**: https://github.com/IgniteUI/igniteui-cli/compare/v14.3.0...v14.3.2
11+
12+
# [14.3.1](https://github.com/IgniteUI/igniteui-cli/compare/v14.3.0...v14.3.1) (2024-11-27)
13+
14+
## What's Changed
15+
* Remove build step from angular github pages yaml files by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1348
16+
17+
**Full Changelog**: https://github.com/IgniteUI/igniteui-cli/compare/v14.3.0...v14.3.1
18+
19+
# [14.3.0](https://github.com/IgniteUI/igniteui-cli/compare/v14.2.3...v14.3.0) (2024-11-25)
20+
21+
🎉 This update includes:
22+
23+
- `igniteui-angular` version [19.0.0](https://github.com/IgniteUI/igniteui-angular/releases/tag/19.0.0).
24+
25+
## What's Changed
26+
* Allow reordering of array literal expressions by @jackofdiamond5 in https://github.com/IgniteUI/igniteui-cli/pull/1323
27+
* Add pages deployment variable logic and fixes in github pages yaml files by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1337
28+
* chore(templates): Updating the versions for Angular 19 by @valadzhov in https://github.com/IgniteUI/igniteui-cli/pull/1340
29+
* chore(tsconfig-pack): Add skipLibCheck by @valadzhov in https://github.com/IgniteUI/igniteui-cli/pull/1344
30+
31+
32+
**Full Changelog**: https://github.com/IgniteUI/igniteui-cli/compare/v14.2.3...v14.3.0
33+
34+
# [14.2.3](https://github.com/IgniteUI/igniteui-cli/compare/v14.2.2...v14.2.3) (2024-11-15)
35+
36+
## What's Changed
37+
* Removing global replacement. by @dkalinovInfra in https://github.com/IgniteUI/igniteui-cli/pull/1339
38+
39+
**Full Changelog**: https://github.com/IgniteUI/igniteui-cli/compare/v14.2.2...v14.2.3
40+
141
# [14.2.2](https://github.com/IgniteUI/igniteui-cli/compare/v14.2.1...v14.2.2) (2024-11-8)
242

343
## What's Changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"source-map-support": "^0.5.21",
8383
"ts-node": "^10.9.2",
8484
"tslint": "^5.11.0",
85-
"typescript": "~5.5.4",
85+
"typescript": "~5.6.2",
8686
"typescript-json-schema": "^0.65.1",
8787
"parse-url": "^8.1.0",
8888
"braces": "^3.0.3",

packages/cli/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "igniteui-cli",
3-
"version": "14.2.2",
3+
"version": "14.3.2",
44
"description": "CLI tool for creating Ignite UI projects",
55
"keywords": [
66
"CLI",
@@ -78,8 +78,8 @@
7878
"all": true
7979
},
8080
"dependencies": {
81-
"@igniteui/angular-templates": "~18.2.1422",
82-
"@igniteui/cli-core": "~14.2.2",
81+
"@igniteui/angular-templates": "~19.0.1432",
82+
"@igniteui/cli-core": "~14.3.2",
8383
"@inquirer/prompts": "^5.4.0",
8484
"@types/yargs": "^17.0.33",
8585
"chalk": "^5.3.0",
@@ -91,9 +91,9 @@
9191
"yargs": "^17.7.2"
9292
},
9393
"devDependencies": {
94-
"@angular-devkit/core": "^18.2.4",
95-
"@angular-devkit/schematics": "^18.2.4",
96-
"@schematics/angular": "~14.0.0",
94+
"@angular-devkit/core": "^19.0.0",
95+
"@angular-devkit/schematics": "^19.0.0",
96+
"@schematics/angular": "~19.0.0",
9797
"@types/jasmine": "^5.1.4",
9898
"@types/node": "^22.5.5",
9999
"browser-sync": "^3.0.3",

packages/cli/templates/angular/ig-ts/projects/empty/files/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"prefix": "app",
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "@angular-devkit/build-angular:application",
1919
"options": {
2020
"outputPath": "dist/$(dash-name)",
2121
"index": "src/index.html",

packages/cli/templates/angular/ig-ts/projects/empty/files/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
},
1111
"private": true,
1212
"dependencies": {
13-
"@angular/animations": "~17.2.0",
14-
"@angular/common": "~17.2.0",
15-
"@angular/compiler": "~17.2.0",
16-
"@angular/core": "~17.2.0",
17-
"@angular/forms": "~17.2.0",
18-
"@angular/platform-browser": "~17.2.0",
19-
"@angular/platform-browser-dynamic": "~17.2.0",
20-
"@angular/router": "~17.2.0",
13+
"@angular/animations": "~19.0.0",
14+
"@angular/common": "~19.0.0",
15+
"@angular/compiler": "~19.0.0",
16+
"@angular/core": "~19.0.0",
17+
"@angular/forms": "~19.0.0",
18+
"@angular/platform-browser": "~19.0.0",
19+
"@angular/platform-browser-dynamic": "~19.0.0",
20+
"@angular/router": "~19.0.0",
2121
"jquery": ">=1.9.1",
2222
"jquery-ui": ">=1.10.5",
2323
"igniteui-angular-wrappers": "~17.0.0",
2424
"ignite-ui": "~22.2",
2525
"rxjs": "~7.8.0",
2626
"tslib": "^2.3.0",
27-
"zone.js": "~0.14.0"
27+
"zone.js": "~0.15.0"
2828
},
2929
"devDependencies": {
30-
"@angular-devkit/build-angular": "~17.2.0",
31-
"@angular/cli": "~17.2.0",
32-
"@angular/compiler-cli": "~17.2.0",
30+
"@angular-devkit/build-angular": "~19.0.0",
31+
"@angular/cli": "~19.0.0",
32+
"@angular/compiler-cli": "~19.0.0",
3333
"@types/jasmine": "~5.1.0",
3434
"@types/node": "^18.16.0",
3535
"igniteui-cli": "^$(cliVersion)",
@@ -39,6 +39,6 @@
3939
"karma-coverage": "~2.2.0",
4040
"karma-jasmine": "~5.1.0",
4141
"karma-jasmine-html-reporter": "~2.1.0",
42-
"typescript": "~5.5.4"
42+
"typescript": "~5.6.2"
4343
}
4444
}

packages/cli/templates/react/ReactTypeScriptFileUpdate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ export class ReactTypeScriptFileUpdate extends TypeScriptFileUpdate {
5454
this.astTransformer.requestNewMembersInArrayLiteral(
5555
variableAsParentCondition(this.astTransformer, ROUTES_VARIABLE_NAME),
5656
[newRoute],
57-
prepend,
58-
anchorElement
57+
anchorElement,
58+
{ prepend }
5959
);
6060
}
6161

packages/cli/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github.io.yml renamed to packages/cli/templates/react/igr-ts/projects/_base/files/__dot__github/workflows/github-pages.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@ name: Deploy GitHub Pages
33
on:
44
push:
55
branches: [ $(yamlDefaultBranch) ]
6-
pull_request:
7-
branches: [ $(yamlDefaultBranch) ]
6+
workflow_dispatch: {}
87

98
jobs:
109
build-and-deploy:
11-
# Deactivate the workflow. Will be changed when AB is ready
12-
if: false
10+
1311
runs-on: ubuntu-latest
1412

1513
permissions:
1614
pages: write
1715
id-token: write
1816

17+
environment:
18+
name: github-pages
19+
url: ${{ steps.deployment.outputs.page_url }}
20+
1921
strategy:
2022
matrix:
2123
node-version: [22.x]
@@ -35,6 +37,8 @@ jobs:
3537
run: find ./dist/assets -name "*.js" -exec sed -i 's|src/assets|${{ github.event.repository.name }}/assets|g' {} +
3638
- name: Copy Resources to dist
3739
run: mkdir -p ./dist/assets && cp -R ./src/assets/* ./dist/assets/
40+
- name: SPA routing handling
41+
run: cp ./dist/index.html ./dist/404.html
3842
- name: Upload build artifact to GitHub Pages
3943
uses: actions/upload-pages-artifact@v1
4044
with:

packages/cli/templates/react/igr-ts/projects/_base/files/vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import react from '@vitejs/plugin-react'
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
7-
define: process.env.VITEST ? {} : { global: 'window' },
87
plugins: [react()],
98
test: {
109
globals: true,

packages/cli/templates/webcomponents/WebComponentsTypeScriptFileUpdate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ export class WebComponentsTypeScriptFileUpdate extends TypeScriptFileUpdate {
4343
this.astTransformer.requestNewMembersInArrayLiteral(
4444
variableAsParentCondition(this.astTransformer, ROUTES_VARIABLE_NAME),
4545
[newRoute],
46-
prepend,
47-
anchorElement
46+
anchorElement,
47+
{ prepend }
4848
);
4949
}
5050

packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github.io.yml renamed to packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@ name: Deploy GitHub Pages
33
on:
44
push:
55
branches: [ $(yamlDefaultBranch) ]
6-
pull_request:
7-
branches: [ $(yamlDefaultBranch) ]
6+
workflow_dispatch: {}
87

98
jobs:
109
build-and-deploy:
11-
# Deactivate the workflow. Will be changed when AB is ready
12-
if: false
10+
1311
runs-on: ubuntu-latest
1412

1513
permissions:
1614
pages: write
1715
id-token: write
1816

17+
environment:
18+
name: github-pages
19+
url: ${{ steps.deployment.outputs.page_url }}
20+
1921
strategy:
2022
matrix:
2123
node-version: [22.x]
@@ -37,6 +39,8 @@ jobs:
3739
run: cp ./ig-theme.css ./dist/
3840
- name: Update href Paths for ig-theme.css
3941
run: find ./dist -type f -exec sed -i "s|href=\"../../ig-theme.css\"|href=\"../../${{ github.event.repository.name }}/ig-theme.css\"|g" {} +
42+
- name: SPA routing handling
43+
run: cp ./dist/index.html ./dist/404.html
4044
- name: Upload build artifact to GitHub Pages
4145
uses: actions/upload-pages-artifact@v1
4246
with:

0 commit comments

Comments
 (0)