Skip to content

Commit

Permalink
Removes PNPM Feature (#1060)
Browse files Browse the repository at this point in the history
Removes the auto-install mod dependencies feature, the related messages,
and the configuration option.

Co-authored-by: Chomp <[email protected]>
  • Loading branch information
refringe and chompDev authored Jan 9, 2025
1 parent 6be6d90 commit 17a614a
Show file tree
Hide file tree
Showing 27 changed files with 2 additions and 169 deletions.
23 changes: 1 addition & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
## SPT
*.exe
*.zip
*.d.ts
project/.pkg-cache/
project/build/
project/obj/
project/dist/
project/user/
project/logs/
project/SPT_Data/
project/tmp/
project/docs/
project/types/
project/tests/__cache__/
project/tests/__coverage__/
Expand All @@ -19,31 +16,13 @@ project/src/__coverage__/
.vs
.idea
.vscode
slnx.sqlite
slnx-journal.sqlite

## nodejs
package-lock.json
node_modules
node.exe
pnpm-lock.yaml
yarn.lock

## windows
desktop.ini

## OSX
.DS_Store

## parcel
.parcel-cache/

## Pkg
.pkg-cache

## yarn
**/yarn-error.log

#jest
coverage
.scannerwork/
1 change: 0 additions & 1 deletion project/assets/configs/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@
}
},
"features": {
"autoInstallModDependencies": false,
"compressProfile": false,
"chatbotFeatures": {
"sptFriendEnabled": true,
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@
"modloader-error_parsing_mod_load_order": "حدث خطأ أثناء تحليل ترتيب المودات.\n\n\n\n\n\n\n",
"modloader-incompatibilities_not_string_array": "يجب أن يكون Mod %s package.json الخاصية 'incompatibilities' مصفوفة سلاسل",
"modloader-incompatible_mod_found": "المود {{author}}-{{name}} غير متوافق مع {{incompatibleModName}}.\n\n\n\n\n\n\n",
"modloader-installing_external_dependencies": "تثبيت الاعتمادات للإضافة: {{name}} بواسطة: {{author}}",
"modloader-installing_external_dependencies_disabled": "الإضافة: {{name}}: {{author}} تتطلب اعتمادات خارجية ولكن الميزة معطلة حاليًا، اذهب إلى \"{{configPath}}\", اضبط \"{{configOption}}\" إلى \"صحيح\" و أعد تشغيل الخادم.\nبتمكينك هذا فإنك تتحمل كل المسؤولية عن ما سيتم تحميله من قبل {{name}} إلى جهازك.",
"modloader-invalid_version_property": "ملف package.json للمود %s يحتوي على سلسلة إصدار غير صالحة.\n\n\n\n\n\n\n",
"modloader-is_client_mod": "المود (%s) هو مود خاص بالعميل ويجب وضعه في المجلد التالي: /spt/bepinex/plugins\n\n\n\n\n\n\n",
"modloader-load_order_conflict": "{{modOneName}} و {{modTwoName}} لديهما متطلبات تعارض في ترتيب التحميل، لا يمكن للخادم أن يبدأ حتى يتم حل هذا وسيتم إيقاف التشغيل.\n\n\n\n\n\n\n",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@
"modloader-error_parsing_mod_load_order": "Chyba parsování načítání pořadí módů",
"modloader-incompatibilities_not_string_array": "Vlastnost módu %s package.json 'incompatibility' by měla být pole pro řetězec",
"modloader-incompatible_mod_found": "Modifikace {{author}}-{{name}} je nekompatibilní s {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Instalace závislostí pro mód: {{name}} od autora: {{author}}",
"modloader-installing_external_dependencies_disabled": "Mód: {{name}} od: {{author}} vyžaduje externí závislosti, ale funkce je momentálně zakázána, přejděte na \"{{configPath}}\", nastavte \"{{configOption}}\" na true a restartujte server.\nPovolením této funkce přijímáte veškerou odpovědnost za to, co {{name}} stáhne do vašeho počítače.",
"modloader-invalid_version_property": "Mód %s package.json obsahuje neplatnou verzi řetězce",
"modloader-is_client_mod": "Mód (%s) je klientský mód a měl by být umístěn v následující složce: /spt/bepinex/plugins",
"modloader-load_order_conflict": "`{{modOneName}}` a `{{modTwoName}}` mají protichůdné požadavky na pořadí načítání, server není schopen spustit, dokud nebude opraven a nebude vypnut",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
"modloader-error_parsing_mod_load_order": "Fehler beim Parsen der Mod-Ladereihenfolge",
"modloader-incompatibilities_not_string_array": "Die Mod %s package.json Eigenschaft 'Inkompatibilitäten' sollte ein String-Array sein",
"modloader-incompatible_mod_found": "Mod {{author}}-{{name}} ist nicht kompatibel mit {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Abhängigkeiten für Mod: {{name}} von: {{author}} werden installieren",
"modloader-installing_external_dependencies_disabled": "Mod: {{name}} von: {{author}} erfordert externe Abhängigkeiten, aber die Funktion ist derzeit deaktiviert. Gehe zu '{{configPath}}', setze '{{configOption}}' auf 'true' und starte den Server neu.\nWenn du dies aktivierst, übernimmst du die volle Verantwortung dafür, was {{name}} auf deinen Computer herunterlädt.",
"modloader-invalid_sptVersion_field": "Mod: %s enthält eine ungültige ´semver´ Zeichenkette im ´sptversions´ Feld. Beispiele für gültige Werte: https://github.com/npm/node-semver#versions",
"modloader-invalid_version_property": "Mod %s package.json enthält eine ungültige Versionszeichenfolge",
"modloader-is_client_mod": "Mod (%s) ist ein Client-Mod und sollte im folgenden Ordner abgelegt werden: /spt/bepinex/plugins",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
"modloader-error_parsing_mod_load_order": "Σφάλμα κατά την ανάλυση της σειράς φόρτωσης πρόσθετου (mod)",
"modloader-incompatibilities_not_string_array": "Στο πρόσθετο %s package.json η ιδιότητα \"ασυμβατότητες\" θα πρέπει να είναι μία συστοιχία συμβολοσειρών",
"modloader-incompatible_mod_found": "Το πρόσθετο {{author}}-{{name}} δεν είναι συμβατό με το {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Εγκατάσταση εξαρτήσεων για το πρόσθετο: {{name}} από: {{author}}",
"modloader-installing_external_dependencies_disabled": "Το πρόσθετο: {{name}} by: {{author}} απαιτεί εξωτερικές εξαρτήσεις, αλλά η λειτουργία αυτή τη στιγμή είναι απενεργοποιημένη, πήγαινε στο \"{{configPath}}\", όρισε \"{{configOption}}\" σε true και επανεκκίνησε τον διακομιστή.\nΕνεργοποιώντας αυτό αποδέχεστε όλη την ευθύνη για τις λήψεις {{name}} στον υπολογιστή σας.",
"modloader-invalid_sptVersion_field": "Το πρόσθετο %s περιέχει μία μη έγκυρη semver συμβολοσειρά στο πεδίο sptVersion. Παραδείγματα έγκυρων τιμών: https://github.com/npm/node-semver#versions",
"modloader-invalid_version_property": "Το πρόσθετο %s package.json περιέχει μια μη έγκυρη έκδοση συμβολοσειράς",
"modloader-is_client_mod": "Το πρόσθετο (%s) είναι ένα πρόσθετο πελάτη και θα πρέπει να τοποθετηθεί στον ακόλουθο φάκελο: /spt/bepinex/plugins",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
"modloader-error_parsing_mod_load_order": "Error parsing mod load order",
"modloader-incompatibilities_not_string_array": "Mod %s package.json property 'incompatibilities' should be a string array",
"modloader-incompatible_mod_found": "Mod: {{author}}-{{name}} is incompatible with: {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Installing dependencies for Mod: {{name}} by: {{author}}",
"modloader-installing_external_dependencies_disabled": "Mod: {{name}} by: {{author}} requires external dependencies but the feature is currently disabled, go to \"{{configPath}}\", set \"{{configOption}}\" to true and restart the server.\nBy enabling this you accept all responsibility for what {{name}} downloads to your machine.",
"modloader-invalid_sptVersion_field": "Mod: %s contains an invalid semver string in the sptVersion field. Examples of valid values: https://github.com/npm/node-semver#versions",
"modloader-invalid_version_property": "Mod: %s package.json contains an invalid version string",
"modloader-is_client_mod": "Mod (%s) is a client mod and should be placed in the following folder: /spt/bepinex/plugins",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/es-es.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
"modloader-error_parsing_mod_load_order": "Error al traducir el orden de las modificaciones",
"modloader-incompatibilities_not_string_array": "La propiedad 'incompatibilities' de la modificacion %s package.json deberia ser un arreglo de string",
"modloader-incompatible_mod_found": "La modificación {{author}}-{{name}} no es compatible con {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Instalando dependencias para el Mod: {{name}} por: {{author}}",
"modloader-installing_external_dependencies_disabled": "Mod: {{name}} por: {{author}} requiere dependencias externas pero la función esta actualmente deshabilitada. Vaya a \"{{configPath}}\", establezca \"{{configOption}}\" en 'true' y reinicie el servidor.\nAl habilitar esto, aceptas toda la responsabilidad de lo que {{name}} descargue en tu equipo.",
"modloader-invalid_sptVersion_field": "Mod %s contiene una cadena semver inválida en el campo sptVersion. Ejemplos de valores válidos: https://github.com/npm/node-semver#versions",
"modloader-invalid_version_property": "La modificacion %s package.json contiene un valor invalido de version",
"modloader-is_client_mod": "La modificación (%s) es de cliente, esta debería ponerse en el directorio: /spt/bepinex/plugins",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
"modloader-error_parsing_mod_load_order": "SPT-AKI n'a pas réussi à déterminer l'ordre correct des mods",
"modloader-incompatibilities_not_string_array": "la propriété 'incompatibilities' dans le fichier package.json du mod %s doit être un tableau de chaînes de caractères",
"modloader-incompatible_mod_found": "Le mod {{author}}-{{name}} est incompatible avec {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Installation des dépendances pour le Mod: {{name}} par: {{author}}",
"modloader-installing_external_dependencies_disabled": "Mod: {{name}} de: {{author}} nécessite des dépendances externes mais cette fonction est actuellement désactivée, allez dans \"{{configPath}}\", changez l'option \"{{configOption}}\" à vrais et relancez le serveur.\nEn activant cette option, vous endossez toute la responsabilité de ce que {{name}} télécharge sur votre machine.",
"modloader-invalid_sptVersion_field": "Le mod %s contient une chaîne de caractères semver invalide dans le champ sptVersion. Exemples de chaînes correctes: https://github.com/npm/node-semver#versions",
"modloader-invalid_version_property": "Le mod %s package.json contient une chaîne de version invalide",
"modloader-is_client_mod": "Le mod (%s) est un mod client et doit être placé dans le dossier suivant : /spt/bepinex/plugins",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@
"modloader-error_parsing_mod_load_order": "Hiba a mod betöltési sorrendjének elemzésekor",
"modloader-incompatibilities_not_string_array": "A Mod %s package.json „incompatibilities” tulajdonságának karakterlánc tömbnek kell lennie",
"modloader-incompatible_mod_found": "{{author}}-{{name}} mod nem kompatibilis a következővel: {{incompatibleModName}}",
"modloader-installing_external_dependencies": "A segédprogramok telepítése a következőhö modhoz: {{name}}, {{author}} által készítve",
"modloader-installing_external_dependencies_disabled": "A(z) {{name}} mod, melyet {{author}} készített, külső függőségeket igényel, de ez a funkció jelenleg ki van kapcsolva. Lépj a(z) \"{{configPath}}\" helyre, állítsd a(z) \"{{configOption}}\" értékét igazra (true), és indítsd újra a szervert.\nEnnek engedélyezésével elfogadod minden felelősséget amiért a(z) {{name}} letölt a gépedre.",
"modloader-invalid_version_property": "A(z) %s mod package.json fájlja érvénytelen verziójú karakterláncot tartalmaz",
"modloader-is_client_mod": "A következő mod (%s) egy kliens mod és a következő mappába kell helyezni: /spt/bepinex/plugins",
"modloader-load_order_conflict": "`{{modOneName}}` és`{{modTwoName}}` modoknak ellentmondásos betöltési sorrend követelményei vannak, a szerver nem tud elindulni amíg ezt nem javítják, és leáll",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@
"modloader-error_parsing_mod_load_order": "Permasalahan dalam penguraian urutan pemuatan mod",
"modloader-incompatibilities_not_string_array": "Mod %s data package.json 'incompatibilities' harus string array",
"modloader-incompatible_mod_found": "Mod {{author}}-{{name}} tidak compatibel dengan {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Menginstal dependensi untuk Mod: {{name}} oleh: {{author}}",
"modloader-installing_external_dependencies_disabled": "Mod: {{name}} oleh: {{author}} memerlukan dependensi eksternal tapi fitur ini sedang dinonaktifkan, pergi ke \"{{configPath}}\", ubah \"{{configOption}}\" menjadi true lalu mulai ulang server. \nDengan mengaktifkan fitur ini anda bertanggung jawab atas apa yang {{name}} unduh ke dalam mesin anda.",
"modloader-invalid_version_property": "Mod %s package.json memiliki versi string yang invalid",
"modloader-is_client_mod": "Mod (%s) merupakan mod client dan harus dipasang dalam folder: /spt/bepinex/plugins",
"modloader-load_order_conflict": "'{{modOneName}}' dan '{{modTwoName}}' memiliki urutan pemuatan yang bertentangan, server tidak bisa mulai hingga masalah ini diperbaiki dan akan dimatikan",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
"modloader-error_parsing_mod_load_order": "Errore nel processare l'ordine di caricamento della mod",
"modloader-incompatibilities_not_string_array": "Le proprietà 'incompatibilities' della mod %s, nel package.json, devono essere uno string array",
"modloader-incompatible_mod_found": "La mod {{author}}-{{name}} è incompatibile con {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Sto installando le dipendenze per la Mod: {{name}} by: {{author}}",
"modloader-installing_external_dependencies_disabled": "La mod: {{name}} di: {{author}} richiede dipendenze esterne, ma la funzione è attualmente disabilitata, vai su \"{{configPath}}\", imposta \"{{configOption}}\" a true e riavvia il server.\nAttivando questa opzione ti assumi tutta la responsabilità di ciò che {{name}} scarica sul tuo Pc.",
"modloader-invalid_sptVersion_field": "La mod %s contiene una stringa semver non valida nel campo akiVersion. Esempi di valori validi: https://github.com/npm/node-semver#versions",
"modloader-invalid_version_property": "Il package.json della Mod %s contiene una stringa 'version' non valida",
"modloader-is_client_mod": "La mod (%s) è una mod del client e dovrebbe essere posizionata nella seguente cartella: /spt/bepinex/plugins",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@
"modloader-error_parsing_mod_load_order": "mod ロード順の解析中にエラーが発生しました。",
"modloader-incompatibilities_not_string_array": "Mod %s package.json プロパティ '非互換性' は文字列配列でなければなりません。",
"modloader-incompatible_mod_found": "Mod {{author}}-{{name}} is incompatible with {{incompatibleModName}}。",
"modloader-installing_external_dependencies": "Mod {{name}} by: {{author}} と依存関係であるModをインストールしています",
"modloader-installing_external_dependencies_disabled": "Mod: {{name}} by: {{author}} が追加の依存関係Modを必要としていますが、設定が無効になっているためダウンロードができません。 \"{{configPath}}\"\"{{configOption}}\" を true に設定してからサーバーを再起動してください。\n設定を有効にするにあたって、{{name}} があなたのパソコンにダウンロードするデータの責任をあなたが負うものとします",
"modloader-invalid_version_property": "モッド %s のpackage.jsonにで不正確なバージョン文字列が使用されています。",
"modloader-is_client_mod": "モッド %s はクライアントタイプのモッドです。正しいインストール先はこちら: /spt/bepinex/plugins",
"modloader-load_order_conflict": "`{{modOneName}}` と `{{modTwoName}}` のロードの順序の条件が競合しています。 これが修正されるまでサーバーを起動できずシャットダウンします",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
"modloader-error_parsing_mod_load_order": "모드 순서를 가져오는데 오류가 발생하였습니다",
"modloader-incompatibilities_not_string_array": "모드 %s 의 package.json 파일 중 'incompatibilities' 속성은 문자 배열 타입이어야 합니다",
"modloader-incompatible_mod_found": "모드 {{author}}-{{name}} 는 {{incompatibleModName}} 모드와 호환되지 않습니다",
"modloader-installing_external_dependencies": "모드: {{name}} by: {{author}} 에 대한 종속성을 설치합니다",
"modloader-installing_external_dependencies_disabled": "모드: {{name}} by: {{author}} 은(는) 외부 종속성이 필요하지만 기능이 꺼져있습니다, \"{{configPath}}\" 파일을 열어, 설정 \"{{configOption}}\" 값을 true 로 변경 후 서버를 재시작하세요.\n이 기능을 활성화하면 {{name}} 을(를) 기기에 다운로드 하면서 발생하는 모든 책임을 가지게 됩니다.",
"modloader-invalid_sptVersion_field": "모드 %s 가 sptVersion 필드에 부적합한 semver 스트링 값을 보유하고 있습니다. 올바른 값들의 예시: https://github.com/npm/node-semver#versions",
"modloader-invalid_version_property": "모드 %s 의 package.json 은(는) 잘못된 version 문자열을 포함하고 있습니다",
"modloader-is_client_mod": "모드 (%s) 는 클라이언트 모드로 '/spt/bepinex/plugins' 폴더에 위치해야 합니다",
Expand Down
2 changes: 0 additions & 2 deletions project/assets/database/locales/server/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
"modloader-error_parsing_mod_load_order": "Fout tijdens het parsen van de mod laadvolgorde",
"modloader-incompatibilities_not_string_array": "Mod %s package.json property 'incompatibilities' moet een string array zijn",
"modloader-incompatible_mod_found": "Mod {{author}}-{{name}} is niet compatibel met {{incompatibleModName}}",
"modloader-installing_external_dependencies": "Afhankelijkheden installeren voor Mod: {{name}} door: {{author}}",
"modloader-installing_external_dependencies_disabled": "Mod: {{name}} door: {{author}} vereist externe afhankelijkheden, maar de functie is momenteel uitgeschakeld, Ga naar \"{{configPath}}\", stel \"{{configOption}}\" in op true en herstart de server.\nDoor dit aan te zetten neem je alle verantwoordelijkheid voor wat {{name}} naar je machine download.",
"modloader-invalid_sptVersion_field": "Mod: %s bevat een ongeldige semver string in het sptVersion veld. Voorbeelden van geldige waarden: https://github.com/npm/node-semver#versions",
"modloader-invalid_version_property": "Mod %s package.json bevat een invalide versie string",
"modloader-is_client_mod": "Mod (%s) is een client mod en moet in de volgende map geplaatst worden: /spt/bepinex/plugins",
Expand Down
Loading

0 comments on commit 17a614a

Please sign in to comment.