@lamppost/create-ink-player 1.0.7 → 1.0.8
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/index.js +10 -0
- package/package.json +1 -1
- package/template/rsbuild.config.ts +1 -1
package/index.js
CHANGED
|
@@ -124,6 +124,16 @@ async function main() {
|
|
|
124
124
|
process.exit(1);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
// Run pnpm update-ink-player
|
|
128
|
+
try {
|
|
129
|
+
execSync("pnpm update-ink-player", {
|
|
130
|
+
cwd: targetDir,
|
|
131
|
+
stdio: "inherit",
|
|
132
|
+
});
|
|
133
|
+
} catch (error) {
|
|
134
|
+
console.error("Error updating ink-player:", error.message);
|
|
135
|
+
}
|
|
136
|
+
|
|
127
137
|
console.log(`\n${gameName} setup complete!`);
|
|
128
138
|
console.log(`\nTo get started:`);
|
|
129
139
|
console.log(` cd ${directoryName}`);
|
package/package.json
CHANGED