@xylabs/ts-scripts-yarn3 7.0.2 → 7.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.
@@ -2334,15 +2334,20 @@ var customPubLint = /* @__PURE__ */ __name((pkg) => {
2334
2334
  let errorCount = 0;
2335
2335
  let warningCount = 0;
2336
2336
  if (pkg.files === void 0) {
2337
- console.error(chalk32.yellow('Publint [custom]: "files" field is missing'));
2337
+ console.warn(chalk32.yellow('Publint [custom]: "files" field is missing'));
2338
2338
  warningCount++;
2339
2339
  }
2340
2340
  if (pkg.main !== void 0) {
2341
- console.error(chalk32.yellow('Publint [custom]: "main" field is deprecated, use "exports" instead'));
2341
+ console.warn(chalk32.yellow('Publint [custom]: "main" field is deprecated, use "exports" instead'));
2342
2342
  warningCount++;
2343
2343
  }
2344
2344
  if (pkg.sideEffects !== false) {
2345
- console.error(chalk32.yellow('Publint [custom]: "sideEffects" field should be set to false'));
2345
+ console.warn(chalk32.yellow('Publint [custom]: "sideEffects" field should be set to false'));
2346
+ warningCount++;
2347
+ }
2348
+ if (pkg.resolutions !== void 0) {
2349
+ console.warn(chalk32.yellow('Publint [custom]: "resolutions" in use'));
2350
+ console.warn(chalk32.gray(JSON.stringify(pkg.resolutions, null, 2)));
2346
2351
  warningCount++;
2347
2352
  }
2348
2353
  return [