mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
rules: npm and yarn subcommands
This commit is contained in:
parent
b2c95c30e7
commit
96a588799d
3 changed files with 133 additions and 1 deletions
|
|
@ -1,5 +1,59 @@
|
|||
command = "yarn"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"not found"
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
#[err_contains(command)]
|
||||
{{command[0]}} {{typo[1](
|
||||
access,
|
||||
add,
|
||||
audit,
|
||||
autoclean,
|
||||
bin,
|
||||
cache,
|
||||
check,
|
||||
config,
|
||||
create,
|
||||
exec,
|
||||
generate-lock-entry,
|
||||
generateLockEntry,
|
||||
global,
|
||||
help,
|
||||
import,
|
||||
info,
|
||||
init,
|
||||
install,
|
||||
licenses,
|
||||
link,
|
||||
list,
|
||||
login,
|
||||
logout,
|
||||
node,
|
||||
outdated,
|
||||
owner,
|
||||
pack,
|
||||
policies,
|
||||
publish,
|
||||
remove,
|
||||
run,
|
||||
tag,
|
||||
team,
|
||||
unlink,
|
||||
unplug,
|
||||
upgrade,
|
||||
upgrade-interactive,
|
||||
upgradeInteractive,
|
||||
version,
|
||||
versions,
|
||||
why,
|
||||
workspace,
|
||||
workspaces
|
||||
)}} {{command[2:]}} '''
|
||||
]
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"error `install` has been replaced with `add` to add new dependencies."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue