pnpm 10.22.0 → 11.0.0-alpha.0

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 (50) hide show
  1. package/bin/{pnpm.cjs → pnpm.mjs} +8 -7
  2. package/bin/{pnpx.cjs → pnpx.mjs} +1 -1
  3. package/dist/node_modules/.modules.yaml +7 -7
  4. package/dist/node_modules/.pnpm/lock.yaml +2 -2
  5. package/dist/node_modules/.pnpm-workspace-state-v1.json +1 -1
  6. package/dist/node_modules/isexe/LICENSE +1 -1
  7. package/dist/node_modules/isexe/package.json +14 -79
  8. package/dist/node_modules/{cross-spawn/node_modules/which → node-gyp/node_modules/isexe}/LICENSE +1 -1
  9. package/dist/node_modules/node-gyp/node_modules/isexe/package.json +96 -0
  10. package/dist/node_modules/node-gyp/node_modules/which/package.json +52 -0
  11. package/dist/node_modules/which/package.json +20 -29
  12. package/dist/{pnpm.cjs → pnpm.mjs} +155280 -153215
  13. package/dist/worker.js +4232 -4512
  14. package/package.json +19 -12
  15. package/dist/node_modules/cross-spawn/node_modules/isexe/package.json +0 -31
  16. package/dist/node_modules/cross-spawn/node_modules/which/package.json +0 -43
  17. /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/index.js +0 -0
  18. /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/mode.js +0 -0
  19. /package/dist/node_modules/{cross-spawn/node_modules/isexe → isexe}/windows.js +0 -0
  20. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.d.ts.map +0 -0
  21. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.js +0 -0
  22. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/index.js.map +0 -0
  23. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.d.ts.map +0 -0
  24. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.js +0 -0
  25. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/options.js.map +0 -0
  26. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/package.json +0 -0
  27. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.d.ts.map +0 -0
  28. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.js +0 -0
  29. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/posix.js.map +0 -0
  30. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.d.ts.map +0 -0
  31. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.js +0 -0
  32. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/cjs/win32.js.map +0 -0
  33. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.d.ts.map +0 -0
  34. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.js +0 -0
  35. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/index.js.map +0 -0
  36. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.d.ts.map +0 -0
  37. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.js +0 -0
  38. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/options.js.map +0 -0
  39. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/package.json +0 -0
  40. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.d.ts.map +0 -0
  41. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.js +0 -0
  42. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/posix.js.map +0 -0
  43. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.d.ts.map +0 -0
  44. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.js +0 -0
  45. /package/dist/node_modules/{isexe → node-gyp/node_modules/isexe}/dist/mjs/win32.js.map +0 -0
  46. /package/dist/node_modules/{cross-spawn/node_modules/isexe → node-gyp/node_modules/which}/LICENSE +0 -0
  47. /package/dist/node_modules/{which → node-gyp/node_modules/which}/bin/which.js +0 -0
  48. /package/dist/node_modules/{which → node-gyp/node_modules/which}/lib/index.js +0 -0
  49. /package/dist/node_modules/{cross-spawn/node_modules/which → which}/bin/node-which +0 -0
  50. /package/dist/node_modules/{cross-spawn/node_modules/which → which}/which.js +0 -0
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "pnpm",
3
- "version": "10.22.0",
3
+ "version": "11.0.0-alpha.0",
4
4
  "description": "Fast, disk space efficient package manager",
5
5
  "keywords": [
6
6
  "pnpm",
7
- "pnpm10",
7
+ "pnpm11",
8
8
  "dependencies",
9
9
  "dependency manager",
10
10
  "efficient",
@@ -40,8 +40,8 @@
40
40
  "bugs": {
41
41
  "url": "https://github.com/pnpm/pnpm/issues"
42
42
  },
43
- "type": "commonjs",
44
- "main": "bin/pnpm.cjs",
43
+ "type": "module",
44
+ "main": "bin/pnpm.mjs",
45
45
  "exports": {
46
46
  ".": "./package.json"
47
47
  },
@@ -50,13 +50,13 @@
50
50
  "bin"
51
51
  ],
52
52
  "bin": {
53
- "pnpm": "bin/pnpm.cjs",
54
- "pnpx": "bin/pnpx.cjs"
53
+ "pnpm": "bin/pnpm.mjs",
54
+ "pnpx": "bin/pnpx.mjs"
55
55
  },
56
56
  "directories": {
57
57
  "test": "test"
58
58
  },
59
- "unpkg": "dist/pnpm.cjs",
59
+ "unpkg": "dist/pnpm.mjs",
60
60
  "__dependencies": {
61
61
  "v8-compile-cache": "2.4.0"
62
62
  },
@@ -84,6 +84,7 @@
84
84
  "@pnpm/exec.build-commands": "workspace:*",
85
85
  "@pnpm/filter-workspace-packages": "workspace:*",
86
86
  "@pnpm/find-workspace-dir": "workspace:*",
87
+ "@pnpm/fs.v8-file": "workspace:*",
87
88
  "@pnpm/lockfile.types": "workspace:*",
88
89
  "@pnpm/logger": "workspace:*",
89
90
  "@pnpm/modules-yaml": "workspace:*",
@@ -127,6 +128,7 @@
127
128
  "@pnpm/workspace.state": "workspace:*",
128
129
  "@pnpm/write-project-manifest": "workspace:*",
129
130
  "@types/cross-spawn": "catalog:",
131
+ "@types/ini": "catalog:",
130
132
  "@types/is-windows": "catalog:",
131
133
  "@types/pnpm__byline": "catalog:",
132
134
  "@types/ramda": "catalog:",
@@ -139,10 +141,11 @@
139
141
  "deep-require-cwd": "catalog:",
140
142
  "delay": "catalog:",
141
143
  "dir-is-case-sensitive": "catalog:",
142
- "get-port": "catalog:",
143
144
  "esbuild": "catalog:",
144
145
  "execa": "catalog:",
145
146
  "exists-link": "catalog:",
147
+ "get-port": "catalog:",
148
+ "ini": "catalog:",
146
149
  "is-windows": "catalog:",
147
150
  "load-json-file": "catalog:",
148
151
  "loud-rejection": "catalog:",
@@ -164,14 +167,18 @@
164
167
  "write-yaml-file": "catalog:"
165
168
  },
166
169
  "engines": {
167
- "node": ">=18.12"
170
+ "runtime": {
171
+ "name": "node",
172
+ "version": "24.11.0",
173
+ "onFail": "download"
174
+ }
168
175
  },
169
176
  "jest": {
170
177
  "preset": "@pnpm/jest-config/with-registry"
171
178
  },
172
179
  "preferGlobal": true,
173
180
  "publishConfig": {
174
- "tag": "next-10",
181
+ "tag": "next-11",
175
182
  "executableFiles": [
176
183
  "./dist/node-gyp-bin/node-gyp",
177
184
  "./dist/node-gyp-bin/node-gyp.cmd",
@@ -179,11 +186,11 @@
179
186
  ]
180
187
  },
181
188
  "scripts": {
182
- "bundle": "ts-node bundle.ts",
189
+ "bundle": "pnpm --config.useNodeVersion=24.6.0 exec ts-node bundle.ts",
183
190
  "start": "tsc --watch",
184
191
  "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
185
192
  "pretest:e2e": "rimraf node_modules/.bin/pnpm",
186
- "_test": "jest",
193
+ "_test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
187
194
  "test": "pnpm run compile && pnpm run _test",
188
195
  "_compile": "tsc --build",
189
196
  "compile": "tsc --build && pnpm run lint --fix && rimraf dist bin/nodes && pnpm run bundle && shx cp -r node-gyp-bin dist/node-gyp-bin && shx cp -r node_modules/@pnpm/tabtab/lib/templates dist/templates && shx cp -r node_modules/ps-list/vendor dist/vendor && shx cp pnpmrc dist/pnpmrc"
@@ -1,31 +0,0 @@
1
- {
2
- "name": "isexe",
3
- "version": "2.0.0",
4
- "description": "Minimal module to check if a file is executable.",
5
- "main": "index.js",
6
- "directories": {
7
- "test": "test"
8
- },
9
- "devDependencies": {
10
- "mkdirp": "^0.5.1",
11
- "rimraf": "^2.5.0",
12
- "tap": "^10.3.0"
13
- },
14
- "scripts": {
15
- "test": "tap test/*.js --100",
16
- "preversion": "npm test",
17
- "postversion": "npm publish",
18
- "postpublish": "git push origin --all; git push origin --tags"
19
- },
20
- "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
21
- "license": "ISC",
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/isaacs/isexe.git"
25
- },
26
- "keywords": [],
27
- "bugs": {
28
- "url": "https://github.com/isaacs/isexe/issues"
29
- },
30
- "homepage": "https://github.com/isaacs/isexe#readme"
31
- }
@@ -1,43 +0,0 @@
1
- {
2
- "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
3
- "name": "which",
4
- "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
5
- "version": "2.0.2",
6
- "repository": {
7
- "type": "git",
8
- "url": "git://github.com/isaacs/node-which.git"
9
- },
10
- "main": "which.js",
11
- "bin": {
12
- "node-which": "./bin/node-which"
13
- },
14
- "license": "ISC",
15
- "dependencies": {
16
- "isexe": "^2.0.0"
17
- },
18
- "devDependencies": {
19
- "mkdirp": "^0.5.0",
20
- "rimraf": "^2.6.2",
21
- "tap": "^14.6.9"
22
- },
23
- "scripts": {
24
- "test": "tap",
25
- "preversion": "npm test",
26
- "postversion": "npm publish",
27
- "prepublish": "npm run changelog",
28
- "prechangelog": "bash gen-changelog.sh",
29
- "changelog": "git add CHANGELOG.md",
30
- "postchangelog": "git commit -m 'update changelog - '${npm_package_version}",
31
- "postpublish": "git push origin --follow-tags"
32
- },
33
- "files": [
34
- "which.js",
35
- "bin/node-which"
36
- ],
37
- "tap": {
38
- "check-coverage": true
39
- },
40
- "engines": {
41
- "node": ">= 8"
42
- }
43
- }