Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#2176] Move from Vue CLI to Vite #2257

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Conversation

sopa301
Copy link
Contributor

@sopa301 sopa301 commented Dec 22, 2024

Fixes #2176
Continuation of #2178

Proposed commit message

Move from Vue CLI to Vite

Vue CLI has been put on maintenance mode and its dependencies have
security issues that have not been fixed for a while. Switching to Vite
also allows us to introduce Vitest for our unit testing.

Let's install Vite and remove Vue CLI.

Other information

The proposed solution is to modify the publish-RepoSense script to dynamically inject the VITE_BASE_DIR environmental variable based on the current workflow. This approach ensures that the base variable isn't unnecessarily modified in the main code, as other deployment methods may not require it. This also preserves the current frontend testing pipeline.

Do note that this PR will not work without some changes in the publish-RepoSense repository to facilitate the injection of VITE_BASE_DIR.

@github-actions github-actions bot requested a deployment to dashboard-2257 December 22, 2024 17:29 Abandoned
@github-actions github-actions bot requested a deployment to docs-2257 December 22, 2024 17:29 Abandoned
@sopa301 sopa301 marked this pull request as draft December 22, 2024 17:29
@github-actions github-actions bot requested a deployment to dashboard-2257 December 23, 2024 07:06 Abandoned
@github-actions github-actions bot requested a deployment to docs-2257 December 23, 2024 07:06 Abandoned
@github-actions github-actions bot requested a deployment to dashboard-2257 December 23, 2024 07:10 Abandoned
@github-actions github-actions bot requested a deployment to docs-2257 December 23, 2024 07:10 Abandoned
@github-actions github-actions bot requested a deployment to dashboard-2257 December 23, 2024 07:39 Abandoned
@github-actions github-actions bot requested a deployment to docs-2257 December 23, 2024 07:39 Abandoned
@github-actions github-actions bot requested a deployment to dashboard-2257 December 23, 2024 07:47 Abandoned
@github-actions github-actions bot requested a deployment to docs-2257 December 23, 2024 07:47 Abandoned
@github-actions github-actions bot requested a deployment to dashboard-2257 December 23, 2024 07:50 Abandoned
@github-actions github-actions bot requested a deployment to docs-2257 December 23, 2024 07:50 Abandoned
@github-actions github-actions bot requested a deployment to dashboard-2257 December 23, 2024 09:48 Abandoned
@github-actions github-actions bot requested a deployment to docs-2257 December 23, 2024 09:48 Abandoned
@sopa301 sopa301 marked this pull request as ready for review December 24, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Vue CLI with Vite
2 participants