Files
78584d9580 feat!: move command line tool to a new package named protobufjs-cli (#1234)
* Get protobufjs-cli to a publishable state

* Fix eslint issues

* Fix pbts path

* Install cli package deps on CI 'build' job

* fix: get rid of require-protobufjs.js

* fix: lint

* fix: versions

* chore(deps): update package-lock.json

Co-authored-by: Stacey Sern <[email protected]>
Co-authored-by: Gabriel Cangussu <[email protected]>
Co-authored-by: Alexander Fenster <[email protected]>
2021-01-15 16:02:00 -08:00

11 lines
290 B
JavaScript

"use strict";
module.exports = proto2_target;
var protobuf = require("protobufjs");
proto2_target.description = "Protocol Buffers, Version 2";
function proto2_target(root, options, callback) {
require("./proto")(root, protobuf.util.merge(options, { syntax: "proto2" }), callback);
}