add missing files to last commit

This commit is contained in:
geoffsee
2025-06-24 20:46:36 -04:00
parent c6e09644e2
commit de3173a8f8
4 changed files with 78 additions and 0 deletions

34
packages/durable-objects/.gitignore vendored Normal file
View File

@@ -0,0 +1,34 @@
# dependencies (bun install)
node_modules
# output
out
dist
*.tgz
# code coverage
coverage
*.lcov
# logs
logs
_.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# caches
.eslintcache
.cache
*.tsbuildinfo
# IntelliJ based IDEs
.idea
# Finder (MacOS) folder config
.DS_Store

View File

@@ -0,0 +1,3 @@
import ServerCoordinator from './src/ServerCoordinator';
export { ServerCoordinator };

View File

@@ -0,0 +1,13 @@
{
"name": "@open-gsio/durable-objects",
"module": "index.ts",
"type": "module",
"private": true,
"devDependencies": {
"@types/bun": "^1",
"@cloudflare/workers-types": "^4"
},
"peerDependencies": {
"typescript": "^5"
}
}

View File

@@ -0,0 +1,28 @@
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}