Files
redash/netlify.toml
Vladislav Denisov 24b70fed9e Update frontend stack (#7651)
* Snapshot: 24.07.0-dev

* Snapshot: 24.08.0-dev

* Snapshot: 24.09.0-dev

* Snapshot: 24.10.0-dev

* Snapshot: 24.11.0-dev

* Snapshot: 24.12.0-dev

* Snapshot: 25.01.0-dev

* Snapshot: 25.02.0-dev

* Snapshot: 25.03.0-dev

* Snapshot: 25.04.0-dev

* Upgrade Node.js version to 24 in Dockerfile and .nvmrc; update package.json engine constraints

* Update major dependencies

* Switch from yarn to pnpm

* Switch from yarn to pnpm: ci

* Update Python version to 3.13 in CI workflow

* Refactor Netlify build command to remove pnpm installation step

* Update ESLint configuration for improved compatibility and disable specific rules

* Restyled by prettier

* Add typeRoots and types to tsconfig for improved type definitions

* Update Dockerfile.cypress to use Node 24 and streamline installation steps

* Fixed tests

* Restyled by prettier

* Update Jest snapshot comments to point to the official documentation URL

* viz-lib: refactor test setup and update snapshots for consistency

* Add babel-jest as a dev dependency for improved testing support

* Add virtual prop to visualization type selector for improved functionality

* Remove CJS/ESM compatibility shim for color-rgba

* Restyled by prettier

* Enable ESLintPlugin conditionally based on production environment

* Import d3 library in d3box.ts

* Fix pip install command in CI workflow to use python -m

* Replace d3 import with global declaration for compatibility with d3 v3

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
2026-03-17 20:54:25 +00:00

45 lines
931 B
TOML

[build]
base = "client"
publish = "client/dist"
command = "cd ../ && pnpm install --frozen-lockfile && pnpm run build && cd ./client"
[build.environment]
NODE_VERSION = "24"
CYPRESS_INSTALL_BINARY = "0"
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD = "1"
[[redirects]]
from = "/api/*"
to = "http://preview-backend.redashapp.com/api/:splat"
status = 200
[[redirects]]
from = "/login"
to = "http://preview-login.redashapp.com/login"
status = 200
[[redirects]]
from = "/logout"
to = "http://preview-backend.redashapp.com/logout"
status = 200
[[redirects]]
from = "/status.json"
to = "http://preview-backend.redashapp.com/status.json"
status = 200
[[redirects]]
from = "/static/server*"
to = "http://preview-backend.redashapp.com/static/server:splat"
status = 200
[[redirects]]
from = "/static/*"
to = "/:splat"
status = 200
[[redirects]]
from = "/*"
to = "/index.html"
status = 200