@bufbuild/protoplugin
Advanced tools
Comparing version 2.0.0-beta.1 to 2.0.0-beta.2
{ | ||
"name": "@bufbuild/protoplugin", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"license": "(Apache-2.0 AND BSD-3-Clause)", | ||
@@ -12,6 +12,9 @@ "description": "Helps to create your own Protocol Buffers code generators.", | ||
"scripts": { | ||
"clean": "rm -rf ./dist/*", | ||
"prebuild": "rm -rf ./dist/*", | ||
"build": "npm run build:cjs && npm run build:esm", | ||
"build:cjs": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs --declaration --declarationDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'", | ||
"build:esm": "../../node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/esm --declaration --declarationDir ./dist/esm", | ||
"build:cjs": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'", | ||
"build:esm": "../../node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/esm", | ||
"format": "prettier --write --ignore-unknown '.' '!dist' '!.turbo'", | ||
"license-header": "license-header", | ||
"lint": "eslint --max-warnings 0 .", | ||
"attw": "attw --pack" | ||
@@ -29,3 +32,3 @@ }, | ||
"dependencies": { | ||
"@bufbuild/protobuf": "2.0.0-beta.1", | ||
"@bufbuild/protobuf": "2.0.0-beta.2", | ||
"@typescript/vfs": "^1.5.2", | ||
@@ -32,0 +35,0 @@ "typescript": "5.4.5" |
# @bufbuild/protoplugin | ||
This package helps to create your own code generator plugin using the | ||
This package helps to create your own code generator plugin using the | ||
Protobuf-ES plugin framework. | ||
**Protobuf-ES** is a complete implementation of [Protocol Buffers](https://developers.google.com/protocol-buffers) in TypeScript, suitable for web browsers and Node.js. | ||
**Protobuf-ES** is a complete implementation of [Protocol Buffers](https://developers.google.com/protocol-buffers) in TypeScript, suitable for web browsers and Node.js. | ||
In addition to a full Protobuf runtime library, it also provides a code generator | ||
[`protoc-gen-es`](https://www.npmjs.com/package/@bufbuild/protoc-gen-es), which utilizes a plugin framework to generate base types from | ||
your Protobuf schema. It is fully compatible with both Buf and protoc compilers. | ||
your Protobuf schema. It is fully compatible with both Buf and protoc compilers. | ||
@@ -15,21 +15,21 @@ And now, you can write your own **Protobuf-ES** compatible plugins using this same | ||
With `@bufbuild/protoplugin`, you can generate your own TypeScript code tailored | ||
to your project or needs. You also have various options for producing | ||
With `@bufbuild/protoplugin`, you can generate your own TypeScript code tailored | ||
to your project or needs. You also have various options for producing | ||
JavaScript and TypeScript declaration files: | ||
- Exercise full control by writing your own JavaScript and declaration file | ||
generators in addition to TypeScript. | ||
generators in addition to TypeScript. | ||
- Generate TypeScript files only and let the framework generate JavaScript and | ||
declaration files automatically using our internal TypeScript compiler. | ||
declaration files automatically using our internal TypeScript compiler. | ||
- Generate TypeScript files only and bring your own TypeScript compiler, using | ||
it to generate JavaScript and declaration files with your own version of | ||
TypeScript and your own compiler options. | ||
it to generate JavaScript and declaration files with your own version of | ||
TypeScript and your own compiler options. | ||
With `@bufbuild/protoplugin`, you have all the tools at your disposal to produce | ||
ECMAScript-compliant code. | ||
With `@bufbuild/protoplugin`, you have all the tools at your disposal to produce | ||
ECMAScript-compliant code. | ||
## Usage | ||
Get started now with our [plugin documentation](https://github.com/bufbuild/protobuf-es/blob/main/docs/writing_plugins.md). | ||
Get started now with our [plugin documentation](https://github.com/bufbuild/protobuf-es/blob/main/docs/writing_plugins.md). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207000
+ Added@bufbuild/protobuf@2.0.0-beta.2(transitive)
- Removed@bufbuild/protobuf@2.0.0-beta.1(transitive)