Skip to content

Commit

Permalink
Merge pull request #16 from mastermatt/minor-tweaks
Browse files Browse the repository at this point in the history
fix: build settings
  • Loading branch information
kibae authored Sep 16, 2022
2 parents 770786c + 477d742 commit 4f2f304
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 24 deletions.
26 changes: 12 additions & 14 deletions package-lock.json

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

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
],
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/node": "^14.14.31",
"@types/pg": "^8.6.5",
"jest": "^28.1.3",
"jest-junit": "^14.0.0",
Expand All @@ -79,10 +80,6 @@
"eventemitter2": ">=6.4.0",
"pg": ">=6.2.2"
},
"peerDependencies": {
"eventemitter2": ">=6.4.0",
"pg": ">=6.2.2"
},
"license": "MIT",
"engines": {
"node": ">= 14.0.0"
Expand Down
4 changes: 1 addition & 3 deletions src/output-plugins/decoderbufs/decoderbufs-plugin.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { AbstractPlugin } from '../abstract.plugin';
import { Client } from 'pg';

// https://github.com/debezium/postgres-decoderbufs/blob/main/proto/pg_logicaldec.proto
const decoderbufsProto = require('./pg_logicaldec.proto.json');
import decoderbufsProto from './pg_logicaldec.proto';

export interface ProtocolBuffersPluginOptions {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
// https://github.com/debezium/postgres-decoderbufs/blob/main/proto/pg_logicaldec.proto
export default {
"nested": {
"decoderbufs": {
"options": {
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */

/* Language and Environment */
"target": "es6",
"target": "ES2020", // https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#node-14
/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"lib": ["ES2020"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
// "jsx": "preserve", /* Specify what JSX code is generated. */
"experimentalDecorators": true,
/* Enable experimental support for TC39 stage 2 draft decorators. */
Expand Down

0 comments on commit 4f2f304

Please sign in to comment.