@pnpm/workspace.projects-reader 1101.0.6 → 1101.0.8

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/lib/index.js +4 -1
  2. package/package.json +9 -9
package/lib/index.js CHANGED
@@ -43,8 +43,11 @@ function checkNonRootProjectManifest({ manifest, rootDir }) {
43
43
  }
44
44
  }
45
45
  function printNonRootFieldWarning(prefix, propertyPath) {
46
+ const message = propertyPath === 'resolutions'
47
+ ? `The field "${propertyPath}" was found in ${prefix}/package.json. This will not take effect. Configure dependency overrides in pnpm-workspace.yaml using the "overrides" field instead.`
48
+ : `The field "${propertyPath}" was found in ${prefix}/package.json. This will not take effect. You should configure "${propertyPath}" at the root of the workspace instead.`;
46
49
  logger.warn({
47
- message: `The field "${propertyPath}" was found in ${prefix}/package.json. This will not take effect. You should configure "${propertyPath}" at the root of the workspace instead.`,
50
+ message,
48
51
  prefix,
49
52
  });
50
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/workspace.projects-reader",
3
- "version": "1101.0.6",
3
+ "version": "1101.0.8",
4
4
  "description": "Finds packages inside a workspace",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -26,20 +26,20 @@
26
26
  "dependencies": {
27
27
  "@pnpm/util.lex-comparator": "^3.0.2",
28
28
  "p-filter": "^4.1.0",
29
- "tinyglobby": "^0.2.14",
29
+ "tinyglobby": "^0.2.16",
30
30
  "@pnpm/constants": "1100.0.0",
31
- "@pnpm/types": "1101.1.1",
32
- "@pnpm/cli.utils": "1101.0.6",
33
- "@pnpm/workspace.project-manifest-reader": "1100.0.7"
31
+ "@pnpm/cli.utils": "1101.0.8",
32
+ "@pnpm/types": "1101.2.0",
33
+ "@pnpm/workspace.project-manifest-reader": "1100.0.9"
34
34
  },
35
35
  "peerDependencies": {
36
- "@pnpm/logger": ">=1001.0.0 <1002.0.0"
36
+ "@pnpm/logger": "^1001.0.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@jest/globals": "30.3.0",
40
- "@pnpm/workspace.projects-reader": "1101.0.6",
41
- "@pnpm/workspace.workspace-manifest-reader": "1100.0.4",
42
- "@pnpm/logger": "1100.0.0"
40
+ "@pnpm/logger": "1100.0.0",
41
+ "@pnpm/workspace.projects-reader": "1101.0.8",
42
+ "@pnpm/workspace.workspace-manifest-reader": "1100.0.5"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=22.13"