@murumets-ee/create 0.13.2 → 0.13.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.
- package/bin/create-lumi.mjs +14 -0
- package/dist/cli.mjs +0 -0
- package/package.json +4 -3
- package/templates/template-demo.tar.gz +0 -0
|
@@ -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.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"create-lumi": "./
|
|
7
|
+
"create-lumi": "./bin/create-lumi.mjs"
|
|
8
8
|
},
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
|
+
"bin",
|
|
19
20
|
"dist",
|
|
20
21
|
"templates/*.tar.gz"
|
|
21
22
|
],
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"tsdown": "^0.21.10",
|
|
30
31
|
"tsx": "^4.21.0",
|
|
31
32
|
"typescript": "^5.7.3",
|
|
32
|
-
"@murumets-ee/cli": "^0.13.
|
|
33
|
+
"@murumets-ee/cli": "^0.13.3"
|
|
33
34
|
},
|
|
34
35
|
"typeCoverage": {
|
|
35
36
|
"atLeast": 100
|
|
Binary file
|