chore(submodules): miracles deploy-package hygiene; PMM micro-trade scenario
- miracles_in_motion: untrack api/deploy-package tsc emit (zip layout from api/dist). - cross-chain-pmm-lps: add gas-budgeted micro-trade scenario JSON + doc. - surgical-clean-submodule-artifacts.sh: miracles_in_motion step; SUBMODULE_HYGIENE note. Made-with: Cursor
This commit is contained in:
@@ -31,7 +31,7 @@ Stricter than `git status -sb` (fails on any porcelain output). Use after large
|
||||
|
||||
### Surgical artifact cleanup (generated files only)
|
||||
|
||||
Some submodules historically tracked **build output** (TypeScript `.js` next to `.ts` under `packages/*/src`, Foundry `artifacts/`, or root `metamask-integration/dist/` from `tsc`). That noise is removed with **gitignore + `git rm --cached`**, not by discarding real source edits.
|
||||
Some submodules historically tracked **build output** (TypeScript `.js` next to `.ts` under `packages/*/src`, Foundry `artifacts/`, root `metamask-integration/dist/` from `tsc`, or `miracles_in_motion/api/deploy-package/` copies of `api/dist`). That noise is removed with **gitignore + `git rm --cached`**, not by discarding real source edits.
|
||||
|
||||
- Repeatable helper (idempotent): `bash scripts/maintenance/surgical-clean-submodule-artifacts.sh [--dry-run]`
|
||||
- After it reports changes, **commit inside the submodule**, then bump the **parent** submodule pointer.
|
||||
|
||||
Reference in New Issue
Block a user