create-nowaki-app 0.1.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/README.md +14 -0
- package/index.js +8 -0
- package/package.json +37 -0
package/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# create-nowaki-app
|
|
2
|
+
|
|
3
|
+
`npx create-nowaki-app my-app` 向けの薄いエイリアスです。中身は
|
|
4
|
+
[`create-nowaki`](https://www.npmjs.com/package/create-nowaki) に委譲します。
|
|
5
|
+
|
|
6
|
+
正規コマンドは `npm create nowaki my-app` ですが、Next.js / React からの
|
|
7
|
+
移行者向けに `create-nowaki-app` という名前も用意しています。
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx create-nowaki-app@latest my-app
|
|
11
|
+
# = npm create nowaki@latest my-app
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
[Nowaki 本体のリポジトリ](https://github.com/nowaki-dev/nowaki) を参照してください。
|
package/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// `npx create-nowaki-app` 向けの極薄エイリアス。
|
|
3
|
+
// Next/React ユーザーのマッスルメモリを拾うためだけに存在し、実体は create-nowaki。
|
|
4
|
+
// import するだけで create-nowaki の index.js が process.argv を読んで実行される
|
|
5
|
+
// (テンプレートも create-nowaki 側のものを使う=二重メンテにならない)。
|
|
6
|
+
// 公開済み create-nowaki@0.1.0 は main 未定義なので、明示パスで取り込み
|
|
7
|
+
// "index" 探索の DeprecationWarning を避ける。
|
|
8
|
+
import "create-nowaki/index.js";
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-nowaki-app",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Scaffold a new Nowaki app (alias of create-nowaki, for `npx create-nowaki-app`)",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Voredge <dev@voredge.com>",
|
|
7
|
+
"homepage": "https://nowaki.dev",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/nowaki-dev/nowaki.git",
|
|
11
|
+
"directory": "packages/create-nowaki-app"
|
|
12
|
+
},
|
|
13
|
+
"bugs": "https://github.com/nowaki-dev/nowaki/issues",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"nowaki",
|
|
16
|
+
"create",
|
|
17
|
+
"scaffold",
|
|
18
|
+
"starter",
|
|
19
|
+
"web-framework"
|
|
20
|
+
],
|
|
21
|
+
"type": "module",
|
|
22
|
+
"bin": {
|
|
23
|
+
"create-nowaki-app": "index.js"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"index.js"
|
|
27
|
+
],
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"create-nowaki": "^0.1.0"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=22"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
}
|
|
37
|
+
}
|