From b455ff2b17f5f2e09f25eff4c715ae5ed7ad32f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 2 Jun 2022 21:44:44 +0200 Subject: [PATCH] gitpFix error on scalingo --- api/package.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/package.json b/api/package.json index c45168c5c..c27d6ab90 100644 --- a/api/package.json +++ b/api/package.json @@ -28,6 +28,7 @@ "clean": "rimraf dist ./source/openapi.json" }, "dependencies": { + "@apidevtools/swagger-cli": "^4.0.4", "@koa/cors": "^3.3.0", "@koa/router": "^10.1.1", "@publicodes/api": "^1.0.0-beta.41", @@ -35,11 +36,11 @@ "koa-body": "^5.0.0", "koa-static": "^5.0.0", "modele-social": "workspace:^", + "nodemon": "^2.0.16", "publicodes": "^1.0.0-beta.41", "swagger-ui-dist": "^4.11.1" }, "devDependencies": { - "@apidevtools/swagger-cli": "^4.0.4", "@types/koa": "^2.13.4", "@types/koa-static": "^4.0.2", "@types/koa__cors": "^3.3.0", @@ -47,7 +48,6 @@ "@types/node": "^17.0.35", "@types/swagger-ui-dist": "^3.30.1", "chai-http": "^4.3.0", - "nodemon": "^2.0.16", "rimraf": "^3.0.2", "ts-node": "^10.8.0", "typescript": "^4.7.2", diff --git a/package.json b/package.json index 55cc4371c..3a96df39a 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ ], "scripts": { "pre-commit": "yarn workspaces foreach -pi run pre-commit", - "scalingo-postbuild": "CI=true ; yarn test:type && yarn workspaces focus api && yarn workspace api run build && yarn workspaces focus --all && yarn test", + "scalingo-postbuild": "CI=true ; yarn test:type && yarn workspaces focus api && yarn workspace api run build && yarn workspaces focus --all && yarn test && yarn workspaces focus api --production", "lint:eslintrc": "npx eslint-config-prettier .eslintrc.cjs", "lint:eslint": "NODE_OPTIONS='--max-old-space-size=4096' eslint .", "lint:eslint:fix": "yarn lint:eslint --fix",