- Replace TODO instances
- Remove these dependencies if this isn't a word game:
- @skedwards88/word_lists
- @skedwards88/word_logic
- @babel/plugin-syntax-import-assertions
- Remove these dependencies if they aren't needed:
- seedrandom
- lodash.clonedeep
- Potentially bump package versions
- Run
npm install
- Remove
package-lock.json
and associated comment
- If this app uses a custom url instead of the default GitHub Pages url, adjust the
path
andscope
variables
- Remove these templates if they aren't needed:
.github/ISSUE_TEMPLATE/add_word.yaml
.github/ISSUE_TEMPLATE/remove_word.yaml
- Add any other desired issue templates
- [] If this is a word game, add the
repository_dispatch
trigger to the.github/workflows/deploy.yml
workflow- Also add the word game to the
word_list
package workflow - Also grant the "Word Game Updater" app (https://github.com/settings/installations/43072167) access to the repo
- Also add the word game to the
- [] If this is a word game, add the steps to update the word list to the
.github/workflows/deploy.yml
workflow - In your GitHub Pages settings, specify that GitHub Pages is built from GitHub Actions.
- If this is not a word game, remove the transform ignore patterns for the word packages
- Customize this for the game
- Adust the theme color
- Adjust the name and description
- If using a custom url, update
start_url
- Update
name
- Update
short_name
- Update
description
- Update
id
- Change or remove
orientation
if needed - Update
background
andtheme_color
- Update
categories
- Update
icons
- Update
screenshots
- Add an svg favicon and reflect it in:
-
index.html
-
manifest.json
-
webpack.config.js
-
- Delete unneeded icons
- Add a maskable icon, screenshots, and PNG icons and reflect them in:
-
index.html
-
manifest.json
-
webpack.config.js
-
- If this isn't a word game, remove the word data attribution
- If you are using a custom domain, follow the steps in https://github.com/skedwards88/react-base?tab=readme-ov-file#custom-domain-name
- update
start_url
inmanifest.json
- adjust the
path
andscope
variables inindex.js
- update the URLs in
privacy.html
and insrc/components/Heart
- update
- Use Lighthouse in Chrome developer tools to verify that the app is installable and meets PWA requirements.
- See https://github.com/skedwards88/react-base?tab=readme-ov-file#google-analytics
- Update the
G_TODO
id inindex.html
- Can use pwabuilder.com to package the PWA for Google Play
- If using the default GitHub Pages URL:
Package ID
isAPP_NAME.io.github.skedwards88.twa
Host
is the full URL (e.g.skedwards88.github.io/APP_NAME
)Start URL
is/
- If using the default GitHub Pages URL:
- Store the app key and app key info securely
- Upload the .aab file to Google Play
- Update the sha 256 fingerprint in the assetlinks.json file with the re-signed value on Google Play
- If using the default GitHub Pages URL, upload the asset links to https://github.com/skedwards88/.well-known
-
npm install husky --save-dev
-
npx husky init
- Add a pre-push hook (can copy from https://github.com/skedwards88/deep-space-slime/blob/main/.husky/pre-push)
For android debugging on chrome:
- Enable USB debugging under developer tools on phone settings
- Connect computer via USB to computer
- Go to chrome://inspect/#devices on computer