Skip to content

Commit f95548a

Browse files
committed
const enums as flag
1 parent 1e7cb7e commit f95548a

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

examples/typescript-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-node",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "",
55
"private": true,
66
"main": "index.js",

packages/graphql-zeus-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-zeus-core",
3-
"version": "7.0.0",
3+
"version": "7.0.1",
44
"private": false,
55
"main": "./lib/index.js",
66
"author": "GraphQL Editor, Artur Czemiel",

packages/graphql-zeus-jsonschema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-zeus-jsonschema",
3-
"version": "7.0.0",
3+
"version": "7.0.1",
44
"private": false,
55
"main": "./lib/index.js",
66
"author": "GraphQL Editor, Artur Czemiel",

packages/graphql-zeus/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ zeus [path] [output_path] [options]
2121
describe: 'Use .js import in TypeScript to use with esModules',
2222
boolean: true,
2323
})
24+
.option('constEnums', {
25+
alias: 'ce',
26+
describe: 'Use .js import in TypeScript to use with esModules',
27+
boolean: true,
28+
})
2429
.option('typedDocumentNode', {
2530
alias: 'td',
2631
describe: 'Generate TypedDocumentNode createQuery module',

packages/graphql-zeus/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-zeus",
3-
"version": "7.0.0",
3+
"version": "7.0.1",
44
"private": false,
55
"scripts": {
66
"start": "ttsc --watch",
@@ -26,8 +26,8 @@
2626
"dependencies": {
2727
"config-maker": "^0.0.6",
2828
"cross-fetch": "^3.0.4",
29-
"graphql-zeus-core": "^7.0.0",
30-
"graphql-zeus-jsonschema": "^7.0.0",
29+
"graphql-zeus-core": "^7.0.1",
30+
"graphql-zeus-jsonschema": "^7.0.1",
3131
"yargs": "^16.1.1"
3232
}
3333
}

0 commit comments

Comments
 (0)