@theholocron/astromech 5.0.0-alpha.412 → 5.0.0-alpha.413

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +6 -6
package/dist/index.mjs CHANGED
@@ -85,7 +85,7 @@ var visual_default$1 = "name: Visual Regression\n\non: # yamllint disable-line r
85
85
  var typecheck_default$1 = "name: Typecheck\n\non: # yamllint disable-line rule:truthy\n workflow_call:\n inputs:\n affected:\n description: Run only the packages changed since the PR base, plus their dependents (turbo --affected). Needs a turbo.json; checks out full history. Other repos keep today's behaviour while this is false.\n type: boolean\n required: false\n default: false\n secrets:\n HOLOCRON_TURBO_TOKEN:\n description: The Turbo remote cache token. Read first; the TURBO_TOKEN secret is the fallback.\n required: false\n TURBO_TOKEN:\n required: false\n\njobs:\n typecheck:\n name: Run tsc --noEmit\n permissions:\n contents: read\n runs-on: ubuntu-latest\n timeout-minutes: 10\n env:\n TURBO_TOKEN: ${{ secrets.HOLOCRON_TURBO_TOKEN || secrets.TURBO_TOKEN }}\n TURBO_TEAM: ${{ vars.HOLOCRON_TURBO_TEAM || vars.TURBO_TEAM }}\n steps:\n - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1\n name: Checkout repository\n with:\n # --affected needs the base commit, which a depth-1 checkout does not have.\n fetch-depth: ${{ inputs.affected && '0' || '1' }}\n\n - uses: theholocron/.github/.github/actions/setup@main\n name: Setup\n\n - uses: theholocron/.github/.github/actions/holocron@main\n name: Type check\n with:\n task: typecheck\n affected: ${{ inputs.affected }}\n";
86
86
  var update_deps_default$1 = "name: Dependencies\n\non: # yamllint disable-line rule:truthy\n workflow_call:\n secrets:\n merge-token:\n description: >\n Optional privileged token for auto-merge. Falls back to GITHUB_TOKEN.\n Required when branch protection enforces required reviews — GITHUB_TOKEN\n cannot approve its own PRs.\n required: false\n\njobs:\n dependabot:\n name: Update the dependencies\n permissions:\n contents: write\n pull-requests: write\n runs-on: ubuntu-latest\n timeout-minutes: 5\n if: github.event.pull_request.user.login == 'dependabot[bot]'\n steps:\n - uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0\n name: Fetch Dependabot metadata\n id: metadata\n\n - run: gh pr merge --auto --squash \"$PR_URL\"\n # --squash is intentional: repo protection sets allow_merge_commit: false,\n # so --merge would fail on any repo using the standard preset.\n name: Enable auto-merge for Dependabot PRs\n if: steps.metadata.outputs.update-type == 'version-update:semver-patch'\n env:\n PR_URL: ${{ github.event.pull_request.html_url }}\n GH_TOKEN: ${{ secrets.merge-token || github.token }}\n";
87
87
  var deps_default$1 = "name: Validate Dependency Catalogs\n\n# Dependency catalogs (#1380): fails when a workspace package.json breaks the catalog rule written at the top of\n# pnpm-workspace.yaml (a hard-coded version, a workspace package pinned to a version, a dependency in the wrong\n# catalog or an unused catalog entry). Checked by `holocron probe deps check`, which reads the manifests live.\n#\n# There is deliberately no `paths:` filter in a caller: a required check that is skipped blocks the merge.\n\non: # yamllint disable-line rule:truthy\n workflow_call:\n secrets:\n HOLOCRON_TURBO_TOKEN:\n description: The Turbo remote cache token. Read first; the TURBO_TOKEN secret is the fallback.\n required: false\n TURBO_TOKEN:\n required: false\n\njobs:\n validate-deps:\n name: Check dependency catalogs\n permissions:\n contents: read\n runs-on: ubuntu-latest\n timeout-minutes: 15\n steps:\n - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1\n name: Checkout repository\n with:\n fetch-depth: 0\n\n - uses: theholocron/.github/.github/actions/setup@main\n name: Setup\n\n - uses: theholocron/.github/.github/actions/holocron@main\n name: Check the dependency catalogs\n with:\n task: validate:deps\n";
88
- var docs_default$1 = "name: Validate Docs\n\non: # yamllint disable-line rule:truthy\n workflow_call:\n secrets:\n HOLOCRON_TURBO_TOKEN:\n description: The Turbo remote cache token. Read first; the TURBO_TOKEN secret is the fallback.\n required: false\n TURBO_TOKEN:\n required: false\n\njobs:\n validate-docs:\n name: Validate docs presence\n permissions:\n contents: read\n runs-on: ubuntu-latest\n timeout-minutes: 10\n steps:\n - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1\n name: Checkout repository\n with:\n fetch-depth: 0\n\n - uses: theholocron/.github/.github/actions/setup@main\n name: Setup\n\n - uses: theholocron/.github/.github/actions/holocron@main\n name: Validate docs presence for new packages\n with:\n task: validate:docs\n env:\n HOLOCRON_BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }}\n # The PR title and description, read by the script for a `feat` and a `[skip docs] <reason>` marker. They\n # reach the script through the environment, never inline in a command.\n HOLOCRON_PR_TITLE: ${{ github.event.pull_request.title }}\n HOLOCRON_PR_BODY: ${{ github.event.pull_request.body }}\n # The bare names stay until every caller's CLI reads the prefixed ones (#1864); a CLI that predates them\n # reads only these.\n BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }}\n PR_TITLE: ${{ github.event.pull_request.title }}\n PR_BODY: ${{ github.event.pull_request.body }}\n";
88
+ var docs_default$1 = "name: Validate Docs\n\non: # yamllint disable-line rule:truthy\n workflow_call:\n secrets:\n HOLOCRON_TURBO_TOKEN:\n description: The Turbo remote cache token. Read first; the TURBO_TOKEN secret is the fallback.\n required: false\n TURBO_TOKEN:\n required: false\n\njobs:\n validate-docs:\n name: Validate docs\n permissions:\n contents: read\n runs-on: ubuntu-latest\n timeout-minutes: 10\n steps:\n - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1\n name: Checkout repository\n with:\n fetch-depth: 0\n\n - uses: theholocron/.github/.github/actions/setup@main\n name: Setup\n\n - uses: theholocron/.github/.github/actions/holocron@main\n name: Validate docs\n with:\n task: validate:docs\n env:\n HOLOCRON_BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }}\n # The PR title and description, read by the script for a `feat` and a `[skip docs] <reason>` marker. They\n # reach the script through the environment, never inline in a command.\n HOLOCRON_PR_TITLE: ${{ github.event.pull_request.title }}\n HOLOCRON_PR_BODY: ${{ github.event.pull_request.body }}\n # The bare names stay until every caller's CLI reads the prefixed ones (#1864); a CLI that predates them\n # reads only these.\n BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }}\n PR_TITLE: ${{ github.event.pull_request.title }}\n PR_BODY: ${{ github.event.pull_request.body }}\n";
89
89
  var generated_default$1 = "name: Validate Generated Files\n\n# Generated files (#1405): fails when a file `holocron repo setup` / `holocron repo sync` writes from the config\n# differs from the committed copy, differs the second time it is generated, or when a workflow in .github/workflows is\n# neither generated nor marked \"# HAND-MAINTAINED\". Checked by `holocron probe generated check`, which needs no token.\n#\n# There is deliberately no `paths:` filter in a caller: a required check that is skipped blocks the merge.\n\non: # yamllint disable-line rule:truthy\n workflow_call:\n secrets:\n HOLOCRON_TURBO_TOKEN:\n description: The Turbo remote cache token. Read first; the TURBO_TOKEN secret is the fallback.\n required: false\n TURBO_TOKEN:\n required: false\n\njobs:\n validate-generated:\n name: Check generated files\n permissions:\n contents: read\n runs-on: ubuntu-latest\n timeout-minutes: 15\n steps:\n - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1\n name: Checkout repository\n with:\n fetch-depth: 0\n\n - uses: theholocron/.github/.github/actions/setup@main\n name: Setup\n\n - uses: theholocron/.github/.github/actions/holocron@main\n name: Check the generated files\n with:\n task: validate:generated\n";
90
90
  var specs_default$1 = "name: Validate Specs\n\non: # yamllint disable-line rule:truthy\n workflow_call:\n secrets:\n HOLOCRON_TURBO_TOKEN:\n description: The Turbo remote cache token. Read first; the TURBO_TOKEN secret is the fallback.\n required: false\n TURBO_TOKEN:\n required: false\n\njobs:\n validate-specs:\n name: Validate ADRs and specs\n permissions:\n contents: read\n runs-on: ubuntu-latest\n timeout-minutes: 10\n steps:\n - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1\n name: Checkout repository\n with:\n fetch-depth: 0\n\n - uses: theholocron/.github/.github/actions/setup@main\n name: Setup\n\n - uses: theholocron/.github/.github/actions/holocron@main\n name: Validate ADR and spec frontmatter\n with:\n task: validate:specs\n";
91
91
  var action_default$8 = "name: Auto Commit\ndescription: >\n Commit and push any file changes using stefanzweifel/git-auto-commit-action.\n If a branch name is provided and differs from the current branch, a new branch\n is created automatically.\n\ninputs:\n token:\n description: >\n GitHub token with push access to the target branch. Used to authenticate\n the git remote so the commit can be pushed.\n required: true\n branch:\n description: >\n Branch to commit to. Leave empty to commit to the current branch (useful\n in PR contexts). Provide an explicit name (e.g. chore/auto-sync-<sha>) to push\n to a separate branch.\n required: false\n default: \"\"\n commit-message:\n description: Commit message.\n required: true\n commit-options:\n description: >\n Additional options passed to git commit (e.g. --no-verify).\n required: false\n default: \"\"\n commit-user-name:\n description: Git user.name for the commit.\n required: false\n default: \"github-actions[bot]\"\n commit-user-email:\n description: Git user.email for the commit.\n required: false\n default: \"41898282+github-actions[bot]@users.noreply.github.com\"\n commit-author:\n description: >\n Git author string in \"Name <email>\" format.\n required: false\n default: \"github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\"\n\noutputs:\n changes-detected:\n description: \"'true' if any files were committed, 'false' otherwise.\"\n value: ${{ steps.commit.outputs.changes_detected }}\n\nruns:\n using: composite\n steps:\n - name: Configure git remote with token\n shell: bash\n run: |\n REMOTE_URL=$(git remote get-url origin)\n AUTHED_URL=$(echo \"$REMOTE_URL\" | sed \"s|https://|https://x-access-token:${TOKEN}@|\")\n git remote set-url origin \"$AUTHED_URL\"\n env:\n TOKEN: ${{ inputs.token }}\n\n - name: Reset branch to current HEAD\n if: ${{ inputs.branch != '' }}\n shell: bash\n run: git checkout -B \"$BRANCH\"\n env:\n BRANCH: ${{ inputs.branch }}\n\n - name: Build signed commit message\n id: msg\n shell: bash\n run: |\n TRAILER=\"Signed-off-by: ${COMMIT_USER_NAME} <${COMMIT_USER_EMAIL}>\"\n if echo \"$COMMIT_MESSAGE\" | grep -qF \"$TRAILER\"; then\n FINAL=\"$COMMIT_MESSAGE\"\n else\n FINAL=\"${COMMIT_MESSAGE}\"$'\\n\\n'\"${TRAILER}\"\n fi\n {\n echo \"value<<EOF_TRAILER\"\n printf '%s' \"$FINAL\"\n echo \"\"\n echo \"EOF_TRAILER\"\n } >> \"$GITHUB_OUTPUT\"\n env:\n COMMIT_MESSAGE: ${{ inputs.commit-message }}\n COMMIT_USER_NAME: ${{ inputs.commit-user-name }}\n COMMIT_USER_EMAIL: ${{ inputs.commit-user-email }}\n\n - uses: stefanzweifel/git-auto-commit-action@4a55954c782fc1ea30b9056cd3e7a2b40ca8887d # v7.2.0\n id: commit\n with:\n branch: ${{ inputs.branch }}\n commit_message: ${{ steps.msg.outputs.value }}\n commit_options: ${{ inputs.commit-options }}\n commit_user_name: ${{ inputs.commit-user-name }}\n commit_user_email: ${{ inputs.commit-user-email }}\n commit_author: ${{ inputs.commit-author }}\n";
@@ -1151,7 +1151,7 @@ const WORKFLOW_CHECK_CONTEXTS = {
1151
1151
  "scan:secrets": "scan:secrets / Run gitleaks",
1152
1152
  "lint:commits": "lint:commits / Run commitlint",
1153
1153
  "validate:specs": "validate:specs / Validate ADRs and specs",
1154
- "validate:docs": "validate:docs / Validate docs presence",
1154
+ "validate:docs": "validate:docs / Validate docs",
1155
1155
  "validate:deps": "validate:deps / Check dependency catalogs",
1156
1156
  "validate:generated": "validate:generated / Check generated files",
1157
1157
  "measure-bundle": "measure-bundle / Upload bundle stats to Codecov"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/astromech",
3
- "version": "5.0.0-alpha.412",
3
+ "version": "5.0.0-alpha.413",
4
4
  "description": "The Holocron task runner — one task manifest drives `holocron run`, `holocron run ci`, the CI workflows, package.json scripts, linters, and required checks.",
5
5
  "keywords": [
6
6
  "ci",
@@ -55,9 +55,9 @@
55
55
  "@commitlint/lint": "^21.2.3",
56
56
  "@commitlint/load": "^21.2.3",
57
57
  "@commitlint/types": "^21.2.3",
58
- "@theholocron/datapad": "5.0.0-alpha.412",
59
58
  "@theholocron/fs-utils": "^1.17.0-alpha.4",
60
59
  "@theholocron/json-utils": "^1.17.0-alpha.4",
60
+ "@theholocron/datapad": "5.0.0-alpha.413",
61
61
  "@theholocron/misc-utils": "^1.17.0-alpha.4",
62
62
  "@theholocron/pkg-utils": "^1.17.0-alpha.4"
63
63
  },
@@ -74,12 +74,12 @@
74
74
  "typescript": "^5.9.3",
75
75
  "vitest": "^5.1.0",
76
76
  "@theholocron/ci": "1.0.0",
77
- "@theholocron/commitlint-config": "^8.9.0-alpha.16",
78
- "@theholocron/eslint-config": "^8.9.0-alpha.16",
79
77
  "@theholocron/rollup-plugin-transform-template": "^8.9.0-alpha.16",
80
- "@theholocron/tsconfig": "^8.9.0-alpha.16",
78
+ "@theholocron/commitlint-config": "^8.9.0-alpha.16",
81
79
  "@theholocron/tsdown-config": "^8.9.0-alpha.16",
82
- "@theholocron/vitest-config": "^8.9.0-alpha.16"
80
+ "@theholocron/eslint-config": "^8.9.0-alpha.16",
81
+ "@theholocron/vitest-config": "^8.9.0-alpha.16",
82
+ "@theholocron/tsconfig": "^8.9.0-alpha.16"
83
83
  },
84
84
  "engines": {
85
85
  "node": ">=22"