magicserve 1.2.0 → 1.2.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.es.md +5 -7
- package/README.md +5 -7
- package/package.json +4 -3
package/README.es.md
CHANGED
|
@@ -15,23 +15,21 @@ Antes de utilizar `magicserve`, es necesario tener instalado en la computadora d
|
|
|
15
15
|
|
|
16
16
|
## Instalación global
|
|
17
17
|
|
|
18
|
-
Si tienes los requisitos instalados, puedes instalar la utilidad de manera global
|
|
18
|
+
Si tienes los requisitos instalados, puedes instalar la utilidad de manera global desde npm:
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npm install -g
|
|
21
|
+
npm install -g magicserve
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
> **Nota:** También puedes publicarlo en npm publico y usar `npm install -g magicserve` directamente.
|
|
25
|
-
|
|
26
24
|
## Actualización
|
|
27
25
|
|
|
28
|
-
Si ya tienes `magicserve` instalado y quieres actualizarlo a la última versión, ejecuta
|
|
26
|
+
Si ya tienes `magicserve` instalado y quieres actualizarlo a la última versión, ejecuta:
|
|
29
27
|
|
|
30
28
|
```bash
|
|
31
|
-
npm
|
|
29
|
+
npm update -g magicserve
|
|
32
30
|
```
|
|
33
31
|
|
|
34
|
-
|
|
32
|
+
Tus archivos `magicserve.json` en tus proyectos **no se verán afectados**.
|
|
35
33
|
|
|
36
34
|
> 💡 Puedes verificar la versión instalada ejecutando cualquier comando de `magicserve`, aparecerá al inicio.
|
|
37
35
|
|
package/README.md
CHANGED
|
@@ -15,23 +15,21 @@ Before using `magicserve`, you must have the following installed on your develop
|
|
|
15
15
|
|
|
16
16
|
## Global Installation
|
|
17
17
|
|
|
18
|
-
If you have the requirements installed, you can globally install the utility
|
|
18
|
+
If you have the requirements installed, you can globally install the utility from npm:
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npm install -g
|
|
21
|
+
npm install -g magicserve
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
> **Note:** You can also publish it to the public npm registry and use `npm install -g magicserve`.
|
|
25
|
-
|
|
26
24
|
## Updating
|
|
27
25
|
|
|
28
|
-
If you already have `magicserve` installed and want to update to the latest version, simply run
|
|
26
|
+
If you already have `magicserve` installed and want to update to the latest version, simply run:
|
|
29
27
|
|
|
30
28
|
```bash
|
|
31
|
-
npm
|
|
29
|
+
npm update -g magicserve
|
|
32
30
|
```
|
|
33
31
|
|
|
34
|
-
|
|
32
|
+
Your `magicserve.json` files in your projects **will not be affected**.
|
|
35
33
|
|
|
36
34
|
> 💡 You can verify the installed version by running any `magicserve` command — it will be displayed at the top.
|
|
37
35
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magicserve",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Script to run local environments via magicserve.json",
|
|
5
5
|
"files": [
|
|
6
6
|
"run.sh"
|
|
7
7
|
],
|
|
8
8
|
"bin": {
|
|
9
|
-
"magicserve": "
|
|
9
|
+
"magicserve": "run.sh"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
12
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
13
|
+
"release": "npm version patch && npm publish --access public"
|
|
13
14
|
},
|
|
14
15
|
"repository": {
|
|
15
16
|
"type": "git",
|