Browse Source

fix: typescript resolutions

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

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

File diff suppressed because it is too large Load Diff

11
packages/nocodb-sdk/package.json

@ -9,6 +9,7 @@
"license": "MIT",
"keywords": [],
"scripts": {
"preinstall": "npx npm-force-resolutions",
"build": "npm run generate:sdk && run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
@ -37,8 +38,8 @@
"version": "standard-version",
"reset-hard": "git clean -dfx && git reset --hard && npm i",
"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: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": "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": "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": {
"node": ">=10"
@ -68,10 +69,14 @@
"open-cli": "^6.0.1",
"prettier": "^2.1.1",
"standard-version": "^9.0.0",
"swagger-typescript-api": "^10.0.1",
"ts-node": "^9.0.0",
"typedoc": "^0.22.17",
"typescript": "^4.0.2"
},
"resolutions": {
"typescript": "4.7.4"
},
"files": [
"build/main",
"build/module",
@ -107,4 +112,4 @@
"**/*.spec.js"
]
}
}
}

Loading…
Cancel
Save