Add Bun and Moon workspace configuration
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
WEB_PORT=5173
|
||||
API_PORT=3000
|
||||
DATABASE_URL=postgres://postgres:postgres@localhost:5432/zeavis_edu
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
node_modules/
|
||||
.bun/
|
||||
.moon/cache/
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
dist/
|
||||
build/
|
||||
coverage/
|
||||
*.tsbuildinfo
|
||||
|
||||
.DS_Store
|
||||
@@ -0,0 +1,2 @@
|
||||
node:
|
||||
packageManager: bun
|
||||
@@ -0,0 +1,4 @@
|
||||
projects:
|
||||
web: apps/web
|
||||
api: apps/api
|
||||
shared: packages/shared
|
||||
@@ -0,0 +1,2 @@
|
||||
[install]
|
||||
exact = true
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "zeavis-edu",
|
||||
"private": true,
|
||||
"packageManager": "bun@1.1.42",
|
||||
"workspaces": [
|
||||
"apps/*",
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "moon run :dev",
|
||||
"build": "moon run :build",
|
||||
"typecheck": "moon run :typecheck"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@moonrepo/cli": "^1.32.4",
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"useDefineForClassFields": true,
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||
"allowJs": false,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@zeavis/shared": ["packages/shared/src/index.ts"],
|
||||
"@zeavis/shared/*": ["packages/shared/src/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user