@theholocron/cli 2.0.0-alpha.57 → 2.0.0-alpha.58
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 +10 -7
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -697,9 +697,11 @@ function patchPackageJson(content, from, to) {
|
|
|
697
697
|
}
|
|
698
698
|
let changed = false;
|
|
699
699
|
const engines = pkg.engines;
|
|
700
|
-
if (engines?.node
|
|
701
|
-
engines.node
|
|
702
|
-
|
|
700
|
+
if (engines?.node && /^>=\d+(?:\.0\.0)?$/.test(engines.node)) {
|
|
701
|
+
if (parseInt(engines.node.match(/\d+/)[0], 10) === from) {
|
|
702
|
+
engines.node = `>=${to}.0.0`;
|
|
703
|
+
changed = true;
|
|
704
|
+
}
|
|
703
705
|
}
|
|
704
706
|
for (const field of ["devDependencies", "dependencies"]) {
|
|
705
707
|
const deps = pkg[field];
|
|
@@ -1355,6 +1357,8 @@ jobs:
|
|
|
1355
1357
|
steps:
|
|
1356
1358
|
- name: Checkout repository
|
|
1357
1359
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
1360
|
+
with:
|
|
1361
|
+
fetch-depth: 0
|
|
1358
1362
|
|
|
1359
1363
|
- name: Setup
|
|
1360
1364
|
if: \${{ hashFiles('pnpm-lock.yaml') != '' }}
|
|
@@ -1396,15 +1400,14 @@ jobs:
|
|
|
1396
1400
|
uses: reviewdog/action-gitleaks@2b7b5685e3e3eecddab5d30cfa04f18123031421 # v1
|
|
1397
1401
|
with:
|
|
1398
1402
|
reporter: github-pr-check
|
|
1403
|
+
gitleaks_flags: --log-opts=\${{ github.event.pull_request.base.sha }}..\${{ github.event.pull_request.head.sha }}
|
|
1399
1404
|
|
|
1400
1405
|
- name: YamlLint
|
|
1406
|
+
if: \${{ hashFiles('yamllint.config.yml') != '' }}
|
|
1401
1407
|
uses: reviewdog/action-yamllint@b5f7217d8c815ae374d1d55840d5e569d82f01f0 # v1
|
|
1402
1408
|
with:
|
|
1403
1409
|
reporter: github-pr-check
|
|
1404
|
-
yamllint_flags:
|
|
1405
|
-
\${{ hashFiles('yamllint.config.yml') != ''
|
|
1406
|
-
&& format('-c {0}/yamllint.config.yml {0}', github.workspace)
|
|
1407
|
-
|| github.workspace }}
|
|
1410
|
+
yamllint_flags: -c \${{ github.workspace }}/yamllint.config.yml \${{ github.workspace }}
|
|
1408
1411
|
|
|
1409
1412
|
- name: ActionLint (GitHub Actions)
|
|
1410
1413
|
if: \${{ hashFiles('.github/workflows/*.yml', '.github/workflows/*.yaml') != '' }}
|
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.58",
|
|
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",
|