Skip to content

Commit

Permalink
Merge pull request #60 from Contentstack-Solutions/feat/CS-38078-taxo…
Browse files Browse the repository at this point in the history
…nomy

Feat: taxonomy
  • Loading branch information
aman19K authored Oct 27, 2023
2 parents 720e8cc + 88bcde8 commit 01029bd
Show file tree
Hide file tree
Showing 8 changed files with 324 additions and 68 deletions.
169 changes: 110 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "contentstack-cli-tsgen",
"description": "Generate TypeScript typings from a Stack.",
"version": "2.1.8",
"version": "2.2.0",
"author": "Michael Davis",
"bugs": "https://github.com/Contentstack-Solutions/contentstack-cli-tsgen/issues",
"dependencies": {
"@contentstack/cli-command": "^1.2.9",
"@contentstack/cli-utilities": "^1.4.5",
"@contentstack/cli-command": "^1.2.13",
"@contentstack/cli-utilities": "^1.5.2",
"lodash": "^4.17.20",
"prettier": "^2.0.5",
"tslib": "^1.13.0"
Expand Down
2 changes: 1 addition & 1 deletion src/commands/tsgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command {
branch: branch || null,
}

const [client, globalFields] = await Promise.all([stackConnect(this.deliveryAPIClient.Stack, config), getGlobalFields(config)])
const [client, globalFields] = await Promise.all([stackConnect(this.deliveryAPIClient.Stack, config, this.cdaHost), getGlobalFields(config, this.cdaHost)])

let schemas: ContentType[] = []
if (client.types?.length) {
Expand Down
Loading

0 comments on commit 01029bd

Please sign in to comment.