forked from typescript-eslint/typescript-eslint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
48 lines (38 loc) · 1.23 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# https://docs.netlify.com/configure-builds/file-based-configuration/#build-settings
[build]
base = ""
publish = "packages/website/build"
command = "NX_VERBOSE_LOGGING=true yarn nx build website"
[build.environment]
NETLIFY_USE_YARN = "true"
# TODO: adjust these once https://github.com/netlify/build-image/issues/612 is resolved
YARN_ENABLE_GLOBAL_CACHE = "true"
YARN_GLOBAL_FOLDER = "/opt/buildhome/.yarn_cache"
# https://docs.netlify.com/configure-builds/file-based-configuration/#redirects
[[redirects]]
from = "/docs"
to = "/getting-started"
[[redirects]]
from = "/docs/development/architecture/asts"
to = "/blog/asts-and-typescript-eslint"
[[redirects]]
from = "/docs/development/architecture/packages"
to = "/packages"
[[redirects]]
from = "/docs/development/custom-rules"
to = "/custom-rules"
[[redirects]]
from = "/docs/linting/type-linting"
to = "/linting/typed-linting"
[[redirects]]
from = "/linting/troubleshooting"
to = "/troubleshooting/faqs/general"
[[redirects]]
from = "/docs/linting/monorepo"
to = "/linting/troubleshooting/typed-linting/Monorepos"
[[redirects]]
from = "/docs/linting/tslint"
to = "/linting/troubleshooting/tslint"
[[redirects]]
from = "/docs/*"
to = "/:splat"