Commit 707275f
authored
refactor: Migrate to Vite (#31)
* chore: Initial vite migration
* lint: Fix vite eslint
* chore: Migrate HtmlWebpackPlugin
* chore: Migrate CopyPlugin
* chore: Replace webpack script with vite
* ci: Trigger for refactor/ branches
* fix: Snippets
* chore: Rename index.ejs -> index.html
* ci: `static/` -> `dist/`
* chore: Migrate ServiceWorker to Vite
* chore: Import locales at compile time
* chore: Exported locales should contain `data` property
* chore: Register SW
* ci: Keep it `static/`
* refactor: Set output dir from vite config
* chore: Add `require(...)` support back
* feat: Resolve and stuff
* fix: Move index.html
* fix: Resolve ambigous import
* fix: Browserify path
* chore: Remove crypto related stuff
I don't do crypto
* fix: Use `@akryum/flexsearch-es`
REF: nextapps-de/flexsearch#341
* fix: webpack -> vite-ignore
* fix: Vite env
* chore: Ignore some vite temp files
* revert: Vite env
* revert: Vite env
* chore: More vite env stuff
* fix: CSP
Imported CSS still doesn't work
* fix: Entrypoint shouldn't be a relative path
* fix: Adjust initial nonce
* chore: TS Checker
* fix: Adjust eslintignore
* lint: Adjust eslintignore
* fix: Adjust lint command
* chore: Disable eslint checker for now
For some reason it keep ignoring eslintignore (ironic)
* chore: It's actually ts checker that keep checking node_modules
* fix: lint command
* chore: Disable stylelint
* fix: Yarn can't be used for lint command
* chore: Temporarily disable eslint
* fix: CSP in dev mode
* chore: CSP adjustment
CSP may or may not be fine on prod... we'll see...
* fix: Slight adjustment
* fix: CSP forr vite-plugin-checker
* fix: Resolve warnings
* fix: More warning fixing
* fix: Yet another warning fixes
* fix: SW typing
* fix: It's webworker not dom
* chore: Remove webpack
* chore: Disable eslint and stylelint
* fix: Hopefully one last error fix
* chore: Update immer to v10
* fix: Regex
* chore: Update more deps
* chore: Downgrade toast to v2.4.0
* chore: Remove dangerfile
* fix: Dynamic locale import
* fix: Try use __webpack_nonce__ just in case
* fix: vite-plugin-require
* revert: Revert "fix: vite-plugin-require"
This reverts commit 7c4e15f.
* chore: Remove keymap temporarily
* fix: Goober
* fix: nonce
* chore: Temporarily disable hotkey
* fix: Properly null check textarea
* fix: NODE_ENV1 parent 49e5dee commit 707275f
File tree
100 files changed
+2815
-3105
lines changed- .github/workflows
- app
- soapbox
- actions
- components
- ui/card
- containers
- entity-store
- hooks
- features
- audio
- chats/components
- chat-page/components
- chat-pane
- chat-widget
- headers
- compose
- components
- util
- crypto-donate
- components
- utils
- emoji
- feed-suggestions
- groups
- notifications/components
- soapbox-config
- components
- status/components
- ui
- components
- modals
- util
- hooks
- locales
- normalizers/soapbox
- __tests__
- pages
- reducers
- schemas/soapbox
- service-worker
- types
- utils
- styles
- components
- patches
- webpack
- loaders
- rules
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
100 files changed
+2815
-3105
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | 263 | | |
265 | 264 | | |
266 | 265 | | |
| |||
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 14 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | | - | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 32 | + | |
40 | 33 | | |
41 | 34 | | |
42 | 35 | | |
43 | | - | |
44 | 36 | | |
45 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
46 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
| 177 | + | |
174 | 178 | | |
175 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
176 | 184 | | |
177 | 185 | | |
178 | 186 | | |
| |||
227 | 235 | | |
228 | 236 | | |
229 | 237 | | |
230 | | - | |
| 238 | + | |
| 239 | + | |
231 | 240 | | |
232 | 241 | | |
233 | 242 | | |
| |||
0 commit comments