actions reactored. multi-tick action support

This commit is contained in:
azykov@mail.ru
2026-06-12 11:46:42 +03:00
parent 36f76efdd7
commit 20a4edad5a
35 changed files with 1047 additions and 373 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"name": "server",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc -b",
"start": "node dist/index.js"
},
"dependencies": {
"fastify": "^5.3.2"
},
"devDependencies": {
"tsx": "^4.19.4"
}
}
+9
View File
@@ -0,0 +1,9 @@
import Fastify from 'fastify';
const fastify = Fastify({ logger: true });
fastify.get('/', async (_request, _reply) => {
return { status: 'ok' };
});
await fastify.listen({ port: 3000, host: '0.0.0.0' });
+14
View File
@@ -0,0 +1,14 @@
{
"compilerOptions": {
"target": "es2023",
"module": "nodenext",
"moduleResolution": "nodenext",
"outDir": "dist",
"rootDir": "src",
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": ["src"]
}