Skip to content

Commit 6ea93c0

Browse files
authored
Merge branch 'eclipse-sw360:main' into main
2 parents ba620fb + 32308de commit 6ea93c0

690 files changed

Lines changed: 80943 additions & 46890 deletions

File tree

Some content is hidden

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

.claude/CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@ai-guidelines.md

.copilot/prompt.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copilot Project Instructions
2+
3+
Use the rules defined in the file ai-guidelines.md at the root of this repository.
4+
5+
Always follow those rules when:
6+
- generating commit messages
7+
- writing code
8+
- creating documentation
9+
- suggesting refactors
10+
11+
Prioritize Conventional Commits for all commit messages.

.devcontainer/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# SPDX-License-Identifier: EPL-2.0
88
# License-Filename: LICENSE
99

10-
ARG VARIANT=20-bullseye-slim
10+
ARG VARIANT=22-slim
1111
FROM node:${VARIANT}
1212

1313
ARG USERNAME=devel
@@ -31,6 +31,9 @@ RUN useradd \
3131
RUN echo "$USERNAME ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/$USERNAME \
3232
&& chmod 0440 /etc/sudoers.d/$USERNAME
3333

34+
# Add pnpm
35+
RUN npm install -g pnpm
36+
3437
USER ${USERNAME}
3538
WORKDIR $HOMEDIR
3639

.devcontainer/devcontainer.json

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -8,60 +8,60 @@
88
// License-Filename: LICENSE
99

1010
{
11-
"name": "SW360 Frontend",
12-
"build": {
13-
"dockerfile": "Dockerfile",
14-
"args": {
15-
"VARIANT": "20-bullseye-slim"
16-
}
17-
},
18-
// Configure tool-specific properties.
19-
"customizations": {
20-
// Configure properties specific to VS Code.
21-
"vscode": {
22-
// Set *default* container specific settings.json values on container create.
23-
"settings": {
24-
"html.format.templating": true,
25-
"emmet.includeLanguages": {
26-
"javascript": "javascriptreact"
27-
},
28-
"[javascript]": {
29-
"editor.defaultFormatter": "esbenp.prettier-vscode"
30-
},
31-
"[scss]": {
32-
"editor.defaultFormatter": "esbenp.prettier-vscode"
33-
},
34-
"[json]": {
35-
"editor.defaultFormatter": "esbenp.prettier-vscode"
36-
},
37-
"[jsonc]": {
38-
"editor.defaultFormatter": "esbenp.prettier-vscode"
39-
},
40-
"editor.formatOnSave": true,
41-
"eslint.alwaysShowStatus": true,
42-
"indentRainbow.colorOnWhiteSpaceOnly": true
43-
},
44-
// Add the IDs of extensions you want installed when the container is created.
45-
"extensions": [
46-
"aaron-bond.better-comments",
47-
"davidanson.vscode-markdownlint",
48-
"dbaeumer.vscode-eslint",
49-
"esbenp.prettier-vscode",
50-
"formulahendry.auto-close-tag",
51-
"formulahendry.auto-rename-tag",
52-
"naumovs.color-highlight",
53-
"oderwat.indent-rainbow",
54-
"shardulm94.trailing-spaces",
55-
"VisualStudioExptTeam.vscodeintellicode",
56-
"ms-azuretools.vscode-docker",
57-
"github.vscode-github-actions"
58-
]
59-
}
60-
},
61-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
62-
"forwardPorts": [3000, 9229],
63-
// Use 'postCreateCommand' to run commands after the container is created.
64-
"postCreateCommand": ".devcontainer/scripts/postCreateCommand.sh",
65-
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
66-
"remoteUser": "devel"
11+
"name": "SW360 Frontend",
12+
"build": {
13+
"dockerfile": "Dockerfile",
14+
"args": {
15+
"VARIANT": "22-slim"
16+
}
17+
},
18+
// Configure tool-specific properties.
19+
"customizations": {
20+
// Configure properties specific to VS Code.
21+
"vscode": {
22+
// Set *default* container specific settings.json values on container create.
23+
"settings": {
24+
"html.format.templating": true,
25+
"emmet.includeLanguages": {
26+
"javascript": "javascriptreact"
27+
},
28+
"[javascript]": {
29+
"editor.defaultFormatter": "esbenp.prettier-vscode"
30+
},
31+
"[scss]": {
32+
"editor.defaultFormatter": "esbenp.prettier-vscode"
33+
},
34+
"[json]": {
35+
"editor.defaultFormatter": "esbenp.prettier-vscode"
36+
},
37+
"[jsonc]": {
38+
"editor.defaultFormatter": "esbenp.prettier-vscode"
39+
},
40+
"editor.formatOnSave": true,
41+
"eslint.alwaysShowStatus": true,
42+
"indentRainbow.colorOnWhiteSpaceOnly": true
43+
},
44+
// Add the IDs of extensions you want installed when the container is created.
45+
"extensions": [
46+
"aaron-bond.better-comments",
47+
"davidanson.vscode-markdownlint",
48+
"dbaeumer.vscode-eslint",
49+
"esbenp.prettier-vscode",
50+
"formulahendry.auto-close-tag",
51+
"formulahendry.auto-rename-tag",
52+
"naumovs.color-highlight",
53+
"oderwat.indent-rainbow",
54+
"shardulm94.trailing-spaces",
55+
"VisualStudioExptTeam.vscodeintellicode",
56+
"ms-azuretools.vscode-docker",
57+
"github.vscode-github-actions"
58+
]
59+
}
60+
},
61+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
62+
"forwardPorts": [3000, 9229],
63+
// Use 'postCreateCommand' to run commands after the container is created.
64+
"postCreateCommand": ".devcontainer/scripts/postCreateCommand.sh",
65+
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
66+
"remoteUser": "devel"
6767
}

.devcontainer/scripts/postCreateCommand.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ set -e
1515
git config --global --add safe.directory /workspaces/sw360-frontend
1616

1717
# Install npm packages to development
18-
npm install
18+
pnpm config set pnpm-prefix devnode
19+
pnpm install

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ Dockerfile
1010
.dockerignore
1111
.git
1212
.env
13+
node_modules

.eslintrc.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

.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 @de002

.github/deny_list.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
set -e
1313

1414
# Check for files not intented to be present
15-
declare -a denyfiles=("yarn.lock" "pnpm-lock.yaml")
15+
declare -a denyfiles=("yarn.lock" "package-lock.json")
1616
declare -a denyextensions=("png" "jpg" "jpeg" "tiff")
1717

1818
for file in "${denyfiles[@]}"; do

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: docker
4+
directory: /.devcontainer
5+
schedule:
6+
interval: weekly
7+
8+
- package-ecosystem: github-actions
9+
directory: /
10+
schedule:
11+
interval: weekly
12+
13+
- package-ecosystem: docker
14+
directory: /
15+
schedule:
16+
interval: weekly
17+
18+
- package-ecosystem: npm
19+
directory: /
20+
schedule:
21+
interval: weekly

0 commit comments

Comments
 (0)