@pauldvlp/create 0.1.1
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 +21 -0
- package/package.json +24 -0
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @pauldvlp/create
|
|
2
|
+
|
|
3
|
+
The org manifest for [`@pauldvlp/vp-templates`](../../). `vp create @pauldvlp` reads the
|
|
4
|
+
`createConfig.templates` array in `package.json` and offers each entry.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
vp create @pauldvlp # interactive picker
|
|
8
|
+
vp create @pauldvlp:vp-react-ts-shadcn # run an entry directly, forwarding options after --
|
|
9
|
+
vp create @pauldvlp:vp-react-ts-shadcn -- --name my-app --base base --preset vega
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Entries
|
|
13
|
+
|
|
14
|
+
| Entry | Template (npm package) | New project? | Description |
|
|
15
|
+
| -------------------- | ------------------------------ | ------------ | ---------------------------------------------- |
|
|
16
|
+
| `vp-react-ts-shadcn` | `@pauldvlp/vp-react-ts-shadcn` | yes | Vite+ monorepo: website app + shared shadcn UI |
|
|
17
|
+
|
|
18
|
+
To add an entry: publish the generator package, then append `{ name, description, template, monorepo? }`
|
|
19
|
+
to `createConfig.templates`, bump the version, and republish this package. `monorepo: true` marks a
|
|
20
|
+
new-project scaffold (hidden inside existing monorepos); omit it for "add into an existing repo"
|
|
21
|
+
generators. See the [root README](../../README.md#naming-convention-how-it-grows) for the convention.
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pauldvlp/create",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "pauldvlp's Vite+ project templates, usable via `vp create @pauldvlp`.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"vite-plus",
|
|
8
|
+
"create",
|
|
9
|
+
"templates"
|
|
10
|
+
],
|
|
11
|
+
"createConfig": {
|
|
12
|
+
"templates": [
|
|
13
|
+
{
|
|
14
|
+
"name": "vp-react-ts-shadcn",
|
|
15
|
+
"description": "Vite+ monorepo — website app + shared shadcn UI package (themeable via shadcn presets)",
|
|
16
|
+
"template": "@pauldvlp/vp-react-ts-shadcn",
|
|
17
|
+
"monorepo": true
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"package.json"
|
|
23
|
+
]
|
|
24
|
+
}
|