-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update bun to 1.0.20 * add changeset
- Loading branch information
Showing
14 changed files
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"taco-api": patch | ||
--- | ||
|
||
update bun to 1.0.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ RUN apt-get update -y && apt-get install -y openssl | |
WORKDIR /app | ||
|
||
# Install bun to be available in all stages. | ||
RUN npm install -g [email protected].18 | ||
RUN npm install -g [email protected].20 | ||
|
||
FROM base as installer | ||
# install with devDependencies to be used later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ RUN apt-get update -y && apt-get install -y openssl | |
|
||
WORKDIR /app | ||
|
||
RUN npm install -g [email protected].18 | ||
RUN npm install -g [email protected].20 | ||
|
||
# Setup | ||
COPY package.json bun.lockb ./ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,14 +30,14 @@ | |
"zod": "3.22.4" | ||
}, | ||
"devDependencies": { | ||
"bun-types": "1.0.18", | ||
"@types/bun": "1.0.0", | ||
"csvtojson": "2.0.10", | ||
"prisma": "5.7.0", | ||
"typescript": "5.3.3" | ||
}, | ||
"packageManager": "[email protected].18", | ||
"packageManager": "[email protected].20", | ||
"engines": { | ||
"bun": "1.0.18" | ||
"bun": "1.0.20" | ||
}, | ||
"prisma": { | ||
"seed": "bun run ./src/infrastructure/seed/index.ts", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,8 +31,5 @@ | |
"dist/generated" | ||
] | ||
}, | ||
"types": [ | ||
"bun-types" // add Bun global | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ Em qualquer plataforma, procure por uma máquina que tenha suporte para aplicaç | |
Apesar do projeto usar Bun, em uma máquina que tenha Node, você pode instalar Bun via npm: | ||
|
||
```bash | ||
npm add -g [email protected].18 | ||
npm add -g [email protected].20 | ||
``` | ||
|
||
Instalado o Bun globalmente, agora você pode seguir os passos normais: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ On any platform, look for a machine that supports NodeJS applications. | |
Although the project uses Bun, on a machine that has Node, you can install Bun via npm: | ||
|
||
```bash | ||
npm add -g [email protected].18 | ||
npm add -g [email protected].20 | ||
``` | ||
|
||
Having installed bun globally, you can now follow the normal steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ title: "Getting Started" | |
Before you start the initial setup, you need to have 2 runtimes installed: | ||
|
||
- [NodeJS](https://nodejs.org/en) version 20 or higher | ||
- [Bun](https://bun.sh/) version 1.0.18 or higher | ||
- [Bun](https://bun.sh/) version 1.0.20 or higher | ||
|
||
Although Bun is the primary runtime, one of the dependencies ([Prisma](https://www.prisma.io/)) still requires Node to generate the initial files. | ||
|
||
|
@@ -16,7 +16,7 @@ Although Bun is the primary runtime, one of the dependencies ([Prisma](https://w | |
If you already have Node installed, you can install `bun` via npm: | ||
|
||
```bash | ||
npm install -g [email protected].18 | ||
npm install -g [email protected].20 | ||
``` | ||
|
||
::: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ title: "Começando" | |
Antes de fazer a configuração inicial, você precisa ter 2 runtimes instalados: | ||
|
||
- [NodeJS](https://nodejs.org/en) versão 20 ou superior | ||
- [Bun](https://bun.sh/) versão 1.0.18 ou superior | ||
- [Bun](https://bun.sh/) versão 1.0.20 ou superior | ||
|
||
Apesar do Bun ser o runtime principal, uma das dependências ([Prisma](https://www.prisma.io/)) ainda precisa do Node para gerar os arquivos iniciais. | ||
|
||
|
@@ -16,7 +16,7 @@ Apesar do Bun ser o runtime principal, uma das dependências ([Prisma](https://w | |
Caso já tenha o Node instalado, você pode o `bun` via npm: | ||
|
||
```bash | ||
npm install -g [email protected].18 | ||
npm install -g [email protected].20 | ||
``` | ||
|
||
::: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,15 +26,15 @@ | |
"devDependencies": { | ||
"@biomejs/biome": "1.4.1", | ||
"@changesets/cli": "2.27.1", | ||
"bun-types": "1.0.18", | ||
"@types/bun": "1.0.0", | ||
"husky": "8.0.3", | ||
"lint-staged": "15.1.0", | ||
"turbo": "1.11.1", | ||
"typescript": "5.3.3" | ||
}, | ||
"packageManager": "[email protected].18", | ||
"packageManager": "[email protected].20", | ||
"engines": { | ||
"bun": "1.0.18" | ||
"bun": "1.0.20" | ||
}, | ||
"lint-staged": { | ||
"*.{js,ts,json}": "bunx @biomejs/biome check --apply" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters