create-easy-cms 0.22.0 → 0.22.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.
Files changed (2) hide show
  1. package/README.md +24 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,14 +1,31 @@
1
1
  # create-easy-cms
2
2
 
3
- Adds [Easy CMS](https://github.com/maritonx/easy-cms) to a Nuxt or Next.js project.
3
+ Adds Easy CMS to a Nuxt or Next.js project, or creates a standalone Easy CMS server in a new
4
+ directory. Part of [Easy CMS](https://github.com/maritonx/easy-cms), the embedded, code-first
5
+ headless CMS for Nuxt and Next.js.
6
+
7
+ ## Usage
4
8
 
5
9
  ```bash
6
- npm create easy-cms@latest [dir] # or: pnpm create easy-cms, yarn create easy-cms, bun create easy-cms
10
+ npm create easy-cms@latest [dir]
7
11
  ```
8
12
 
9
- Options: `--db sqlite|postgres`, `--pm npm|pnpm|yarn|bun`, `--standalone`, `--yes`, `--skip-install`.
10
- It installs with your project's package manager (its `packageManager` field or lockfile), or the one
11
- you ran it with.
13
+ Or `pnpm create easy-cms`, `yarn create easy-cms` or `bun create easy-cms`.
14
+
15
+ It writes `easy-cms.config.ts`, adds a random `EASY_CMS_SECRET` to `.env`, updates
16
+ `.gitignore`, wires up the Nuxt module or the Next.js route handlers and config, and installs the
17
+ packages. Running it again is safe.
18
+
19
+ | Option | |
20
+ |---|---|
21
+ | `--db sqlite\|postgres` | The database (asks when not given) |
22
+ | `--pm npm\|pnpm\|yarn\|bun` | The package manager. Default: the project's (`packageManager`, then the lockfile), else the one you ran it with |
23
+ | `--standalone` | A standalone server even inside a Nuxt or Next.js project |
24
+ | `--yes` | Accept the defaults without asking |
25
+ | `--skip-install` | Only write files |
26
+
27
+ ## Links
28
+
29
+ [Getting started](https://maritonx.github.io/easy-cms/guide/getting-started) · [Documentation](https://maritonx.github.io/easy-cms/) ([ภาษาไทย](https://maritonx.github.io/easy-cms/th/)) · [GitHub](https://github.com/maritonx/easy-cms)
12
30
 
13
- Creates `easy-cms.config.ts`, adds `EASY_CMS_SECRET` to `.env`, updates `.gitignore`, wires the
14
- Nuxt module or the Next.js route handlers and config, and installs the packages. Safe to run again.
31
+ MIT License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-easy-cms",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "description": "Add Easy CMS to a Nuxt or Next.js project",
5
5
  "license": "MIT",
6
6
  "type": "module",