Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 16, 2023
1 parent 616ba1d commit 23a6018
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 60 deletions.
9 changes: 0 additions & 9 deletions .changeset/cyan-doors-drop.md

This file was deleted.

43 changes: 0 additions & 43 deletions .changeset/eight-emus-kiss.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/gorgeous-steaks-allow.md

This file was deleted.

55 changes: 55 additions & 0 deletions apps/api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# taco-api

## 3.0.0

### Major Changes

- 65ccf6d: replace express with elysia.

Taco API now runs on top of bun and we have faster and better HTTP frameworks.

We don't do anything fancy that only express could do. To provide an HTTP client for a single endpoint, we can rely on something more modern.

- bc854f6: Switch from node to bun

In case you don't know bun, I strongly recommend you to take a look in [their docs](https://bun.sh/). In summary, it's a fast JavaScript runtime that provides tons of performance and great nodejs compat.

The advantage of using Bun instead Node is:

- We don't need `tsx` for handling TypeScript files (such as scripts) or running the dev locally;
- We don't need `esbuild` to build the final file;
- We don't need `pnpm` to install dependencies;
- everything is fast

Though, because we're using Prisma and it relies on NodeJS to do some generation, you may still have Node installed.

Some differences from the previous setup:

Install dependencies:

```diff
-pnpm install
+bun install
```

Run dev server:

```diff
-pnpm run dev
+bun run dev
```

Build the project:

```diff
-pnpm run build
+bun run build
```

etc..

Because we're changing the runner, it's a major bump. If you still want to use Node, I'd recommend you to be in the version 2.

- 5384de3: new docs website.

Now, instead using vuepress, I've switch to starlight and refactor the whole docs.
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "taco-api",
"description": "Brazilian Table of Food Composition (TACO) - GraphQL API",
"version": "2.3.0",
"version": "3.0.0",
"type": "module",
"homepage": "https://github.com/raulfdm/taco-api",
"bugs": {
Expand Down

0 comments on commit 23a6018

Please sign in to comment.