Browse Source

fix(nocodb-sdk): return 0 instead

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
98e6780e5d
  1. 2
      packages/nocodb-sdk/package.json

2
packages/nocodb-sdk/package.json

@ -36,7 +36,7 @@
"watch:build": "tsc -p tsconfig.json -w", "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", "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": "[ \"$NODE_ENV\" != production ] && pnpm build" "postinstall": "[ \"$NODE_ENV\" = production ] && exit 0; pnpm build"
}, },
"dependencies": { "dependencies": {
"axios": "^0.21.1", "axios": "^0.21.1",

Loading…
Cancel
Save