18 Commits

Author SHA1 Message Date
Taylor McIntyre
da34f43ccd
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 <stacey@dropbox.com>
Co-authored-by: Gabriel Cangussu <gabrielcangussu@gmail.com>
Co-authored-by: Alexander Fenster <fenster@google.com>
2021-01-15 16:02:00 -08:00
dcodeIO
cc991a058b CLI: Use correct safeProp in json-module target, see #956 2017-11-29 02:16:51 +01:00
Brian Donovan
adecd544c5 Fixed dependency for json-module to use "light".
"minimal" doesn't include `Root`, as mentioned in #828 and #856. Probably caused by #813.
2017-07-11 08:52:10 -07:00
Vitalii Ishchenko
4eac28c7d3 Use protobuf/minimal when pbjs target is static-module 2017-05-30 15:26:46 +03:00
dcodeIO
5041fad9de Other: Additional restructuring for moving configuration files out of the root folder 2017-03-12 22:12:09 +01:00
dcodeIO
6a0920b2c3 Other: Added ES6 syntax flag to pbjs, see #667 2017-01-30 16:13:50 +01:00
dcodeIO
735da4315a CLI: Also reuse specified root in pbjs for JSON modules, see #653 2017-01-24 03:12:32 +01:00
dcodeIO
b4f4f48f19 New: Relieved the requirement to call .resolveAll() on roots in order to populate static code-compatible properties, see #653 2017-01-20 16:15:21 +01:00
dcodeIO
9681854526 CLI: Added customizable linter configuration to pbjs; CLI: Added stdin support to pbjs and pbts 2017-01-02 22:02:25 +01:00
dcodeIO
31da56c177 Other: Various jsdoc improvements and a workaround for d.ts generation, see #592 2016-12-29 17:26:39 +01:00
dcodeIO
ab3e236a96 Docs: Added static/JSON module interchangeability to README; Minor optimizations through providing type-hints; Performance: Reverted shortened switch statements in verifier; Compatibility: Enums can't be map key types 2016-12-20 01:38:22 +01:00
dcodeIO
99ad9cc087 Added .create to statically generated types and uppercase nested elements to reflection namespaces, see #576; Also added Namespace#getEnum for completeness, see #576; Made pbjs use loadSync for deterministic outputs, see #573 2016-12-19 23:51:45 +01:00
dcodeIO
01365ba911 Added Namespace#lookupType and Namespace#lookupService (throw instead of returning null), see #544 2016-12-12 00:23:58 +01:00
dcodeIO
b8bce03405 Added simple CommonJS and AMD wrappers, see #540; Refactored json/static-module targets to use common wrappers 2016-12-12 00:08:41 +01:00
dcodeIO
691231fbc4 Refactor cli to support multiple built-in wrappers, added named roots instead of always using global.root and added additionally necessary eslint comments, see #540 2016-12-11 13:39:45 +01:00
dcodeIO
5dc851e35e Versioning, actually had a couple of minor but breaking API changes [ci skip] 2016-12-07 13:44:47 +01:00
dcodeIO
090d8eaf10 Refactored cli targets; added 'defaults' option to Prototype#asJSON, see #521 2016-12-07 13:17:11 +01:00
dcodeIO
0ce099bf4f Added json-module target to pbjs, renamed static to static-module, see #522 2016-12-07 12:05:41 +01:00