mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-15 17:56:02 +00:00
Changes are: - global egress metering - remove file egress cost - introduce file op cost for the per request cost s3 has - enforce fs read/download etc to through 402 when out of usage; allow for subdomains - enforce kv metering when out of usage through 402; allow for workers - jsdoc as source of truth for puter.js types - kv driver caching for get and batchget operations with decreased costs
31 lines
1.0 KiB
JSON
31 lines
1.0 KiB
JSON
{
|
|
// Generates `types/` from the JSDoc in `src/`. The JSDoc is the source of
|
|
// truth for the published type surface; nothing under `types/` is written
|
|
// by hand or committed — the SDK build regenerates it and the npm tarball
|
|
// ships it. `npm run check:puterjs:types` runs this and type-checks the
|
|
// result without skipLibCheck, which is what CI gates on.
|
|
"compilerOptions": {
|
|
"target": "es2022",
|
|
"lib": ["es2022", "dom", "dom.iterable"],
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
"declaration": true,
|
|
"emitDeclarationOnly": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
// Members tagged `@internal` are implementation detail and stay out of
|
|
// the published surface.
|
|
"stripInternal": true,
|
|
"rootDir": "src",
|
|
"outDir": "types"
|
|
},
|
|
"include": ["src/**/*.js"],
|
|
"exclude": [
|
|
"src/**/*.test.js",
|
|
"src/config.js",
|
|
"node_modules"
|
|
]
|
|
}
|