Authoring flows phase 2 (docs AUTHORING_FLOWS_PLAN.md §5, §6.4, D418-D419). Registers four templates through registerEventTemplates (MODULE_API 1.13.0, no contract change): Announcement, Boss raid, Seasonal event for a few hours (core.lease on uo.seasonal.status, up to the 12 h lease ceiling) and Gathering giveaway (participation count at a landmark, then uo.item.grant to everyone counted). build() makes no shard call. Adds server/scripts/templateBuild.js and a frozen-manifest CI step that load the module through the pinned core's real loader and fill every recipe in through buildFromTemplate, so core's own spec validator sees them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t
45 lines
1.7 KiB
JSON
45 lines
1.7 KiB
JSON
{
|
|
"$comment": [
|
|
"What a release copies into the bundle, declared ONCE. Read by .gitea/workflows/release.yml",
|
|
"when it assembles the tarball, and by server/scripts/checkBundle.js when CI asks whether",
|
|
"that list still covers everything the module's entry point can reach.",
|
|
"",
|
|
"This is an INCLUDE list on purpose (release.yml's header argues the case): an exclude list",
|
|
"ships whatever it forgot, so the day someone adds server/tools/ with a scratch credential",
|
|
"in it, an exclude list packs it and nobody finds out. The cost of that choice is that a new",
|
|
"top-level directory silently drops OUT of every release instead — which is exactly what",
|
|
"happened to server/commands/ between v0.3.0 and v1.0.0, and is why checkBundle.js exists.",
|
|
"",
|
|
"server[] entries are paths under server/; root[] and generated[] are paths under the module",
|
|
"root. node_modules is not listed: the release installs it with `npm ci --omit=dev` and copies",
|
|
"it separately, so it is not a checked-in path.",
|
|
"",
|
|
"generated[] ships but is not copied — release.yml writes module.json through jq to stamp the",
|
|
"released version into it, since the committed one is a floor rather than a record of the last",
|
|
"release. It is listed because server/index.js requires it, and a check that did not know it",
|
|
"ships would report the module's own manifest as missing from the bundle."
|
|
],
|
|
"server": [
|
|
"boot.js",
|
|
"commands",
|
|
"config",
|
|
"core.js",
|
|
"data",
|
|
"db",
|
|
"eventTemplates.js",
|
|
"index.js",
|
|
"model",
|
|
"package.json",
|
|
"router",
|
|
"utils"
|
|
],
|
|
"root": [
|
|
"swagger-fragment.json",
|
|
"LICENSE.md",
|
|
"README.md"
|
|
],
|
|
"generated": [
|
|
"module.json"
|
|
]
|
|
}
|