From daea628cbf91daf4f3638988598eabc661360bbf Mon Sep 17 00:00:00 2001 From: Xavier Stouder Date: Thu, 9 May 2024 13:57:19 +0200 Subject: [PATCH] feat: correct stubs build --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 719e534..3c669f0 100644 --- a/package.json +++ b/package.json @@ -17,18 +17,18 @@ }, "scripts": { "clean": "del-cli build", - "copy:templates": "copyfiles \"stubs/**/*.stub\" build", + "copy:templates": "copyfiles --up 1 \"stubs/**/*.stub\" build", "typecheck": "tsc --noEmit", "lint": "eslint . --ext=.ts", "format": "prettier --write .", "quick:test": "node --import=./tsnode.esm.js --enable-source-maps bin/test.ts", - "pretest": "npm run lint", - "test": "c8 npm run quick:test", - "prebuild": "npm run lint && npm run clean", + "pretest": "pnpm run lint", + "test": "c8 pnpm run quick:test", + "prebuild": "pnpm run lint && pnpm run clean", "build": "tsup", - "postbuild": "npm run copy:templates", - "version": "npm run build", - "prepublishOnly": "npm run build" + "postbuild": "pnpm run copy:templates", + "version": "pnpm run build", + "prepublishOnly": "pnpm run build" }, "keywords": [ "adonisjs",