fix(build): resolve web build script export error and add missing serve dependency #175

Open
anomalist wants to merge 0 commits from build-web-serve-test into master
Owner
  • Fix malformed multi-line comment in .env.test causing shell parsing failure
  • Add serve@14.2.4 as dev dependency to eliminate build-time installation prompts
  • Resolves "export: ' production).=': not a valid identifier" error
  • Test environment builds now complete successfully without user interaction

Fixes test environment build blocking issue

- Fix malformed multi-line comment in .env.test causing shell parsing failure - Add serve@14.2.4 as dev dependency to eliminate build-time installation prompts - Resolves "export: ' production).=': not a valid identifier" error - Test environment builds now complete successfully without user interaction Fixes test environment build blocking issue
anomalist added 1 commit 2025-08-19 11:37:48 +00:00
- Fix malformed multi-line comment in .env.test causing shell parsing failure
- Add serve@14.2.4 as dev dependency to eliminate build-time installation prompts
- Resolves "export: ' production).=': not a valid identifier" error
- Test environment builds now complete successfully without user interaction

Fixes test environment build blocking issue
Owner

👍

👍
anomalist added 1 commit 2025-08-26 09:52:03 +00:00
anomalist added 1 commit 2025-08-26 09:57:43 +00:00
- Clarify build:web:serve purpose as "production testing"
- Add "Why Use serve?" section explaining benefits
- Document SPA routing support for deep links (/discover, /account)
- Add dedicated "Local Serving with serve" technical section
- Explain server options (npx serve vs Python fallback)
- Improve developer understanding of when and why to use serve

Fixes documentation gap identified in serve command usage
anomalist added 12 commits 2025-08-27 09:54:23 +00:00
- Stricter targeting of buttons since Register and Export Data dialogs appear on screen at the same time
- Locate success notification first since it appears first (and cannot be "clicked" through the overlapping dialog-overlay)
- Add DID validation using isDid() function to prevent invalid DIDs from loading current user's info
- Show error message and redirect to HomeView for invalid DID formats (e.g., /did/0)
- Import NOTIFY_CONTACT_INVALID_DID constant for consistent error messaging

Resolves: DIDView loading current user's info for invalid DID parameters
- Create comprehensive MDC rule for systematic Playwright test failure investigation
- Integrate rule into harbor_pilot_universal.mdc for team-wide access
- Include investigation workflow, diagnostic commands, and evidence-based analysis
- Document specific failure patterns (alert stacking, selector conflicts, timing issues)
- Provide practical examples from recent test failure investigation
- Add investigation commands for error context, trace files, and page snapshots

This rule transforms ad-hoc test debugging into systematic investigation process,
leveraging Playwright's built-in debugging tools for faster root cause identification.
This was cherry-picked from master-patch
Reviewed-on: #176
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin build-web-serve-test:build-web-serve-test
git checkout build-web-serve-test
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: trent_larson/crowd-funder-for-time-pwa#175