Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-16 01:51:36 +00:00
parent a4605e311a
commit 58905d02c2
28599 changed files with 2179074 additions and 0 deletions

44
node_modules/@bufbuild/protobuf/README.md generated vendored Normal file
View File

@@ -0,0 +1,44 @@
# @bufbuild/protobuf
This package provides the runtime library for the [protoc-gen-es](https://www.npmjs.com/package/@bufbuild/protoc-gen-es)
code generator plugin.
## Protocol Buffers for ECMAScript
A complete implementation of [Protocol Buffers](https://protobuf.dev/) in TypeScript,
suitable for web browsers, Node.js, and Deno, created by [Buf](https://buf.build).
**Protobuf-ES** is a solid, modern alternative to existing Protobuf implementations for the JavaScript ecosystem. It's
the first project in this space to provide a comprehensive plugin framework and decouple the base types from RPC
functionality.
Some additional features that set it apart from the others:
- ECMAScript module support
- First-class TypeScript support
- Generation of idiomatic JavaScript and TypeScript code
- Generation of [much smaller bundles](https://github.com/bufbuild/protobuf-es/tree/main/packages/bundle-size/)
- Implementation of all proto3 features, including the [canonical JSON format](https://protobuf.dev/programming-guides/proto3/#json)
- Implementation of all proto2 features, except for extensions and the text format
- Usage of standard JavaScript APIs instead of the [Closure Library](http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html)
- Compatibility is covered by the Protocol Buffers [conformance tests](https://github.com/bufbuild/protobuf-es/tree/main/packages/protobuf-conformance/)
- Descriptor and reflection support
## Installation
```bash
npm install @bufbuild/protobuf
```
## Documentation
To learn how to work with `@bufbuild/protobuf`, check out the docs for the [Runtime API](https://github.com/bufbuild/protobuf-es/tree/main/MANUAL.md#working-with-messages)
and the [generated code](https://github.com/bufbuild/protobuf-es/tree/main/MANUAL.md#generated-code).
Official documentation for the Protobuf-ES project can be found at [github.com/bufbuild/protobuf-es](https://github.com/bufbuild/protobuf-es).
For more information on Buf, check out the official [Buf documentation](https://buf.build/docs/).
## Examples
A complete code example can be found in the **Protobuf-ES** repo [here](https://github.com/bufbuild/protobuf-es/tree/main/packages/protobuf-example).

68
node_modules/@bufbuild/protobuf/package.json generated vendored Normal file
View File

@@ -0,0 +1,68 @@
{
"name": "@bufbuild/protobuf",
"version": "2.10.2",
"license": "(Apache-2.0 AND BSD-3-Clause)",
"description": "A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.",
"keywords": ["protobuf", "schema", "typescript", "ecmascript"],
"repository": {
"type": "git",
"url": "https://github.com/bufbuild/protobuf-es.git",
"directory": "packages/protobuf"
},
"scripts": {
"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 && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "../../node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/esm",
"bootstrap": "npm run bootstrap:inject && npm run bootstrap:wkt",
"bootstrap:inject": "node scripts/bootstrap-inject.mjs src",
"bootstrap:wkt": "protoc --es_out=src/wkt/gen --es_opt=bootstrap_wkt=true,target=ts,import_extension=js,json_types=true --proto_path $(upstream-include wkt) $(upstream-files wkt)",
"postbootstrap:wkt": "license-header src/wkt/gen",
"format": "biome format --write",
"license-header": "license-header --ignore 'src/wire/varint.ts'",
"lint": "biome lint --error-on-warnings",
"attw": "attw --pack"
},
"type": "module",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./codegenv1": {
"import": "./dist/esm/codegenv1/index.js",
"require": "./dist/cjs/codegenv1/index.js"
},
"./codegenv2": {
"import": "./dist/esm/codegenv2/index.js",
"require": "./dist/cjs/codegenv2/index.js"
},
"./reflect": {
"import": "./dist/esm/reflect/index.js",
"require": "./dist/cjs/reflect/index.js"
},
"./wkt": {
"import": "./dist/esm/wkt/index.js",
"require": "./dist/cjs/wkt/index.js"
},
"./wire": {
"import": "./dist/esm/wire/index.js",
"require": "./dist/cjs/wire/index.js"
}
},
"typesVersions": {
"*": {
"codegenv1": ["./dist/cjs/codegenv1/index.d.ts"],
"codegenv2": ["./dist/cjs/codegenv2/index.d.ts"],
"reflect": ["./dist/cjs/reflect/index.d.ts"],
"wkt": ["./dist/cjs/wkt/index.d.ts"],
"wire": ["./dist/cjs/wire/index.d.ts"]
}
},
"devDependencies": {
"upstream-protobuf": "*"
},
"files": ["dist/**"]
}