Skip to content

Commit 9061cd7

Browse files
authored
chore: removed lts angular showcase to reduce complexity (#2841)
* chore: removed lts angular showcase to reduce complexity * chore: removed lts angular showcase to reduce complexity * chore: remove remaining angular-lts stuff * chore: update from main
1 parent 7b0e227 commit 9061cd7

File tree

99 files changed

+1459
-8762
lines changed

Some content is hidden

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

99 files changed

+1459
-8762
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -113,88 +113,3 @@ updates:
113113
update-types:
114114
- 'minor'
115115
- 'patch'
116-
117-
- package-ecosystem: 'npm'
118-
directory: '/showcase/angular-active-showcase'
119-
open-pull-requests-limit: 10
120-
schedule:
121-
interval: 'daily'
122-
time: '04:00'
123-
timezone: 'Europe/Berlin'
124-
ignore:
125-
- dependency-name: 'ng-packagr'
126-
update-types: ['version-update:semver-major']
127-
# Especially as we're using multiple major versions of Angular, we want to update the major version by ourselves
128-
- dependency-name: '@angular/cli'
129-
update-types: ['version-update:semver-major']
130-
- dependency-name: '@angular/core'
131-
update-types: ['version-update:semver-major']
132-
- dependency-name: '@angular/compiler-cli'
133-
update-types: ['version-update:semver-major']
134-
- dependency-name: '@angular/router'
135-
update-types: ['version-update:semver-major']
136-
- dependency-name: '@angular/compiler'
137-
update-types: ['version-update:semver-major']
138-
- dependency-name: '@angular/common'
139-
update-types: ['version-update:semver-major']
140-
- dependency-name: '@angular/forms'
141-
update-types: ['version-update:semver-major']
142-
- dependency-name: '@angular/platform-browser-dynamic'
143-
update-types: ['version-update:semver-major']
144-
- dependency-name: '@angular-devkit/build-angular'
145-
update-types: ['version-update:semver-major']
146-
pull-request-branch-name:
147-
separator: '-'
148-
groups:
149-
angular:
150-
patterns:
151-
- '@angular*'
152-
- '@angular-devkit*'
153-
- 'ng-packagr'
154-
update-types:
155-
- 'minor'
156-
- 'patch'
157-
158-
- package-ecosystem: 'npm'
159-
directory: '/showcase/angular-lts-showcase'
160-
open-pull-requests-limit: 10
161-
schedule:
162-
interval: 'daily'
163-
time: '04:00'
164-
timezone: 'Europe/Berlin'
165-
ignore:
166-
- dependency-name: 'ng-packagr'
167-
update-types: ['version-update:semver-major']
168-
# Especially as we're using multiple major versions of Angular, we want to update the major version by ourselves
169-
- dependency-name: '@angular/cli'
170-
update-types: ['version-update:semver-major']
171-
- dependency-name: '@angular/core'
172-
update-types: ['version-update:semver-major']
173-
- dependency-name: '@angular/compiler'
174-
update-types: ['version-update:semver-major']
175-
- dependency-name: '@angular/compiler-cli'
176-
update-types: ['version-update:semver-major']
177-
- dependency-name: '@angular/router'
178-
update-types: ['version-update:semver-major']
179-
- dependency-name: '@angular/common'
180-
update-types: ['version-update:semver-major']
181-
- dependency-name: '@angular/forms'
182-
update-types: ['version-update:semver-major']
183-
- dependency-name: '@angular/platform-browser-dynamic'
184-
update-types: ['version-update:semver-major']
185-
- dependency-name: '@angular-devkit/build-angular'
186-
update-types: ['version-update:semver-major']
187-
# Angular 15 only works with zone.js 0.13.x
188-
- dependency-name: 'zone.js'
189-
update-types: ['version-update:semver-minor']
190-
pull-request-branch-name:
191-
separator: '-'
192-
groups:
193-
angular:
194-
patterns:
195-
- '@angular*'
196-
- '@angular-devkit*'
197-
- 'ng-packagr'
198-
update-types:
199-
- 'minor'
200-
- 'patch'

.github/labeler.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,10 @@ vue:
2929
- changed-files:
3030
- any-glob-to-any-file: 'packages/db-ui-elements-vue/**'
3131

32-
# Add 'angular-active-showcase' label to any file changes for angular-active-showcase
33-
angular-active-showcase:
32+
# Add 'angular-showcase' label to any file changes for angular-showcase
33+
angular-showcase:
3434
- changed-files:
35-
- any-glob-to-any-file: 'showcase/angular-active-showcase/**'
36-
37-
# Add 'angular-lts-showcase' label to any file changes for angular-lts-showcase
38-
angular-lts-showcase:
39-
- changed-files:
40-
- any-glob-to-any-file: 'showcase/angular-lts-showcase/**'
35+
- any-glob-to-any-file: 'showcase/angular-showcase/**'
4136

4237
# Add 'playground-showcase' label to any file changes for playground-showcase
4338
playground-showcase:

.github/workflows/01-build-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- name: 👩‍🍳 Bake everything (StoryBook, Playground & Showcases)
1919
run: |
20-
node scripts/build angular-active,angular-lts,react,vue,playground,reactwind withShowcase
20+
node scripts/build angular,react,vue,playground,reactwind withShowcase
2121
npm run build:storybook
2222
2323
- name: ⬆ Upload build

.github/workflows/01-build-showcases.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
showcases:
15-
[angular-active, angular-lts, playground, react, reactwind, vue]
15+
[angular, playground, react, reactwind, vue]
1616
steps:
1717
- name: ⬇ Checkout repo
1818
uses: actions/checkout@v4
@@ -22,10 +22,7 @@ jobs:
2222

2323
- name: ↔ Get download params for showcase
2424
run: |
25-
if echo ${{ matrix.showcases }} | grep -c "angular-active"
26-
then
27-
echo "framework=angular" >> $GITHUB_OUTPUT
28-
elif echo ${{ matrix.showcases }} | grep -c "angular-lts"
25+
if echo ${{ matrix.showcases }} | grep -c "angular"
2926
then
3027
echo "framework=angular" >> $GITHUB_OUTPUT
3128
elif echo ${{ matrix.showcases }} | grep -c "playground"

.github/workflows/01-build-storybook.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,11 @@ jobs:
2727
name: stencil-default-angular
2828
path: packages/db-ui-elements-stencil
2929

30-
- name: ⬇ Download Showcase Angular active dist folder
30+
- name: ⬇ Download Showcase Angular dist folder
3131
uses: actions/download-artifact@v4
3232
with:
33-
name: showcase-angular-active
34-
path: showcase/angular-active-showcase/dist
35-
36-
- name: ⬇ Download Showcase Angular LTS dist folder
37-
uses: actions/download-artifact@v4
38-
with:
39-
name: showcase-angular-lts
40-
path: showcase/angular-lts-showcase/dist
33+
name: showcase-angular
34+
path: showcase/angular-showcase/dist
4135

4236
- name: ⬇ Download Showcase playground dist folder
4337
uses: actions/download-artifact@v4
@@ -67,8 +61,7 @@ jobs:
6761
env:
6862
VERSION: ${{ inputs.tag }}
6963
run: |
70-
mv showcase/angular-lts-showcase/dist/angular-lts-showcase packages/db-ui-elements-stencil/www/angular-lts-showcase
71-
mv showcase/angular-active-showcase/dist/angular-active-showcase packages/db-ui-elements-stencil/www/angular-active-showcase
64+
mv showcase/angular-showcase/dist/angular-showcase packages/db-ui-elements-stencil/www/angular-showcase
7265
mv showcase/playground-showcase/dist/playground-showcase packages/db-ui-elements-stencil/www/playground-showcase
7366
mv showcase/react-showcase/dist/react-showcase packages/db-ui-elements-stencil/www/react-showcase
7467
mv showcase/reactwind-showcase/dist/reactwind-showcase packages/db-ui-elements-stencil/www/reactwind-showcase

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ If you miss a component than [contribute](CONTRIBUTING.md), please.
5858
## Framework showcases
5959

6060
* [DB UI Elements with React (CRA)](showcase/react-showcase/README.md)
61-
* [DB UI Elements with Angular 18](showcase/angular-active-showcase/README.md)
62-
* [DB UI Elements with Angular 17](showcase/angular-lts-showcase/README.md)
61+
* [DB UI Elements with Angular 18](showcase/angular-showcase/README.md)
6362
* [DB UI Elements with Vue](showcase/vue-showcase/README.md)
6463

6564
## Deutsche Bahn brand

doc/howto-angular.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,5 @@ There are 3 ways to use Events in Angular:
132132

133133
### Example
134134

135-
[Angular v.18 Showcase GitHub](https://github.com/db-ui/elements/tree/main/showcase/angular-active-showcase)
136-
[Angular v.18 Showcase App](https://db-ui.github.io/elements/angular-active-showcase/)
137-
138-
[Angular v.17 Showcase GitHub](https://github.com/db-ui/elements/tree/main/showcase/angular-lts-showcase)
139-
[Angular v.17 Showcase App](https://db-ui.github.io/elements/angular-lts-showcase/)
135+
[Angular v.18 Showcase GitHub](https://github.com/db-ui/elements/tree/main/showcase/angular-showcase)
136+
[Angular v.18 Showcase App](https://db-ui.github.io/elements/angular-showcase/)

e2e/cypress/e2e/99-1-showcases/showcases-tables.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
context('showcase', () => {
2-
const showcases = ['angular-active', 'angular-lts'];
2+
const showcases = ['angular'];
33

44
showcases.forEach((showcase) => {
55
it(`${showcase}: Test Tables`, () => {

e2e/cypress/fixtures/showcases.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
["angular-active", "angular-lts", "react", "vue"]
1+
["angular", "react", "vue"]

0 commit comments

Comments
 (0)