No description
Find a file
2023-05-01 15:27:06 -04:00
.github fix release 2023-05-01 18:03:00 +08:00
devops #172 ci cache implementation: pnpm store and cargo build target 2023-01-25 14:58:19 +08:00
modules notification color is wrong (#540) 2023-05-01 15:27:06 -04:00
.gitignore I18n crowdin (#242) 2023-02-28 13:38:57 +08:00
.npmrc #186 init electron ci build 2023-02-02 11:01:12 +08:00
package.json ui adjustments (#494) 2023-04-24 14:51:50 +08:00
pnpm-lock.yaml init sentry on packaged app only (#530) 2023-05-01 08:01:01 +08:00
pnpm-workspace.yaml #92 change /packages/ to /modules/ 2022-12-21 10:02:20 +08:00
README.md revise welcome text 2023-05-01 08:57:23 -04:00

tea

Twitter Discord Version

The Open Store.

Developing tea/gui

To develop within an Electron view:

xc setup  # only required once
xc build  # only required if you modify the backend
xc dev    # opens the app in dev mode

Creating a locally built installer for local usage will not need code-signing and notarization. To skip the 2-steps:

$ export CSC_IDENTITY_AUTO_DISCOVERY=false
$ xc dist

Contributing to tea/gui

If you have suggestions or ideas, start a discussion. If we agree, well move it to an issue. Bug fixes straight to pull request or issue please!

Releasing tea/gui

Tag any commit in the main branch, then push directly to the main branch. Lets follow the semver versioning standard, prefixed with v:

$ git tag v1.0.0
$ git push origin tag v1.0.0

Refer to each package README.md for instructions on how to setup and contribute to them:

 

Tasks

The following can be run with xc, eg. xc build

Setup

Setup ensures that required configuration placeholder files are present and installs dependencies.

if [ ! -e modules/desktop/electron/config.json ]; then
  echo '{}' > modules/desktop/electron/config.json
fi

if [ ! -e modules/desktop/.env ]; then
  cp modules/desktop/.env.example modules/desktop/.env
fi

pnpm install
pnpm run -r prepare

Build

pnpm install
pnpm build:desktop

Dev

pnpm install
pnpm dev

Prettier

pnpm run --reporter append-only -r format

Dist

pnpm install
pnpm --filter tea exec pnpm predist
pnpm --filter tea exec pnpm dist

Check

Runs the typescript compiler and linter.

pnpm run -r check
pnpm run -r lint

Dependencies

Project Version
nodejs.org =18.15.0
pnpm.io =7.18.2
xcfile.dev >=0.0.110
python.org >=3.10