bmad-fh 6.0.0-alpha.23.6390fcb0 → 6.0.0-alpha.23.66f19588

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,12 +41,26 @@ jobs:
41
41
  env:
42
42
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43
43
  run: |
44
- echo "Publishing bmad-fh@${{ steps.version.outputs.version }}"
45
- npm publish
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
46
56
 
47
57
  - name: Summary
48
58
  run: |
49
- echo "## Published bmad-fh@${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
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
50
64
  echo "" >> $GITHUB_STEP_SUMMARY
51
65
  echo "### Installation" >> $GITHUB_STEP_SUMMARY
52
66
  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.6390fcb0",
4
+ "version": "6.0.0-alpha.23.66f19588",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -39,7 +39,6 @@
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",
43
42
  "rebundle": "node tools/cli/bundlers/bundle-web.js rebundle",
44
43
  "release:major": "gh workflow run \"Manual Release\" -f version_bump=major",
45
44
  "release:minor": "gh workflow run \"Manual Release\" -f version_bump=minor",