@tktco/ziku 0.20.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.
- package/bin.mjs +15 -0
- package/package.json +27 -0
package/bin.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @tktco/ziku — tktcorporation/.github テンプレート専用ラッパー。
|
|
5
|
+
*
|
|
6
|
+
* `npx @tktco/ziku` で --from tktcorporation/.github が自動適用される。
|
|
7
|
+
* 汎用の `npx ziku` と違い、テンプレートソースの指定が不要。
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
// --from が未指定の場合のみデフォルトを注入する
|
|
11
|
+
if (!process.argv.includes("--from")) {
|
|
12
|
+
process.argv.push("--from", "tktcorporation/.github");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
await import("ziku/dist/index.mjs");
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tktco/ziku",
|
|
3
|
+
"version": "0.20.0",
|
|
4
|
+
"description": "Wrapper for ziku CLI (use 'npx ziku' instead)",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/tktcorporation/.github.git"
|
|
8
|
+
},
|
|
9
|
+
"bin": {
|
|
10
|
+
"ziku": "./bin.mjs"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"bin.mjs"
|
|
14
|
+
],
|
|
15
|
+
"type": "module",
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public",
|
|
18
|
+
"provenance": true,
|
|
19
|
+
"registry": "https://registry.npmjs.org/"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"ziku": "workspace:*"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20.0.0"
|
|
26
|
+
}
|
|
27
|
+
}
|