@seanyao/roll 4.702.4 → 4.706.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/README.md +43 -1
- package/dist/postinstall.mjs +731 -0
- package/dist/roll.mjs +14309 -7369
- package/docs/verification.md +20 -0
- package/guide/en/acceptance-evidence.md +56 -1
- package/guide/en/configuration.md +15 -0
- package/guide/en/installation.md +16 -1
- package/guide/en/loop.md +132 -1
- package/guide/en/methodology.md +1 -1
- package/guide/zh/acceptance-evidence.md +46 -2
- package/guide/zh/configuration.md +12 -0
- package/guide/zh/installation.md +13 -1
- package/guide/zh/loop.md +116 -1
- package/lib/i18n/init.sh +2 -2
- package/package.json +3 -1
- package/scripts/postinstall-roll-capture.mjs +9 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
try {
|
|
3
|
+
await import("../dist/postinstall.mjs");
|
|
4
|
+
} catch (error) {
|
|
5
|
+
// The source checkout may not have been bundled yet. Published tarballs carry
|
|
6
|
+
// dist/postinstall.mjs; either way npm install must never fail here.
|
|
7
|
+
const reason = error instanceof Error ? error.message : String(error);
|
|
8
|
+
process.stderr.write(`postinstall skipped: ${reason}\n`);
|
|
9
|
+
}
|