45 Commits

Author SHA1 Message Date
sofisl
d36ef0faea
feat: increase size of file that protobufjs CLI can process 2025-04-01 16:36:16 -07:00
Alexander Fenster
7c27b5ad5d
fix: add import long to the generated .d.ts (#1802)
* fix: add import long to the generated .d.ts

* fix: do not add import long to the main index.d.ts
2022-09-09 14:38:22 -07:00
James Bromwell
d87978b8eb
fix(types): update type deps (#1776)
* Update type deps

Remove duplicate `long` types

* Fix type tests

Co-authored-by: Alexander Fenster <fenster@google.com>
2022-08-17 12:04:05 -07:00
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
Daniel Wirtz
42f49b43f6
feat: update dependencies / general cleanup (#1356)
Co-authored-by: Alexander Fenster <fenster@google.com>
2020-04-17 15:53:50 +02:00
Florian Keller
8a858634f3
fix: Import Long types 2019-02-14 17:42:08 +01:00
dcodeIO
3001425b0d Fixed: Persist recent index.d.ts changes in JSDoc 2018-07-19 02:34:09 +02:00
dcodeIO
2c5ef95818 CLI: Extend list of ignored ESLint rules for pbjs, fixes #1085 2018-07-17 22:28:03 +02:00
Rob Moran
9fceaa6966 CLI: Added an option to pbts to allow custom imports (#1038) 2018-05-18 13:42:08 +02:00
dcodeIO
a06317139b Post-merge; Fix lint issues / pbts on windows 2018-04-30 21:48:27 +02:00
Kelly Campbell
65d113b007 CLI: Get node executable path from process.execPath (#1018) 2018-04-30 21:36:30 +02:00
dcodeIO
b8a5b126fa Other: Regenerated dist files and fixed linting issues 2017-11-24 18:50:18 +01:00
dcodeIO
952c7d1b47 CLI: Wait for both the 'end' and 'close' event to happen before finishing in pbts, see #863 2017-07-12 23:03:52 +02:00
dcodeIO
29ce6cae0c CLI: Moved tsd-jsdoc to future cli package, see #716 2017-03-27 16:20:04 +02:00
dcodeIO
4bfe0c239b CLI: More progress on decoupling the CLI; Docs: Explained the JSON structure in README and moved CLI specific information to the CLI package 2017-03-24 22:41:04 +01:00
dcodeIO
8d9981588d CLI: Check upfront if key-var is required in static decoders with maps, see #726 2017-03-24 17:39:15 +01:00
dcodeIO
16adff0c7b CLI: Fixed handling of stdout if callback is specified, see #724 2017-03-24 16:28:40 +01:00
dcodeIO
6423a419fe CLI: Preparations for moving the CLI to its own package, see #716 2017-03-24 16:14:59 +01:00
dcodeIO
5041fad9de Other: Additional restructuring for moving configuration files out of the root folder 2017-03-12 22:12:09 +01:00
dcodeIO
95cd64ee51 Other: Moved a few things out of the root folder 2017-03-11 05:04:44 +01:00
dcodeIO
364e7d457e Other: Exclude dist/ from codeclimate checks 2017-03-07 23:04:37 +01:00
dcodeIO
6e81fcb05f Other: Also lint cli utilities 2017-03-06 04:35:50 +01:00
dcodeIO
c365242bdc Docs: Reference Buffer for BufferReader/Writer, see #668 2017-01-30 19:29:03 +01:00
dcodeIO
26d68e36e4 Dynamically resolve jsdoc when running pbts, fixes #622 2017-01-06 03:01:07 +01:00
dcodeIO
e88d13ca7e CLI: Additional workarounds for on demand CLI dependencies, see #618 2017-01-05 01:16:37 +01:00
dcodeIO
44f6357557 CLI: Revised automatic setup of cli dependencies, see #618 2017-01-04 22:24:49 +01:00
dcodeIO
ee20b81f94 CLI: pbjs/pbts no longer generate any volatile headers, see #614 2017-01-04 00:49:16 +01:00
dcodeIO
64f95f9fa1 Install correct 'tmp' dependency when running pbts without dev dependencies installed, fixes #612 2017-01-03 21:26:18 +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
24b293c297 CLI: Slightly beautify statically generated code 2016-12-31 03:53:46 +01:00
dcodeIO
65637ffce2 CLI: Do not wrap main definition as a module and export directly instead; CLI: Generate prettier definitions with --no-comments 2016-12-31 01:08:14 +01:00
dcodeIO
a7d23240a2 New: Attempt to improve TypeScript support by using explicit exports 2016-12-30 16:33:11 +01:00
dcodeIO
8493dbd9a9 CLI: Reference dependency imports as a module to prevent name collisions, see #596 2016-12-30 13:24:43 +01:00
kaka
46ec8209b2 Reference dependencies as imports in generated typescript definitions, see #596 2016-12-30 17:31:56 +08:00
dcodeIO
c0ab94c2e4 Other: Reference dependencies as imports in generated typescript definitions, see #596 2016-12-30 01:52:19 +01:00
dcodeIO
e8a4d5373b CLI: Expose tsd-jsdoc's comments option to pbts as --no-comments, see #587 2016-12-27 23:17:35 +01:00
dcodeIO
6fe099259b CLI: Increase child process max buffer when running jsdoc from pbts, see #587 2016-12-27 23:07:49 +01:00
dcodeIO
b40c86a66e 6.2.0 [ci skip] 2016-12-15 18:00:06 +01:00
dcodeIO
fb74223b72 Simplified programmatic CLI api; Other minor optimizations 2016-12-15 17:51:24 +01:00
dcodeIO
be3e0d92e1 Use extend module; Attempt to alias reserved js names in static codegen, see #559; Some README 2016-12-15 14:44:01 +01:00
dcodeIO
75f4b6cb63 Moved extend implementation to its own micromodule, might help with #560; tsd-jsdoc progress 2016-12-15 12:57:11 +01:00
dcodeIO
8f407a1860 Post-merge; Repo now includes a restructured version of tsd-jsdoc with our changes incorporated for issues/prs, see #550 2016-12-15 02:30:55 +01:00
dcodeIO
4750e3111b pbts: Pipe tsd-jsdoc output (requires dcodeIO/tsd-jsdoc/master) and respect cwd, see #550 2016-12-14 18:30:03 +01:00
dcodeIO
d31590b82d Notes on descriptors vs static modules [ci skip] 2016-12-13 15:05:25 +01:00
dcodeIO
3783af7ca9 Initial pbts CLI for generating TypeScript definitions, see #550 2016-12-13 13:43:22 +01:00