Skip to content

Commit bebe0ac

Browse files
Merge pull request BetterSEQTA#155 from BetterSEQTA/svelte
Change Settings UI to svelte under the hood
2 parents d91d67c + f4e8c68 commit bebe0ac

File tree

135 files changed

+8178
-3554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+8178
-3554
lines changed

.eslintrc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"browser": true,
44
"commonjs": true,
55
"es2021": true,
6-
"node": true // add this line to allow Node.js-specific globals
6+
"node": true
77
},
88
"extends": "eslint:recommended",
99
"parserOptions": {
1010
"ecmaVersion": "latest",
11-
"sourceType": "module" // add this line to allow 'import' and 'export' statements
11+
"sourceType": "module"
1212
},
1313
"rules": {
1414
// allow importing ts extensions

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SVELTE BUILD - NOT STABLE
2+
Please don't use this in a production environment - it is quite buggy and is not fully completed as of yet. <br>
3+
4+
#
5+
16
<a href="https://chromewebstore.google.com/detail/betterseqta+/afdgaoaclhkhemfkkkonemoapeinchel">
27
<img src="https://socialify.git.ci/betterseqta/betterseqta-plus/image?description=1&font=Inter&forks=1&issues=1&logo=data%3Aimage%2Fsvg%2Bxml%2C%253Csvg%20height%3D%27656pt%27%20fill%3D%27white%27%20preserveAspectRatio%3D%27xMidYMid%20meet%27%20viewBox%3D%270%200%20658%20656%27%20width%3D%27658pt%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%253E%253Cg%20transform%3D%27matrix(.1%200%200%20-.1%200%20656)%27%253E%253Cpath%20d%3D%27m2960%206499c-918-100-1726-561-2278-1299-196-262-374-609-475-925-171-533-203-1109-91-1655%20228-1115%201030-2032%202104-2408%20356-124%20680-177%201080-176%20269%201%20403%2014%20650%2064%20790%20159%201503%20624%201980%201290%20714%20998%20799%202342%20217%203420-488%20902-1361%201515-2382%201671-113%2017-196%2022-430%2024-159%202-328-1-375-6zm566-1443c476-99%20885-385%201134-791%20190-309%20282-696%20250-1045-22-240-73-420-180-635-78-156-159-275-274-401l-77-84h445%20446v-235-236l-1162%204-1163%203-100%2023c-449%20101-812%20337-1071%20697-77%20107-193%20335-233%20459-115%20358-116%20726-1%201078%20209%20644%20766%201101%201446%201187%20128%2016%20405%204%20540-24z%27%2F%253E%253Cpath%20d%3D%27m3065%204604c-250-36-396-89-576-209-280-187-470-478-535-821-25-135-16-395%2019-525%2095-351%20331-644%20651-806%2098-49%20225-93%20331-114%2092-18%20368-18%20460%200%20481%2095%20853%20444%20982%20921%2035%20129%2044%20389%2019%20524-36%20191-121%20387-228%20531-186%20249-476%20428-783%20485-65%2012-291%2021-340%2014z%27%2F%253E%253C%2Fg%253E%253C%2Fsvg%253E&name=1&owner=1&pattern=Signal&stargazers=1&theme=Dark" />
38
</a>

package.json

+46-46
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "betterseqtaplus",
3-
"version": "3.3.2",
3+
"version": "3.4.0",
44
"type": "module",
55
"description": "Enhance SEQTA Learn's usability and aesthetics! A fork of BetterSEQTA to continue development, while incorporating a plethora of new and improved features!",
66
"browserslist": "> 0.5%, last 2 versions, not dead",
77
"scripts": {
8-
"dev": "MODE=chrome vite dev",
9-
"dev:firefox": "MODE=firefox vite build --watch",
10-
"build": "MODE=chrome vite build && MODE=firefox vite build",
11-
"build:chrome": "MODE=chrome vite build",
12-
"build:firefox": "MODE=firefox vite build",
13-
"build:safari": "MODE=safari vite build",
8+
"dev": "cross-env MODE=chrome vite dev",
9+
"dev:firefox": "cross-env MODE=firefox vite build --watch",
10+
"build": "cross-env MODE=chrome vite build && cross-env MODE=firefox vite build",
11+
"build:chrome": "cross-env MODE=chrome vite build",
12+
"build:firefox": "cross-env MODE=firefox vite build",
13+
"build:safari": "cross-env MODE=safari vite build",
1414
"convert:safari": "xcrun safari-web-extension-converter dist/safari --project-location . --app-name $npm_package_name-safari",
1515
"release": "gh release create $npm_package_name@$npm_package_version ./dist/*.zip --generate-notes",
1616
"publish": "bun lib/publish.js --b",
@@ -31,66 +31,66 @@
3131
},
3232
"license": "MIT",
3333
"devDependencies": {
34-
"@crxjs/vite-plugin": "^2.0.0-beta.23",
34+
"@crxjs/vite-plugin": "2.0.0-beta.25",
3535
"@types/mime-types": "^2.1.4",
36-
"@vitejs/plugin-react-swc": "^3.6.0",
37-
"eslint": "^8.56.0",
36+
"@vitejs/plugin-react-swc": "^3.7.0",
37+
"cross-env": "^7.0.3",
38+
"eslint": "^8.57.0",
3839
"glob": "^11.0.0",
3940
"mime-types": "^2.1.35",
40-
"parcel": "^2.11.0",
41-
"prettier": "^3.2.5",
41+
"prettier": "^3.3.3",
4242
"process": "^0.11.10",
43-
"sass": "^1.70.0",
43+
"sass": "^1.78.0",
4444
"sass-loader": "^13.3.3",
4545
"semver": "^7.6.3",
46-
"url": "^0.11.3"
46+
"url": "^0.11.4"
4747
},
4848
"dependencies": {
4949
"@bedframe/cli": "^0.0.85",
50-
"@blocknote/core": "^0.14.1",
51-
"@blocknote/mantine": "^0.14.1",
52-
"@blocknote/react": "^0.14.1",
50+
"@codemirror/lang-css": "^6.3.0",
5351
"@codemirror/lang-less": "^6.0.2",
54-
"@heroicons/react": "^2.1.3",
55-
"@million/lint": "latest",
56-
"@tailwindcss/forms": "^0.5.7",
52+
"@codemirror/theme-one-dark": "^6.1.2",
53+
"@sveltejs/vite-plugin-svelte": "^4.0.0",
54+
"@tailwindcss/forms": "^0.5.9",
55+
"@tsconfig/svelte": "^5.0.4",
56+
"@types/chrome": "^0.0.270",
5757
"@types/color": "^3.0.6",
5858
"@types/dompurify": "^3.0.5",
59-
"@types/lodash": "^4.17.4",
60-
"@types/node": "^20.11.30",
61-
"@types/react": "^18.2.55",
62-
"@types/react-dom": "^18.2.19",
63-
"@types/sortablejs": "^1.15.7",
59+
"@types/lodash": "^4.17.7",
60+
"@types/node": "^20.16.5",
61+
"@types/react": "17",
62+
"@types/react-dom": "17",
63+
"@types/sortablejs": "^1.15.8",
6464
"@types/uuid": "^9.0.8",
6565
"@types/webextension-polyfill": "^0.10.7",
66-
"@uiw/codemirror-extensions-color": "^4.21.25",
67-
"@uiw/codemirror-theme-github": "^4.21.25",
68-
"@uiw/react-codemirror": "^4.21.25",
69-
"autoprefixer": "^10.4.17",
66+
"@uiw/codemirror-extensions-color": "^4.23.3",
67+
"@uiw/codemirror-theme-github": "^4.23.3",
68+
"@vitejs/plugin-react": "^4.3.1",
69+
"autoprefixer": "^10.4.20",
7070
"classnames": "^2.5.1",
71+
"codemirror": "^6.0.1",
7172
"color": "^4.2.3",
72-
"dompurify": "^3.0.8",
73-
"framer-motion": "^11.0.25",
73+
"dompurify": "^3.1.6",
74+
"embla-carousel-autoplay": "^8.3.1",
75+
"embla-carousel-svelte": "^8.3.1",
76+
"fuse.js": "^7.0.0",
77+
"idb": "^8.0.0",
7478
"kolorist": "^1.8.0",
7579
"localforage": "^1.10.0",
7680
"lodash": "^4.17.21",
77-
"million": "latest",
78-
"motion": "^10.17.0",
81+
"million": "^3.1.11",
82+
"motion": "^10.18.0",
83+
"postcss": "^8.4.45",
7984
"publish-browser-extension": "^2.2.1",
80-
"react": "^18.2.0",
81-
"react-best-gradient-color-picker": "3.0.5",
82-
"react-dom": "^18.2.0",
83-
"react-error-boundary": "^4.0.13",
84-
"react-router-dom": "^6.22.0",
85-
"react-toastify": "^10.0.5",
86-
"rimraf": "^5.0.5",
87-
"sortablejs": "^1.15.2",
88-
"swiper": "latest",
89-
"tailwindcss": "^3.4.1",
90-
"ts-loader": "^9.5.1",
91-
"typescript": "^5.3.3",
85+
"react": "17",
86+
"react-best-gradient-color-picker": "^3.0.10",
87+
"react-dom": "17",
88+
"sortablejs": "^1.15.3",
89+
"svelte": "^5.1.9",
90+
"tailwindcss": "^3.4.11",
91+
"typescript": "^5.6.2",
9292
"uuid": "^9.0.1",
93-
"vite": "^5.4.2",
93+
"vite": "^5.4.4",
9494
"webextension-polyfill": "^0.10.0"
9595
}
9696
}

postcss.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
}

0 commit comments

Comments
 (0)