Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ Arguments:
[ROOT] Project root directory (default: current directory)

Options:
--host [HOST] Specify hostname
--port <PORT> Specify port
--open [PATH] Open browser on startup
--cors Enable CORS
--strictPort Exit if specified port is already in use
--force Ignore the optimizer cache and re-bundle
--experimentalBundle Use experimental full bundle mode
--base <PATH> Public base path
-l, --logLevel <LEVEL> Set log level
--clearScreen Allow or disable clearing the screen
-d, --debug [FEAT] Show debug logs
-f, --filter <FILTER> Filter debug logs
-m, --mode <MODE> Set env mode
-h, --help Print help
--host [host] [string] specify hostname
--port <port> [number] specify port
--open [path] [boolean | string] open browser on startup
--cors [boolean] enable CORS
--strictPort [boolean] exit if specified port is already in use
--force [boolean] force the optimizer to ignore the cache and re-bundle
--experimentalBundle [boolean] use experimental full bundle mode (this is highly experimental)
--base <path> [string] public base path (default: /)
-l, --logLevel <level> [string] info | warn | error | silent
--clearScreen [boolean] allow/disable clear screen when logging
-d, --debug [feat] [string | boolean] show debug logs
-f, --filter <filter> [string] filter debug logs
-m, --mode <mode> [string] set env mode
-h, --help Display this message

Examples:
vp dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ Arguments:
[ROOT] Project root directory (default: current directory)

Options:
--host [HOST] Specify hostname
--port <PORT> Specify port
--open [PATH] Open browser on startup
--cors Enable CORS
--strictPort Exit if specified port is already in use
--force Ignore the optimizer cache and re-bundle
--experimentalBundle Use experimental full bundle mode
--base <PATH> Public base path
-l, --logLevel <LEVEL> Set log level
--clearScreen Allow or disable clearing the screen
-d, --debug [FEAT] Show debug logs
-f, --filter <FILTER> Filter debug logs
-m, --mode <MODE> Set env mode
-h, --help Print help
--host [host] [string] specify hostname
--port <port> [number] specify port
--open [path] [boolean | string] open browser on startup
--cors [boolean] enable CORS
--strictPort [boolean] exit if specified port is already in use
--force [boolean] force the optimizer to ignore the cache and re-bundle
--experimentalBundle [boolean] use experimental full bundle mode (this is highly experimental)
--base <path> [string] public base path (default: /)
-l, --logLevel <level> [string] info | warn | error | silent
--clearScreen [boolean] allow/disable clear screen when logging
-d, --debug [feat] [string | boolean] show debug logs
-f, --filter <filter> [string] filter debug logs
-m, --mode <mode> [string] set env mode
-h, --help Display this message

Examples:
vp dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@ Usage: vp fmt [PATH]... [OPTIONS]
Format code.
Options are forwarded to Oxfmt.

Arguments:
[PATH]... Files, directories, or glob patterns (default: current directory)
Available positional items:
[PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used.

Mode Options:
--stdin-filepath <PATH> Specify the file name used to infer the parser for stdin
--stdin-filepath=PATH Specify the file name to use to infer which parser to use

Output Options:
--write Format and write files in place
--check Check whether files are formatted and show statistics
--write Format and write files in place (default)
--check Check if files are formatted, also show statistics
--list-different List files that would be changed

Ignore Options:
--ignore-path <PATH> Path to an ignore file; may be specified multiple times
--with-node-modules Format files in node_modules, which are skipped by default
--ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used.
--with-node-modules Format code in node_modules directory (skipped by default)

Runtime Options:
--no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched
--threads <INT> Number of threads to use; set to 1 to use one CPU core
--no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched
--threads=INT Number of threads to use. Set to 1 for using only 1 CPU core.

Options:
-h, --help Print help information
Available options:
-h, --help Prints help information

Examples:
vp fmt
Expand All @@ -50,27 +50,27 @@ Usage: vp fmt [PATH]... [OPTIONS]
Format code.
Options are forwarded to Oxfmt.

Arguments:
[PATH]... Files, directories, or glob patterns (default: current directory)
Available positional items:
[PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used.

Mode Options:
--stdin-filepath <PATH> Specify the file name used to infer the parser for stdin
--stdin-filepath=PATH Specify the file name to use to infer which parser to use

Output Options:
--write Format and write files in place
--check Check whether files are formatted and show statistics
--write Format and write files in place (default)
--check Check if files are formatted, also show statistics
--list-different List files that would be changed

Ignore Options:
--ignore-path <PATH> Path to an ignore file; may be specified multiple times
--with-node-modules Format files in node_modules, which are skipped by default
--ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used.
--with-node-modules Format code in node_modules directory (skipped by default)

Runtime Options:
--no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched
--threads <INT> Number of threads to use; set to 1 to use one CPU core
--no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched
--threads=INT Number of threads to use. Set to 1 for using only 1 CPU core.

Options:
-h, --help Print help information
Available options:
-h, --help Prints help information

Examples:
vp fmt
Expand All @@ -90,27 +90,27 @@ Usage: vp fmt [PATH]... [OPTIONS]
Format code.
Options are forwarded to Oxfmt.

Arguments:
[PATH]... Files, directories, or glob patterns (default: current directory)
Available positional items:
[PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used.

Mode Options:
--stdin-filepath <PATH> Specify the file name used to infer the parser for stdin
--stdin-filepath=PATH Specify the file name to use to infer which parser to use

Output Options:
--write Format and write files in place
--check Check whether files are formatted and show statistics
--write Format and write files in place (default)
--check Check if files are formatted, also show statistics
--list-different List files that would be changed

Ignore Options:
--ignore-path <PATH> Path to an ignore file; may be specified multiple times
--with-node-modules Format files in node_modules, which are skipped by default
--ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used.
--with-node-modules Format code in node_modules directory (skipped by default)

Runtime Options:
--no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched
--threads <INT> Number of threads to use; set to 1 to use one CPU core
--no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched
--threads=INT Number of threads to use. Set to 1 for using only 1 CPU core.

Options:
-h, --help Print help information
Available options:
-h, --help Prints help information

Examples:
vp fmt
Expand All @@ -130,27 +130,27 @@ Usage: vp fmt [PATH]... [OPTIONS]
Format code.
Options are forwarded to Oxfmt.

Arguments:
[PATH]... Files, directories, or glob patterns (default: current directory)
Available positional items:
[PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used.

Mode Options:
--stdin-filepath <PATH> Specify the file name used to infer the parser for stdin
--stdin-filepath=PATH Specify the file name to use to infer which parser to use

Output Options:
--write Format and write files in place
--check Check whether files are formatted and show statistics
--write Format and write files in place (default)
--check Check if files are formatted, also show statistics
--list-different List files that would be changed

Ignore Options:
--ignore-path <PATH> Path to an ignore file; may be specified multiple times
--with-node-modules Format files in node_modules, which are skipped by default
--ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used.
--with-node-modules Format code in node_modules directory (skipped by default)

Runtime Options:
--no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched
--threads <INT> Number of threads to use; set to 1 to use one CPU core
--no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched
--threads=INT Number of threads to use. Set to 1 for using only 1 CPU core.

Options:
-h, --help Print help information
Available options:
-h, --help Prints help information

Examples:
vp fmt
Expand Down
Loading
Loading