Skip to content
Jeffi-ERPPublic

About

Shared TypeScript packages: tenancy, service auth, pricing, GST, wallet, push, bulk jobs, the CLI and more.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Jeffi ERP

packages

Shared TypeScript packages: tenancy, service auth, pricing, GST, wallet, push, bulk jobs, the CLI and more.

Part of Jeffi ERP, where the Jeffi Stores commerce platform is developed in the open. In the workspace this repo is packages/. It builds and tests inside the assembled workspace, not on its own.

Set up

git clone https://github.com/Jeffi-ERP/workspace.git jeffi-erp
cd jeffi-erp
node oss/assemble.mjs                  # clones every Jeffi ERP repo into its folder
ONNXRUNTIME_NODE_INSTALL=skip npm ci

Then follow Set up the workspace for the database, .env.local and a local admin. You never need Jeffi Stores' own keys. To change this repo, fork it and add your fork as a remote inside packages/.

How a change gets in

  1. Open a pull request against main. Nothing runs yet.
  2. A maintainer reads it and adds the ok-to-test label. That runs PR checks and Guard. A new push removes the label until a maintainer looks again.
  3. When both pass, a maintainer squash-merges it. The merge runs pre-build and build, then waits for a maintainer to approve the promotion.
  4. After approval the change is opened as a pull request on AloysJehwin/Jeffi_Stores and ships with a later release. The export from that release brings it back here.

.github/ and LICENSE (and oss/ in workspace) come from AloysJehwin/Jeffi_Stores, and Guard rejects pull requests that change them. Open an issue for those instead.

Checks

Stage Check Command (from the workspace root)
PR checks (after ok-to-test) Type check · cli npx tsc --noEmit -p packages/cli/tsconfig.json
PR checks (after ok-to-test) Type check · services npm run typecheck:services
PR checks (after ok-to-test) Unit tests · cli npx vitest run --project cli
PR checks (after ok-to-test) Admin API manifest npm run cli:check
Pre-build (after merge) Type check · cli npx tsc --noEmit -p packages/cli/tsconfig.json
Pre-build (after merge) Type check · services npm run typecheck:services
Build (after merge) Unit tests · cli npx vitest run --project cli
Build (after merge) Build · cli npm run cli:build

Run a stage locally from the workspace root: node oss/checks.mjs packages pr.

Licence

GNU Affero General Public License v3.0 (AGPL-3.0-only). You may use, modify and redistribute this code, including in production. If you distribute a modified version, or run one as a service that people use over a network, you must make its source available to those users under the same licence. Jeffi Stores also offers a commercial licence for use without those conditions. Contributions are accepted on the terms in CONTRIBUTING.

About

Shared TypeScript packages: tenancy, service auth, pricing, GST, wallet, push, bulk jobs, the CLI and more.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages