Got a working pnpm/bun setup

This commit is contained in:
2026-05-03 22:18:26 -04:00
parent e89097619b
commit 52cd3cf299
7 changed files with 275 additions and 6074 deletions

View File

View File

@@ -0,0 +1,20 @@
{
"name": "guild-service",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "bun run src/index.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.33.2",
"dependencies": {
"@types/node": "^25.6.0",
"elysia": "^1.4.28",
"ts-node": "^10.9.2",
"typescript": "^6.0.3"
}
}

View File

@@ -0,0 +1,6 @@
import { Elysia } from "elysia";
const app = new Elysia().get("/", "Hello world!");
app.listen(3000);
export default app;

View File

@@ -5,7 +5,8 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };

View File

@@ -4,13 +4,15 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "bun turbo dev"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.33.2",
"devDependencies": {
"bun": "^1.3.13",
"turbo": "^2.9.7"
}
}

6314
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,5 @@
packages:
- 'apps/*'
- 'packages/*'
allowBuilds:
bun: true