nuxt-bun-compile 0.1.14 β 0.1.17
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 +28 -3
- package/README.ptBR.md +27 -2
- package/dist/module.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Nuxt Bun Compile
|
|
2
2
|
|
|
3
3
|
[](https://badge.socket.dev/npm/package/nuxt-bun-compile/0.1.0)
|
|
4
4
|
|
|
5
|
+

|
|
6
|
+
|
|
5
7
|
> π Nuxt module that automatically configures Nitro for `bun build --compile`, generating a **standalone executable binary** from your Nuxt app β zero runtime dependencies needed.
|
|
6
8
|
|
|
7
9
|
[Leia em PortuguΓͺs](README.ptBR.md)
|
|
@@ -26,16 +28,39 @@
|
|
|
26
28
|
|
|
27
29
|
---
|
|
28
30
|
|
|
31
|
+
## π Super Flash Start
|
|
32
|
+
|
|
33
|
+
Add the module to any Nuxt project in two steps:
|
|
34
|
+
|
|
35
|
+
**Step 1: Install the module**
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
bun nuxt add nuxt-bun-compile
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Step 2: Build your binary**
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
bun run -b build
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Done! Your standalone binary is ready.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
29
51
|
## β‘ Quick Start
|
|
30
52
|
|
|
31
53
|
```bash
|
|
32
|
-
# Install
|
|
54
|
+
# Install from NPM registry
|
|
55
|
+
bun add -D nuxt-bun-compile
|
|
56
|
+
|
|
57
|
+
# Or install directly from GitHub
|
|
33
58
|
bun add -D github:jprando/nuxt-bun-compile
|
|
34
59
|
|
|
35
60
|
# Or link locally for development
|
|
36
61
|
git clone https://github.com/jprando/nuxt-bun-compile.git
|
|
37
62
|
cd nuxt-bun-compile && bun install && bun link
|
|
38
|
-
cd your-nuxt-app && bun link nuxt-bun-compile && bun nuxt nuxt-bun-compile
|
|
63
|
+
cd your-nuxt-app && bun link nuxt-bun-compile && bun nuxt add nuxt-bun-compile
|
|
39
64
|
```
|
|
40
65
|
|
|
41
66
|
Add to your `nuxt.config.ts`:
|
package/README.ptBR.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Nuxt Bun Compile
|
|
2
2
|
|
|
3
3
|
[](https://badge.socket.dev/npm/package/nuxt-bun-compile/0.1.0)
|
|
4
4
|
|
|
5
|
+

|
|
6
|
+
|
|
5
7
|
> π Modulo Nuxt que configura automaticamente o Nitro para `bun build --compile`, gerando um **binario executavel standalone** a partir da sua aplicacao Nuxt β sem dependencias de runtime.
|
|
6
8
|
|
|
7
9
|
[Read in English](README.md)
|
|
@@ -26,16 +28,39 @@
|
|
|
26
28
|
|
|
27
29
|
---
|
|
28
30
|
|
|
31
|
+
## π Super Flash Start
|
|
32
|
+
|
|
33
|
+
Adicione o modulo a qualquer projeto Nuxt em dois passos:
|
|
34
|
+
|
|
35
|
+
**Passo 1: Instalar o modulo**
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
bun nuxt add nuxt-bun-compile
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Passo 2: Gerar seu binario**
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
bun run -b build
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Pronto! Seu binario standalone esta pronto.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
29
51
|
## β‘ Inicio Rapido
|
|
30
52
|
|
|
31
53
|
```bash
|
|
54
|
+
# Instalar do NPM registry
|
|
55
|
+
bun add -D nuxt-bun-compile
|
|
56
|
+
|
|
32
57
|
# Instalar diretamente do GitHub
|
|
33
58
|
bun add -D github:jprando/nuxt-bun-compile
|
|
34
59
|
|
|
35
60
|
# Ou linkar localmente para desenvolvimento
|
|
36
61
|
git clone https://github.com/jprando/nuxt-bun-compile.git
|
|
37
62
|
cd nuxt-bun-compile && bun install && bun link
|
|
38
|
-
cd sua-app-nuxt && bun link nuxt-bun-compile && bun nuxt nuxt-bun-compile
|
|
63
|
+
cd sua-app-nuxt && bun link nuxt-bun-compile && bun nuxt add nuxt-bun-compile
|
|
39
64
|
```
|
|
40
65
|
|
|
41
66
|
Adicione ao seu `nuxt.config.ts`:
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-bun-compile",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "Nuxt module that automatically configures Nitro for `bun build --compile`, generating a standalone executable binary from your Nuxt app.",
|
|
5
5
|
"repository": "jprando/nuxt-bun-compile",
|
|
6
6
|
"license": "MIT",
|