Checkpoint current interactive fiction state

This commit is contained in:
2026-05-14 21:17:43 +02:00
parent c745efd1d2
commit 873049f7e6
183 changed files with 13755 additions and 1459 deletions
+11
View File
@@ -0,0 +1,11 @@
const minimum = { major: 18, minor: 17 };
const [major, minor] = process.versions.node.split('.').map(Number);
if (major < minimum.major || (major === minimum.major && minor < minimum.minor)) {
console.error(
`Node.js ${minimum.major}.${minimum.minor}+ is required. ` +
`Current runtime is ${process.versions.node}.`
);
console.error('Use Node 22 LTS for this project, then rerun the command.');
process.exit(1);
}