Skip to content

Commit 01241c2

Browse files
authored
chore(lightspeed): version:bump to v1.49.2 and nfs app setup (#2626)
1 parent 514b83c commit 01241c2

80 files changed

Lines changed: 5063 additions & 4189 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 9 additions & 0 deletions

workspaces/lightspeed/.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ site
5050
# vscode database functionality support files
5151
*.session.sql
5252

53-
# E2E test reports
54-
e2e-test-report/
55-
5653
# Local SQLite database files
5754
sqlite-data/
5855
*.sqlite
56+
57+
# E2E test reports (legacy, nfs, etc.)
58+
e2e-test-report*/

workspaces/lightspeed/.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ dist-types
33
coverage
44
.vscode
55
.eslintrc.js
6+
report.api.md
7+
report-alpha.api.md
68
!.prettierrc.js

workspaces/lightspeed/app-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
app:
22
title: Developer Lightspeed
33
baseUrl: http://localhost:3000
4+
packages: all
5+
extensions:
6+
- api:app/app-language:
7+
config:
8+
availableLanguages: ['en', 'de', 'es', 'fr', 'it', 'ja']
9+
defaultLanguage: 'en'
10+
- nav-item:user-settings: false
11+
- nav-item:search: false
12+
- nav-item:catalog:
13+
config:
14+
title: 'Home'
415

516
organization:
617
name: Red Hat
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "1.47.3"
2+
"version": "1.49.2"
33
}

workspaces/lightspeed/package.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"node": "22"
77
},
88
"scripts": {
9-
"dev": "backstage-cli repo start",
10-
"start": "yarn workspace app start",
9+
"start": "backstage-cli repo start",
10+
"start:legacy": "backstage-cli repo start packages/app-legacy packages/backend",
1111
"start-backend": "yarn workspace backend start",
1212
"build:backend": "yarn workspace backend build",
1313
"tsc": "tsc",
@@ -19,6 +19,11 @@
1919
"clean": "backstage-cli repo clean",
2020
"test": "backstage-cli repo test",
2121
"test:all": "backstage-cli repo test --coverage",
22+
"test:e2e": "yarn test:e2e:legacy",
23+
"test:e2e:legacy": "APP_MODE=legacy playwright test",
24+
"test:e2e:all": "yarn test:e2e:legacy",
25+
"test:e2e:ci": "yarn test:e2e:all",
26+
"playwright": "bash -c 'if [[ $@ == test ]]; then yarn test:e2e:legacy; else npx playwright \"$@\"; fi' _",
2227
"fix": "backstage-cli repo fix",
2328
"lint": "backstage-cli repo lint --since origin/main",
2429
"lint:all": "backstage-cli repo lint",
@@ -41,9 +46,10 @@
4146
"directory": "workspaces/lightspeed"
4247
},
4348
"devDependencies": {
44-
"@backstage/cli": "^0.35.3",
45-
"@backstage/e2e-test-utils": "^0.1.1",
46-
"@backstage/repo-tools": "^0.16.3",
49+
"@backstage/cli": "^0.36.0",
50+
"@backstage/cli-defaults": "^0.1.0",
51+
"@backstage/e2e-test-utils": "^0.1.2",
52+
"@backstage/repo-tools": "^0.17.0",
4753
"@changesets/cli": "^2.27.1",
4854
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
4955
"@playwright/test": "1.58.2",
@@ -52,7 +58,7 @@
5258
"knip": "^5.27.4",
5359
"node-gyp": "^9.0.0",
5460
"prettier": "3.8.1",
55-
"typescript": "~5.3.0"
61+
"typescript": "~5.8.0"
5662
},
5763
"dependencies": {
5864
"react": "^18.3.1"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright Red Hat, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
18+
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname);

workspaces/lightspeed/packages/app/e2e-tests/fixtures/responses.ts renamed to workspaces/lightspeed/packages/app-legacy/e2e-tests/fixtures/responses.ts

File renamed without changes.

0 commit comments

Comments
 (0)