Skip to content

chore: unify cross-platform build scripts and configure Windows AppX#1

Open
khaira777 wants to merge 1 commit into
FreeOpenSourcePOS:mainfrom
khaira777:main
Open

chore: unify cross-platform build scripts and configure Windows AppX#1
khaira777 wants to merge 1 commit into
FreeOpenSourcePOS:mainfrom
khaira777:main

Conversation

@khaira777

Copy link
Copy Markdown

This PR adds several improvements to the build process to make Flo Cafe easier to compile on Windows and prevent common build issues:

  • Cross-platform compatibility: Added kill-port and npx cross-env to ensure the frontend build works consistently on Windows, macOS, and Linux.
  • Git guardrails: Added a predev script that runs git submodule update automatically, preventing builds from starting with stale or missing frontend code.
  • Environment stability: Enforced Node.js ^22.0.0 and added .npmrc to prevent environment-related build errors.
  • Packaging readiness: Added initial Windows appx configuration to facilitate future Microsoft Store distribution.

This should make local development much smoother for new contributors and resolve the recent build pipeline issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant