@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.
- package/dist/actions/index.mjs +8 -3
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/index.mjs +8 -3
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/publint.mjs +8 -3
- package/dist/actions/package/publint.mjs.map +1 -1
- package/dist/bin/package/publint.mjs +8 -3
- package/dist/bin/package/publint.mjs.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/actions/index.mjs
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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 [
|