@delorenj/pjangler 1.5.51 → 1.5.53

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/index.js CHANGED
@@ -11361,6 +11361,15 @@ function lstatIfPresent(path) {
11361
11361
  throw error;
11362
11362
  }
11363
11363
  }
11364
+ var MOBILE_DEPLOY_HUB_CONTRACT = join12("tools", "ci", "mobile-deploy.json");
11365
+ function mobileDeployHubContract(repoRoot) {
11366
+ const path = join12(repoRoot, MOBILE_DEPLOY_HUB_CONTRACT);
11367
+ if (!existsSync8(path)) return void 0;
11368
+ const schema = record2(tryParseJson(safeReadText2(path))).schema;
11369
+ return {
11370
+ summary: `mobile-deploy-hub app (${MOBILE_DEPLOY_HUB_CONTRACT}${typeof schema === "number" ? `, schema ${schema}` : ""}): the hub is the version authority, so pjangler authors no version tasks, versioning script or version-files manifest here`
11371
+ };
11372
+ }
11364
11373
  function templateVersionFilesConf(ctx, repoRoot) {
11365
11374
  if (isObsidianPluginRepo(ctx, repoRoot)) return OBSIDIAN_VERSION_FILES_CONF;
11366
11375
  const packageJson = join12(repoRoot, "package.json");
@@ -13087,6 +13096,8 @@ function createMiseChecks() {
13087
13096
  id: "mise.versioning",
13088
13097
  title: "managed mise versioning block",
13089
13098
  audit: (ctx) => {
13099
+ const hub = mobileDeployHubContract(ctx.repoRoot);
13100
+ if (hub) return { id: "mise.versioning", title: "managed mise versioning block", status: "skip", summary: hub.summary, details: [], fixable: false };
13090
13101
  const details = [];
13091
13102
  const misePath = join12(ctx.repoRoot, "mise.toml");
13092
13103
  const versioningPath = join12(ctx.repoRoot, ".mise", "scripts", "versioning.sh");
@@ -13114,6 +13125,8 @@ function createMiseChecks() {
13114
13125
  };
13115
13126
  },
13116
13127
  migrate: (ctx, finding2) => {
13128
+ const hub = mobileDeployHubContract(ctx.repoRoot);
13129
+ if (hub) return { id: finding2.id, title: finding2.title, status: "skipped", summary: hub.summary, changedFiles: [], details: [] };
13117
13130
  const changedFiles = [];
13118
13131
  const details = [];
13119
13132
  const misePath = join12(ctx.repoRoot, "mise.toml");
@@ -14139,6 +14152,22 @@ function createBmadChecks() {
14139
14152
  };
14140
14153
  }
14141
14154
  const behindStable = !pinned && stable ? compareBmadVersions(installed, stable) < 0 : false;
14155
+ if (behindStable && compareBmadVersions(installed, BMAD_INSTALLER_VERSION) === 0) {
14156
+ return {
14157
+ id: "bmad.version",
14158
+ title: "BMAD version currency",
14159
+ status: "pass",
14160
+ summary: `BMAD ${installed} matches the verified installer pin; stable ${stable} is newer (advisory)${staleNote}`,
14161
+ details: [
14162
+ `installed: ${installed}`,
14163
+ `verified installer pin: ${BMAD_INSTALLER_VERSION}`,
14164
+ `stable latest: ${stable}`,
14165
+ "pjangler advances its pin only through the verified-installer path (`mise run bmad:verify-surface <version>`)",
14166
+ "run `pj migrate bmad.version` to take the newer release anyway"
14167
+ ],
14168
+ fixable: false
14169
+ };
14170
+ }
14142
14171
  if (!pinned && !behindStable) {
14143
14172
  return {
14144
14173
  id: "bmad.version",
@@ -10524,6 +10524,15 @@ function lstatIfPresent(path) {
10524
10524
  throw error;
10525
10525
  }
10526
10526
  }
10527
+ var MOBILE_DEPLOY_HUB_CONTRACT = join12("tools", "ci", "mobile-deploy.json");
10528
+ function mobileDeployHubContract(repoRoot) {
10529
+ const path = join12(repoRoot, MOBILE_DEPLOY_HUB_CONTRACT);
10530
+ if (!existsSync8(path)) return void 0;
10531
+ const schema = record2(tryParseJson(safeReadText2(path))).schema;
10532
+ return {
10533
+ summary: `mobile-deploy-hub app (${MOBILE_DEPLOY_HUB_CONTRACT}${typeof schema === "number" ? `, schema ${schema}` : ""}): the hub is the version authority, so pjangler authors no version tasks, versioning script or version-files manifest here`
10534
+ };
10535
+ }
10527
10536
  function templateVersionFilesConf(ctx, repoRoot) {
10528
10537
  if (isObsidianPluginRepo(ctx, repoRoot)) return OBSIDIAN_VERSION_FILES_CONF;
10529
10538
  const packageJson = join12(repoRoot, "package.json");
@@ -11898,6 +11907,8 @@ function createMiseChecks() {
11898
11907
  id: "mise.versioning",
11899
11908
  title: "managed mise versioning block",
11900
11909
  audit: (ctx) => {
11910
+ const hub = mobileDeployHubContract(ctx.repoRoot);
11911
+ if (hub) return { id: "mise.versioning", title: "managed mise versioning block", status: "skip", summary: hub.summary, details: [], fixable: false };
11901
11912
  const details = [];
11902
11913
  const misePath = join12(ctx.repoRoot, "mise.toml");
11903
11914
  const versioningPath = join12(ctx.repoRoot, ".mise", "scripts", "versioning.sh");
@@ -11925,6 +11936,8 @@ function createMiseChecks() {
11925
11936
  };
11926
11937
  },
11927
11938
  migrate: (ctx, finding2) => {
11939
+ const hub = mobileDeployHubContract(ctx.repoRoot);
11940
+ if (hub) return { id: finding2.id, title: finding2.title, status: "skipped", summary: hub.summary, changedFiles: [], details: [] };
11928
11941
  const changedFiles = [];
11929
11942
  const details = [];
11930
11943
  const misePath = join12(ctx.repoRoot, "mise.toml");
@@ -12950,6 +12963,22 @@ function createBmadChecks() {
12950
12963
  };
12951
12964
  }
12952
12965
  const behindStable = !pinned && stable ? compareBmadVersions(installed, stable) < 0 : false;
12966
+ if (behindStable && compareBmadVersions(installed, BMAD_INSTALLER_VERSION) === 0) {
12967
+ return {
12968
+ id: "bmad.version",
12969
+ title: "BMAD version currency",
12970
+ status: "pass",
12971
+ summary: `BMAD ${installed} matches the verified installer pin; stable ${stable} is newer (advisory)${staleNote}`,
12972
+ details: [
12973
+ `installed: ${installed}`,
12974
+ `verified installer pin: ${BMAD_INSTALLER_VERSION}`,
12975
+ `stable latest: ${stable}`,
12976
+ "pjangler advances its pin only through the verified-installer path (`mise run bmad:verify-surface <version>`)",
12977
+ "run `pj migrate bmad.version` to take the newer release anyway"
12978
+ ],
12979
+ fixable: false
12980
+ };
12981
+ }
12953
12982
  if (!pinned && !behindStable) {
12954
12983
  return {
12955
12984
  id: "bmad.version",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delorenj/pjangler",
3
- "version": "1.5.51",
3
+ "version": "1.5.53",
4
4
  "description": "Project subsystem bootstrapper CLI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",