mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 00:01:55 +00:00
0f625580f3
tsdown's bundled .d.ts output uses namespace declarations that reference forward-declared types, which breaks Monaco/ATA type acquisition. Switch to: - tsdown for JS bundles (ESM + CJS) with --no-dts - tsc with emitDeclarationOnly for clean individual .d.ts files This restores the type structure from 1.617.0 which worked correctly with Monaco editor's automatic type acquisition. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 lines
766 B
JSON
35 lines
766 B
JSON
{
|
|
"name": "windmill-client",
|
|
"description": "Windmill SDK client for browsers and Node.js",
|
|
"version": "1.618.2",
|
|
"author": "Ruben Fiszel",
|
|
"license": "Apache 2.0",
|
|
"devDependencies": {
|
|
"@types/node": "^20.17.16",
|
|
"tsdown": "^0.12.9",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.mjs"
|
|
}
|
|
}
|
|
},
|
|
"prepublish": "tsdown --format esm --format cjs --no-dts && tsc",
|
|
"files": [
|
|
"dist",
|
|
"LICENSE",
|
|
"README.md",
|
|
"package.json"
|
|
]
|
|
}
|