Skip to content

Commit

Permalink
fix(web-components): fix the step for updating the router navigation …
Browse files Browse the repository at this point in the history
…in github pages workflow (#1358)
  • Loading branch information
Hristo313 authored Dec 5, 2024
1 parent 65f1bf8 commit 3e0f42c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "igniteui-cli",
"version": "14.3.4",
"version": "14.3.5-beta.0",
"description": "CLI tool for creating Ignite UI projects",
"keywords": [
"CLI",
Expand Down Expand Up @@ -76,8 +76,8 @@
"all": true
},
"dependencies": {
"@igniteui/angular-templates": "~19.0.1434",
"@igniteui/cli-core": "~14.3.4",
"@igniteui/angular-templates": "~19.0.1435-beta.0",
"@igniteui/cli-core": "~14.3.5-beta.0",
"@inquirer/prompts": "^5.4.0",
"@types/yargs": "^17.0.33",
"chalk": "^5.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
# cache: 'npm' # enable after committing lock file from first install
- run: npm i # replace with 'npm ci' after committing lock file from first install
- name: Update Router Navigation
run: |
sed -i "s|Router.go(\`/|Router.go(\`/${{ github.event.repository.name }}/|g" ./src/app/app.ts
sed -i "s|Router.go(\`/|Router.go(\`/${{ github.event.repository.name }}/|g" ./src/app/home/home.ts
run: find ./src -type f -name "*.ts" -exec sed -i "s|Router.go(\`/|Router.go(\`/${{ github.event.repository.name }}/|g" {} \;
- run: npm run build
- name: Update base href in index.html
run: |
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@igniteui/cli-core",
"version": "14.3.4",
"version": "14.3.5-beta.0",
"description": "Base types and functionality for Ignite UI CLI",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/igx-templates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@igniteui/angular-templates",
"version": "19.0.1434",
"version": "19.0.1435-beta.0",
"description": "Templates for Ignite UI for Angular projects and components",
"repository": {
"type": "git",
Expand All @@ -12,7 +12,7 @@
"author": "Infragistics",
"license": "MIT",
"dependencies": {
"@igniteui/cli-core": "~14.3.4",
"@igniteui/cli-core": "~14.3.5-beta.0",
"typescript": "~5.5.4"
}
}
6 changes: 3 additions & 3 deletions packages/ng-schematics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@igniteui/angular-schematics",
"version": "19.0.1434",
"version": "19.0.1435-beta.0",
"description": "Ignite UI for Angular Schematics for ng new and ng generate",
"repository": {
"type": "git",
Expand All @@ -20,8 +20,8 @@
"dependencies": {
"@angular-devkit/core": "^19.0.0",
"@angular-devkit/schematics": "^19.0.0",
"@igniteui/angular-templates": "~19.0.1434",
"@igniteui/cli-core": "~14.3.4",
"@igniteui/angular-templates": "~19.0.1435-beta.0",
"@igniteui/cli-core": "~14.3.5-beta.0",
"@schematics/angular": "~19.0.0",
"minimatch": "^10.0.1",
"rxjs": "^7.8.1"
Expand Down

0 comments on commit 3e0f42c

Please sign in to comment.