|
99 | 99 | */ |
100 | 100 | // "minimumReleaseAgeExclude": ["@myorg/*"], |
101 | 101 |
|
| 102 | + /** |
| 103 | + * The trust policy controls whether pnpm should block installation of package versions where |
| 104 | + * the trust level has decreased (e.g., a package previously published with provenance is now |
| 105 | + * published without it). Setting this to `"no-downgrade"` enables the protection. |
| 106 | + * |
| 107 | + * (SUPPORTED ONLY IN PNPM 10.21.0 AND NEWER) |
| 108 | + * |
| 109 | + * PNPM documentation: https://pnpm.io/settings#trustpolicy |
| 110 | + * |
| 111 | + * Possible values are: `off` and `no-downgrade`. |
| 112 | + * The default is `off`. |
| 113 | + */ |
| 114 | + // "trustPolicy": "no-downgrade", |
| 115 | + |
| 116 | + /** |
| 117 | + * An array of package names or patterns to exclude from the trust policy check. |
| 118 | + * These packages will be allowed to install even if their trust level has decreased. |
| 119 | + * Patterns are supported using glob syntax (e.g., "@myorg/*" to exclude all packages |
| 120 | + * from an organization). |
| 121 | + * |
| 122 | + * For example: |
| 123 | + * |
| 124 | + * "trustPolicyExclude": ["@babel/core@7.28.5", "chokidar@4.0.3", "@myorg/*"] |
| 125 | + * |
| 126 | + * (SUPPORTED ONLY IN PNPM 10.22.0 AND NEWER) |
| 127 | + * |
| 128 | + * PNPM documentation: https://pnpm.io/settings#trustpolicyexclude |
| 129 | + * |
| 130 | + * The default value is []. |
| 131 | + */ |
| 132 | + // "trustPolicyExclude": ["@myorg/*"], |
| 133 | + |
| 134 | + /** |
| 135 | + * The number of minutes after which pnpm will ignore trust level downgrades. Packages |
| 136 | + * published longer ago than this threshold will not be blocked even if their trust level |
| 137 | + * has decreased. This is useful when enabling strict trust policies, as it allows older versions |
| 138 | + * of packages (which may lack a process for publishing with signatures or provenance) to be |
| 139 | + * installed without manual exclusion, assuming they are safe due to their age. |
| 140 | + * |
| 141 | + * For example, the following setting ignores trust level changes for packages published |
| 142 | + * more than 14 days ago: |
| 143 | + * |
| 144 | + * "trustPolicyIgnoreAfterMinutes": 20160 |
| 145 | + * |
| 146 | + * (SUPPORTED ONLY IN PNPM 10.27.0 AND NEWER) |
| 147 | + * |
| 148 | + * PNPM documentation: https://pnpm.io/settings#trustpolicyignoreafter |
| 149 | + * |
| 150 | + * The default value is undefined (no exclusion). |
| 151 | + */ |
| 152 | + // "trustPolicyIgnoreAfterMinutes": 20160, |
| 153 | + |
102 | 154 | /** |
103 | 155 | * If true, then Rush will add the `--strict-peer-dependencies` command-line parameter when |
104 | 156 | * invoking PNPM. This causes `rush update` to fail if there are unsatisfied peer dependencies, |
|
292 | 344 | * PNPM documentation: https://pnpm.io/package_json#pnpmpackageextensions |
293 | 345 | */ |
294 | 346 | "globalPackageExtensions": { |
| 347 | + // "fork-ts-checker-webpack-plugin": { |
| 348 | + // "dependencies": { |
| 349 | + // "@babel/core": "1" |
| 350 | + // }, |
| 351 | + // "peerDependencies": { |
| 352 | + // "eslint": ">= 6" |
| 353 | + // }, |
| 354 | + // "peerDependenciesMeta": { |
| 355 | + // "eslint": { |
| 356 | + // "optional": true |
| 357 | + // } |
| 358 | + // } |
| 359 | + // } |
295 | 360 | "@emotion/core": { |
296 | 361 | "peerDependencies": { |
297 | 362 | "@types/react": ">=16" |
|
0 commit comments