Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

enforce bun (#1032)

Will Hutchinsond18389a4aab7
diff --git a/infra/.gitignore b/infra/.gitignore
index a4937d1712..34f522b1e9 100644
--- a/infra/.gitignore
+++ b/infra/.gitignore
@@ -5,6 +5,7 @@
!library.js
!**/appRouteLambda/**/*.js
!**/contentEncodingLambda/**/*.js
+package-lock.json
node_modules
dist
diff --git a/infra/package.json b/infra/package.json
index 1b843483ca..cbac60c429 100644
--- a/infra/package.json
+++ b/infra/package.json
@@ -6,6 +6,7 @@
"packages/*"
],
"scripts": {
+ "preinstall": "node -e \"if (process.env.npm_execpath && !process.env.npm_execpath.includes('bun')) { console.error('Please use bun as the package manager'); process.exit(1); }\"",
"lint": "biome check .",
"format": "biome check --write .",
"check": "tsc --noEmit"