mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-03 08:10:27 +00:00
* chore: publish utils-internal under the @windmill-labs org Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: publish utils-internal on release with trusted publishing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: build the frontend from utils-internal source Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
# @windmill-labs/utils-internal
|
|
|
|
Internal TypeScript utility package for Windmill development tools and scripts.
|
|
|
|
## What this package contains
|
|
|
|
This package provides internal utilities and tools used by the Windmill CLI, the VS CODE extension, and the frontend.
|
|
|
|
## Development
|
|
|
|
To work on this package we need to generate the windmill client, and remove .ts extensions to the imports and exports (added by default for deno compatibility, so that the CLI can use this package).
|
|
|
|
You just need to run this before working on the package:
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
After you are done with your modifications, add back the .ts extensions:
|
|
|
|
```bash
|
|
./remove-ts-ext.sh -r
|
|
```
|
|
|
|
### Building
|
|
|
|
To build the package for production:
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
### Publishing
|
|
|
|
The CLI and the frontend build from this source, so a change here needs no publish. npm only serves code outside this repo. When that needs a change, bump the version in `package.json` and `package-lock.json`: the next Windmill release publishes it (`.github/workflows/npm_on_release.yml`), and releases without a bump skip it.
|
|
|
|
To publish without waiting for a release, as a maintainer of the npm org:
|
|
|
|
```bash
|
|
./publish.sh
|
|
```
|