From 45f67dbd3fa98158f6e9f27731dd99e6e1fd0535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Gonz=C3=A1lez=20Prieto?= Date: Fri, 19 Jan 2024 14:53:43 +0100 Subject: [PATCH] Add npm install test with many issues Derived from these: dc6bff9 Handle args in Rails' long options 323cf79 Partially handle rails [--long-options] Should I revert them before this incongruence makes it to a bat release? --- tests/highlighted/npm-install-10.2.3.txt | 20 ++++++++++++++++++++ tests/source/npm-install-10.2.3.txt | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 tests/highlighted/npm-install-10.2.3.txt create mode 100644 tests/source/npm-install-10.2.3.txt diff --git a/tests/highlighted/npm-install-10.2.3.txt b/tests/highlighted/npm-install-10.2.3.txt new file mode 100644 index 0000000..70fa118 --- /dev/null +++ b/tests/highlighted/npm-install-10.2.3.txt @@ -0,0 +1,20 @@ +Install a package + +Usage: +npm install [ ...] + +Options: +[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle] +[-E|--save-exact] [-g|--global] +[--install-strategy ] [--legacy-bundling] +[--global-style] [--omit [--omit ...]] +[--include [--include ...]] +[--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only] +[--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] +[--no-fund] [--dry-run] [--cpu ] [--os ] +[-w|--workspace [-w|--workspace ...]] +[-ws|--workspaces] [--include-workspace-root] [--install-links] + +aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall + +Run "npm help install" for more info diff --git a/tests/source/npm-install-10.2.3.txt b/tests/source/npm-install-10.2.3.txt new file mode 100644 index 0000000..916a442 --- /dev/null +++ b/tests/source/npm-install-10.2.3.txt @@ -0,0 +1,20 @@ +Install a package + +Usage: +npm install [ ...] + +Options: +[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle] +[-E|--save-exact] [-g|--global] +[--install-strategy ] [--legacy-bundling] +[--global-style] [--omit [--omit ...]] +[--include [--include ...]] +[--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only] +[--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links] +[--no-fund] [--dry-run] [--cpu ] [--os ] +[-w|--workspace [-w|--workspace ...]] +[-ws|--workspaces] [--include-workspace-root] [--install-links] + +aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall + +Run "npm help install" for more info