Files
releases/netlify.toml
T
Charlie Egan ffd7d46ee4 website: Various updates to node and website deps (#8768)
Replaces https://github.com/open-policy-agent/opa/pull/8762

Original dependabot updates:

Bumps the website group in /docs with 9 updates:

| Package | From | To |
| --- | --- | --- |
|
[@floating-ui/react](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/react)
| `0.27.18` | `0.27.19` |
|
[@iconify/react](https://github.com/iconify/iconify/tree/HEAD/components/react)
| `6.0.0` | `6.0.2` |
| [@mermaid-js/layout-elk](https://github.com/mermaid-js/mermaid) |
`0.1.9` | `0.2.1` |
| [eslint](https://github.com/eslint/eslint) | `9.39.2` | `10.4.1` |
| [glob](https://github.com/isaacs/node-glob) | `11.1.0` | `13.0.6` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `4.1.1` | `4.2.0` |
| [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) |
`0.21.0` | `0.22.1` |
| [recharts](https://github.com/recharts/recharts) | `3.7.0` | `3.8.1` |
|
[baseline-browser-mapping](https://github.com/web-platform-dx/baseline-browser-mapping)
| `2.10.20` | `2.10.33` |


I have also made some updates to use node 24.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-11 13:23:17 +00:00

43 lines
1.3 KiB
TOML

[build]
publish = "docs/build"
command = "make netlify-latest"
edge_functions = "docs/functions"
[build.environment]
# Keep in sync with docs/.nvmrc — that file is the source of truth for the
# Node version, but Netlify only auto-detects .nvmrc at the repo root.
NODE_VERSION = "24"
# some examples in v1/test/cases/testdata/v0/cryptox509* flag the netlify
# secret scan
SECRETS_SCAN_OMIT_PATHS = "v1/test/cases,v1/topdown/crypto_test.go"
[context.deploy-preview]
command = "make netlify-edge"
ignore = "git diff --quiet HEAD~1 -- docs/ netlify.toml"
[[edge_functions]]
# this path should not be changed as various external sites depend on it for OPA
# badges.
path = "/badge/*"
function = "badge"
# Redirect all path based versioned requests to their new archived sites.
# https://github.com/open-policy-agent/opa/issues/7037
[[edge_functions]]
path = "/docs/*"
function = "version-redirect"
# function to process form notifications from netlify forms and send them to slack
[[edge_functions]]
path = "/api/feedback"
function = "feedback"
# /data/versions.json is used by versioned OPA deployments to determine
# if what the latest release is, how outdated they are.
[[headers]]
for = "/data/versions.json"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "GET, OPTIONS"
Access-Control-Allow-Headers = "Content-Type"