Explorar o código

change pdf-converter dev command to dev:pdf-converter

Futa Arai hai 1 ano
pai
achega
426cf56968
Modificáronse 2 ficheiros con 11 adicións e 1 borrados
  1. 1 1
      apps/pdf-converter/package.json
  2. 10 0
      apps/pdf-converter/turbo.json

+ 1 - 1
apps/pdf-converter/package.json

@@ -6,7 +6,7 @@
   "license": "MIT",
   "private": true,
   "scripts": {
-    "dev": "nodemon --watch \"src/**/*.ts\" --ignore \"node_modules/**/*\" --exec ts-node -r \"dotenv-flow/config\" src/index.ts",
+    "dev:pdf-converter": "nodemon --watch \"src/**/*.ts\" --ignore \"node_modules/**/*\" --exec ts-node -r \"dotenv-flow/config\" src/index.ts",
     "lint": "pnpm eslint **/*.{js,ts}",
     "gen:client-code": "tsed run generate-swagger --output ./specs && orval",
     "build": "pnpm gen:client-code && tsc -p tsconfig.build.json"

+ 10 - 0
apps/pdf-converter/turbo.json

@@ -0,0 +1,10 @@
+{
+  "$schema": "https://turbo.build/schema.json",
+  "extends": ["//"],
+  "tasks": {
+    "dev:pdf-converter": {
+      "cache": false,
+      "persistent": true
+    }
+  }
+}