Files
Sebastian Lorenz fdc7a6dedd feat(docker): generate the Docker Engine API Schemas
Add packages/tools/docker-codegen, which generates effect/docker/DockerSchema
from moby's pinned API document (1.56) with a standing list of computed patch
families: hoisted operation bodies, flattened allOf, empty-object maps, Go nil
(every nullable mark dropped, decoded by Schema.toCodecGoJson), and lenient
enums. Every definition is an exported Schema, followed by its decoded type
under the same name.

The formatter step fails instead of writing pnpm's error output over the
generated file.
2026-11-08 20:20:53 +00:00

59 lines
1.4 KiB
JSON

{
"name": "@effect/docker-codegen",
"version": "0.0.0",
"type": "module",
"private": true,
"license": "MIT",
"description": "Generates the effect/docker Schemas from the Docker Engine API document",
"homepage": "https://effect.website",
"repository": {
"type": "git",
"url": "https://github.com/Effect-TS/effect.git",
"directory": "packages/tools/docker-codegen"
},
"sideEffects": [],
"bin": {
"effect-docker-codegen": "./src/bin.ts"
},
"exports": {
"./package.json": "./package.json",
"./*": "./src/*.ts",
"./bin": null,
"./main": null
},
"files": [
"src/**/*.ts",
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map"
],
"publishConfig": {
"provenance": true,
"bin": {
"effect-docker-codegen": "./dist/bin.js"
},
"exports": {
"./package.json": "./package.json",
"./*": "./dist/*.js",
"./bin": null,
"./main": null
}
},
"scripts": {
"build": "tsc -b tsconfig.json && pnpm babel",
"babel": "babel dist --plugins annotate-pure-calls --out-dir dist --source-maps",
"check": "tsc -b tsconfig.json"
},
"dependencies": {
"@effect/openapi-generator": "workspace:^",
"@effect/platform-node": "workspace:^",
"effect": "workspace:^",
"swagger2openapi": "^7.0.8"
},
"devDependencies": {
"@types/node": "^26.6.5",
"@types/swagger2openapi": "^7.0.4"
}
}