@theholocron/cli 2.0.0-alpha.10 → 2.0.0-alpha.12
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 -8
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -992,6 +992,8 @@ jobs:
|
|
|
992
992
|
statuses: write
|
|
993
993
|
runs-on: ubuntu-latest
|
|
994
994
|
timeout-minutes: 30
|
|
995
|
+
env:
|
|
996
|
+
GPG_KEY_SET: \${{ secrets.SUPER_LINTER_GPG_PRIVATE_KEY != '' }}
|
|
995
997
|
steps:
|
|
996
998
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
997
999
|
name: Checkout repository
|
|
@@ -1046,7 +1048,7 @@ jobs:
|
|
|
1046
1048
|
github.event.pull_request != null &&
|
|
1047
1049
|
github.event.pull_request.head.repo.full_name == github.repository &&
|
|
1048
1050
|
github.ref_name != github.event.repository.default_branch &&
|
|
1049
|
-
|
|
1051
|
+
env.GPG_KEY_SET == 'true'
|
|
1050
1052
|
with:
|
|
1051
1053
|
git_user_signingkey: true
|
|
1052
1054
|
git_commit_gpgsign: true
|
|
@@ -1060,7 +1062,7 @@ jobs:
|
|
|
1060
1062
|
github.event.pull_request != null &&
|
|
1061
1063
|
github.event.pull_request.head.repo.full_name == github.repository &&
|
|
1062
1064
|
github.ref_name != github.event.repository.default_branch &&
|
|
1063
|
-
|
|
1065
|
+
env.GPG_KEY_SET == 'true'
|
|
1064
1066
|
with:
|
|
1065
1067
|
branch: \${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
|
1066
1068
|
commit_message: "chore: fix linting issues"
|
|
@@ -1180,13 +1182,13 @@ jobs:
|
|
|
1180
1182
|
{ { has 'eslint.config.js' || has 'eslint.config.mjs' || has 'eslint.config.cjs' || \\
|
|
1181
1183
|
has 'eslint.config.ts' || has '.eslintrc' || has '.eslintrc.js' || \\
|
|
1182
1184
|
has '.eslintrc.cjs' || has '.eslintrc.json' || has '.eslintrc.yaml' || \\
|
|
1183
|
-
has '.eslintrc.yml'; } && grep -qF '"eslint":' package.json 2>/dev/null; } && echo "eslint=true" >> $GITHUB_OUTPUT || echo "eslint=false" >> $GITHUB_OUTPUT
|
|
1184
|
-
{ has 'tsconfig.json' && grep -qF '"typescript":' package.json 2>/dev/null; } && echo "tsconfig=true" >> $GITHUB_OUTPUT || echo "tsconfig=false" >> $GITHUB_OUTPUT
|
|
1185
|
-
has_ext '*.sh' && echo "shell=true" >> $GITHUB_OUTPUT || echo "shell=false" >> $GITHUB_OUTPUT
|
|
1185
|
+
has '.eslintrc.yml'; } && grep -qF '"eslint":' package.json 2>/dev/null; } && echo "eslint=true" >> "$GITHUB_OUTPUT" || echo "eslint=false" >> "$GITHUB_OUTPUT"
|
|
1186
|
+
{ has 'tsconfig.json' && grep -qF '"typescript":' package.json 2>/dev/null; } && echo "tsconfig=true" >> "$GITHUB_OUTPUT" || echo "tsconfig=false" >> "$GITHUB_OUTPUT"
|
|
1187
|
+
has_ext '*.sh' && echo "shell=true" >> "$GITHUB_OUTPUT" || echo "shell=false" >> "$GITHUB_OUTPUT"
|
|
1186
1188
|
has 'Dockerfile' || has_ext '*.Dockerfile' || has 'Containerfile' && \\
|
|
1187
|
-
echo "docker=true" >> $GITHUB_OUTPUT || echo "docker=false" >> $GITHUB_OUTPUT
|
|
1188
|
-
has_ext '.env*' && echo "dotenv=true" >> $GITHUB_OUTPUT || echo "dotenv=false" >> $GITHUB_OUTPUT
|
|
1189
|
-
has_ext '*.md' && echo "markdown=true" >> $GITHUB_OUTPUT || echo "markdown=false" >> $GITHUB_OUTPUT
|
|
1189
|
+
echo "docker=true" >> "$GITHUB_OUTPUT" || echo "docker=false" >> "$GITHUB_OUTPUT"
|
|
1190
|
+
has_ext '.env*' && echo "dotenv=true" >> "$GITHUB_OUTPUT" || echo "dotenv=false" >> "$GITHUB_OUTPUT"
|
|
1191
|
+
has_ext '*.md' && echo "markdown=true" >> "$GITHUB_OUTPUT" || echo "markdown=false" >> "$GITHUB_OUTPUT"
|
|
1190
1192
|
|
|
1191
1193
|
#
|
|
1192
1194
|
# Always applicable
|
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.12",
|
|
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",
|