From c5c662ae39c0844c4019e58234f4e70b8bfc3483 Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Wed, 17 Apr 2024 19:19:12 +0100 Subject: [PATCH] Run in prepublishOnly --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2c789f3..9411954 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "publish:lib": "scripts/publish-lib.sh", "strapi": "strapi", "types": "npx openapi-typescript src/extensions/documentation/documentation/1.0.0/full_documentation.json -o src/gen/types.ts", - "prepare": "echo '❌ ERROR: The lib should be published from \"lib\" directory. Read README for more information.' && exit 99" + "prepublishOnly": "echo '❌ ERROR: The lib should be published from \"lib\" directory. Read README for more information.' && exit 99" }, "dependencies": { "@strapi/plugin-documentation": "4.13.3",