Created
July 24, 2023 15:55
-
-
Save nomyfan/88fc902e99e42fbfb535ad901d867a65 to your computer and use it in GitHub Desktop.
npm-optional-dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "optional-deps-demo", | |
"version": "1.0.0", | |
"optionalDependencies": { | |
"@esbuild/darwin-arm64": "^0.18.16", | |
"@esbuild/win32-x64": "^0.18.16" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 160] . | |
├── [ 160] node_modules | |
│ └── [ 96] @esbuild | |
│ └── [ 73] darwin-arm64 -> ../.pnpm/@esbuild+darwin-arm64@0.18.16/node_modules/@esbuild/darwin-arm64 | |
├── [ 343] package.json | |
└── [ 758] pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/.pnpm | |
├── @esbuild+darwin-arm64@0.18.16 | |
│ └── node_modules | |
│ └── @esbuild | |
│ └── darwin-arm64 | |
│ ├── README.md | |
│ ├── bin | |
│ │ └── esbuild | |
│ └── package.json | |
└── lock.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment