pxnpm 6.0.1 → 6.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -276
  2. package/package.json +1 -2
package/README.md CHANGED
@@ -1,277 +1,3 @@
1
- [简体中文](https://pnpm.io/zh/) |
2
- [日本語](https://pnpm.io/ja/) |
3
- [한국어](https://pnpm.io/ko/) |
4
- [Italiano](https://pnpm.io/it/) |
5
- [Português Brasileiro](https://pnpm.io/pt/)
6
-
7
- <picture>
8
- <source media="(prefers-color-scheme: light)" srcset="https://i.imgur.com/qlW1eEG.png">
9
- <source media="(prefers-color-scheme: dark)" srcset="https://i.imgur.com/qlW1eEG.png">
10
- <img src="https://i.imgur.com/qlW1eEG.png" alt="pnpm">
11
- </picture>
12
-
13
- Fast, disk space efficient package manager:
14
-
15
- * **Fast.** Up to 2x faster than the alternatives (see [benchmark](#benchmark)).
16
- * **Efficient.** Files inside `node_modules` are linked from a single content-addressable storage.
17
- * **[Great for monorepos](https://pnpm.io/workspaces).**
18
- * **Strict.** A package can access only dependencies that are specified in its `package.json`.
19
- * **Deterministic.** Has a lockfile called `pnpm-lock.yaml`.
20
- * **Works as a Node.js version manager.** See [pnpm env use](https://pnpm.io/cli/env).
21
- * **Works everywhere.** Supports Windows, Linux, and macOS.
22
- * **Battle-tested.** Used in production by teams of [all sizes](https://pnpm.io/users) since 2016.
23
- * [See the full feature comparison with npm and Yarn](https://pnpm.io/feature-comparison).
24
-
25
- To quote the [Rush](https://rushjs.io/) team:
26
-
27
- > Microsoft uses pnpm in Rush repos with hundreds of projects and hundreds of PRs per day, and we’ve found it to be very fast and reliable.
28
-
29
- [![npm version](https://img.shields.io/npm/v/pnpm.svg?label=latest)](https://github.com/pnpm/pnpm/releases/latest)
30
- [![Join the chat at Discord](https://img.shields.io/discord/731599538665553971.svg)](https://r.pnpm.io/chat)
31
- [![OpenCollective](https://opencollective.com/pnpm/backers/badge.svg)](https://opencollective.com/pnpm)
32
- [![OpenCollective](https://opencollective.com/pnpm/sponsors/badge.svg)](https://opencollective.com/pnpm)
33
- [![X Follow](https://img.shields.io/twitter/follow/pnpmjs.svg?style=social&label=Follow)](https://x.com/intent/follow?screen_name=pnpmjs&region=follow_link)
34
- [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
35
-
36
- ## Platinum Sponsors
37
-
38
- <table>
39
- <tbody>
40
- <tr>
41
- <td align="center" valign="middle">
42
- <a href="https://bit.dev/?utm_source=pnpm&utm_medium=readme" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a>
43
- </td>
44
- <td align="center" valign="middle">
45
- <a href="https://sanity.io/?utm_source=pnpm&utm_medium=readme" target="_blank"><img src="https://pnpm.io/img/users/sanity.svg" width="180" alt="Bit"></a>
46
- </td>
47
- <td align="center" valign="middle">
48
- <a href="https://figma.com/?utm_source=pnpm&utm_medium=readme" target="_blank"><img src="https://pnpm.io/img/users/figma.svg" width="80" alt="Figma"></a>
49
- </td>
50
- </tr>
51
- </tbody>
52
- </table>
53
-
54
- ## Gold Sponsors
55
-
56
- <table>
57
- <tbody>
58
- <tr>
59
- <td align="center" valign="middle">
60
- <a href="https://discord.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
61
- <picture>
62
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/discord.svg" />
63
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/discord_light.svg" />
64
- <img src="https://pnpm.io/img/users/discord.svg" width="220" alt="Discord" />
65
- </picture>
66
- </a>
67
- </td>
68
- <td align="center" valign="middle">
69
- <a href="https://prisma.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
70
- <picture>
71
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" />
72
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" />
73
- <img src="https://pnpm.io/img/users/prisma.svg" width="180" alt="Prisma" />
74
- </picture>
75
- </a>
76
- </td>
77
- </tr>
78
- <tr>
79
- <td align="center" valign="middle">
80
- <a href="https://uscreen.de/?utm_source=pnpm&utm_medium=readme" target="_blank">
81
- <picture>
82
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/uscreen.svg" />
83
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/uscreen_light.svg" />
84
- <img src="https://pnpm.io/img/users/uscreen.svg" width="180" alt="u|screen" />
85
- </picture>
86
- </a>
87
- </td>
88
- <td align="center" valign="middle">
89
- <a href="https://www.jetbrains.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
90
- <picture>
91
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/jetbrains.svg" />
92
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/jetbrains.svg" />
93
- <img src="https://pnpm.io/img/users/jetbrains.svg" width="180" alt="JetBrains" />
94
- </picture>
95
- </a>
96
- </td>
97
- </tr>
98
- <tr>
99
- <td align="center" valign="middle">
100
- <a href="https://nx.dev/?utm_source=pnpm&utm_medium=readme" target="_blank">
101
- <picture>
102
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nx.svg" />
103
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nx_light.svg" />
104
- <img src="https://pnpm.io/img/users/nx.svg" width="120" alt="Nx" />
105
- </picture>
106
- </a>
107
- </td>
108
- <td align="center" valign="middle">
109
- <a href="https://coderabbit.ai/?utm_source=pnpm&utm_medium=readme" target="_blank">
110
- <picture>
111
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/coderabbit.svg" />
112
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/coderabbit_light.svg" />
113
- <img src="https://pnpm.io/img/users/coderabbit.svg" width="220" alt="CodeRabbit" />
114
- </picture>
115
- </a>
116
- </td>
117
- </tr>
118
- <tr>
119
- <td align="center" valign="middle">
120
- <a href="https://route4me.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
121
- <img src="https://pnpm.io/img/users/route4me.svg" width="220" alt="Route4Me" />
122
- </a>
123
- </td>
124
- </tr>
125
- </tbody>
126
- </table>
127
-
128
- ## Silver Sponsors
129
-
130
- <table>
131
- <tbody>
132
- <tr>
133
- <td align="center" valign="middle">
134
- <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
135
- <img src="https://pnpm.io/img/users/leniolabs.jpg" width="40" alt="Leniolabs_">
136
- </a>
137
- </td>
138
- <td align="center" valign="middle">
139
- <a href="https://vercel.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
140
- <picture>
141
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" />
142
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" />
143
- <img src="https://pnpm.io/img/users/vercel.svg" width="90" alt="Vercel" />
144
- </picture>
145
- </a>
146
- </td>
147
- <td align="center" valign="middle">
148
- <a href="https://depot.dev/?utm_source=pnpm&utm_medium=readme" target="_blank">
149
- <picture>
150
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" />
151
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" />
152
- <img src="https://pnpm.io/img/users/depot.svg" width="100" alt="Depot" />
153
- </picture>
154
- </a>
155
- </td>
156
- </tr>
157
- <tr>
158
- <td align="center" valign="middle">
159
- <a href="https://moonrepo.dev/?utm_source=pnpm&utm_medium=readme" target="_blank">
160
- <picture>
161
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/moonrepo.svg" />
162
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/moonrepo_light.svg" />
163
- <img src="https://pnpm.io/img/users/moonrepo.svg" width="100" alt="moonrepo" />
164
- </picture>
165
- </a>
166
- </td>
167
- <td align="center" valign="middle">
168
- <a href="https://devowl.io/?utm_source=pnpm&utm_medium=readme" target="_blank">
169
- <picture>
170
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/devowlio.svg" />
171
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/devowlio.svg" />
172
- <img src="https://pnpm.io/img/users/devowlio.svg" width="100" alt="devowl.io" />
173
- </picture>
174
- </a>
175
- </td>
176
- <td align="center" valign="middle">
177
- <a href="https://cerbos.dev/?utm_source=pnpm&utm_medium=readme" target="_blank">
178
- <picture>
179
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/cerbos.svg" />
180
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/cerbos_light.svg" />
181
- <img src="https://pnpm.io/img/users/cerbos.svg" width="90" alt="Cerbos" />
182
- </picture>
183
- </a>
184
- </td>
185
- </tr>
186
- <tr>
187
- <td align="center" valign="middle">
188
- <a href="https://vlt.sh/?utm_source=pnpm&utm_medium=readme" target="_blank">
189
- <picture>
190
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vlt.svg" />
191
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vlt_light.svg" />
192
- <img src="https://pnpm.io/img/users/vlt.svg" width="70" alt="vlt" />
193
- </picture>
194
- </a>
195
- </td>
196
- <td align="center" valign="middle">
197
- <a href="https://vite.dev/?utm_source=pnpm&utm_medium=readme" target="_blank">
198
- <img src="https://pnpm.io/img/users/vitejs.svg" width="32" alt="Vite">
199
- </a>
200
- </td>
201
- <td align="center" valign="middle">
202
- <a href="https://macpaw.com/?utm_source=pnpm&utm_medium=readme" target="_blank">
203
- <picture>
204
- <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/macpaw.svg" />
205
- <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/macpaw_light.svg" />
206
- <img src="https://pnpm.io/img/users/macpaw.svg" width="100" />
207
- </picture>
208
- </a>
209
- </td>
210
- </tr>
211
- </tbody>
212
- </table>
213
-
214
- Support this project by [becoming a sponsor](https://opencollective.com/pnpm#sponsor).
215
-
216
- ## Background
217
-
218
- pnpm uses a content-addressable filesystem to store all files from all module directories on a disk.
219
- When using npm, if you have 100 projects using lodash, you will have 100 copies of lodash on disk.
220
- With pnpm, lodash will be stored in a content-addressable storage, so:
221
-
222
- 1. If you depend on different versions of lodash, only the files that differ are added to the store.
223
- If lodash has 100 files, and a new version has a change only in one of those files,
224
- `pnpm update` will only add 1 new file to the storage.
225
- 1. All the files are saved in a single place on the disk. When packages are installed, their files are linked
226
- from that single place consuming no additional disk space. Linking is performed using either hard-links or reflinks (copy-on-write).
227
-
228
- As a result, you save gigabytes of space on your disk and you have a lot faster installations!
229
- If you'd like more details about the unique `node_modules` structure that pnpm creates and
230
- why it works fine with the Node.js ecosystem, read this small article: [Flat node_modules is not the only way](https://pnpm.io/blog/2020/05/27/flat-node-modules-is-not-the-only-way).
231
-
232
- 💖 Like this project? Let people know with a [tweet](https://r.pnpm.io/tweet)
233
-
234
- ## Installation
235
-
236
- For installation options [visit our website](https://pnpm.io/installation).
237
-
238
- ## Usage
239
-
240
- Just use pnpm in place of npm/Yarn. E.g., install dependencies via:
241
-
242
- ```
243
- pnpm install
244
- ```
245
-
246
- For more advanced usage, read [pnpm CLI](https://pnpm.io/pnpm-cli) on our website, or run `pnpm help`.
247
-
248
- ## Benchmark
249
-
250
- pnpm is up to 2x faster than npm and Yarn classic. See all benchmarks [here](https://r.pnpm.io/benchmarks).
251
-
252
- Benchmarks on an app with lots of dependencies:
253
-
254
- ![](https://pnpm.io/img/benchmarks/alotta-files.svg)
255
-
256
- ## Support
257
-
258
- - [Frequently Asked Questions](https://pnpm.io/faq)
259
- - [Chat](https://r.pnpm.io/chat)
260
- - [X](https://x.com/pnpmjs)
261
-
262
- ## Backers
263
-
264
- Thank you to all our backers! [Become a backer](https://opencollective.com/pnpm#backer)
265
-
266
- <a href="https://opencollective.com/pnpm#backers" target="_blank"><img src="https://opencollective.com/pnpm/backers.svg?width=890" alt="Open Collective"></a>
267
-
268
- ## Contributors
269
-
270
- This project exists thanks to all the people who contribute. [Contribute](../../blob/main/CONTRIBUTING.md).
271
-
272
- <a href="../../graphs/contributors"><img src="https://opencollective.com/pnpm/contributors.svg?width=890&button=false" alt="Contributors"></a>
273
-
274
- ## License
275
-
276
- [MIT](https://github.com/pnpm/pnpm/blob/main/LICENSE)
1
+ # pxnpm
277
2
 
3
+ use pnpm engine
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pxnpm",
3
3
  "description": "Fast, disk space efficient package manager",
4
- "version": "6.0.1",
4
+ "version": "6.0.3",
5
5
  "bin": {
6
6
  "pxnpm": "bin/pnpm.cjs",
7
7
  "pxnpx": "bin/pnpx.cjs",
@@ -123,7 +123,6 @@
123
123
  "directories": {
124
124
  "test": "test"
125
125
  },
126
- "homepage": "https://pnpm.io",
127
126
  "keywords": [
128
127
  "pnpm9",
129
128
  "dependency manager",