@theholocron/cli 2.0.0-alpha.28 → 2.0.0-alpha.30
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 +5 -4
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -866,6 +866,7 @@ runs:
|
|
|
866
866
|
|
|
867
867
|
steps:
|
|
868
868
|
- name: Install dependencies
|
|
869
|
+
if: \${{ hashFiles('pnpm-lock.yaml') != '' }}
|
|
869
870
|
shell: bash
|
|
870
871
|
run: pnpm install --frozen-lockfile
|
|
871
872
|
`,
|
|
@@ -884,13 +885,14 @@ runs:
|
|
|
884
885
|
|
|
885
886
|
steps:
|
|
886
887
|
- name: Setup pnpm
|
|
888
|
+
if: \${{ hashFiles('pnpm-lock.yaml') != '' }}
|
|
887
889
|
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
|
|
888
890
|
|
|
889
891
|
- name: Setup Node.js
|
|
890
892
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
891
893
|
with:
|
|
892
894
|
node-version: \${{ inputs.node-version }}
|
|
893
|
-
cache: pnpm
|
|
895
|
+
cache: \${{ hashFiles('pnpm-lock.yaml') != '' && 'pnpm' || '' }}
|
|
894
896
|
|
|
895
897
|
- name: Add node_modules/.bin to PATH
|
|
896
898
|
shell: bash
|
|
@@ -1615,13 +1617,12 @@ jobs:
|
|
|
1615
1617
|
run: |
|
|
1616
1618
|
GIT_NAME=$(gh api user --jq .name 2>/dev/null || echo "github-actions[bot]")
|
|
1617
1619
|
GIT_EMAIL=$(gh api user --jq '"\\(.id)+\\(.login)@users.noreply.github.com"' 2>/dev/null || echo "41898282+github-actions[bot]@users.noreply.github.com")
|
|
1620
|
+
COMMIT_MSG="chore: sync from theholocron/holocron"$'\\n\\n'"Signed-off-by: $GIT_NAME <$GIT_EMAIL>"
|
|
1618
1621
|
node packages/cli/dist/cli.mjs sync-github \\
|
|
1619
1622
|
--repo "$PRIMARY_REPO" \\
|
|
1620
1623
|
--branch "$SYNC_BRANCH" \\
|
|
1621
1624
|
--pr \\
|
|
1622
|
-
--message "
|
|
1623
|
-
|
|
1624
|
-
Signed-off-by: $GIT_NAME <$GIT_EMAIL>"
|
|
1625
|
+
--message "$COMMIT_MSG"
|
|
1625
1626
|
env:
|
|
1626
1627
|
GITHUB_TOKEN: \${{ secrets.SYNC_TOKEN }}
|
|
1627
1628
|
GH_TOKEN: \${{ secrets.SYNC_TOKEN }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.30",
|
|
4
4
|
"description": "The Holocron CLI — a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/cli#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|