Skip to content

Commit 3e0f42c

Browse files
authored
fix(web-components): fix the step for updating the router navigation in github pages workflow (#1358)
1 parent 65f1bf8 commit 3e0f42c

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "igniteui-cli",
3-
"version": "14.3.4",
3+
"version": "14.3.5-beta.0",
44
"description": "CLI tool for creating Ignite UI projects",
55
"keywords": [
66
"CLI",
@@ -76,8 +76,8 @@
7676
"all": true
7777
},
7878
"dependencies": {
79-
"@igniteui/angular-templates": "~19.0.1434",
80-
"@igniteui/cli-core": "~14.3.4",
79+
"@igniteui/angular-templates": "~19.0.1435-beta.0",
80+
"@igniteui/cli-core": "~14.3.5-beta.0",
8181
"@inquirer/prompts": "^5.4.0",
8282
"@types/yargs": "^17.0.33",
8383
"chalk": "^5.3.0",

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ jobs:
3131
# cache: 'npm' # enable after committing lock file from first install
3232
- run: npm i # replace with 'npm ci' after committing lock file from first install
3333
- name: Update Router Navigation
34-
run: |
35-
sed -i "s|Router.go(\`/|Router.go(\`/${{ github.event.repository.name }}/|g" ./src/app/app.ts
36-
sed -i "s|Router.go(\`/|Router.go(\`/${{ github.event.repository.name }}/|g" ./src/app/home/home.ts
34+
run: find ./src -type f -name "*.ts" -exec sed -i "s|Router.go(\`/|Router.go(\`/${{ github.event.repository.name }}/|g" {} \;
3735
- run: npm run build
3836
- name: Update base href in index.html
3937
run: |

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@igniteui/cli-core",
3-
"version": "14.3.4",
3+
"version": "14.3.5-beta.0",
44
"description": "Base types and functionality for Ignite UI CLI",
55
"repository": {
66
"type": "git",

packages/igx-templates/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@igniteui/angular-templates",
3-
"version": "19.0.1434",
3+
"version": "19.0.1435-beta.0",
44
"description": "Templates for Ignite UI for Angular projects and components",
55
"repository": {
66
"type": "git",
@@ -12,7 +12,7 @@
1212
"author": "Infragistics",
1313
"license": "MIT",
1414
"dependencies": {
15-
"@igniteui/cli-core": "~14.3.4",
15+
"@igniteui/cli-core": "~14.3.5-beta.0",
1616
"typescript": "~5.5.4"
1717
}
1818
}

packages/ng-schematics/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@igniteui/angular-schematics",
3-
"version": "19.0.1434",
3+
"version": "19.0.1435-beta.0",
44
"description": "Ignite UI for Angular Schematics for ng new and ng generate",
55
"repository": {
66
"type": "git",
@@ -20,8 +20,8 @@
2020
"dependencies": {
2121
"@angular-devkit/core": "^19.0.0",
2222
"@angular-devkit/schematics": "^19.0.0",
23-
"@igniteui/angular-templates": "~19.0.1434",
24-
"@igniteui/cli-core": "~14.3.4",
23+
"@igniteui/angular-templates": "~19.0.1435-beta.0",
24+
"@igniteui/cli-core": "~14.3.5-beta.0",
2525
"@schematics/angular": "~19.0.0",
2626
"minimatch": "^10.0.1",
2727
"rxjs": "^7.8.1"

0 commit comments

Comments
 (0)