From 3b90af7d658b8567b3369950d63a8dd5dff2f1fe Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 31 Aug 2023 15:38:37 +0800 Subject: [PATCH] fix(nocodb-sdk): remove postinstall --- packages/nocodb-sdk/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nocodb-sdk/package.json b/packages/nocodb-sdk/package.json index 87e8be1214..146c8b4909 100644 --- a/packages/nocodb-sdk/package.json +++ b/packages/nocodb-sdk/package.json @@ -35,8 +35,7 @@ "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"", "watch:build": "tsc -p tsconfig.json -w", "generate:sdk": "npx --yes swagger-typescript-api@10.0.3 -r -p ../nocodb/src/schema/swagger.json -o ./src/lib/ --axios --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates", - "preinstall": "npx only-allow pnpm", - "postinstall": "[ \"$NODE_ENV\" = production ] && exit 0; pnpm build" + "preinstall": "npx only-allow pnpm" }, "dependencies": { "axios": "^0.21.1",