Files
openstapps/README.md
Thea Schöbl 9c30211ba2 feat: splash transition
refactor: require app reload for setting changes

feat: require reload on setting changes

feat: new logo

feat: update to capacitor 5

feat: new logo

feat: update to capacitor 5

refactor: simplify settings provider
2024-01-03 12:27:42 +00:00

5.9 KiB

Open StApps Monorepo

Refer to the contribution guide

Projects

Apps

Name Version License Readme
Core npm license) frontend/app
Backend npm license) backend/backend
Proxy npm license) backend/proxy
Database npm license) backend/database

Libraries

Name Version License Readme
Core npm license) packages/core
API npm license) packages/api
API Plugin npm license) packages/api-plugin
Logger npm license) packages/logger
Core Tools npm license) packages/core-tools

Publishing

After having added all changes using pnpm changeset

pnpm publish-packages

Internally, this will run

pnpm changeset version # bump versions
pnpm syncpack:fix
pnpm format:fix # changes to the package.json can cause issues
pnpm install # update lockfile and rebuild packages
git add .
git commit -m "refactor: update changelog"
pnpm changeset tags
git push --follow-tags
# from here the pipeline will do the publishing

Remote caching

Turbo supports remote caching, which massively speeds up build processes.

Connecting to the remote cache locally

.env.local

TURBO_API=http://example:3000
TURBO_TEAM=openstapps
TURBO_TOKEN=abc123

Connecting to the remote cache in GitLab Pipelines

You will need to define

  • TURBO_API
  • TURBO_TEAM
  • TURBO_TOKEN Like you did locally as described in this guide.

Hosting a cache

Self-hosting via Docker is extremely simple, just follow this guide or in short:

.env

PORT=...
TURBO_TOKEN=...
docker run --env-file=.env -p 3000:3000 fox1t/turborepo-remote-cache

Useful commands

Why is this package bloating the app?

pnpm why --prod -r --filter @openstapps/app PACKAGE

Licenses

pnpm licenses --prod --filter PROJECT