add many mod handling

This commit is contained in:
2026-02-01 09:53:11 -08:00
parent 98aae3c974
commit eb5d77cc5b
5 changed files with 73 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
import { execSync } from "node:child_process";
import { readFileSync, writeFileSync } from "node:fs";
import { chdir } from "node:process";
const wantedModsPre = readFileSync('wanted-mods.txt','utf8').trim().split('\n')
const wantedModsPost = []
chdir('assets')
for (const slug of wantedModsPre) {
try {
execSync(`packwiz cf add ${slug} -y`)
} catch (e) {
wantedModsPost.push(slug)
}
}
writeFileSync('../wanted-mods.txt',wantedModsPost.join('\n'))
+35 -1
View File
@@ -1,10 +1,12 @@
{
"name": "packwiz-pack",
"name": "Izzy-and-Kais-Bizzare-Adventures",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"devDependencies": {
"@types/node": "^25.2.0",
"typescript": "^5.9.3",
"wrangler": "^4.56.0"
}
},
@@ -1045,6 +1047,16 @@
"dev": true,
"license": "CC0-1.0"
},
"node_modules/@types/node": {
"version": "25.2.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.2.0.tgz",
"integrity": "sha512-DZ8VwRFUNzuqJ5khrvwMXHmvPe+zGayJhr2CDNiKB1WBE1ST8Djl00D0IC4vvNmHMdj6DlbYRIaFE7WHjlDl5w==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~7.16.0"
}
},
"node_modules/acorn": {
"version": "8.14.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz",
@@ -1397,6 +1409,20 @@
"license": "0BSD",
"optional": true
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/undici": {
"version": "7.14.0",
"resolved": "https://registry.npmjs.org/undici/-/undici-7.14.0.tgz",
@@ -1407,6 +1433,13 @@
"node": ">=20.18.1"
}
},
"node_modules/undici-types": {
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
"integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
"dev": true,
"license": "MIT"
},
"node_modules/unenv": {
"version": "2.0.0-rc.24",
"resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.24.tgz",
@@ -1425,6 +1458,7 @@
"dev": true,
"hasInstallScript": true,
"license": "Apache-2.0",
"peer": true,
"bin": {
"workerd": "bin/workerd"
},
+3
View File
@@ -1,5 +1,8 @@
{
"type": "module",
"devDependencies": {
"@types/node": "^25.2.0",
"typescript": "^5.9.3",
"wrangler": "^4.56.0"
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"compilerOptions": {
"module": "esnext",
"moduleResolution": "node",
"lib": ["ESNext"]
}
}
+13
View File
@@ -0,0 +1,13 @@
villager-tools
quark
mrcrayfish-furniture-mod
delightful
botania
ad-astra
ad-astra-giselle-addon
ad-tetra
tetra
ars-armiger
tetras-delight
tetranomicon
absent-by-design