@chigichan24/crune 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/dist-cli/cli.js +4 -10
  2. package/package.json +1 -1
package/dist-cli/cli.js CHANGED
@@ -203,13 +203,7 @@ function extractSkillName(markdown, fallbackLabel) {
203
203
  .slice(0, 40);
204
204
  }
205
205
  // ─── Entry point ───────────────────────────────────────────────────
206
- const entryScript = process.argv[1] ?? "";
207
- const isDirectRun = entryScript.endsWith("/cli.ts") ||
208
- entryScript.endsWith("/cli.js") ||
209
- entryScript.endsWith("/bin/crune.js");
210
- if (isDirectRun) {
211
- main().catch((err) => {
212
- console.error("Fatal error:", err);
213
- process.exit(1);
214
- });
215
- }
206
+ main().catch((err) => {
207
+ console.error("Fatal error:", err);
208
+ process.exit(1);
209
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chigichan24/crune",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "crune": "./bin/crune.js"