create-nowaki-app 0.13.0 → 0.15.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 +5 -5
- package/index.js +2 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# create-nowaki-app
|
|
2
2
|
|
|
3
|
-
`npx create-nowaki-app my-app
|
|
4
|
-
[`create-nowaki`](https://www.npmjs.com/package/create-nowaki)
|
|
3
|
+
A thin alias for `npx create-nowaki-app my-app`. It delegates to
|
|
4
|
+
[`create-nowaki`](https://www.npmjs.com/package/create-nowaki).
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
The canonical command is `npm create nowaki my-app`, but the
|
|
7
|
+
`create-nowaki-app` name is also provided for people coming from Next.js / React.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npx create-nowaki-app@latest my-app
|
|
11
11
|
# = npm create nowaki@latest my-app
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
[Nowaki
|
|
14
|
+
See the [main Nowaki repository](https://github.com/Tettu0530/nowaki).
|
package/index.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// `npx create-nowaki-app
|
|
3
|
-
//
|
|
4
|
-
// import するだけで create-nowaki の index.js が process.argv を読んで実行される
|
|
5
|
-
// (テンプレートも create-nowaki 側のものを使う=二重メンテにならない)。
|
|
6
|
-
// 公開済み create-nowaki@0.1.0 は main 未定義なので、明示パスで取り込み
|
|
7
|
-
// "index" 探索の DeprecationWarning を避ける。
|
|
2
|
+
// Thin alias for `npx create-nowaki-app`. Importing create-nowaki is enough: it reads argv and runs.
|
|
3
|
+
// create-nowaki@0.1.0 has no main, so an explicit path avoids the "index" lookup DeprecationWarning.
|
|
8
4
|
import "create-nowaki/index.js";
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nowaki-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Scaffold a new Nowaki app (alias of create-nowaki, for `npx create-nowaki-app`)",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Tettu0530",
|
|
7
7
|
"homepage": "https://nowaki.dev",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/Tettu0530/nowaki.git",
|
|
11
11
|
"directory": "packages/create-nowaki-app"
|
|
12
12
|
},
|
|
13
|
-
"bugs": "https://github.com/
|
|
13
|
+
"bugs": "https://github.com/Tettu0530/nowaki/issues",
|
|
14
14
|
"keywords": [
|
|
15
15
|
"nowaki",
|
|
16
16
|
"create",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"index.js"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"create-nowaki": "^0.
|
|
29
|
+
"create-nowaki": "^0.15.0"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
32
|
"node": ">=22"
|