@bufbuild/protobuf

v1.6.0
A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.

attw

attw --pack

build

npm run build:cjs && npm run build:esm && npm run build:proxy

clean

rm -rf ./dist/*

build:cjs

../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs --declaration --declarationDir ./dist/cjs && echo >./dist/cjs/package.json '{"type":"commonjs"}'

build:esm

../../node_modules/typescript/bin/tsc --project tsconfig.json --module ES2015 --verbatimModuleSyntax --outDir ./dist/esm --declaration --declarationDir ./dist/esm

build:proxy

node ../../scripts/gen-esm-proxy.mjs .

bootstrap:wkt

protoc --es_out=src --es_opt=bootstrap_wkt=true,ts_nocheck=false,target=ts --proto_path $(upstream-include wkt) $(upstream-files wkt) && license-header src/google/protobuf

prebootstrap:wkt

rm -rf .tmp && mkdir -p .tmp/google/protobuf && cp -rp src/google/protobuf/* .tmp/google/protobuf

postbootstrap:wkt

diff >/dev/null -r .tmp/google/protobuf src/google/protobuf && cp -rp .tmp/google/protobuf/* src/google/protobuf || true

bootstrap:featureset-defaults

upstream-inject-feature-defaults src/private/feature-set.ts
npm i @bufbuild/[email protected]

Metadata

Downloads