Bumps the patch group in /ui with 9 updates: | Package | From | To | | --- | --- | --- | | @kestra-io/ui-libs | `0.0.264` | `0.0.266` | | [humanize-duration](https://github.com/EvanHahn/HumanizeDuration.js) | `3.33.1` | `3.33.2` | | [pdfjs-dist](https://github.com/mozilla/pdf.js) | `5.4.394` | `5.4.449` | | [vue](https://github.com/vuejs/core) | `3.5.24` | `3.5.25` | | [yaml](https://github.com/eemeli/yaml) | `2.8.1` | `2.8.2` | | [lint-staged](https://github.com/lint-staged/lint-staged) | `16.2.6` | `16.2.7` | | [rimraf](https://github.com/isaacs/rimraf) | `6.1.0` | `6.1.2` | | [rolldown-vite](https://github.com/vitejs/rolldown-vite/tree/HEAD/packages/vite) | `7.2.6` | `7.2.10` | | [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc) | `3.1.4` | `3.1.8` | Updates `@kestra-io/ui-libs` from 0.0.264 to 0.0.266 Updates `humanize-duration` from 3.33.1 to 3.33.2 - [Changelog](https://github.com/EvanHahn/HumanizeDuration.js/blob/main/HISTORY.md) - [Commits](https://github.com/EvanHahn/HumanizeDuration.js/compare/v3.33.1...v3.33.2) Updates `pdfjs-dist` from 5.4.394 to 5.4.449 - [Release notes](https://github.com/mozilla/pdf.js/releases) - [Commits](https://github.com/mozilla/pdf.js/compare/v5.4.394...v5.4.449) Updates `vue` from 3.5.24 to 3.5.25 - [Release notes](https://github.com/vuejs/core/releases) - [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md) - [Commits](https://github.com/vuejs/core/compare/v3.5.24...v3.5.25) Updates `yaml` from 2.8.1 to 2.8.2 - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](https://github.com/eemeli/yaml/compare/v2.8.1...v2.8.2) Updates `lint-staged` from 16.2.6 to 16.2.7 - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.6...v16.2.7) Updates `rimraf` from 6.1.0 to 6.1.2 - [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md) - [Commits](https://github.com/isaacs/rimraf/compare/v6.1.0...v6.1.2) Updates `rolldown-vite` from 7.2.6 to 7.2.10 - [Release notes](https://github.com/vitejs/rolldown-vite/releases) - [Changelog](https://github.com/vitejs/rolldown-vite/blob/rolldown-vite/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/rolldown-vite/commits/v7.2.10/packages/vite) Updates `vue-tsc` from 3.1.4 to 3.1.8 - [Release notes](https://github.com/vuejs/language-tools/releases) - [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md) - [Commits](https://github.com/vuejs/language-tools/commits/v3.1.8/packages/tsc) --- updated-dependencies: - dependency-name: "@kestra-io/ui-libs" dependency-version: 0.0.266 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: humanize-duration dependency-version: 3.33.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: pdfjs-dist dependency-version: 5.4.449 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: vue dependency-version: 3.5.25 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: yaml dependency-version: 2.8.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: lint-staged dependency-version: 16.2.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: rimraf dependency-version: 6.1.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: rolldown-vite dependency-version: 7.2.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: vue-tsc dependency-version: 3.1.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Kestra UI
Kestra UI is running using Vite.
INSTRUCTIONS
Development:
- (Optional) By default, your dev server will target
localhost:8080. If your backend is running elsewhere, you can create.env.development.localunderuifolder with this content:
VITE_APP_API_URL={myApiUrl}
-
Navigate into the
uifolder and runnpm installto install the dependencies for the frontend project. -
Now go to the
cli/src/main/resourcesfolder and create aapplication-override.ymlfile.
Now you have two choices:
Local mode:
Runs the Kestra server in local mode which uses a H2 database, so this is the only config you'd need:
micronaut:
server:
cors:
enabled: true
configurations:
all:
allowedOrigins:
- http://localhost:5173
You can then open a new terminal and run the following command to start the backend server: ./gradlew runLocal
Standalone mode:
Runs in standalone mode which uses Postgres. Make sure to have a local Postgres instance already running on localhost:
kestra:
repository:
type: postgres
storage:
type: local
local:
base-path: "/app/storage"
queue:
type: postgres
tasks:
tmp-dir:
path: /tmp/kestra-wd/tmp
anonymous-usage-report:
enabled: false
datasources:
postgres:
# It is important to note that you must use the "host.docker.internal" host when connecting to a docker container outside of your devcontainer as attempting to use localhost will only point back to this devcontainer.
url: jdbc:postgresql://host.docker.internal:5432/kestra
driverClassName: org.postgresql.Driver
username: kestra
password: k3str4
flyway:
datasources:
postgres:
enabled: true
locations:
- classpath:migrations/postgres
# We must ignore missing migrations as we may delete the wrong ones or delete those that are not used anymore.
ignore-migration-patterns: "*:missing,*:future"
out-of-order: true
micronaut:
server:
cors:
enabled: true
configurations:
all:
allowedOrigins:
- http://localhost:5173
If you're doing frontend development, you can run npm run dev from the ui folder after having the above running (which will provide a backend) to access your application from localhost:5173. This has the benefit to watch your changes and hot-reload upon doing frontend changes.