@pnpm/cli.commands 1100.0.36 → 1100.0.38
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.
- package/CHANGELOG.md +16 -0
- package/lib/completion/complete.js +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @pnpm/cli.commands
|
|
2
2
|
|
|
3
|
+
## 1100.0.38
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed workspace discovery for `pnpm-workspace.yaml` files without a `packages` field so commands only consider the workspace root instead of recursively scanning nested projects [#14047](https://github.com/pnpm/pnpm/issues/14047).
|
|
8
|
+
|
|
9
|
+
- Updated dependencies:
|
|
10
|
+
- @pnpm/config.reader@1102.0.0
|
|
11
|
+
|
|
12
|
+
## 1100.0.37
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies:
|
|
17
|
+
- @pnpm/config.reader@1101.17.0
|
|
18
|
+
|
|
3
19
|
## 1100.0.36
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ export async function complete(ctx, input) {
|
|
|
16
16
|
const workspaceDir = await findWorkspaceDir(process.cwd()) ?? process.cwd();
|
|
17
17
|
const workspaceManifest = await readWorkspaceManifest(workspaceDir);
|
|
18
18
|
const allProjects = await findWorkspaceProjects(workspaceDir, {
|
|
19
|
-
patterns: workspaceManifest
|
|
19
|
+
patterns: workspaceManifest == null ? undefined : workspaceManifest.packages ?? ['.'],
|
|
20
20
|
supportedArchitectures: {
|
|
21
21
|
os: ['current'],
|
|
22
22
|
cpu: ['current'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/cli.commands",
|
|
3
|
-
"version": "1100.0.
|
|
3
|
+
"version": "1100.0.38",
|
|
4
4
|
"description": "Commands for pnpm CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@pnpm/cli.command": "^1100.0.2",
|
|
31
|
-
"@pnpm/cli.parse-cli-args": "^1100.1.
|
|
32
|
-
"@pnpm/cli.utils": "^1101.0.
|
|
33
|
-
"@pnpm/config.reader": "
|
|
34
|
-
"@pnpm/error": "^1100.1.
|
|
31
|
+
"@pnpm/cli.parse-cli-args": "^1100.1.10",
|
|
32
|
+
"@pnpm/cli.utils": "^1101.0.24",
|
|
33
|
+
"@pnpm/config.reader": "1102.0.0",
|
|
34
|
+
"@pnpm/error": "^1100.1.3",
|
|
35
35
|
"@pnpm/nopt": "^0.3.1",
|
|
36
36
|
"@pnpm/tabtab": "^0.5.4",
|
|
37
|
-
"@pnpm/workspace.projects-reader": "^1101.0.
|
|
38
|
-
"@pnpm/workspace.root-finder": "^1100.0.
|
|
39
|
-
"@pnpm/workspace.workspace-manifest-reader": "^1100.1.
|
|
37
|
+
"@pnpm/workspace.projects-reader": "^1101.0.24",
|
|
38
|
+
"@pnpm/workspace.root-finder": "^1100.0.7",
|
|
39
|
+
"@pnpm/workspace.workspace-manifest-reader": "^1100.1.7",
|
|
40
40
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
41
41
|
"render-help": "^2.0.0",
|
|
42
42
|
"split-cmd": "^1.1.0"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@jest/globals": "30.4.1",
|
|
49
|
-
"@pnpm/cli.commands": "1100.0.
|
|
49
|
+
"@pnpm/cli.commands": "1100.0.38",
|
|
50
50
|
"@pnpm/logger": "1100.0.0",
|
|
51
51
|
"@types/ramda": "0.32.0"
|
|
52
52
|
},
|