Fewer merge conflicts: actions by area, one city per line, sorted dictionaries
- ACT is split by area into game/90-actions/*.js (const ACT in the first file, Object.assign in the rest) - CITY_LL, CITY_NUDGE and LANDS_LL have one entry per line; the id-keyed ones are sorted - site/i18n/*.js are sorted, one entry per line; i18n-check enforces it and --fix (npm run i18n:fix) restores it; scripts/i18n-add.js adds, removes and renames entries in place - scripts/legacy/port-branch.js moves a branch's site/index.html edits into src/ during a merge with main - perf workflow and PR template build the base page with scripts/lib/page.js
This commit is contained in:
parent
67a40942b4
commit
c64b139a86
27 changed files with 9582 additions and 8971 deletions
5
.github/pull_request_template.md
vendored
5
.github/pull_request_template.md
vendored
|
|
@ -8,8 +8,7 @@
|
|||
|
||||
## Performance
|
||||
|
||||
<!-- Changes to site/ must show their performance on a big network. The Performance check posts the
|
||||
<!-- Changes to src/ must show their performance on a big network. The Performance check posts the
|
||||
numbers as a comment on this PR. Locally:
|
||||
git show origin/main:site/index.html > /tmp/base.html
|
||||
npm run perf -- --base /tmp/base.html
|
||||
npm run perf -- --base-ref origin/main
|
||||
Explain anything marked slower. -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue