|
610 | 610 | "type": "number", |
611 | 611 | "default": 8888 |
612 | 612 | }, |
| 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 | + }, |
613 | 618 | "targetPort": { |
614 | 619 | "title": "Target port", |
615 | 620 | "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 | 640 | "description": "Secret used to verify tokens for JWT-based redirects.", |
636 | 641 | "type": "string" |
637 | 642 | }, |
| 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 | + }, |
638 | 654 | "autoLaunch": { |
639 | | - "title": "Publish path", |
| 655 | + "title": "Automatically launch browser", |
640 | 656 | "description": "Boolean value that determines whether Netlify Dev launches the local server address in your browser.", |
641 | 657 | "type": "boolean" |
642 | 658 | }, |
643 | 659 | "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.", |
646 | 662 | "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" |
657 | 664 | }, |
658 | 665 | "https": { |
659 | 666 | "title": "HTTPS", |
|
0 commit comments