From da1c88340e45b0370aad8832c1131b15b4b14e20 Mon Sep 17 00:00:00 2001 From: Konrad Linkowski Date: Thu, 16 May 2019 10:45:52 +0200 Subject: [PATCH 1/2] Update LICENCE url in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a59ef92..ac4f389 100644 --- a/README.md +++ b/README.md @@ -72,4 +72,4 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors ## License - Nest is [MIT licensed](LICENSE). + Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE). From d54bf6f8c23ff2f3d594ef04b1829287aa8d73f6 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 22 May 2019 13:16:42 +0300 Subject: [PATCH 2/2] Don't rebuild project on the start:prod command rimraf dist before the build --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 6519199..914e41b 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,11 @@ "description": "Nest TypeScript starter repository", "license": "MIT", "scripts": { - "build": "tsc -p tsconfig.build.json", + "build": "rimraf dist && tsc -p tsconfig.build.json", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "ts-node -r tsconfig-paths/register src/main.ts", "start:dev": "concurrently --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ", "start:debug": "nodemon --config nodemon-debug.json", - "prestart:prod": "rimraf dist && npm run build", "start:prod": "node dist/main.js", "lint": "tslint -p tsconfig.json -c tslint.json", "test": "jest",