Skip to content

Commit

Permalink
Disable standalone lint check and fix paths for angular modules (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hristo313 authored Dec 2, 2024
1 parent cc21a46 commit eafe457
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 16 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.2",
"version": "14.3.3-beta.0",
"description": "CLI tool for creating Ignite UI projects",
"keywords": [
"CLI",
Expand Down Expand Up @@ -78,8 +78,8 @@
"all": true
},
"dependencies": {
"@igniteui/angular-templates": "~19.0.1432",
"@igniteui/cli-core": "~14.3.2",
"@igniteui/angular-templates": "~19.0.1433-beta.0",
"@igniteui/cli-core": "~14.3.3-beta.0",
"@inquirer/prompts": "^5.4.0",
"@types/yargs": "^17.0.33",
"chalk": "^5.3.0",
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.2",
"version": "14.3.3-beta.0",
"description": "Base types and functionality for Ignite UI CLI",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"prefix": "app",
"style": "kebab-case"
}
]
],
"@angular-eslint/prefer-standalone": "off"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
- name: Build project with dynamic base-href
run: npm run build -- --base-href "/${{ github.event.repository.name }}/"
- name: Update Resource Paths
run: find ./dist/${{ env.PROJECT_NAME }} -type f -name '*main*.js' -exec sed -i -e "s|/assets|/${{ github.event.repository.name }}/assets|g" -e "s|url('/assets|url('/${{ github.event.repository.name }}/assets|g" {} +
run: find ./dist/${{ env.PROJECT_NAME }}/browser -type f -name '*main*.js' -exec sed -i -e "s|/assets|/${{ github.event.repository.name }}/assets|g" -e "s|url('/assets|url('/${{ github.event.repository.name }}/assets|g" {} +
- name: SPA routing handling
run: cp ./dist/${{ env.PROJECT_NAME }}/index.html ./dist/${{ env.PROJECT_NAME }}/404.html
run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html
- name: Upload build artifact to GitHub Pages
uses: actions/upload-pages-artifact@v1
with:
path: ./dist/${{ env.PROJECT_NAME }}
path: ./dist/${{ env.PROJECT_NAME }}/browser
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v1
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
- name: Build project with dynamic base-href
run: npm run build -- --base-href "/${{ github.event.repository.name }}/"
- name: Update Resource Paths
run: find ./dist/${{ env.PROJECT_NAME }} -type f -name '*main*.js' -exec sed -i -e "s|/assets|/${{ github.event.repository.name }}/assets|g" -e "s|url('/assets|url('/${{ github.event.repository.name }}/assets|g" {} +
run: find ./dist/${{ env.PROJECT_NAME }}/browser -type f -name '*main*.js' -exec sed -i -e "s|/assets|/${{ github.event.repository.name }}/assets|g" -e "s|url('/assets|url('/${{ github.event.repository.name }}/assets|g" {} +
- name: SPA routing handling
run: cp ./dist/${{ env.PROJECT_NAME }}/index.html ./dist/${{ env.PROJECT_NAME }}/404.html
run: cp ./dist/${{ env.PROJECT_NAME }}/browser/index.html ./dist/${{ env.PROJECT_NAME }}/browser/404.html
- name: Upload build artifact to GitHub Pages
uses: actions/upload-pages-artifact@v1
with:
path: ./dist/${{ env.PROJECT_NAME }}
path: ./dist/${{ env.PROJECT_NAME }}/browser
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v1
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.1432",
"version": "19.0.1433-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.2",
"@igniteui/cli-core": "~14.3.3-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.1432",
"version": "19.0.1433-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.1432",
"@igniteui/cli-core": "~14.3.2",
"@igniteui/angular-templates": "~19.0.1433-beta.0",
"@igniteui/cli-core": "~14.3.3-beta.0",
"@schematics/angular": "~19.0.0",
"minimatch": "^10.0.1",
"rxjs": "^7.8.1"
Expand Down

0 comments on commit eafe457

Please sign in to comment.