impl simple backend
Some checks failed
Deploy Backend / deploy (push) Failing after 29s

This commit is contained in:
Lee
2024-10-04 22:21:37 +01:00
parent cd7cc29afd
commit e105a76bf2
18 changed files with 2347 additions and 28 deletions

16
common/package.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "@ssr/common",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "tsup src/index.ts --watch"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"tsup": "^6.5.0",
"typescript": "^5"
}
}

3
common/src/index.ts Normal file
View File

@ -0,0 +1,3 @@
export function helloMeowMeow() {
return "hi";
}

21
common/tsconfig.json Normal file
View File

@ -0,0 +1,21 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false
}
}

8
common/tsup.config.ts Normal file
View File

@ -0,0 +1,8 @@
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
splitting: false,
sourcemap: true,
clean: true,
});