Skip to content

idea2app/Electron-Parcel-PNPM.tsx

Repository files navigation

Electron-Parcel-PNPM.tsx

Web native-app project scaffold based on TypeScript, React & Electron, which is inspired by WebCell scaffold.

CI & CD

Open in GitHub Codespaces Open in Gitpod

Technology stack

Best practice

  1. Install GitHub apps in your organization or account:

    1. Probot settings: set up Issue labels & Pull Request rules
    2. PR badge: set up Online VS Code editor entries in Pull Request description
  2. 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

  3. Recommend to add a Notification step in GitHub actions for your Team IM app

  4. 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

  5. Collect all these issues into Project kanbans, then create Pull requests & add closes #issue_number into its description for automation

Quick start

npm i pnpm -g
pnpm i
npm start

Building

to a folder

pnpm package

it'll generate a folder with Electron runtime & compiled code in out/{name}-{OS}-{CPU}/.

to an executable file

pnpm make

it'll generate an executable file for setup in out/make.

Releasing

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.