mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 08:01:25 +00:00
b86f8960fc
The config module imports node:fs/promises (stat, mkdir), which breaks non-Node bundlers like the Cloudflare Workers build of the hub. The windmill SPA frontend got away with it via tree-shaking, but stricter runtimes choke on the bare node: import even when unused. Stop re-exporting ./config from the main entry and expose it via a windmill-utils-internal/config subpath instead. CLI code already deep-imports the source file, so it is unaffected. Bumps the package to 1.4.0 and updates the frontend dependency to match. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"name": "windmill-utils-internal",
|
|
"version": "1.4.0",
|
|
"description": "Internal utility functions for Windmill",
|
|
"main": "dist/cjs/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/esm/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/cjs/index.js",
|
|
"import": "./dist/esm/index.js",
|
|
"types": "./dist/esm/index.d.ts"
|
|
},
|
|
"./config": {
|
|
"require": "./dist/cjs/config/index.js",
|
|
"import": "./dist/esm/config/index.js",
|
|
"types": "./dist/esm/config/index.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "./gen_wm_client.sh && ./remove-ts-ext.sh",
|
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
"build": "./gen_wm_client.sh && ./remove-ts-ext.sh && npm run build:cjs && npm run build:esm",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"windmill"
|
|
],
|
|
"author": "Ruben Fiszel",
|
|
"license": "Apache 2.0",
|
|
"devDependencies": {
|
|
"@types/node": "^24.2.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"files": [
|
|
"dist/**/*"
|
|
]
|
|
} |