Web native-app project scaffold based on TypeScript, React & Electron, which is inspired by WebCell scaffold.
- Language: TypeScript v5
- Component engine: React v18
- App framework: Electron v30
- Package bundler: Parcel v2
- Package manager: PNPM v9
- CI / CD: GitHub Actions + Pages
-
Install GitHub apps in your organization or account:
- Probot settings: set up Issue labels & Pull Request rules
- PR badge: set up Online VS Code editor entries in Pull Request description
-
Click the Use this template button on the top of this GitHub repository's home page, then create your own repository in the app-installed namespace above
-
Recommend to add a Notification step in GitHub actions for your Team IM app
-
Remind the PMs & users of your product to submit Feature/Enhancement requests or Bug reports with Issue forms instead of IM messages or Mobile Phone calls
-
Collect all these issues into Project kanbans, then create Pull requests & add
closes #issue_number
into its description for automation
npm i pnpm -g
pnpm i
npm start
pnpm package
it'll generate a folder with Electron runtime & compiled code in out/{name}-{OS}-{CPU}/
.
pnpm make
it'll generate an executable file for setup in out/make
.
git tag v1.0.0 # same with `package.json#version`
git push origin --tags
GitHub actions will build & publish to repository releases, then you need to edit & submit the draft release.