dsh-modpack-kit 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -1
- package/assets/install-stub.mjs +41 -1
- package/client.js +377 -43
- package/docs/DETAIL.md +33 -2
- package/index.js +334 -66
- package/lib/install.mjs +96 -39
- package/lib/manifest.mjs +3 -1
- package/lib/store.mjs +7 -0
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +2 -2
package/lib/install.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import fs from 'node:fs'
|
|
9
9
|
import path from 'node:path'
|
|
10
10
|
import { readZip, readZipText, safeEntryName } from './zip.mjs'
|
|
11
|
-
import { scanEntries, renderScanReport } from './scan.mjs'
|
|
11
|
+
import { scanEntries, renderScanReport, groupFindings } from './scan.mjs'
|
|
12
12
|
import { MANIFEST_NAME, normalizeManifest, sha256 } from './manifest.mjs'
|
|
13
13
|
import { checkCompatibility } from './compat.mjs'
|
|
14
14
|
import { captureConfigs, collectFiles } from './pack.mjs'
|
|
@@ -114,7 +114,10 @@ export function inspectPackBuffer(buffer, options = {}) {
|
|
|
114
114
|
notes.push('打包方已确认 ' + scan.counts.high + ' 个高风险项(市场收录插件),明细见扫描报告')
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
// 界面要按来源(插件 / 配置 / 整合包本体)分栏展示,分组结果一并给出去
|
|
118
|
+
const scanGroups = groupFindings(scan.findings, manifest.plugins)
|
|
119
|
+
|
|
120
|
+
return { manifest, entries, integrity, scan, scanGroups, report, blockingReasons, notes }
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
/** 从链接读取整合包(只允许 https 与白名单域名)。 */
|
|
@@ -174,7 +177,10 @@ function packDirOf(config, manifest) {
|
|
|
174
177
|
export async function installPack(input) {
|
|
175
178
|
const { manifest, entries, config, options = {}, context = {} } = input
|
|
176
179
|
const profileDir = context.profileDir || pathsFor(config).profile
|
|
177
|
-
|
|
180
|
+
// profile 名必须跟着 profileDir 走:DSH 命令行只认 --profile <名字>,
|
|
181
|
+
// 若拿 config.profile(桌面环境里恒为 desktop)去装,装进的是真 profile 而不是 targetDir。
|
|
182
|
+
const targetName = path.basename(path.resolve(profileDir))
|
|
183
|
+
const profile = targetName && targetName !== 'profiles' ? targetName : config.profile || 'desktop'
|
|
178
184
|
const installed = listInstalled(profileDir)
|
|
179
185
|
const compat = checkCompatibility(manifest.plugins, {
|
|
180
186
|
installed,
|
|
@@ -194,6 +200,7 @@ export async function installPack(input) {
|
|
|
194
200
|
reason: '兼容性检测有 ' + compat.counts.error + ' 个阻断问题',
|
|
195
201
|
compat,
|
|
196
202
|
actions,
|
|
203
|
+
deferred: [],
|
|
197
204
|
lines,
|
|
198
205
|
needsRestart: false,
|
|
199
206
|
}
|
|
@@ -204,74 +211,121 @@ export async function installPack(input) {
|
|
|
204
211
|
const packRoot = packDirOf(config, manifest)
|
|
205
212
|
// CLI 自己会把 bundle 登记进 profile;「装好先不启用」靠装完撤回列表实现,所以先记一份原始清单。
|
|
206
213
|
const bundlesBefore = readBundles(readProfilePackage(profileDir))
|
|
214
|
+
// 打包方已确认过风险的包,安装时不再因为 high 拦人(明细照样进报告)
|
|
215
|
+
const acknowledged = Boolean(manifest.security && (manifest.security.acknowledged === true || manifest.security.trustedOnly === true))
|
|
216
|
+
|
|
217
|
+
// 进度:和打包共用同一个进度窗(kind=install)
|
|
218
|
+
const progress = typeof options.onProgress === 'function' ? options.onProgress : () => {}
|
|
219
|
+
progress({ pct: 8, note: '检查本机已装的插件' })
|
|
220
|
+
const only = Array.isArray(options.only) && options.only.length > 0 ? new Set(options.only.map(String)) : null
|
|
221
|
+
// 默认「先跳过已装的,装完再问要不要换」;replaceExisting 时反过来,直接覆盖
|
|
222
|
+
const deferExisting = options.replaceExisting === true ? false : options.deferExisting !== false
|
|
223
|
+
const deferred = []
|
|
224
|
+
const total = manifest.plugins.length
|
|
207
225
|
|
|
208
226
|
for (const plugin of manifest.plugins) {
|
|
227
|
+
const index = manifest.plugins.indexOf(plugin)
|
|
228
|
+
progress({ pct: 12 + Math.round(((index + 1) / total) * 68), note: '安装 ' + plugin.name + (plugin.version ? ' ' + plugin.version : '') })
|
|
229
|
+
if (only && !only.has(plugin.name)) {
|
|
230
|
+
actions.push({ plugin: plugin.name, action: 'skipped', ok: true, message: '这次不动它(你只选了替换其中几个)' })
|
|
231
|
+
continue
|
|
232
|
+
}
|
|
209
233
|
const existing = installed.find((p) => p.name === plugin.name)
|
|
234
|
+
if (existing && deferExisting) {
|
|
235
|
+
// 同名或同插件不同版本都算已装:先跳过,其余照装,最后让你决定换不换
|
|
236
|
+
deferred.push({ name: plugin.name, localVersion: existing.version || '', packVersion: plugin.version || '', sameVersion: String(existing.version || '') === String(plugin.version || '') })
|
|
237
|
+
actions.push({ plugin: plugin.name, action: 'deferred', ok: true, message: '本机已装 ' + (existing.version || '(版本未知)') + ',先跳过;装完再问你换不换' })
|
|
238
|
+
continue
|
|
239
|
+
}
|
|
210
240
|
const keepLocal = options.keepLocal !== false && config.keepLocal !== false && manifest.options.keepLocalOnInstall !== false
|
|
211
|
-
if (existing && keepLocal) {
|
|
241
|
+
if (existing && !deferExisting && keepLocal && options.replaceExisting !== true) {
|
|
212
242
|
actions.push({ plugin: plugin.name, action: 'kept', ok: true, message: '本地已装 ' + existing.version + ',按“保留本地修改”跳过覆盖' })
|
|
213
243
|
continue
|
|
214
244
|
}
|
|
215
245
|
|
|
216
|
-
|
|
217
|
-
|
|
246
|
+
// 联网且插件市场可用时,优先按市场版本装(用户要求:装整合包时优先同步市场版本)
|
|
247
|
+
// 取不到 / 离线 / 关掉开关(options.preferMarket === false)时,按包内带来的那份装
|
|
248
|
+
let marketHit = null
|
|
249
|
+
if (options.preferMarket !== false && typeof context.resolveMarket === 'function') {
|
|
218
250
|
try {
|
|
219
|
-
|
|
251
|
+
marketHit = await context.resolveMarket(plugin)
|
|
220
252
|
} catch (error) {
|
|
221
|
-
|
|
222
|
-
continue
|
|
253
|
+
lines.push('查不到市场版本(' + plugin.name + '):' + String(error?.message || error) + ',按包内的来')
|
|
223
254
|
}
|
|
224
|
-
} else if (typeof context.resolveSource === 'function') {
|
|
225
|
-
try {
|
|
226
|
-
dir = await context.resolveSource(plugin, packRoot)
|
|
227
|
-
} catch (error) {
|
|
228
|
-
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: '取包失败:' + String(error?.message || error) })
|
|
229
|
-
continue
|
|
230
|
-
}
|
|
231
|
-
} else {
|
|
232
|
-
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: '轻量包需要在联网环境下解析来源' })
|
|
233
|
-
continue
|
|
234
255
|
}
|
|
235
256
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
})
|
|
244
|
-
const deep = scanEntries(brought.files, { extraRules: Array.isArray(config.extraScanRules) ? config.extraScanRules : [] })
|
|
245
|
-
if (deep.counts.high > 0 && !options.force && !acknowledged) {
|
|
246
|
-
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: '从市场取回的代码里有 ' + deep.counts.high + ' 个高风险项,已拦下' })
|
|
257
|
+
let dir = null
|
|
258
|
+
if (!marketHit) {
|
|
259
|
+
if (manifest.format === 'full' && pluginPayload(entries, plugin.dirName || plugin.name).length > 0) {
|
|
260
|
+
try {
|
|
261
|
+
dir = materializePayload(entries, manifest, plugin, config)
|
|
262
|
+
} catch (error) {
|
|
263
|
+
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: String(error?.message || error) })
|
|
247
264
|
continue
|
|
248
265
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
266
|
+
} else if (typeof context.resolveSource === 'function') {
|
|
267
|
+
try {
|
|
268
|
+
dir = await context.resolveSource(plugin, packRoot)
|
|
269
|
+
} catch (error) {
|
|
270
|
+
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: '取包失败:' + String(error?.message || error) })
|
|
271
|
+
continue
|
|
272
|
+
}
|
|
273
|
+
} else {
|
|
274
|
+
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: '轻量包需要在联网环境下解析来源' })
|
|
252
275
|
continue
|
|
253
276
|
}
|
|
254
|
-
}
|
|
255
277
|
|
|
256
|
-
|
|
257
|
-
|
|
278
|
+
if (manifest.format !== 'full') {
|
|
279
|
+
// 轻量包本体不夹带源码,真正的代码是刚下载回来的:装之前必须补扫一遍,否则「安装前检测」是空转
|
|
280
|
+
try {
|
|
281
|
+
const brought = collectFiles(dir, {
|
|
282
|
+
prefix: '',
|
|
283
|
+
maxFileBytes: config.maxFileBytes ?? 16 * 1024 * 1024,
|
|
284
|
+
maxTotalBytes: 64 * 1024 * 1024,
|
|
285
|
+
})
|
|
286
|
+
const deep = scanEntries(brought.files, { extraRules: Array.isArray(config.extraScanRules) ? config.extraScanRules : [] })
|
|
287
|
+
if (deep.counts.high > 0 && !options.force && !acknowledged) {
|
|
288
|
+
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: '从市场取回的代码里有 ' + deep.counts.high + ' 个高风险项,已拦下' })
|
|
289
|
+
continue
|
|
290
|
+
}
|
|
291
|
+
lines.push('轻量包:已补扫从市场取回的 ' + deep.scannedFiles + ' 个文件(高 ' + deep.counts.high + ')')
|
|
292
|
+
} catch (error) {
|
|
293
|
+
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: '补充扫描失败:' + String(error?.message || error) })
|
|
294
|
+
continue
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
if (options.dryRun) {
|
|
299
|
+
actions.push({ plugin: plugin.name, action: 'install', ok: true, message: '演练:将添加 ' + dir })
|
|
300
|
+
continue
|
|
301
|
+
}
|
|
302
|
+
} else if (options.dryRun) {
|
|
303
|
+
actions.push({ plugin: plugin.name, action: 'install', ok: true, message: '演练:将按市场版本安装 ' + marketHit.spec })
|
|
258
304
|
continue
|
|
259
305
|
}
|
|
260
306
|
|
|
261
307
|
const runCli = typeof context.runCli === 'function' ? context.runCli : runDshPlugin
|
|
262
|
-
const
|
|
308
|
+
const targetSpec = marketHit ? marketHit.spec : 'file:' + dir
|
|
309
|
+
const result = await runCli(profile, ['plugin', '--profile', profile, 'add', targetSpec], {
|
|
263
310
|
cwd: profileDir,
|
|
264
311
|
onLine: (line) => { lines.push(line); onLine(line) },
|
|
265
312
|
})
|
|
266
|
-
appendLog('install ' + plugin.name + ' exit=' + result.code)
|
|
313
|
+
appendLog('install ' + plugin.name + ' exit=' + result.code + ' via=' + (marketHit ? 'market' : 'pack'))
|
|
267
314
|
if (result.code !== 0) {
|
|
268
315
|
actions.push({ plugin: plugin.name, action: 'install', ok: false, message: 'dsh plugin add 失败(退出码 ' + result.code + '),详见日志' })
|
|
269
316
|
continue
|
|
270
317
|
}
|
|
271
318
|
if (plugin.isBundle && plugin.hasPatch) touchedBundles.push(plugin.name)
|
|
272
|
-
actions.push({
|
|
319
|
+
actions.push({
|
|
320
|
+
plugin: plugin.name,
|
|
321
|
+
action: 'install',
|
|
322
|
+
ok: true,
|
|
323
|
+
source: marketHit ? 'market' : 'pack',
|
|
324
|
+
message: marketHit ? ('已按市场版本安装 ' + marketHit.spec) : ('已装 ' + (plugin.version || '')),
|
|
325
|
+
})
|
|
273
326
|
}
|
|
274
327
|
|
|
328
|
+
progress({ pct: 84, note: '登记启用清单' })
|
|
275
329
|
if (!options.dryRun) {
|
|
276
330
|
const before = bundlesBefore
|
|
277
331
|
const after = readBundles(readProfilePackage(profileDir))
|
|
@@ -289,6 +343,7 @@ export async function installPack(input) {
|
|
|
289
343
|
}
|
|
290
344
|
}
|
|
291
345
|
|
|
346
|
+
progress({ pct: 92, note: '回填包内配置' })
|
|
292
347
|
// 配置回填:只改目标条目,其它字节不动
|
|
293
348
|
if (options.applyConfig !== false && manifest.options.includeConfig) {
|
|
294
349
|
const patch = readPatch(profileDir)
|
|
@@ -336,10 +391,12 @@ export async function installPack(input) {
|
|
|
336
391
|
}
|
|
337
392
|
if (!options.dryRun) writeJsonAtomic(path.join(packRoot, 'install-result.json'), record)
|
|
338
393
|
|
|
394
|
+
progress({ pct: 100, note: '安装完成' })
|
|
339
395
|
return {
|
|
340
396
|
ok,
|
|
341
397
|
compat,
|
|
342
398
|
actions,
|
|
399
|
+
deferred,
|
|
343
400
|
configItems,
|
|
344
401
|
lines,
|
|
345
402
|
needsRestart: options.enableBundles === false ? false : actions.some((a) => a.action === 'install' && a.ok),
|
package/lib/manifest.mjs
CHANGED
|
@@ -168,8 +168,10 @@ export function buildReadme(manifest, extra = {}) {
|
|
|
168
168
|
lines.push(' 2. 运行包内安装器(需要 Node 20+):')
|
|
169
169
|
lines.push(' Windows: install\\install.cmd 其它: sh install/install.sh')
|
|
170
170
|
lines.push(' 可加参数:--profile <名字>(默认 desktop)--dry-run(只看要做什么)')
|
|
171
|
-
lines.push(' --no-bundles(装了但先不启用)--
|
|
171
|
+
lines.push(' --no-bundles(装了但先不启用)--replace(本机已装的也换成包内版本)')
|
|
172
|
+
lines.push(' --dsh "<DSH 可执行文件或 cli.js>"')
|
|
172
173
|
lines.push(' 3. 安装器会逐插件执行官方 dsh plugin add、把 configs/ 里的配置合并进 cordis.patch.yml;')
|
|
174
|
+
lines.push(' 本机已经装了的插件它会先跳过、装完列出来;要换成包内版本,加 --replace 重跑一次。')
|
|
173
175
|
lines.push(' 4. 重启 DSH。')
|
|
174
176
|
lines.push(' 方式 C(手工,没有 Node 时):解压后对 plugins/ 下每个目录执行')
|
|
175
177
|
lines.push(' dsh plugin --profile <你的profile> add "file:<绝对路径>/plugins/<插件名>"')
|
package/lib/store.mjs
CHANGED
|
@@ -56,6 +56,8 @@ export const DEFAULT_CONFIG = {
|
|
|
56
56
|
maxDownloadBytes: 256 * 1024 * 1024,
|
|
57
57
|
maxPackBytes: 512 * 1024 * 1024,
|
|
58
58
|
maxFileBytes: 16 * 1024 * 1024,
|
|
59
|
+
// 进度窗里「收尾」的记录留多久(秒):正常的完成记录留久一点,失败/取消的留很短,别堆在眼前
|
|
60
|
+
jobKeepSeconds: 60,
|
|
59
61
|
// 二次开发用:额外扫描规则(形状同 lib/scan.mjs 的 SECRET_RULES)
|
|
60
62
|
extraScanRules: [],
|
|
61
63
|
historyLimit: 50,
|
|
@@ -68,6 +70,8 @@ export const DEFAULT_CONFIG = {
|
|
|
68
70
|
showInPluginsTab: false,
|
|
69
71
|
// 安装后是否直接登记到 bundles(默认关:只装文件,重启也不加载)
|
|
70
72
|
enableOnInstall: false,
|
|
73
|
+
// 装整合包时若联网且插件市场有同名条目,优先按市场版本装(关掉则严格按包内那份)
|
|
74
|
+
preferMarketOnInstall: true,
|
|
71
75
|
// 白名单迁移标记:跑过一次就别再往里并默认域名,尊重用户自己的增删
|
|
72
76
|
hostsVersion: HOSTS_VERSION,
|
|
73
77
|
}
|
|
@@ -105,6 +109,9 @@ function clampConfig(raw) {
|
|
|
105
109
|
// 分页大小与刷新周期:给了边界,避免有人把 10000 写进设置把页面拖死
|
|
106
110
|
cfg.catalogPageSize = Math.min(100, Math.max(5, Number(cfg.catalogPageSize) || DEFAULT_CONFIG.catalogPageSize))
|
|
107
111
|
cfg.catalogRefreshHours = Math.min(168, Math.max(1, Number(cfg.catalogRefreshHours) || DEFAULT_CONFIG.catalogRefreshHours))
|
|
112
|
+
// 0 是合法的:等于「收尾就立刻清掉」,测试也靠它把时间压到零
|
|
113
|
+
const keepRaw = raw && typeof raw.jobKeepSeconds === 'number' ? raw.jobKeepSeconds : DEFAULT_CONFIG.jobKeepSeconds
|
|
114
|
+
cfg.jobKeepSeconds = Math.min(3600, Math.max(0, Math.floor(Number(keepRaw) || 0)))
|
|
108
115
|
// 进度窗位置不在这里管:它由界面自己拖动并存在浏览器本地,服务端不需要知道
|
|
109
116
|
// 打包前安全检测是强制的:设置里怎么写都不认,打包一律扫。
|
|
110
117
|
cfg.scanBeforePack = true
|
package/locale/en.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Modpack",
|
|
4
|
-
"description": "Bundle several plugins into one .dshpack and install them in
|
|
4
|
+
"description": "Bundle several plugins into one .dshpack and install them in one pass: full packs carry the payloads, lite packs record names and versions and fetch them from the registry, and both ship a standalone installer so a machine with nothing but a bare DSH can install (payloads are copied under ~/.dsh/dsh-modpack/vendor and registered, so deleting the unpacked folder is safe; installed plugins are skipped unless you pass --replace). Each plugin can be packed as upstream-basic or as your local copy. Packing always runs an in-memory scan for secrets and risky code (masked, never written to disk); high-risk hits pause the job until you confirm, then the same job resumes from the scan checkpoint without scanning again, and the confirmation is recorded in the manifest. Installing shares the progress dock: plugins already present are skipped first, then you choose finish-as-is or replace with the packed version; when the market catalog has the same name and you are online, the market version is preferred (switchable). Integrity, compatibility and licences are re-checked, the packed config is re-applied, and install-without-enabling or enable-right-away are both available. Packs can be opened via a file picker, a folder picker, any directory, an imported-packs list (several at once, each showing its packed name, author and description) or an https link. Categories, search, sorting and entries come from the same plugin-market catalog (first screen lists only what you have, paged on the server), and the UI can be shown in settings, the sidebar or the plugins tab, each switchable. Installing the plugin market (dshmarket) first is recommended but not required.",
|
|
5
5
|
"detail": "docs/DETAIL.md"
|
|
6
6
|
}
|
|
7
7
|
}
|
package/locale/zh.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "整合包",
|
|
4
|
-
"description": "把多个插件打成一个 .dshpack,一次装好:完整版自带插件本体,轻量版只记名字与版本、安装时按记录取包;两种包都附独立安装器,对方只剩一个 DSH
|
|
4
|
+
"description": "把多个插件打成一个 .dshpack,一次装好:完整版自带插件本体,轻量版只记名字与版本、安装时按记录取包;两种包都附独立安装器,对方只剩一个 DSH 本体也能装(复制到本机 vendor 后登记,删掉解压目录也不断,默认跳过已装的插件,加 --replace 才覆盖)。每个插件可单独选「基础配置」或「本地改动」。打包前强制做敏感信息与风险代码检测(命中只留掩码、原文不落盘),检出高危会停在「等决定」,确认后在同一任务里从检测点续跑、不重复扫描,确认状态写进清单。安装也走同一个进度窗:先跳过本机已装的插件,装完再让你选「直接完成」还是「替换为包内版本」;联网且市场有同名条目时优先装市场版本(可关)。安装前查完整性、兼容性与许可证,装完按条目回填配置,也可选先不启用或装完直接启用。取包支持「选择文件…」「浏览文件夹…」、任意目录、已导入列表(可同时留多份,显示打包时的名字/作者/描述)与 https 链接。分类、搜索、排序与条目都跟插件市场同源(首屏只列已装、服务端分页),三处入口(设置 / 侧边栏 / 插件页)可各自开关。建议先装插件市场(dshmarket)再一起用——不装也能打包、装包与检测。",
|
|
5
5
|
"detail": "docs/DETAIL.md"
|
|
6
6
|
}
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-modpack-kit",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Bundle several plugins into one .dshpack and install them in
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "Bundle several plugins into one .dshpack and install them in one pass: full packs carry the payloads, lite packs record names and versions and fetch them from the registry, and both ship a standalone installer so a machine with nothing but a bare DSH can install (payloads are copied under ~/.dsh/dsh-modpack/vendor and registered, so deleting the unpacked folder is safe; installed plugins are skipped unless you pass --replace). Each plugin can be packed as upstream-basic or as your local copy. Packing always runs an in-memory scan for secrets and risky code (masked, never written to disk); high-risk hits pause the job until you confirm, then the same job resumes from the scan checkpoint without scanning again, and the confirmation is recorded in the manifest. Installing shares the progress dock: plugins already present are skipped first, then you choose finish-as-is or replace with the packed version; when the market catalog has the same name and you are online, the market version is preferred (switchable). Integrity, compatibility and licences are re-checked, the packed config is re-applied, and install-without-enabling or enable-right-away are both available. Packs can be opened via a file picker, a folder picker, any directory, an imported-packs list (several at once, each showing its packed name, author and description) or an https link. Categories, search, sorting and entries come from the same plugin-market catalog (first screen lists only what you have, paged on the server), and the UI can be shown in settings, the sidebar or the plugins tab, each switchable. Installing the plugin market (dshmarket) first is recommended but not required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"exports": {
|