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

Switch a built system to vite #1696

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3ed79d2
speed up build time but with errors at the moment
NiEkOKsU Aug 6, 2024
af033d3
Pyodide starts working, more errors
NiEkOKsU Aug 8, 2024
969cfe9
Python loads succesful
NiEkOKsU Aug 12, 2024
6b7b7bf
make global variables compatibile with vite
NiEkOKsU Aug 13, 2024
ef73883
Remove problem with invalid path to json
NiEkOKsU Aug 13, 2024
745834e
frontend runs without additional errors by npm run start command
NiEkOKsU Aug 28, 2024
899f544
working on npm run build command work
NiEkOKsU Sep 4, 2024
383f028
Working on npm run build errors
NiEkOKsU Sep 19, 2024
5a22bd0
resolve build problems
NiEkOKsU Sep 21, 2024
f7b6a06
tests works same as in master
NiEkOKsU Sep 22, 2024
59eb8ba
Conflicts ...
NiEkOKsU Sep 22, 2024
e060db4
Resolve problems after master merge
NiEkOKsU Sep 22, 2024
8d3822d
update package-lock
NiEkOKsU Sep 22, 2024
5cbc446
update pyodide
NiEkOKsU Sep 22, 2024
8d25ad3
update package-lock
NiEkOKsU Sep 22, 2024
d0b4dd8
try to resolve confilcts
NiEkOKsU Oct 2, 2024
3195476
move pyodide to 0.25.0
NiEkOKsU Oct 2, 2024
99f8475
try to migrate tests to vitest
NiEkOKsU Oct 2, 2024
7eeec96
resolved conflicts
NiEkOKsU Oct 2, 2024
103d7f0
repair npm ci
NiEkOKsU Oct 2, 2024
596de46
build repaired, tests will still fails
NiEkOKsU Oct 2, 2024
298604a
remove fs from tests
NiEkOKsU Oct 3, 2024
8fa3feb
remove confilcts
NiEkOKsU Oct 3, 2024
15b225f
skip topas test in vitest config
NiEkOKsU Oct 3, 2024
9450e04
resolve comments from last review
NiEkOKsU Oct 3, 2024
23213e9
fix frontend docker build
NiEkOKsU Oct 3, 2024
0e98eef
minor bugs reapired
NiEkOKsU Oct 6, 2024
a75be6b
master merge into this branch
NiEkOKsU Oct 6, 2024
f40ca9c
make all public path start with / to make it compatible with vite
NiEkOKsU Oct 14, 2024
8037293
res conflicts
NiEkOKsU Oct 14, 2024
e094a70
master merge
NiEkOKsU Oct 21, 2024
cd257ed
sidebar in editor work repaired
NiEkOKsU Oct 21, 2024
6d4bea6
master merge, bump libs related to vite
NiEkOKsU Oct 23, 2024
9304883
resolve conflicts
NiEkOKsU Nov 6, 2024
afad7f4
resolve conflicts
NiEkOKsU Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// global.d.ts
declare module '*.json' {
const value: any;
export default value;
}
11 changes: 7 additions & 4 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link
rel="icon"
href="%PUBLIC_URL%/favicon.ico" />
href="/favicon.ico" />
<meta
name="viewport"
content="width=device-width, initial-scale=1" />
Expand All @@ -16,14 +16,14 @@
content="Yaptide web user interface" />
<link
rel="apple-touch-icon"
href="%PUBLIC_URL%/logo192.png" />
href="/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link
rel="manifest"
href="%PUBLIC_URL%/manifest.json" />
href="/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand All @@ -39,6 +39,9 @@

<body>
<div id="root"></div>
<script
type="module"
src="/src/index.tsx"></script>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
Expand Down
Loading