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 dev server + prod build to vite! #1535

Merged
merged 33 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5939dba
Get vite to mostly work
calebeby Dec 29, 2022
cd66d9b
Merge remote-tracking branch 'origin/dev' into vite-working
calebeby Jan 26, 2023
4dac815
Fix postcss config and delete more unused
calebeby Jan 26, 2023
59ebaf1
Fix tests
calebeby Jan 26, 2023
9d87c81
Remove unused babel plugins
calebeby Jan 26, 2023
127ec71
Adjust rollup config
calebeby Jan 26, 2023
2808b4f
Fix Service Worker and PWA stuff
calebeby Jan 27, 2023
0740f13
Update to type:module in package.json
calebeby Dec 19, 2023
e0e3993
Undo needless change src -> @
calebeby Dec 19, 2023
2719f48
Undo more needless changes?
calebeby Dec 19, 2023
de503ba
For now, undo linaria changes in all files
calebeby Dec 19, 2023
a615f23
Remove unrelated change
calebeby Dec 19, 2023
705ab1f
Undo more changes
calebeby Dec 19, 2023
e68b505
Remove more deps (will have to add back some of these)
calebeby Dec 19, 2023
371d7e0
Dep updates since last time I worked on this
calebeby Dec 19, 2023
4bd14f5
Set up new version of linaria
calebeby Dec 19, 2023
03d185c
Fix a silly CSS bug
calebeby Dec 19, 2023
d61bda6
Use port 2733 for preview as well
calebeby Dec 19, 2023
7154ab6
Fix TS imports
calebeby Dec 19, 2023
e3d616a
Increase min chunk size for chunk merging
calebeby Dec 19, 2023
98ef71b
Remove unmaintained postcss-font-magician
calebeby Dec 19, 2023
4066f41
Update node LTS minimum
calebeby Dec 19, 2023
445fba5
Replace Jest with Vitest for less config
calebeby Dec 19, 2023
c809e4d
Downgrade TS to avoid needing to update eslint-plugin-caleb in this PR
calebeby Dec 19, 2023
3d019b1
Remove unused old rollup config
calebeby Dec 19, 2023
19e16a4
Undo upgrading preact to avoid needing to fix type stuff in this PR
calebeby Dec 19, 2023
b81a587
Re-update preact to fix integration with vite and prefresh
calebeby Dec 19, 2023
aab8d8f
Fix chart where polished lib was included at runtime
calebeby Dec 19, 2023
2cbb9ac
Fix type errors
calebeby Dec 19, 2023
91c11cc
Use node 18 in CI
calebeby Dec 19, 2023
4e6729c
Merge remote-tracking branch 'origin/dev' into vite-working
calebeby Dec 19, 2023
9b40914
Delete commented code
calebeby Dec 19, 2023
d5a414b
Run prettier on html files too
calebeby Dec 19, 2023
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
43 changes: 0 additions & 43 deletions .babelrc.js

This file was deleted.

18 changes: 0 additions & 18 deletions .babelrc.output.js

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Run Build
Expand All @@ -20,10 +20,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Run Lint
Expand All @@ -33,10 +33,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Run Tests
Expand All @@ -48,10 +48,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Type Check
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
18
13 changes: 0 additions & 13 deletions babel-plugin-remove-preact-debug.js

This file was deleted.

100 changes: 0 additions & 100 deletions babel-plugin-rename-toplevel-import-export.js

This file was deleted.

4 changes: 2 additions & 2 deletions rollup-index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<link rel="manifest" href="/manifest.json" />
<title>Peregrine</title>
<link rel="preconnect" href="{{ apiUrl }}" />
<script type="module" src="/index.js"></script>
<link href="/style.css" rel="stylesheet" />
<script type="module" src="/src/index.tsx"></script>
</head>

<body></body>
</html>
3 changes: 0 additions & 3 deletions jest-transform.js

This file was deleted.

4 changes: 0 additions & 4 deletions linaria.config.js

This file was deleted.

Loading
Loading