Skip to content

Commit b1d1759

Browse files
wip. check ng test
1 parent 2f1393f commit b1d1759

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/applications.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
- name: Set Legacy-peer-deps=true
4848
run: npm config set legacy-peer-deps true
4949

50+
- name: Install Angular CLI v17 LTS
51+
run: npm install -g @angular/cli@17-lts
52+
5053
- name: Create ${{ matrix.APPROACH }} application
5154
run: npm run create-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}
5255
timeout-minutes: 30

templates-generator/angular-config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,15 @@ module.exports = {
127127
],
128128
removeRules: [
129129
{
130-
glob: 'src/app/app-routing.module.ts',
130+
glob: 'src/app/routes.ts',
131131
definitions: [
132132
/import { HomeComponent } [^\n]*?\n/,
133133
/import { ProfileComponent } [^\n]*?\n/,
134134
/import { TasksComponent } [^\n]*?\n/,
135-
/import { DxDataGridModule, DxFormModule } [^\n]*?\n/,
136135
/{[^}]*?path: 'tasks'[^}]*?},\s+/,
137136
/{[^}]*?path: 'profile'[^}]*?},\s+/,
138137
/{[^}]*?path: 'home'[^}]*?},\s+/,
139138
/},[^}]*?path: '\*\*'[^}]*/,
140-
/, {\s?useHash: true\s?}/,
141-
', DxDataGridModule, DxFormModule',
142-
/,\s+declarations: [^\]]*?]/,
143139
/{[^}]*?path: 'pages\/new-page'[^}]*?},\s+/,
144140
/import { NewPageComponent } [^\n]*?\n/
145141
]

0 commit comments

Comments
 (0)