-
-
Notifications
You must be signed in to change notification settings - Fork 56
refactor: Complete project rewrite with Svelte 5 #339
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
base: dev
Are you sure you want to change the base?
Changes from 116 commits
3906a58
1d8ef94
175368e
22f9fbe
bd50bad
5626ac6
ea79d5d
11b9365
2b8f2e3
1f5122c
baea96a
d47c1bf
2adca8c
e7fc9a8
b02748d
ab807d6
8bd5153
6d430b4
536c4fe
6aaba56
8c19165
53b8f02
b8313ec
f003011
12ba1f2
7d05784
1ca89a3
32d3cd6
39c88f9
bbc0fa5
a20e8ff
9504155
7b95276
cff2816
f830a01
4221e6b
e3e1651
1a7b237
0870be4
6965f91
4016228
ea47b0e
9d4ff53
22af783
f9646b1
e23116c
21e2de2
ebd4e25
c2115a3
78b175e
211fc62
9824883
522fbf3
a00a81d
7e1d234
e226843
6740a68
0837cdf
089715d
427d33e
b3190f9
bf2efba
a9f5839
a1768fb
07060c7
1a223de
b4bf56b
63b3450
f68a198
950b5d4
b917764
a214f57
b2bac78
e31f970
f5a1829
ec0ef44
f88502f
ea8dedd
2f3cdf1
d19e7d5
21ee9c5
fc7156b
93e696b
b7c3840
588b5e2
f70a882
6684d88
7ae9d7b
966a9c6
7c2c891
56fa09d
b99626f
7454a83
6299551
fa1994e
61b3eb5
8e6c2a7
a6e0bba
1aad9e4
16c635f
a7596d3
e9eabba
0e3c95f
343fca7
0e05457
d33c9cd
1b93057
ca06d1d
3b1a539
8dc0fb4
14425bb
253135b
9a14ff2
9fe2420
88c5197
9f9425d
fcc8428
75bf628
adc9679
00c01da
8952765
8b64c8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| RV_API_URL=https://api.revanced.app | ||
| RV_STATUS_URL=https://status.revanced.app | ||
| RV_EMAIL=contact@revanced.app | ||
| RV_GOOGLE_TAG_MANAGER_ID= | ||
| RV_DMCA_GUID= | ||
| VITE_RV_API_URL=https://api.revanced.app | ||
| VITE_RV_STATUS_URL=https://status.revanced.app | ||
| VITE_RV_EMAIL=contact@revanced.app | ||
| VITE_GOOGLE_TAG_MANAGER_ID= | ||
| PUBLIC_RV_DMCA_GUID= | ||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,22 @@ | ||
| .DS_Store | ||
| node_modules | ||
| /build | ||
| /public | ||
| # Output | ||
| .output | ||
| .vercel | ||
| .netlify | ||
| .wrangler | ||
| /.svelte-kit | ||
| /package | ||
| /build | ||
|
|
||
| # OS | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Env | ||
| .env | ||
| /_docs_src | ||
| /static/docs | ||
| .env.* | ||
| !.env.example | ||
| !.env.test | ||
|
|
||
| # Vite | ||
| vite.config.js.timestamp-* | ||
| vite.config.ts.timestamp-* | ||
|
Comment on lines
1
to
+22
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are any of these even generated by our project? |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,9 @@ | ||
| .DS_Store | ||
| node_modules | ||
| /build | ||
| /public | ||
| /.svelte-kit | ||
| /package | ||
| .env | ||
| .env.* | ||
| !.env.example | ||
|
|
||
| # Ignore files for PNPM, NPM and YARN | ||
| pnpm-lock.yaml | ||
| # Package Managers | ||
| package-lock.json | ||
| pnpm-lock.yaml | ||
| yarn.lock | ||
| bun.lock | ||
| bun.lockb | ||
|
|
||
| # Miscellaneous | ||
| /static/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,5 +3,13 @@ | |
| "singleQuote": true, | ||
| "trailingComma": "none", | ||
| "printWidth": 100, | ||
| "plugins": ["prettier-plugin-svelte"] | ||
| "plugins": ["prettier-plugin-svelte"], | ||
| "overrides": [ | ||
| { | ||
| "files": "*.svelte", | ||
| "options": { | ||
| "parser": "svelte" | ||
| } | ||
| } | ||
| ] | ||
|
Comment on lines
+6
to
+14
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this necessary? |
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| import prettier from 'eslint-config-prettier'; | ||
| import { fileURLToPath } from 'node:url'; | ||
| import { includeIgnoreFile } from '@eslint/compat'; | ||
| import js from '@eslint/js'; | ||
| import svelte from 'eslint-plugin-svelte'; | ||
| import { defineConfig } from 'eslint/config'; | ||
| import globals from 'globals'; | ||
| import ts from 'typescript-eslint'; | ||
| import svelteConfig from './svelte.config.js'; | ||
|
|
||
| const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url)); | ||
|
|
||
| export default defineConfig( | ||
| includeIgnoreFile(gitignorePath), | ||
| js.configs.recommended, | ||
| ...ts.configs.recommended, | ||
| ...svelte.configs.recommended, | ||
| prettier, | ||
| ...svelte.configs.prettier, | ||
| { | ||
| languageOptions: { | ||
| globals: { ...globals.browser, ...globals.node } | ||
| }, | ||
| rules: { | ||
| // typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects. | ||
| // see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors | ||
| 'no-undef': 'off' | ||
| } | ||
| }, | ||
| { | ||
| files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'], | ||
| languageOptions: { | ||
| parserOptions: { | ||
| projectService: true, | ||
| extraFileExtensions: ['.svelte'], | ||
| parser: ts.parser, | ||
| svelteConfig | ||
| } | ||
| } | ||
| } | ||
| ); |
Uh oh!
There was an error while loading. Please reload this page.