@delorenj/pjangler 1.5.51 → 1.5.52

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");
@@ -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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delorenj/pjangler",
3
- "version": "1.5.51",
3
+ "version": "1.5.52",
4
4
  "description": "Project subsystem bootstrapper CLI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",