@ire-mudlet-mapping/crowdmap-danger
v1.10.0
Published
Shared Danger rule framework for IRE Mudlet crowdmaps
Readme
Crowdmap Danger
Shared Danger rule primitives and Mudlet map loading for game-owned Crowdmap rules. This package is released from CrowdmapPlatform and is intended for the IRE Mudlet Mapping game repositories.
import { RoomCheckRule } from "@ire-mudlet-mapping/crowdmap-danger/Rule";
import mapModel from "@ire-mudlet-mapping/crowdmap-danger/MapModel";Games with custom rules can run those rules locally without maintaining a Danger wrapper or Dangerfile:
{
"scripts": {
"danger:local": "crowdmap-danger local"
}
}Run the command from the game repository or a plugin directory. It discovers
the repository crowdmap.json and its game-owned Danger plugins, then runs the
modules declared by their dangerRules fields against origin/development.
Use crowdmap-danger local --base <ref> to select another base revision.
This command intentionally runs only the game-owned extension rules. Common
rules remain platform-owned and are composed with extensions by the reusable
CI workflow. Games without custom rules do not need this package or a
package.json.
