Skip to content

Commit

Permalink
const enums as flag
Browse files Browse the repository at this point in the history
  • Loading branch information
aexol committed Nov 1, 2024
1 parent 1e7cb7e commit f95548a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/typescript-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-node",
"version": "3.0.0",
"version": "3.0.1",
"description": "",
"private": true,
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-zeus-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-zeus-core",
"version": "7.0.0",
"version": "7.0.1",
"private": false,
"main": "./lib/index.js",
"author": "GraphQL Editor, Artur Czemiel",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-zeus-jsonschema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-zeus-jsonschema",
"version": "7.0.0",
"version": "7.0.1",
"private": false,
"main": "./lib/index.js",
"author": "GraphQL Editor, Artur Czemiel",
Expand Down
5 changes: 5 additions & 0 deletions packages/graphql-zeus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ zeus [path] [output_path] [options]
describe: 'Use .js import in TypeScript to use with esModules',
boolean: true,
})
.option('constEnums', {
alias: 'ce',
describe: 'Use .js import in TypeScript to use with esModules',
boolean: true,
})
.option('typedDocumentNode', {
alias: 'td',
describe: 'Generate TypedDocumentNode createQuery module',
Expand Down
6 changes: 3 additions & 3 deletions packages/graphql-zeus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-zeus",
"version": "7.0.0",
"version": "7.0.1",
"private": false,
"scripts": {
"start": "ttsc --watch",
Expand All @@ -26,8 +26,8 @@
"dependencies": {
"config-maker": "^0.0.6",
"cross-fetch": "^3.0.4",
"graphql-zeus-core": "^7.0.0",
"graphql-zeus-jsonschema": "^7.0.0",
"graphql-zeus-core": "^7.0.1",
"graphql-zeus-jsonschema": "^7.0.1",
"yargs": "^16.1.1"
}
}

0 comments on commit f95548a

Please sign in to comment.