diff --git a/owmods_gui/frontend/package-lock.json b/owmods_gui/frontend/package-lock.json index 7787b785..cc887608 100644 --- a/owmods_gui/frontend/package-lock.json +++ b/owmods_gui/frontend/package-lock.json @@ -30,12 +30,14 @@ "@eslint/compat": "^2.0.5", "@eslint/eslintrc": "^3.3.5", "@eslint/js": "^9.39.4", + "@rolldown/plugin-babel": "^0.2.3", "@tauri-apps/cli": "^2.10.1", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^8.59.0", "@typescript-eslint/parser": "^8.59.0", "@vitejs/plugin-react": "^6.0.1", + "babel-plugin-react-compiler": "^1.0.0", "eslint": "^9.39.4", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "^7.1.1", @@ -43,7 +45,8 @@ "prettier": "^3.8.3", "typescript": "^6.0.3", "vite": "^8.0.10", - "vite-imagetools": "^10.0.0" + "vite-imagetools": "^10.0.0", + "yaml": "^2.8.3" }, "engines": { "node": ">=20.0.0", @@ -105,23 +108,6 @@ "url": "https://opencollective.com/babel" } }, - "node_modules/@babel/core/node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/@babel/generator": { "version": "7.29.1", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz", @@ -155,16 +141,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/@babel/helper-globals": { "version": "7.28.0", "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", @@ -369,6 +345,12 @@ "stylis": "4.2.0" } }, + "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "license": "MIT" + }, "node_modules/@emotion/cache": { "version": "11.14.0", "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.14.0.tgz", @@ -1937,6 +1919,37 @@ "node": "^20.19.0 || >=22.12.0" } }, + "node_modules/@rolldown/plugin-babel": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.2.3.tgz", + "integrity": "sha512-+zEk16yGlz1F9STiRr6uG9hmIXb6nprjLczV/htGptYuLoCuxb+itZ03RKCEeOhBpDDd1NU7qF6x1VLMUp62bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=22.12.0 || ^24.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.29.0 || ^8.0.0-rc.1", + "@babel/plugin-transform-runtime": "^7.29.0 || ^8.0.0-rc.1", + "@babel/runtime": "^7.27.0 || ^8.0.0-rc.1", + "rolldown": "^1.0.0-rc.5", + "vite": "^8.0.0" + }, + "peerDependenciesMeta": { + "@babel/plugin-transform-runtime": { + "optional": true + }, + "@babel/runtime": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, "node_modules/@rolldown/pluginutils": { "version": "1.0.0-rc.7", "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.7.tgz", @@ -2329,17 +2342,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.0.tgz", - "integrity": "sha512-HyAZtpdkgZwpq8Sz3FSUvCR4c+ScbuWa9AksK2Jweub7w4M3yTz4O11AqVJzLYjy/B9ZWPyc81I+mOdJU/bDQw==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.1.tgz", + "integrity": "sha512-BOziFIfE+6osHO9FoJG4zjoHUcvI7fTNBSpdAwrNH0/TLvzjsk2oo8XSSOT2HhqUyhZPfHv4UOffoJ9oEEQ7Ag==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.59.0", - "@typescript-eslint/type-utils": "8.59.0", - "@typescript-eslint/utils": "8.59.0", - "@typescript-eslint/visitor-keys": "8.59.0", + "@typescript-eslint/scope-manager": "8.59.1", + "@typescript-eslint/type-utils": "8.59.1", + "@typescript-eslint/utils": "8.59.1", + "@typescript-eslint/visitor-keys": "8.59.1", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -2352,7 +2365,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.59.0", + "@typescript-eslint/parser": "^8.59.1", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } @@ -2368,16 +2381,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.0.tgz", - "integrity": "sha512-TI1XGwKbDpo9tRW8UDIXCOeLk55qe9ZFGs8MTKU6/M08HWTw52DD/IYhfQtOEhEdPhLMT26Ka/x7p70nd3dzDg==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.1.tgz", + "integrity": "sha512-HDQH9O/47Dxi1ceDhBXdaldtf/WV9yRYMjbjCuNk3qnaTD564qwv61Y7+gTxwxRKzSrgO5uhtw584igXVuuZkA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.59.0", - "@typescript-eslint/types": "8.59.0", - "@typescript-eslint/typescript-estree": "8.59.0", - "@typescript-eslint/visitor-keys": "8.59.0", + "@typescript-eslint/scope-manager": "8.59.1", + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/typescript-estree": "8.59.1", + "@typescript-eslint/visitor-keys": "8.59.1", "debug": "^4.4.3" }, "engines": { @@ -2393,14 +2406,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.0.tgz", - "integrity": "sha512-Lw5ITrR5s5TbC19YSvlr63ZfLaJoU6vtKTHyB0GQOpX0W7d5/Ir6vUahWi/8Sps/nOukZQ0IB3SmlxZnjaKVnw==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.1.tgz", + "integrity": "sha512-+MuHQlHiEr00Of/IQbE/MmEoi44znZHbR/Pz7Opq4HryUOlRi+/44dro9Ycy8Fyo+/024IWtw8m4JUMCGTYxDg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.59.0", - "@typescript-eslint/types": "^8.59.0", + "@typescript-eslint/tsconfig-utils": "^8.59.1", + "@typescript-eslint/types": "^8.59.1", "debug": "^4.4.3" }, "engines": { @@ -2415,14 +2428,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.0.tgz", - "integrity": "sha512-UzR16Ut8IpA3Mc4DbgAShlPPkVm8xXMWafXxB0BocaVRHs8ZGakAxGRskF7FId3sdk9lgGD73GSFaWmWFDE4dg==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.1.tgz", + "integrity": "sha512-LwuHQI4pDOYVKvmH2dkaJo6YZCSgouVgnS/z7yBPKBMvgtBvyLqiLy9Z6b7+m/TRcX1NFYUqZetI5Y+aT4GEfg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.0", - "@typescript-eslint/visitor-keys": "8.59.0" + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/visitor-keys": "8.59.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2433,9 +2446,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.0.tgz", - "integrity": "sha512-91Sbl3s4Kb3SybliIY6muFBmHVv+pYXfybC4Oolp3dvk8BvIE3wOPc+403CWIT7mJNkfQRGtdqghzs2+Z91Tqg==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.1.tgz", + "integrity": "sha512-/0nEyPbX7gRsk0Uwfe4ALwwgxuA66d/l2mhRDNlAvaj4U3juhUtJNq0DsY8M2AYwwb9rEq2hrC3IcIcEt++iJA==", "dev": true, "license": "MIT", "engines": { @@ -2450,15 +2463,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.0.tgz", - "integrity": "sha512-3TRiZaQSltGqGeNrJzzr1+8YcEobKH9rHnqIp/1psfKFmhRQDNMGP5hBufanYTGznwShzVLs3Mz+gDN7HkWfXg==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.1.tgz", + "integrity": "sha512-klWPBR2ciQHS3f++ug/mVnWKPjBUo7icEL3FAO1lhAR1Z1i5NQYZ1EannMSRYcq5qCv5wNALlXr6fksRHyYl7w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.0", - "@typescript-eslint/typescript-estree": "8.59.0", - "@typescript-eslint/utils": "8.59.0", + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/typescript-estree": "8.59.1", + "@typescript-eslint/utils": "8.59.1", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -2475,9 +2488,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.0.tgz", - "integrity": "sha512-nLzdsT1gdOgFxxxwrlNVUBzSNBEEHJ86bblmk4QAS6stfig7rcJzWKqCyxFy3YRRHXDWEkb2NralA1nOYkkm/A==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.1.tgz", + "integrity": "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A==", "dev": true, "license": "MIT", "engines": { @@ -2489,16 +2502,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.0.tgz", - "integrity": "sha512-O9Re9P1BmBLFJyikRbQpLku/QA3/AueZNO9WePLBwQrvkixTmDe8u76B6CYUAITRl/rHawggEqUGn5QIkVRLMw==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.1.tgz", + "integrity": "sha512-OUd+vJS05sSkOip+BkZ/2NS8RMxrAAJemsC6vU3kmfLyeaJT0TftHkV9mcx2107MmsBVXXexhVu4F0TZXyMl4g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.59.0", - "@typescript-eslint/tsconfig-utils": "8.59.0", - "@typescript-eslint/types": "8.59.0", - "@typescript-eslint/visitor-keys": "8.59.0", + "@typescript-eslint/project-service": "8.59.1", + "@typescript-eslint/tsconfig-utils": "8.59.1", + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/visitor-keys": "8.59.1", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -2555,17 +2568,30 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", + "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@typescript-eslint/utils": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.0.tgz", - "integrity": "sha512-I1R/K7V07XsMJ12Oaxg/O9GfrysGTmCRhvZJBv0RE0NcULMzjqVpR5kRRQjHsz3J/bElU7HwCO7zkqL+MSUz+g==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.1.tgz", + "integrity": "sha512-3pIeoXhCeYH9FSCBI8P3iNwJlGuzPlYKkTlen2O9T1DSeeg8UG8jstq6BLk+Mda0qup7mgk4z4XL4OzRaxZ8LA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.59.0", - "@typescript-eslint/types": "8.59.0", - "@typescript-eslint/typescript-estree": "8.59.0" + "@typescript-eslint/scope-manager": "8.59.1", + "@typescript-eslint/types": "8.59.1", + "@typescript-eslint/typescript-estree": "8.59.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2580,13 +2606,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.0.tgz", - "integrity": "sha512-/uejZt4dSere1bx12WLlPfv8GktzcaDtuJ7s42/HEZ5zGj9oxRaD4bj7qwSunXkf+pbAhFt2zjpHYUiT5lHf0Q==", + "version": "8.59.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.1.tgz", + "integrity": "sha512-LdDNl6C5iJExcM0Yh0PwAIBb9PrSiCsWamF/JyEZawm3kFDnRoaq3LGE4bpyRao/fWeGKKyw7icx0YxrLFC5Cg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.0", + "@typescript-eslint/types": "8.59.1", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -2878,6 +2904,16 @@ "npm": ">=6" } }, + "node_modules/babel-plugin-react-compiler": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-react-compiler/-/babel-plugin-react-compiler-1.0.0.tgz", + "integrity": "sha512-Ixm8tFfoKKIPYdCCKYTsqv+Fd4IJ0DQqMyEimo+pxUOMUR9cVPlwTrFt9Avu+3cb6Zp3mAzl+t1MrG2fxxKsxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.26.0" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -3077,9 +3113,10 @@ "license": "MIT" }, "node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, "license": "MIT" }, "node_modules/cosmiconfig": { @@ -3098,6 +3135,15 @@ "node": ">=10" } }, + "node_modules/cosmiconfig/node_modules/yaml": { + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.3.tgz", + "integrity": "sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA==", + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -3632,16 +3678,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint-plugin-react/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/eslint-scope": { "version": "8.4.0", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", @@ -5196,16 +5232,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/node-exports-info/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/node-releases": { "version": "2.0.38", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.38.tgz", @@ -5803,16 +5829,13 @@ "license": "MIT" }, "node_modules/semver": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", - "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" } }, "node_modules/set-function-length": { @@ -5909,6 +5932,19 @@ "@img/sharp-win32-x64": "0.34.5" } }, + "node_modules/sharp/node_modules/semver": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", + "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -6605,12 +6641,19 @@ "license": "ISC" }, "node_modules/yaml": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.3.tgz", - "integrity": "sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA==", + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", + "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", + "dev": true, "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, "engines": { - "node": ">= 6" + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" } }, "node_modules/yocto-queue": { diff --git a/owmods_gui/frontend/package.json b/owmods_gui/frontend/package.json index d4dfef0c..895a5a48 100644 --- a/owmods_gui/frontend/package.json +++ b/owmods_gui/frontend/package.json @@ -40,12 +40,14 @@ "@eslint/compat": "^2.0.5", "@eslint/eslintrc": "^3.3.5", "@eslint/js": "^9.39.4", + "@rolldown/plugin-babel": "^0.2.3", "@tauri-apps/cli": "^2.10.1", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^8.59.0", "@typescript-eslint/parser": "^8.59.0", "@vitejs/plugin-react": "^6.0.1", + "babel-plugin-react-compiler": "^1.0.0", "eslint": "^9.39.4", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "^7.1.1", @@ -53,6 +55,7 @@ "prettier": "^3.8.3", "typescript": "^6.0.3", "vite": "^8.0.10", - "vite-imagetools": "^10.0.0" + "vite-imagetools": "^10.0.0", + "yaml": "^2.8.3" } } diff --git a/owmods_gui/frontend/src/assets/translations/template.json b/owmods_gui/frontend/src/assets/translations/template.json index d561a2fd..bb04cc68 100644 --- a/owmods_gui/frontend/src/assets/translations/template.json +++ b/owmods_gui/frontend/src/assets/translations/template.json @@ -1,177 +1,177 @@ { - "ABOUT": "", - "ACTIONS": "", - "ALERT_URL": "", - "ANALYTICS": "", - "ANY": "", - "APP_TITLE": "", - "APP_VERSION": "", - "ARCHITECTURE": "", - "AUTO_DISABLE_DEPS": "", - "AUTO_ENABLE_DEPS": "", - "BROWSE": "", - "BY": "", - "Blue": "", - "Blurple": "", - "CANCEL": "", - "CLEAR_DB_ALERTS": "", - "CLEAR_LOGS": "", - "CLEAR_MOD_ALERTS": "", - "CLEAR_TAGS": "", - "CONFIRM": "", - "CONTINUE": "", - "COPY_UNIQUE_NAME": "", - "ConflictingMod": "", - "DB_URL": "", - "DEBUG_MODE": "", - "DISABLED_MODS": "", - "DISABLE_ALL": "", - "DISABLE_MISSING_MODS": "", - "DISABLE_VERSION_POPUP": "", - "DISABLE_WARNING": "", - "DISCORD": "", - "DISMISS": "", - "DONATE": "", - "DOWNLOADS": "", - "DOWNLOAD_COUNT": "", - "Debug": "", - "DisabledDep": "", - "DuplicateMod": "", - "EDIT_OWML": "", - "ENABLE_ALL": "", - "ENABLE_DEPS_MESSAGE": "", - "ERROR_LOADING_OWML_CONFIG": "", - "EXPORT_MODS": "", - "Error": "", - "FATAL_ERROR": "", - "FILE_DROP_MESSAGE": "", - "FILE_PATH": "", - "FILTER": "", - "FIX": "", - "FORCE_EXE": "", - "GAME_PATH": "", - "GENERAL_SETTINGS": "", - "GET_MODS": "", - "GITHUB": "", - "GUI_SETTINGS": "", - "GhostlyGreen": "", - "Green": "", - "HELP": "", - "HIDE_DLC_MODS": "", - "HIDE_DONATE_LINKS": "", - "HIDE_INSTALLED_MODS_IN_REMOTE": "", - "HIDE_MOD_THUMBNAILS": "", - "IMPORT": "", - "IMPORT_MODS": "", - "IMPORT_MODS_EXPLANATION": "", - "INCREMENTAL_GC": "", - "INSTALL": "", - "INSTALLED_MODS": "", - "INSTALL_FROM": "", - "INSTALL_OWML": "", - "INSTALL_OWML_PRERELEASE": "", - "INSTALL_WARNING": "", - "INVALID_OWML": "", - "Info": "", - "InvalidManifest": "", - "JSON_FILE": "", - "LANGUAGE": "", - "LAUNCH_ANYWAY": "", - "LET_OWML_HANDLE_LOGS": "", - "LOCATE_OWML": "", - "LOGS": "", - "LOGS_TITLE": "", - "LOG_BEHIND": "", - "LOG_COUNT": "", - "LOG_MESSAGE": "", - "LOG_MULTI_WINDOW": "", - "MANAGER_LOGS": "", - "MORE": "", - "Message": "", - "MissingDLL": "", - "MissingDep": "", - "NAME": "", - "NO_DOWNLOADS": "", - "NO_MODS": "", - "NO_MODS_FROM_FILTER": "", - "NO_REMOTE_MODS": "", - "NO_UPDATES": "", - "NomaiBlue": "", - "NomaiYellow": "", - "OPEN_GITHUB": "", - "OPEN_OWML": "", - "OPEN_README": "", - "OPEN_WEBSITE": "", - "OUTDATED": "", - "OWML_INSTALL_ERROR": "", - "OWML_LOGS": "", - "OWML_NO_PRERELEASE": "", - "OWML_PATH": "", - "OWML_SETTINGS": "", - "OWML_SETUP_MESSAGE": "", - "Outdated": "", - "OuterWildsOrange": "", - "PAGE_ERROR": "", - "PLATFORM": "", - "PREPATCHER_WARNING": "", - "PREPATCHER_WARNING_TITLE": "", - "PRERELEASE_WARNING": "", - "Pink": "", - "Purple": "", - "RAINBOW": "", - "REFRESH": "", - "REINSTALL": "", - "RESET": "", - "REQUIRES_DLC": "", - "RUN_GAME": "", - "Red": "", - "SAVE": "", - "SEARCH": "", - "SEARCH_LOGS": "", - "SELECT": "", - "SENDER": "", - "SETTINGS": "", - "SETUP": "", - "SHOW_FOLDER": "", - "Success": "", - "THEME": "", - "TOOLTIP_ALERT_URL": "", - "TOOLTIP_ANALYTICS": "", - "TOOLTIP_AUTO_DISABLE_DEPS": "", - "TOOLTIP_AUTO_ENABLE_DEPS": "", - "TOOLTIP_CLEAR_DB_ALERTS": "", - "TOOLTIP_CLEAR_MOD_ALERTS": "", - "TOOLTIP_DATABASE_URL": "", - "TOOLTIP_DISABLE_VERSION_POPUP": "", - "TOOLTIP_DISABLE_WARNING": "", - "TOOLTIP_FORCE_EXE": "", - "TOOLTIP_GAME_PATH": "", - "TOOLTIP_HIDE_DLC_MODS": "", - "TOOLTIP_HIDE_DONATE_LINKS": "", - "TOOLTIP_HIDE_INSTALLED_MODS_IN_REMOTE": "", - "TOOLTIP_HIDE_MOD_THUMBNAILS": "", - "TOOLTIP_INCREMENTAL_GC": "", - "TOOLTIP_LET_OWML_HANDLE_LOGS": "", - "TOOLTIP_LOG_MULTI_WINDOW": "", - "TOOLTIP_MANAGER_LOGS": "", - "TOOLTIP_OWML_DEBUG_MODE": "", - "TOOLTIP_OWML_PATH": "", - "TOOLTIP_RAINBOW": "", - "TOOLTIP_WATCH_FS": "", - "UNINSTALL": "", - "UNIQUE_NAME": "", - "UNKNOWN_ERROR": "", - "UPDATE": "", - "UPDATES": "", - "UPDATE_ALL": "", - "UPDATING_ALL": "", - "URL": "", - "USE_PRERELEASE": "", - "USE_PRERELEASE_CHECKBOX": "", - "VALIDATION_FIX_MESSAGE": "", - "VERSION": "", - "WATCH_FS": "", - "Warning": "", - "ZIP": "", - "_": "" -} \ No newline at end of file + "ABOUT": "", + "ACTIONS": "", + "ALERT_URL": "", + "ANALYTICS": "", + "ANY": "", + "APP_TITLE": "", + "APP_VERSION": "", + "ARCHITECTURE": "", + "AUTO_DISABLE_DEPS": "", + "AUTO_ENABLE_DEPS": "", + "BROWSE": "", + "BY": "", + "Blue": "", + "Blurple": "", + "CANCEL": "", + "CLEAR_DB_ALERTS": "", + "CLEAR_LOGS": "", + "CLEAR_MOD_ALERTS": "", + "CLEAR_TAGS": "", + "CONFIRM": "", + "CONTINUE": "", + "COPY_UNIQUE_NAME": "", + "ConflictingMod": "", + "DB_URL": "", + "DEBUG_MODE": "", + "DISABLED_MODS": "", + "DISABLE_ALL": "", + "DISABLE_MISSING_MODS": "", + "DISABLE_VERSION_POPUP": "", + "DISABLE_WARNING": "", + "DISCORD": "", + "DISMISS": "", + "DONATE": "", + "DOWNLOADS": "", + "DOWNLOAD_COUNT": "", + "Debug": "", + "DisabledDep": "", + "DuplicateMod": "", + "EDIT_OWML": "", + "ENABLE_ALL": "", + "ENABLE_DEPS_MESSAGE": "", + "ERROR_LOADING_OWML_CONFIG": "", + "EXPORT_MODS": "", + "Error": "", + "FATAL_ERROR": "", + "FILE_DROP_MESSAGE": "", + "FILE_PATH": "", + "FILTER": "", + "FIX": "", + "FORCE_EXE": "", + "GAME_PATH": "", + "GENERAL_SETTINGS": "", + "GET_MODS": "", + "GITHUB": "", + "GUI_SETTINGS": "", + "GhostlyGreen": "", + "Green": "", + "HELP": "", + "HIDE_DLC_MODS": "", + "HIDE_DONATE_LINKS": "", + "HIDE_INSTALLED_MODS_IN_REMOTE": "", + "HIDE_MOD_THUMBNAILS": "", + "IMPORT": "", + "IMPORT_MODS": "", + "IMPORT_MODS_EXPLANATION": "", + "INCREMENTAL_GC": "", + "INSTALL": "", + "INSTALLED_MODS": "", + "INSTALL_FROM": "", + "INSTALL_OWML": "", + "INSTALL_OWML_PRERELEASE": "", + "INSTALL_WARNING": "", + "INVALID_OWML": "", + "Info": "", + "InvalidManifest": "", + "JSON_FILE": "", + "LANGUAGE": "", + "LAUNCH_ANYWAY": "", + "LET_OWML_HANDLE_LOGS": "", + "LOCATE_OWML": "", + "LOGS": "", + "LOGS_TITLE": "", + "LOG_BEHIND": "", + "LOG_COUNT": "", + "LOG_MESSAGE": "", + "LOG_MULTI_WINDOW": "", + "MANAGER_LOGS": "", + "MORE": "", + "Message": "", + "MissingDLL": "", + "MissingDep": "", + "NAME": "", + "NO_DOWNLOADS": "", + "NO_MODS": "", + "NO_MODS_FROM_FILTER": "", + "NO_REMOTE_MODS": "", + "NO_UPDATES": "", + "NomaiBlue": "", + "NomaiYellow": "", + "OPEN_GITHUB": "", + "OPEN_OWML": "", + "OPEN_README": "", + "OPEN_WEBSITE": "", + "OUTDATED": "", + "OWML_INSTALL_ERROR": "", + "OWML_LOGS": "", + "OWML_NO_PRERELEASE": "", + "OWML_PATH": "", + "OWML_SETTINGS": "", + "OWML_SETUP_MESSAGE": "", + "Outdated": "", + "OuterWildsOrange": "", + "PAGE_ERROR": "", + "PLATFORM": "", + "PREPATCHER_WARNING": "", + "PREPATCHER_WARNING_TITLE": "", + "PRERELEASE_WARNING": "", + "Pink": "", + "Purple": "", + "RAINBOW": "", + "REFRESH": "", + "REINSTALL": "", + "RESET": "", + "REQUIRES_DLC": "", + "RUN_GAME": "", + "Red": "", + "SAVE": "", + "SEARCH": "", + "SEARCH_LOGS": "", + "SELECT": "", + "SENDER": "", + "SETTINGS": "", + "SETUP": "", + "SHOW_FOLDER": "", + "Success": "", + "THEME": "", + "TOOLTIP_ALERT_URL": "", + "TOOLTIP_ANALYTICS": "", + "TOOLTIP_AUTO_DISABLE_DEPS": "", + "TOOLTIP_AUTO_ENABLE_DEPS": "", + "TOOLTIP_CLEAR_DB_ALERTS": "", + "TOOLTIP_CLEAR_MOD_ALERTS": "", + "TOOLTIP_DATABASE_URL": "", + "TOOLTIP_DISABLE_VERSION_POPUP": "", + "TOOLTIP_DISABLE_WARNING": "", + "TOOLTIP_FORCE_EXE": "", + "TOOLTIP_GAME_PATH": "", + "TOOLTIP_HIDE_DLC_MODS": "", + "TOOLTIP_HIDE_DONATE_LINKS": "", + "TOOLTIP_HIDE_INSTALLED_MODS_IN_REMOTE": "", + "TOOLTIP_HIDE_MOD_THUMBNAILS": "", + "TOOLTIP_INCREMENTAL_GC": "", + "TOOLTIP_LET_OWML_HANDLE_LOGS": "", + "TOOLTIP_LOG_MULTI_WINDOW": "", + "TOOLTIP_MANAGER_LOGS": "", + "TOOLTIP_OWML_DEBUG_MODE": "", + "TOOLTIP_OWML_PATH": "", + "TOOLTIP_RAINBOW": "", + "TOOLTIP_WATCH_FS": "", + "UNINSTALL": "", + "UNIQUE_NAME": "", + "UNKNOWN_ERROR": "", + "UPDATE": "", + "UPDATES": "", + "UPDATE_ALL": "", + "UPDATING_ALL": "", + "URL": "", + "USE_PRERELEASE": "", + "USE_PRERELEASE_CHECKBOX": "", + "VALIDATION_FIX_MESSAGE": "", + "VERSION": "", + "WATCH_FS": "", + "Warning": "", + "ZIP": "", + "_": "" +} diff --git a/owmods_gui/frontend/src/commands.ts b/owmods_gui/frontend/src/commands.ts index 898ffccd..413f8042 100644 --- a/owmods_gui/frontend/src/commands.ts +++ b/owmods_gui/frontend/src/commands.ts @@ -95,7 +95,7 @@ const commandInfo = { logError: $>("log_error"), forceLogUpdate: $>("force_log_update"), showLogsFolder: $("show_log_folder"), - openOwmlLogsFolder: $("open_owml_logs_folder"), + openOwmlLogsFolder: $("open_owml_logs_folder") }; type Command = keyof typeof commandInfo; diff --git a/owmods_gui/frontend/vite.config.ts b/owmods_gui/frontend/vite.config.ts index 77b5688b..8f1f1e01 100644 --- a/owmods_gui/frontend/vite.config.ts +++ b/owmods_gui/frontend/vite.config.ts @@ -36,7 +36,7 @@ export default defineConfig({ } }, outDir: "../dist", - minify: !process.env.TAURI_ENV_DEBUG ? "esbuild" : false, + minify: !process.env.TAURI_ENV_DEBUG, sourcemap: !!process.env.TAURI_ENV_DEBUG }, resolve: {