@antelopejs/tooling-configs 0.8.1-next.366.gb48969d → 0.8.1-next.367.gdaef2de

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.
@@ -2,7 +2,7 @@
2
2
  import { t as admits } from "../semver-BDxeEcP_.mjs";
3
3
  import { c as object, d as optTime, f as parseJson, h as time, i as isObject, l as optNum, m as strings, n as children, o as list, p as str, r as flag, s as num, t as child, u as optStr } from "../json-CG2L7YFl.mjs";
4
4
  import { n as runCliAsync } from "../cli-4Tv71vYk.mjs";
5
- import { _ as ciRenovateSyncCallers, c as CI_CONTEXT, d as CI_RENOVATE_SYNC_REF, g as ciNodeCallers, i as GITATTRIBUTES, l as CI_NODE_REF, n as RENOVATE_PRESET, o as LF_ATTRIBUTES, s as enforcesLf, t as RENOVATE_CONFIGS, u as CI_PATH } from "../renovate-D0su_v9p.mjs";
5
+ import { _ as ciRenovateSyncCallers, c as CI_CONTEXT, d as CI_RENOVATE_SYNC_REF, g as ciNodeCallers, i as GITATTRIBUTES, l as CI_NODE_REF, n as RENOVATE_PRESET, o as LF_ATTRIBUTES, s as enforcesLf, t as RENOVATE_CONFIGS, u as CI_PATH } from "../renovate-uWHU7H3H.mjs";
6
6
  import { n as tagVersion, r as tooling, t as TOOLING_PACKAGE } from "../npm-CIIqL5SG.mjs";
7
7
  import { i as ghToken, n as createApi, t as ApiError } from "../api-L60reYrb.mjs";
8
8
  import { parseArgs } from "node:util";
package/dist/bin/sync.mjs CHANGED
@@ -5,7 +5,7 @@ import { i as presetConfig, n as SETUP_SCRIPT, r as lefthook, t as PRESET_CONFIG
5
5
  import { a as VERIFY_KINDS, c as isVerifyKind, d as linkPointsAt, i as SYNCED_SKILL_FILES, l as skillFolder, o as claudeLink, s as claudeLinkTarget, u as planDocsSkills } from "../shared-drrIacDt.mjs";
6
6
  import { t as typescript6_default } from "../typescript6-HdyOMBv3.mjs";
7
7
  import { t as runCli } from "../cli-4Tv71vYk.mjs";
8
- import { _ as ciRenovateSyncCallers, a as GITATTRIBUTES_ARTIFACT, b as sharedWorkflow, c as CI_CONTEXT, f as callerPlan, g as ciNodeCallers, h as MISSING_CHECKS_WORKFLOW, m as ciWorkflow, p as ciProfile, r as renovateArtifacts, u as CI_PATH, v as hasChecksWorkflow, y as sharedRefArtifacts } from "../renovate-D0su_v9p.mjs";
8
+ import { _ as ciRenovateSyncCallers, a as GITATTRIBUTES_ARTIFACT, b as sharedWorkflow, c as CI_CONTEXT, f as callerPlan, g as ciNodeCallers, h as MISSING_CHECKS_WORKFLOW, m as ciWorkflow, p as ciProfile, r as renovateArtifacts, u as CI_PATH, v as hasChecksWorkflow, y as sharedRefArtifacts } from "../renovate-uWHU7H3H.mjs";
9
9
  import { i as gitFiles, s as repositoryRoot } from "../files-C0avD1Eo.mjs";
10
10
  import { n as workspaceDirectories, r as workspacePatterns, t as planDocs } from "../docs-compat-CdgBviGf.mjs";
11
11
  import { n as shimInvocation } from "../run-command-BlFRPORx.mjs";
@@ -321,6 +321,11 @@ const CI_PATH = ".github/workflows/ci.yml";
321
321
  /** The status context GitHub derives from the caller job id and the shared workflow's `checks` job. */
322
322
  const CI_CONTEXT = `ci / checks`;
323
323
  const RENOVATE_SYNC_JOB_ID = "renovate-sync";
324
+ const RENOVATE_SYNC_GRANTS = {
325
+ contents: "write",
326
+ actions: "write",
327
+ statuses: "write"
328
+ };
324
329
  const CI_NODE_REF = sharedWorkflow("ci-node.yml");
325
330
  const CI_RENOVATE_SYNC_REF = sharedWorkflow("ci-renovate-sync.yml");
326
331
  const DEFAULT_PROFILE = {
@@ -377,6 +382,7 @@ jobs:
377
382
  permissions:
378
383
  contents: write
379
384
  actions: write
385
+ statuses: write
380
386
  uses: ${CI_RENOVATE_SYNC_REF}
381
387
  `;
382
388
  const PRINT_WIDTH = 80;
@@ -579,10 +585,7 @@ function ensureSyncJob(document, jobs, syncCallers) {
579
585
  let changed = false;
580
586
  for (const { id } of syncCallers) {
581
587
  const job = jobs.get(id, true);
582
- if (isMap(job)) changed = grant(document, job, {
583
- contents: "write",
584
- actions: "write"
585
- }) || changed;
588
+ if (isMap(job)) changed = grant(document, job, RENOVATE_SYNC_GRANTS) || changed;
586
589
  }
587
590
  return changed;
588
591
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/tooling-configs",
3
- "version": "0.8.1-next.366.gb48969d",
3
+ "version": "0.8.1-next.367.gdaef2de",
4
4
  "description": "Shared tooling presets for AntelopeJS repositories: oxlint (with the vendored anti-slop rules), oxfmt, ESLint for Nuxt layers, Knip, and a dependency range check",
5
5
  "keywords": [
6
6
  "antelopejs",
@@ -152,7 +152,7 @@
152
152
  "engines": {
153
153
  "node": ">=22.18.0"
154
154
  },
155
- "gitHead": "b48969dc2f85a4bbf4b95ea823949b92d6198879",
155
+ "gitHead": "daef2de383a83a9422f3bf44f349b72ac7ba2c3c",
156
156
  "scripts": {
157
157
  "build": "tsdown",
158
158
  "lint": "oxlint",