Initial Commit
This commit is contained in:
190
packages/foundation/data/packer/package.json
Normal file
190
packages/foundation/data/packer/package.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"name": "@suaveplan/packer",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Binary packing/unpacking: whole-file (gzip + AEAD + ed25519) and chunked (locked v1 byte format, streaming pipeline, server-signed manifests, peer-verifiable).",
|
||||
"license": "MIT",
|
||||
"author": "Suaveplan Team",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"./chunked": {
|
||||
"import": {
|
||||
"types": "./dist/chunked/index.d.ts",
|
||||
"default": "./dist/chunked/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/chunked/index.d.ts",
|
||||
"default": "./dist/chunked/index.js"
|
||||
}
|
||||
},
|
||||
"./streaming": {
|
||||
"import": {
|
||||
"types": "./dist/streaming/index.d.ts",
|
||||
"default": "./dist/streaming/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/streaming/index.d.ts",
|
||||
"default": "./dist/streaming/index.js"
|
||||
}
|
||||
},
|
||||
"./errors": {
|
||||
"import": {
|
||||
"types": "./dist/error-codes.d.ts",
|
||||
"default": "./dist/error-codes.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/error-codes.d.ts",
|
||||
"default": "./dist/error-codes.js"
|
||||
}
|
||||
},
|
||||
"./integrity": {
|
||||
"import": {
|
||||
"types": "./dist/integrity/integrity.d.ts",
|
||||
"default": "./dist/integrity/integrity.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/integrity/integrity.d.ts",
|
||||
"default": "./dist/integrity/integrity.js"
|
||||
}
|
||||
},
|
||||
"./observability": {
|
||||
"import": {
|
||||
"types": "./dist/observability/observability.d.ts",
|
||||
"default": "./dist/observability/observability.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/observability/observability.d.ts",
|
||||
"default": "./dist/observability/observability.js"
|
||||
}
|
||||
},
|
||||
"./i18n": {
|
||||
"import": {
|
||||
"types": "./dist/i18n/messages.d.ts",
|
||||
"default": "./dist/i18n/messages.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/i18n/messages.d.ts",
|
||||
"default": "./dist/i18n/messages.js"
|
||||
}
|
||||
},
|
||||
"./runtime": {
|
||||
"import": {
|
||||
"types": "./dist/runtime/runtime.d.ts",
|
||||
"default": "./dist/runtime/runtime.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/runtime/runtime.d.ts",
|
||||
"default": "./dist/runtime/runtime.js"
|
||||
}
|
||||
},
|
||||
"./retry": {
|
||||
"import": {
|
||||
"types": "./dist/retry/retryable-read.d.ts",
|
||||
"default": "./dist/retry/retryable-read.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/retry/retryable-read.d.ts",
|
||||
"default": "./dist/retry/retryable-read.js"
|
||||
}
|
||||
},
|
||||
"./idempotency": {
|
||||
"import": {
|
||||
"types": "./dist/idempotency/idempotency.d.ts",
|
||||
"default": "./dist/idempotency/idempotency.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/idempotency/idempotency.d.ts",
|
||||
"default": "./dist/idempotency/idempotency.js"
|
||||
}
|
||||
},
|
||||
"./flags": {
|
||||
"import": {
|
||||
"types": "./dist/flags/flags.d.ts",
|
||||
"default": "./dist/flags/flags.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/flags/flags.d.ts",
|
||||
"default": "./dist/flags/flags.js"
|
||||
}
|
||||
},
|
||||
"./plugins": {
|
||||
"import": {
|
||||
"types": "./dist/plugins/plugins.d.ts",
|
||||
"default": "./dist/plugins/plugins.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/plugins/plugins.d.ts",
|
||||
"default": "./dist/plugins/plugins.js"
|
||||
}
|
||||
},
|
||||
"./schemas": {
|
||||
"import": {
|
||||
"types": "./dist/schemas/registration.d.ts",
|
||||
"default": "./dist/schemas/registration.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/schemas/registration.d.ts",
|
||||
"default": "./dist/schemas/registration.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"benchmark": "bun run src/__benchmarks__/packer.bench.ts",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@noble/hashes": "catalog:crypto",
|
||||
"@opentelemetry/api": "catalog:observability",
|
||||
"@suaveplan/bitpacker": "workspace:^",
|
||||
"@suaveplan/crypto": "workspace:^",
|
||||
"@suaveplan/crypto-hash": "workspace:^",
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"@suaveplan/events": "workspace:^",
|
||||
"@suaveplan/feature-flags": "workspace:^",
|
||||
"@suaveplan/idempotency": "workspace:^",
|
||||
"@suaveplan/mime": "workspace:^",
|
||||
"@suaveplan/opentelemetry": "workspace:^",
|
||||
"@suaveplan/retry": "workspace:^",
|
||||
"@suaveplan/schema-registry": "workspace:^",
|
||||
"@suaveplan/streams": "workspace:^",
|
||||
"@suaveplan/types": "workspace:^",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@opentelemetry/sdk-metrics": "catalog:observability",
|
||||
"@opentelemetry/sdk-trace-base": "catalog:observability",
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"fast-check": "catalog:testing",
|
||||
"mitata": "catalog:testing",
|
||||
"typescript": "catalog:",
|
||||
"vite": "catalog:build",
|
||||
"vite-plugin-dts": "catalog:build",
|
||||
"vitest": "catalog:testing"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user