@murumets-ee/create 0.13.2 → 0.14.0

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.
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env node
2
+ // Source-shipped bin shim. Always exists, so `pnpm install` (or any
3
+ // other tool that links bin entries during dep resolution) never warns
4
+ // about a missing target — even on a cold checkout where dist/ has not
5
+ // been built yet. The real CLI is a tsdown bundle at ../dist/cli.mjs;
6
+ // running it via dynamic import keeps argv pass-through transparent
7
+ // (cli.ts reads process.argv directly).
8
+ //
9
+ // Failure-on-missing-dist is acceptable: if anyone tries to RUN the bin
10
+ // before `pnpm build` (or `prepublishOnly`) has produced dist/, they'll
11
+ // get a clear ERR_MODULE_NOT_FOUND with the path. End users always
12
+ // install from the published tarball, which includes dist/, so they
13
+ // never hit that path.
14
+ await import('../dist/cli.mjs')
package/dist/cli.mjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@murumets-ee/create",
3
- "version": "0.13.2",
3
+ "version": "0.14.0",
4
4
  "license": "Elastic-2.0",
5
5
  "type": "module",
6
6
  "bin": {
7
- "create-lumi": "./dist/cli.mjs"
7
+ "create-lumi": "./bin/create-lumi.mjs"
8
8
  },
9
9
  "exports": {
10
10
  ".": {
@@ -16,20 +16,21 @@
16
16
  }
17
17
  },
18
18
  "files": [
19
+ "bin",
19
20
  "dist",
20
21
  "templates/*.tar.gz"
21
22
  ],
22
23
  "dependencies": {
23
24
  "@clack/prompts": "^0.11.0",
24
25
  "picocolors": "^1.1.0",
25
- "tar": "^7.4.3"
26
+ "tar": "^7.5.15"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@types/node": "^20",
29
30
  "tsdown": "^0.21.10",
30
31
  "tsx": "^4.21.0",
31
32
  "typescript": "^5.7.3",
32
- "@murumets-ee/cli": "^0.13.2"
33
+ "@murumets-ee/cli": "^0.14.0"
33
34
  },
34
35
  "typeCoverage": {
35
36
  "atLeast": 100
Binary file