bmad-fh 6.0.0-alpha.23.bac0a3f0 → 6.0.0-alpha.23.bed978b2

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.
@@ -41,26 +41,12 @@ jobs:
41
41
  env:
42
42
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43
43
  run: |
44
- VERSION="${{ steps.version.outputs.version }}"
45
- echo "Checking if bmad-fh@${VERSION} already exists..."
46
-
47
- # Check if version already exists on npm
48
- if npm view "bmad-fh@${VERSION}" version 2>/dev/null; then
49
- echo "Version ${VERSION} already exists on npm, skipping publish"
50
- echo "SKIPPED=true" >> $GITHUB_ENV
51
- else
52
- echo "Publishing bmad-fh@${VERSION}"
53
- npm publish --ignore-scripts
54
- echo "SKIPPED=false" >> $GITHUB_ENV
55
- fi
44
+ echo "Publishing bmad-fh@${{ steps.version.outputs.version }}"
45
+ npm publish
56
46
 
57
47
  - name: Summary
58
48
  run: |
59
- if [ "$SKIPPED" = "true" ]; then
60
- echo "## Skipped - bmad-fh@${{ steps.version.outputs.version }} already exists" >> $GITHUB_STEP_SUMMARY
61
- else
62
- echo "## Published bmad-fh@${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
63
- fi
49
+ echo "## Published bmad-fh@${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
64
50
  echo "" >> $GITHUB_STEP_SUMMARY
65
51
  echo "### Installation" >> $GITHUB_STEP_SUMMARY
66
52
  echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-fh",
4
- "version": "6.0.0-alpha.23.bac0a3f0",
4
+ "version": "6.0.0-alpha.23.bed978b2",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -39,6 +39,7 @@
39
39
  "lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
40
40
  "lint:md": "markdownlint-cli2 \"**/*.md\"",
41
41
  "prepare": "husky",
42
+ "publish": "npm publish",
42
43
  "rebundle": "node tools/cli/bundlers/bundle-web.js rebundle",
43
44
  "release:major": "gh workflow run \"Manual Release\" -f version_bump=major",
44
45
  "release:minor": "gh workflow run \"Manual Release\" -f version_bump=minor",
package/.husky/pre-push DELETED
@@ -1,49 +0,0 @@
1
- #!/usr/bin/env sh
2
-
3
- # Enforce single commit per branch (compared to main)
4
- # Skip this check if SKIP_COMMIT_CHECK=1
5
-
6
- if [ "$SKIP_COMMIT_CHECK" = "1" ]; then
7
- echo "Skipping commit count check (SKIP_COMMIT_CHECK=1)"
8
- exit 0
9
- fi
10
-
11
- # Determine default branch
12
- DEFAULT_BRANCH="main"
13
- if ! git rev-parse --verify "$DEFAULT_BRANCH" >/dev/null 2>&1; then
14
- DEFAULT_BRANCH="master"
15
- if ! git rev-parse --verify "$DEFAULT_BRANCH" >/dev/null 2>&1; then
16
- echo "Warning: Could not find main or master branch, skipping commit check"
17
- exit 0
18
- fi
19
- fi
20
-
21
- # Get current branch
22
- CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
23
-
24
- # Skip check if pushing to default branch directly
25
- if [ "$CURRENT_BRANCH" = "$DEFAULT_BRANCH" ]; then
26
- exit 0
27
- fi
28
-
29
- # Count commits ahead of default branch
30
- COMMIT_COUNT=$(git rev-list --count "$DEFAULT_BRANCH".."$CURRENT_BRANCH" 2>/dev/null || echo "0")
31
-
32
- if [ "$COMMIT_COUNT" -gt 1 ]; then
33
- echo ""
34
- echo "ERROR: Branch '$CURRENT_BRANCH' has $COMMIT_COUNT commits ahead of '$DEFAULT_BRANCH'."
35
- echo " Only 1 commit per branch is allowed."
36
- echo ""
37
- echo "Commits on this branch:"
38
- git log --oneline "$DEFAULT_BRANCH".."$CURRENT_BRANCH"
39
- echo ""
40
- echo "To fix this, squash your commits:"
41
- echo " git rebase -i $DEFAULT_BRANCH"
42
- echo ""
43
- echo "Or to bypass this check (not recommended):"
44
- echo " SKIP_COMMIT_CHECK=1 git push"
45
- echo ""
46
- exit 1
47
- fi
48
-
49
- exit 0