File: README.Debian

package info (click to toggle)
node-yarnpkg 4.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 24,752 kB
  • sloc: javascript: 38,953; ansic: 26,035; cpp: 7,247; sh: 2,829; makefile: 724; perl: 493
file content (21 lines) | stat: -rw-r--r-- 738 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
yarnpkg for Debian
------------------
Note that yarnpkg from version 2.x.x and above now defaults to the Yarn
Plug'n'Play [1] install strategy which drops the use of the node_modules
folder.

If you would like to keep the old behaviour, you can:
  - Run this command in your project root folder, which changes the install
    strategy from Yarn Plug'n'Play to node-modules.
    ```bash
    if ! grep nodeLinker .yarnrc.yml >/dev/null;
    then
      echo "nodeLinker: \"node-modules\"" >>.yarnrc.yml; 
    fi
    ```
  - Stick with yarnpkg version 1.x.x via the `corepack yarn` command from
    the node-corepack package.

1. https://yarnpkg.com/features/pnp

 -- Israel Galadima <izzygaladima@gmail.com>  Sun, 29 Oct 2023 20:40:59 +0100