diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a2f3392e..d2d5c93e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: node-version: 16.x - name: Install Module Dependencies - run: npm clean-install --no-optional + run: npm clean-install --omit=optional - name: Lint Project run: npm run lint diff --git a/.github/workflows/lint_docs.yml b/.github/workflows/lint_docs.yml index 69f09817..44b75673 100644 --- a/.github/workflows/lint_docs.yml +++ b/.github/workflows/lint_docs.yml @@ -19,7 +19,7 @@ jobs: node-version: 16.x - name: Install Module Dependencies - run: npm clean-install --no-optional + run: npm clean-install --omit=optional - name: Spellcheck Project Documentation run: npm run spellcheck-docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39ece69d..90e5c904 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,12 +55,12 @@ jobs: # be released. # # NOTE: - # Use the `--no-optional` switch to prevent installation of the `ssh2` optional dependency + # Use the `--omit=optional` switch to prevent installation of the `ssh2` optional dependency # (i.e., `cpu-features`) package which is used to provide accelerated crypto functionality, # but which is a native add-on and would require platform specific packages. # - name: Install Module Dependencies - run: npm clean-install --no-optional + run: npm clean-install --omit=optional # # Package and Upload Extension diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 32651fab..cf054e2a 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -18,7 +18,7 @@ jobs: node-version: 16.x - name: Install Module Dependencies - run: npm clean-install --no-optional + run: npm clean-install --omit=optional - name: Test Project run: npm test diff --git a/HACKING.md b/HACKING.md index a388fc66..952d596b 100644 --- a/HACKING.md +++ b/HACKING.md @@ -235,7 +235,7 @@ updating package-lock.json as a result of the divergence. Using version of the modules, which helps to eliminate any potential variability in observed behavior. -In addition, you should also use the `--no-optional` switch as part of the +In addition, you should also use the `--omit=optional` switch as part of the package installation command. There are some modules (e.g., SSH2) which include optional functionality that utilizes native code specific to the platform. Currently, this extension does not require these platform-specific modules and @@ -251,7 +251,7 @@ released extension. ```shell git clone https://github.com/WebFreak001/code-debug cd code-debug -npm clean-install --no-optional +npm clean-install --omit=optional ``` ## Optional VSCode Extensions (for development)