feat: add delete route

This commit is contained in:
2024-06-28 00:14:39 +08:00
parent c0a1460ad8
commit 60653a5ba8
16 changed files with 2760 additions and 200 deletions

26
script/package/index.mjs Normal file
View File

@@ -0,0 +1,26 @@
import fs from 'fs';
import path from 'path';
const currentPath = process.cwd();
const packagePath = path.join(currentPath, 'script/package/package.json');
fs.writeFileSync(
packagePath,
JSON.stringify(
{
name: 'codeflow',
version: '1.0.0',
dependencies: {
'@babel/core': '^7.24.7',
'@babel/preset-env': '^7.24.7',
'@babel/preset-typescript': '^7.24.7',
sequelize: '^6.37.3',
'socket.io': '^4.7.5',
pg: '^8.12.0'
},
},
null,
2,
),
'utf-8',
);

View File

@@ -0,0 +1,12 @@
{
"name": "codeflow",
"version": "1.0.0",
"dependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"sequelize": "^6.37.3",
"socket.io": "^4.7.5",
"pg": "^8.12.0"
}
}