Skip to content

Commit 3e2b9d0

Browse files
authored
Fix CI (#471)
* Fix FATAL ERROR: ... JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory microsoft/TypeScript#14628 * Fix out of date commander API
1 parent df347e7 commit 3e2b9d0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/postgraphql/cli.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { resolve as resolvePath } from 'path'
44
import { readFileSync } from 'fs'
55
import { createServer } from 'http'
66
import chalk = require('chalk')
7-
import { Command } from 'commander'
7+
import program = require('commander')
88
import { parse as parsePgConnectionString } from 'pg-connection-string'
99
import postgraphql from './postgraphql'
1010

@@ -14,7 +14,6 @@ import postgraphql from './postgraphql'
1414
const DEMO_PG_URL = null
1515

1616
const manifest = JSON.parse(readFileSync(resolvePath(__dirname, '../../package.json')).toString())
17-
const program = new Command('postgraphql')
1817

1918
program
2019
.version(manifest.version)

tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"noUnusedParameters": true,
1919
"noUnusedLocals": true
2020
},
21+
"include": [
22+
"src",
23+
"typings"
24+
],
2125
"exclude": [
2226
"index.js",
2327
"node_modules",

0 commit comments

Comments
 (0)