Skip to content

Commit 1a7b65d

Browse files
authored
Merge branch 'main' into fix/linkedPackagesTabAndDeleteAction
Signed-off-by: Suhas N <[email protected]>
2 parents 73fb38c + a65ae99 commit 1a7b65d

File tree

231 files changed

+10369
-6894
lines changed

Some content is hidden

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

231 files changed

+10369
-6894
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Lead developers
2-
* @heliocastro @hoangnt2
2+
* @heliocastro @amritkv @GMishx

.github/workflows/build_deploy.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@
77
# SPDX-License-Identifier: EPL-2.0
88
# License-Filename: LICENSE
99

10-
name: Build Frontend
11-
on:
12-
push:
13-
tags:
14-
- 'v*'
10+
name: Build
1511

12+
on:
1613
pull_request:
17-
branches:
18-
- main
1914
workflow_dispatch:
2015

2116
permissions:
@@ -41,7 +36,7 @@ jobs:
4136
version: 8
4237

4338
- name: Setup Node
44-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
39+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4540
with:
4641
node-version: '22'
4742
cache: 'pnpm'

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666

6767
# Initializes the CodeQL tools for scanning.
6868
- name: Initialize CodeQL
69-
uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
69+
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
7070
with:
7171
languages: ${{ matrix.language }}
7272
build-mode: ${{ matrix.build-mode }}
@@ -94,6 +94,6 @@ jobs:
9494
exit 1
9595
9696
- name: Perform CodeQL Analysis
97-
uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
97+
uses: github/codeql-action/analyze@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
9898
with:
9999
category: '/language:${{matrix.language}}'

.github/workflows/commit_checks.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ name: Commit Checks
1212
on:
1313
workflow_dispatch:
1414
pull_request:
15-
branches: [main]
1615
paths-ignore:
1716
- '**.md'
1817

1918
jobs:
20-
build:
19+
validate:
2120
name: Validade Pull Request Commits
2221
runs-on: ubuntu-latest
2322

@@ -29,7 +28,7 @@ jobs:
2928

3029
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3130
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
32-
- uses: apache/skywalking-eyes/header@5c5b974209f0de5d905f37deb69369068ebfc15c # main
31+
- uses: apache/skywalking-eyes/header@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1 # main
3332

3433
- name: Check deny listed files
3534
run: bash .github/deny_list.sh

.github/workflows/docker_deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ jobs:
4545
echo "ORG_BASE_NAME=${GITHUB_REPOSITORY}" >> $GITHUB_ENV
4646
echo "GIT_REVISION=$(git describe --abbrev=6 --always --tags --match=[0-9]*)" >> $GITHUB_ENV
4747
48+
- name: Set up Node.js
49+
uses: actions/setup-node@v4
50+
with:
51+
node-version: '22' # or your required version
52+
53+
- name: Run npx auth secret
54+
run: |
55+
cp docs/templates/template.env .env.local
56+
npx auth secret
57+
4858
- name: Set up Docker Buildx
4959
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5060

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ jobs:
5555
retention-days: 5
5656

5757
- name: "Upload to code-scanning"
58-
uses: github/codeql-action/upload-sarif@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
58+
uses: github/codeql-action/upload-sarif@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
5959
with:
6060
sarif_file: results.sarif

.licenserc.yaml

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,47 +8,48 @@
88
# License-Filename: LICENSE
99

1010
header:
11-
license:
12-
spdx-id: EPL-2.0
13-
copyright-owner: SW360 Frontend Authors
14-
copyright-year: '2023'
15-
software-name: sw360-frontend
16-
pattern: |
17-
This program and the accompanying materials are made
18-
available under the terms of the Eclipse Public License 2.0
19-
which is available at https://www.eclipse.org/legal/epl-2.0/
20-
21-
SPDX-License-Identifier: EPL-2.0
22-
License-Filename: LICENSE
23-
24-
paths:
25-
- '**'
26-
27-
paths-ignore:
28-
- .dockerignore
29-
- .gitignore
30-
- .husky
31-
- .prettierrc
32-
- '.github/**'
33-
- '*.code-workspace'
34-
- '**/*.css'
35-
- '**/*.diff'
36-
- '**/*.json'
37-
- '**/*.md'
38-
- '**/*.svg'
39-
- '**/testdata/**'
40-
- 'cypress/fixtures/**'
41-
- 'LICENSE'
42-
- 'node_modulesw'
43-
- 'NOTICE'
44-
- "eslint.config.mjs"
45-
- "pnpm-lock.yaml"
46-
- "pnpm-workspace.yaml"
47-
48-
comment: on-failure
49-
50-
license-location-threshold: 80
11+
license:
12+
spdx-id: EPL-2.0
13+
copyright-owner: SW360 Frontend Authors
14+
copyright-year: '2023'
15+
software-name: sw360-frontend
16+
pattern: |
17+
This program and the accompanying materials are made
18+
available under the terms of the Eclipse Public License 2.0
19+
which is available at https://www.eclipse.org/legal/epl-2.0/
20+
21+
SPDX-License-Identifier: EPL-2.0
22+
License-Filename: LICENSE
23+
24+
paths:
25+
- '**'
26+
27+
paths-ignore:
28+
- .dockerignore
29+
- .gitignore
30+
- .husky
31+
- .prettierrc
32+
- '.github/**'
33+
- '*.code-workspace'
34+
- '**/*.css'
35+
- '**/*.diff'
36+
- '**/*.json'
37+
- '**/*.md'
38+
- '**/*.svg'
39+
- '**/testdata/**'
40+
- 'cypress/fixtures/**'
41+
- 'LICENSE'
42+
- 'node_modulesw'
43+
- 'NOTICE'
44+
- 'eslint.config.mjs'
45+
- 'pnpm-lock.yaml'
46+
- 'pnpm-workspace.yaml'
47+
- 'docs/templates/**'
48+
49+
comment: on-failure
50+
51+
license-location-threshold: 80
5152

5253
dependency:
53-
files:
54-
- package.json
54+
files:
55+
- package.json

.vscode/settings.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@
77
"i18n-ally.keepFulfilled": true,
88
"i18n-ally.indent": 2,
99
"i18n-ally.tabStyle": "space",
10-
"cSpell.words": ["myprojects"],
11-
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
1210
"editor.formatOnSave": true,
13-
"editor.defaultFormatter": "esbenp.prettier-vscode",
11+
"editor.defaultFormatter": "biomejs.biome",
12+
"editor.codeActionsOnSave": {
13+
"source.organizeImports.biome": "explicit",
14+
"source.fixAll.biome": "explicit"
15+
},
16+
"[typescriptreact]": {
17+
"editor.defaultFormatter": "vscode.typescript-language-features"
18+
}
1419
}

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,8 @@ ARG NEXT_PUBLIC_SW360_API_URL
2424
ARG NEXTAUTH_URL
2525
ARG AUTH_SECRET
2626

27-
# export them as env vars so Next.js build can see them
28-
ENV NEXT_PUBLIC_SW360_API_URL=$NEXT_PUBLIC_SW360_API_URL
29-
ENV NEXTAUTH_URL=$NEXTAUTH_URL
30-
ENV AUTH_SECRET=$AUTH_SECRET
31-
32-
RUN pnpm install && pnpm build
27+
RUN pnpm install
28+
RUN pnpm build -d
3329

3430
# Runtime
3531
ARG VARIANT=22-slim

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",

0 commit comments

Comments
 (0)