From 7f9f072c6ea863d077d4d8d87207335e443177ec Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 30 Aug 2023 15:28:29 +0800 Subject: [PATCH] feat(nocodb-sdk): add postinstall --- packages/nocodb-sdk/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/nocodb-sdk/package.json b/packages/nocodb-sdk/package.json index 08d6f7dc44..30139ec686 100644 --- a/packages/nocodb-sdk/package.json +++ b/packages/nocodb-sdk/package.json @@ -35,7 +35,8 @@ "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" + "preinstall": "npx only-allow pnpm", + "postinstall": "pnpm build" }, "dependencies": { "axios": "^0.21.1", @@ -69,4 +70,4 @@ "prettier": { "singleQuote": true } -} \ No newline at end of file +}