Browse Source

fix: typescript resolutions

pull/3384/head
Wing-Kam Wong 2 years ago
parent
commit
8e342d5f11
  1. 11704
      packages/nocodb-sdk/package-lock.json
  2. 9
      packages/nocodb-sdk/package.json

11704
packages/nocodb-sdk/package-lock.json generated

File diff suppressed because it is too large Load Diff

9
packages/nocodb-sdk/package.json

@ -9,6 +9,7 @@
"license": "MIT", "license": "MIT",
"keywords": [], "keywords": [],
"scripts": { "scripts": {
"preinstall": "npx npm-force-resolutions",
"build": "npm run generate:sdk && run-p build:*", "build": "npm run generate:sdk && run-p build:*",
"build:main": "tsc -p tsconfig.json", "build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json", "build:module": "tsc -p tsconfig.module.json",
@ -37,8 +38,8 @@
"version": "standard-version", "version": "standard-version",
"reset-hard": "git clean -dfx && git reset --hard && npm i", "reset-hard": "git clean -dfx && git reset --hard && npm i",
"prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish", "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish",
"generate:sdk": "npx swagger-typescript-api -r -p ../../scripts/sdk/swagger.json -o ./src/lib/ --axios --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates", "generate:sdk": "swagger-typescript-api -r -p ../../scripts/sdk/swagger.json -o ./src/lib/ --axios --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates",
"generate:sdk:default": "npx swagger-typescript-api -r -p ../../scripts/sdk/swagger.json -o ./src/lib/ --name Api2.ts --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates" "generate:sdk:default": "swagger-typescript-api -r -p ../../scripts/sdk/swagger.json -o ./src/lib/ --name Api2.ts --unwrap-response-data --module-name-first-tag --type-suffix=Type --templates ../../scripts/sdk/templates"
}, },
"engines": { "engines": {
"node": ">=10" "node": ">=10"
@ -68,10 +69,14 @@
"open-cli": "^6.0.1", "open-cli": "^6.0.1",
"prettier": "^2.1.1", "prettier": "^2.1.1",
"standard-version": "^9.0.0", "standard-version": "^9.0.0",
"swagger-typescript-api": "^10.0.1",
"ts-node": "^9.0.0", "ts-node": "^9.0.0",
"typedoc": "^0.22.17", "typedoc": "^0.22.17",
"typescript": "^4.0.2" "typescript": "^4.0.2"
}, },
"resolutions": {
"typescript": "4.7.4"
},
"files": [ "files": [
"build/main", "build/main",
"build/module", "build/module",

Loading…
Cancel
Save