chore: initial scaffold for @marketplaces/auth and @marketplaces/payment
Some checks failed
Release / release (push) Has been cancelled
Some checks failed
Release / release (push) Has been cancelled
This commit is contained in:
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# vitanovaPackages
|
||||
|
||||
Shared `@marketplaces/auth` and `@marketplaces/payment` client packages, consumed by `marketplaces` and other projects as npm dependencies. Extracted per ADR-0001 (see the `marketplaces` repo: `docs/context/adrs/ADR-0001-extract-auth-and-payment-into-shared-marketplaces-packages.md`).
|
||||
|
||||
## Layout
|
||||
|
||||
npm workspaces monorepo:
|
||||
- `packages/auth` — customer + admin auth client
|
||||
- `packages/payment` — payment/finance client (thin — business logic stays backend)
|
||||
|
||||
## Versioning & release
|
||||
|
||||
[Changesets](https://github.com/changesets/changesets): `npm run changeset` to record an intended bump per PR, `.github/workflows/release.yml` opens a version PR on push to `main` and publishes on merge.
|
||||
|
||||
`.github/workflows/release.yml` is written as GitHub Actions — if this host runs Gitea/Forgejo Actions the syntax is compatible; for Drone/Woodpecker or another CI it needs translating (same three steps: install, build+test, `changesets/action` equivalent).
|
||||
|
||||
Needs repo secrets: `NPM_TOKEN` (publish), `GITHUB_TOKEN` (provided by GH Actions; on Gitea use the built-in token equivalent).
|
||||
|
||||
## Status
|
||||
|
||||
Scaffold only — no auth/payment implementation code has migrated in yet. Source is still live in the `marketplaces` repo (`src/app/core/auth`, `core/admin-auth`, `core/finance`, `core/pricing`) pending migration.
|
||||
Reference in New Issue
Block a user