refactor: package upgrade

This commit is contained in:
鲁树人 2024-09-24 22:58:21 +01:00
parent 0973d14e63
commit 6ed2f51d40
6 changed files with 3374 additions and 3263 deletions

12
.run/test.run.xml Normal file
View File

@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="test" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="test" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>

12
.run/vite dev.run.xml Normal file
View File

@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="vite dev" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="start" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>

View File

@ -24,50 +24,51 @@
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.11.0",
"@reduxjs/toolkit": "^2.0.1", "@reduxjs/toolkit": "^2.0.1",
"@unlock-music/crypto": "0.1.0", "@unlock-music/crypto": "0.1.0",
"framer-motion": "^10.16.16", "framer-motion": "^11.5.6",
"nanoid": "^5.0.4", "nanoid": "^5.0.7",
"radash": "^11.0.0", "radash": "^12.1.0",
"react": "^18.2.0", "react": "^18.3.1",
"react-dom": "^18.2.0", "react-dom": "^18.3.1",
"react-dropzone": "^14.2.3", "react-dropzone": "^14.2.3",
"react-icons": "^4.12.0", "react-icons": "^5.3.0",
"react-promise-suspense": "^0.3.4", "react-promise-suspense": "^0.3.4",
"react-redux": "^9.0.4", "react-redux": "^9.1.2",
"react-syntax-highlighter": "^15.5.0", "react-syntax-highlighter": "^15.5.0",
"sass": "^1.69.5", "sass": "^1.79.3",
"sql.js": "^1.9.0" "sql.js": "^1.11.0"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-replace": "^6.0.1",
"@testing-library/jest-dom": "^6.1.5", "@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^14.1.2", "@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.1", "@testing-library/user-event": "^14.5.2",
"@types/node": "^20.10.5", "@types/node": "^22.6.1",
"@types/react": "^18.2.45", "@types/react": "^18.3.9",
"@types/react-dom": "^18.2.18", "@types/react-dom": "^18.3.0",
"@types/react-syntax-highlighter": "^15.5.11", "@types/react-syntax-highlighter": "^15.5.13",
"@types/sql.js": "^1.4.9", "@types/sql.js": "^1.4.9",
"@typescript-eslint/eslint-plugin": "^6.15.0", "@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^6.15.0", "@typescript-eslint/parser": "^8.7.0",
"@vitejs/plugin-react": "^4.2.1", "@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^1.1.0", "@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^1.1.0", "@vitest/ui": "^2.1.1",
"eslint": "^8.56.0", "eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.5", "eslint-plugin-react-refresh": "^0.4.12",
"husky": "^8.0.3", "husky": "^9.1.6",
"jsdom": "^23.0.1", "jsdom": "^25.0.1",
"lint-staged": "^15.2.0", "lint-staged": "^15.2.10",
"prettier": "^3.1.1", "prettier": "^3.3.3",
"terser": "^5.27.0", "rollup": "^4.22.4",
"typescript": "^5.3.3", "terser": "^5.33.0",
"vite": "^5.0.10", "typescript": "^5.6.2",
"vite-plugin-pwa": "^0.17.4", "vite": "^5.4.7",
"vite-plugin-top-level-await": "^1.4.1", "vite-plugin-pwa": "^0.20.5",
"vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-wasm": "^3.3.0", "vite-plugin-wasm": "^3.3.0",
"vitest": "^1.1.0", "vitest": "^2.1.1",
"workbox-window": "^7.0.0" "workbox-window": "^7.1.0"
}, },
"lint-staged": { "lint-staged": {
"*": "prettier --write --ignore-unknown", "*": "prettier --write --ignore-unknown",
@ -80,8 +81,8 @@
}, },
"pnpm": { "pnpm": {
"patchedDependencies": { "patchedDependencies": {
"@rollup/plugin-terser@0.4.3": "patches/@rollup__plugin-terser@0.4.3.patch", "@rollup/plugin-terser": "patches/@rollup__plugin-terser.patch",
"sql.js@1.9.0": "patches/sql.js@1.9.0.patch" "sql.js": "patches/sql.js.patch"
}, },
"overrides": { "overrides": {
"rollup-plugin-terser": "npm:@rollup/plugin-terser@0.4.3", "rollup-plugin-terser": "npm:@rollup/plugin-terser@0.4.3",

View File

@ -1,8 +1,8 @@
diff --git a/dist/sql-wasm.js b/dist/sql-wasm.js diff --git a/dist/sql-wasm.js b/dist/sql-wasm.js
index d29af3624109025e59966cf25cb357111bb459de..1b028e3d91ec37108f775627f31f1134aec47476 100644 index b16cee5c3cbdf523f9beae920258094ae7fcbd0f..ae67be7145625c60995c5044860e87d6144a8837 100644
--- a/dist/sql-wasm.js --- a/dist/sql-wasm.js
+++ b/dist/sql-wasm.js +++ b/dist/sql-wasm.js
@@ -190,3 +190,6 @@ else if (typeof define === 'function' && define['amd']) { @@ -187,3 +187,6 @@ else if (typeof define === 'function' && define['amd']) {
else if (typeof exports === 'object'){ else if (typeof exports === 'object'){
exports["Module"] = initSqlJs; exports["Module"] = initSqlJs;
} }

File diff suppressed because it is too large Load Diff