Skip to content

Commit 793e98b

Browse files
committed
chore: review fixes
1 parent d746a1c commit 793e98b

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

packages/config-schema/src/schema/netlify-toml.schema.json

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,11 @@
610610
"type": "number",
611611
"default": 8888
612612
},
613+
"staticServerPort": {
614+
"title": "Static server port",
615+
"description": "Port for the static file server. This value will only take effect if `framework` is set to `#static` or `#auto` without any framework being detected.",
616+
"type": "number"
617+
},
613618
"targetPort": {
614619
"title": "Target port",
615620
"description": "Port for your application server, framework, or site generator. If provided, the CLI will wait until the provided `targetPort` is reachable and then proxy requests to it. If you specify values for both `command` and `targetPort`, `framework` must be `#custom`.",
@@ -635,25 +640,27 @@
635640
"description": "Secret used to verify tokens for JWT-based redirects.",
636641
"type": "string"
637642
},
643+
"envFiles": {
644+
"title": "Dotenv files",
645+
"description": "List of dotenv files to consider loading. Defaults to `.env.development.local, .env.local, .env.development, .env` in this order.",
646+
"type": "array",
647+
"default": [".env.development.local", ".env.local", ".env.development", ".env"],
648+
"items": {
649+
"title": "Filename",
650+
"description": "The name of the dotenv file.",
651+
"type": "string"
652+
}
653+
},
638654
"autoLaunch": {
639-
"title": "Publish path",
655+
"title": "Automatically launch browser",
640656
"description": "Boolean value that determines whether Netlify Dev launches the local server address in your browser.",
641657
"type": "boolean"
642658
},
643659
"framework": {
644-
"title": "Publish path",
645-
"description": "Setting to use if a project is detected incorrectly, flagged by multiple detectors, or requires a `command` and `targetPort`.",
660+
"title": "Framework",
661+
"description": "Setting to use if a project is detected incorrectly, flagged by multiple detectors, or requires a `command` and `targetPort`. Possible values are `#auto`, `#static`, `#custom` or a framework name.",
646662
"type": "string",
647-
"enum": ["#auto", "#static", "#custom"],
648-
"x-taplo": {
649-
"docs": {
650-
"enumValues": [
651-
"Default, tests all available detectors.",
652-
"Use only a static file server.",
653-
"Use the `command` value to run an app server and the `targetPort` value to connect to it. Required if `command` and `targetPort` are both set."
654-
]
655-
}
656-
}
663+
"default": "#auto"
657664
},
658665
"https": {
659666
"title": "HTTPS",

0 commit comments

Comments
 (0)