create-vitral 0.7.0 → 0.7.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 +28 -0
  2. package/package.json +4 -3
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/joaogabriel15/vitral/main/docs/public/marca/banner.png" width="640" alt="vitral. Feito de partes. Visto como um todo.">
3
+ </p>
4
+
5
+ # create-vitral
6
+
7
+ Cria um host ou um remote [vitral](https://joaogabriel15.github.io/vitral/) pronto para rodar.
8
+
9
+ ```bash
10
+ npm create vitral@latest
11
+ ```
12
+
13
+ Sem opções, o comando pergunta o que criar. Com opções:
14
+
15
+ ```bash
16
+ npm create vitral@latest carrinho -- --remote --framework react
17
+ npm create vitral@latest loja -- --host --framework vue --src https://cdn.empresa.com/carrinho/vitral.json
18
+ ```
19
+
20
+ | Opção | Valores |
21
+ | --- | --- |
22
+ | `--host`, `--remote` | O que criar |
23
+ | `--framework`, `-f` | Hosts: react, next, vue, nuxt, angular, sveltekit, solid, preact, lit, vanilla. Remotes: react, vue, svelte, solid, preact, angular, lit, vanilla |
24
+ | `--src` | URL do `vitral.json` que o host carrega |
25
+
26
+ Depois, siga [Configurar host e remote](https://joaogabriel15.github.io/vitral/aprender/configurar).
27
+
28
+ Licença MIT.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vitral",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Cria um host ou um remote vitral: npm create vitral@latest",
5
5
  "keywords": [
6
6
  "vitral",
@@ -17,7 +17,7 @@
17
17
  "angular",
18
18
  "svelte"
19
19
  ],
20
- "homepage": "https://github.com/joaogabriel15/vitral#readme",
20
+ "homepage": "https://joaogabriel15.github.io/vitral/",
21
21
  "bugs": {
22
22
  "url": "https://github.com/joaogabriel15/vitral/issues"
23
23
  },
@@ -35,7 +35,8 @@
35
35
  "files": [
36
36
  "index.js",
37
37
  "src",
38
- "templates"
38
+ "templates",
39
+ "README.md"
39
40
  ],
40
41
  "engines": {
41
42
  "node": ">=20.19"