feat: add swc to complie
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"collection": "@nestjs/schematics",
|
||||
"sourceRoot": "src",
|
||||
"compilerOptions": {
|
||||
"builder": "swc",
|
||||
"plugins": []
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"repl": "npm run start -- --entryFile repl",
|
||||
"bundle": "rimraf out && npm run build && cd dist/src && npx ncc build main.js -o ../../out -m -t && cd ../.. && chmod +x out/index.js",
|
||||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"packages/**/*.ts\"",
|
||||
"start": "cross-env NODE_ENV=development nest start -w --path tsconfig.json -- ",
|
||||
"start": "cross-env NODE_ENV=development nest start -w --type-check --path tsconfig.json -- ",
|
||||
"start:debug": "cross-env NODE_ENV=development nest start --debug --watch",
|
||||
"start:cluster": "cross-env NODE_ENV=development nest start --watch -- --cluster --workers 2",
|
||||
"start:prod": "cross-env NODE_ENV=production node dist/src/main",
|
||||
@@ -127,6 +127,7 @@
|
||||
"@nestjs/cli": "10.1.17",
|
||||
"@nestjs/schematics": "10.0.2",
|
||||
"@nestjs/testing": "10.2.4",
|
||||
"@swc/cli": "0.1.62",
|
||||
"@swc/core": "1.3.82",
|
||||
"@types/babel__core": "7.20.1",
|
||||
"@types/bcrypt": "5.0.0",
|
||||
|
||||
763
pnpm-lock.yaml
generated
763
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user