create-nextly-app 0.0.2-alpha.0 → 0.0.2-alpha.2
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 +8 -8
- package/dist/cli.cjs +7 -7
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +7 -7
- package/dist/cli.mjs.map +1 -1
- package/package.json +4 -4
- package/templates/blank/README.md +1 -1
package/README.md
CHANGED
|
@@ -15,16 +15,16 @@ The official CLI for scaffolding a new Nextly CMS project.
|
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
17
|
# pnpm
|
|
18
|
-
pnpm create nextly-app my-app
|
|
18
|
+
pnpm create nextly-app@alpha my-app
|
|
19
19
|
|
|
20
20
|
# npm
|
|
21
|
-
npx create-nextly-app@
|
|
21
|
+
npx create-nextly-app@alpha my-app
|
|
22
22
|
|
|
23
23
|
# yarn
|
|
24
|
-
yarn create nextly-app my-app
|
|
24
|
+
yarn create nextly-app@alpha my-app
|
|
25
25
|
|
|
26
26
|
# bun
|
|
27
|
-
bun create nextly-app my-app
|
|
27
|
+
bun create nextly-app@alpha my-app
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
The CLI walks you through:
|
|
@@ -59,13 +59,13 @@ The two approaches are not mutually exclusive: a code-first project can add UI-d
|
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
61
|
# Blog with code-first approach
|
|
62
|
-
pnpm create nextly-app my-blog --template blog --approach code-first
|
|
62
|
+
pnpm create nextly-app@alpha my-blog --template blog --approach code-first
|
|
63
63
|
|
|
64
64
|
# Blank project with PostgreSQL
|
|
65
|
-
pnpm create nextly-app my-app --template blank --database postgresql
|
|
65
|
+
pnpm create nextly-app@alpha my-app --template blank --database postgresql
|
|
66
66
|
|
|
67
67
|
# Skip prompts entirely (defaults: blank, SQLite, local storage)
|
|
68
|
-
pnpm create nextly-app my-app -y
|
|
68
|
+
pnpm create nextly-app@alpha my-app -y
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
## CLI flags
|
|
@@ -80,7 +80,7 @@ pnpm create nextly-app my-app -y
|
|
|
80
80
|
| `--version` | `-V` | Print the CLI version | |
|
|
81
81
|
| `--help` | `-h` | Show help text | |
|
|
82
82
|
|
|
83
|
-
Run `pnpm create nextly-app --help` for the inline reference.
|
|
83
|
+
Run `pnpm create nextly-app@alpha --help` for the inline reference.
|
|
84
84
|
|
|
85
85
|
<details>
|
|
86
86
|
<summary><strong>Contributor flags</strong> (development only)</summary>
|
package/dist/cli.cjs
CHANGED
|
@@ -6259,7 +6259,7 @@ var require_package = __commonJS({
|
|
|
6259
6259
|
"package.json"(exports$1, module) {
|
|
6260
6260
|
module.exports = {
|
|
6261
6261
|
name: "create-nextly-app",
|
|
6262
|
-
version: "0.0.2-alpha.
|
|
6262
|
+
version: "0.0.2-alpha.2",
|
|
6263
6263
|
description: "CLI to scaffold Nextly in your Next.js project",
|
|
6264
6264
|
license: "MIT",
|
|
6265
6265
|
type: "module",
|
|
@@ -32338,12 +32338,12 @@ program2.name("create-nextly-app").description(
|
|
|
32338
32338
|
"after",
|
|
32339
32339
|
`
|
|
32340
32340
|
Examples:
|
|
32341
|
-
$ npx create-nextly-app my-project
|
|
32342
|
-
$ npx create-nextly-app my-project -y
|
|
32343
|
-
$ npx create-nextly-app my-blog -t blog -a code-first
|
|
32344
|
-
$ npx create-nextly-app my-project --database postgresql
|
|
32345
|
-
$ npx create-nextly-app .
|
|
32346
|
-
|
|
32341
|
+
$ npx create-nextly-app@alpha my-project
|
|
32342
|
+
$ npx create-nextly-app@alpha my-project -y
|
|
32343
|
+
$ npx create-nextly-app@alpha my-blog -t blog -a code-first
|
|
32344
|
+
$ npx create-nextly-app@alpha my-project --database postgresql
|
|
32345
|
+
$ npx create-nextly-app@alpha .
|
|
32346
|
+
`
|
|
32347
32347
|
).action(
|
|
32348
32348
|
async (directory, options) => {
|
|
32349
32349
|
await init({
|