@r_masseater/msch 0.120.8 → 0.120.9

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/cli.mjs CHANGED
@@ -47,7 +47,7 @@ import { Buffer } from "node:buffer";
47
47
  import { createZstdDecompress } from "node:zlib";
48
48
  // package.json
49
49
  var name = "@r_masseater/msch";
50
- var version = "0.120.8";
50
+ var version = "0.120.9";
51
51
  var homepage = "https://github.com/masseater/ecosystems/tree/main/libs/msch#readme";
52
52
  var repository = {
53
53
  "type": "git",
@@ -18224,7 +18224,7 @@ const checkOwnerNames = Effect.fn("checkOwnerNames")(function* checkOwnerNames(r
18224
18224
  });
18225
18225
  // src/features/check-owner-principles/model/owner-principles.ts
18226
18226
  const RULE$20 = "owner-principle-changed";
18227
- const PRINCIPLE_FILE = /(?:^|\/)(?:skills\/principle-[^/]+\/|plugins\/[^/]+-principles\/|PRINCIPLE\.md$)/u;
18227
+ const PRINCIPLE_FILE = /(?:^|\/)(?:skills\/principle-[^/]+\/|PRINCIPLE\.md$)/u;
18228
18228
  const TRAILER = /^Owner-Said:[ \t]*\S/mu;
18229
18229
  const MESSAGE$3 = "changes a principle. Only the owner changes a principle: change it in a session the owner opened with /do-principle, and add the trailer \"Owner-Said: <the owner's words>\" to a commit of the branch. When you only found a fact at odds with the principle, record it as a lesson instead.";
18230
18230
  /** @internal */
@@ -22537,8 +22537,10 @@ const writePlan = Effect.fn("publish.writePlan")(function* writePlan(plan) {
22537
22537
  const Directories = Schema.String.pipe(Schema.Array, Schema.fromJsonString);
22538
22538
  /** @internal */
22539
22539
  const isChecked = Effect.fn("compat.isChecked")(function* isChecked(directory) {
22540
+ const plain = yield* readPackageJson(directory);
22541
+ if (!goesToNpm(plain)) return false;
22540
22542
  const manifest = yield* readVersionedPackageJson(directory);
22541
- return goesToNpm(manifest) && !Array$1.isReadonlyArrayEmpty(compatCasesOf(manifest));
22543
+ return !Array$1.isReadonlyArrayEmpty(compatCasesOf(manifest));
22542
22544
  });
22543
22545
  /** @internal */
22544
22546
  const writeCompatPlan = Effect.fn("publish.compatPlan")(function* writeCompatPlan() {