clear: old code

This commit is contained in:
2025-02-18 18:10:02 +08:00
parent d9fe68d3fe
commit 84edde385e
67 changed files with 288 additions and 6897 deletions

View File

@@ -1,16 +0,0 @@
import * as dts from 'dts-bundle';
import path from 'path';
const currentPath = process.cwd();
const packagePath = path.join(currentPath, 'script/package/package.json');
const mainPath = path.join(currentPath, 'src/type.ts');
const outPath = path.join(currentPath, 'types/index.d.ts');
// node script/dts/index.mjs
dts.bundle({
name: 'my-library',
main: mainPath,
out: outPath,
removeSource: true,
outputAsModuleFolder: true,
});

View File

@@ -8,15 +8,23 @@ fs.writeFileSync(
packagePath,
JSON.stringify(
{
name: 'codeflow',
name: 'codecenter',
version: '1.0.0',
devDependencies: {
'@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',
scripts: {
start: 'pm2 start dist/app.mjs --name codecenter',
},
dependencies: {
'@kevisual/router': '^0.0.6-alpha-5',
'@kevisual/use-config': '^1.0.7',
ioredis: '^5.5.0',
minio: '^8.0.4',
pg: '^8.13.3',
sequelize: '^6.37.5',
sqlite3: '^5.1.7',
'socket.io': '^4.8.1',
'@msgpack/msgpack': '3.0.1',
pino: '^9.6.0',
'pino-pretty': '^13.0.0',
},
},
null,

View File

@@ -1,17 +1,20 @@
{
"name": "codeflow",
"name": "codecenter",
"version": "1.0.0",
"scripts": {
"start": "pm2 start dist/app.mjs --name codecenter"
},
"dependencies": {
"@kevisual/router": "^0.0.6-alpha-2",
"@kevisual/use-config": "^1.0.3",
"ioredis": "^5.4.1",
"minio": "^8.0.2",
"pg": "^8.13.1",
"@kevisual/router": "^0.0.6-alpha-5",
"@kevisual/use-config": "^1.0.7",
"ioredis": "^5.5.0",
"minio": "^8.0.4",
"pg": "^8.13.3",
"sequelize": "^6.37.5",
"sqlite3": "^5.1.7",
"socket.io": "^4.8.1",
"@msgpack/msgpack": "3.0.0-beta2",
"pino": "^9.5.0",
"@msgpack/msgpack": "3.0.1",
"pino": "^9.6.0",
"pino-pretty": "^13.0.0"
}
}