Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56b5d7581f | ||
|
|
53d54cf250 | ||
|
|
64ec413c25 |
No files matched your search
@@ -81,7 +81,8 @@ jobs:
|
|||||||
# checks both halves that matter: a good archive installs, and a bad checksum
|
# checks both halves that matter: a good archive installs, and a bad checksum
|
||||||
# aborts without leaving a binary behind.
|
# aborts without leaving a binary behind.
|
||||||
installer:
|
installer:
|
||||||
runs-on: ${{ matrix.os }}
|
# macos-14 is retired on GitHub but is the self-hosted runner's label on Gitea; see release.yml.
|
||||||
|
runs-on: ${{ matrix.os == 'macos-14' && github.server_url == 'https://github.com' && 'macos-15' || matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@@ -48,7 +48,9 @@ jobs:
|
|||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
- target: aarch64-unknown-linux-musl
|
- target: aarch64-unknown-linux-musl
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
runs-on: ${{ matrix.os }}
|
# GitHub retired the macos-14 image (jobs are cancelled with "configuration not supported");
|
||||||
|
# on Gitea, macos-14 is the label of the self-hosted macOS runner, so only GitHub moves.
|
||||||
|
runs-on: ${{ matrix.os == 'macos-14' && github.server_url == 'https://github.com' && 'macos-15' || matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
|
|||||||
@@ -38,8 +38,9 @@ matcha graph --format json # the whole graph
|
|||||||
- `src/app.ts` builds and exports `app` (`createApp({ modules: [...] })`). Introspection and tests import it.
|
- `src/app.ts` builds and exports `app` (`createApp({ modules: [...] })`). Introspection and tests import it.
|
||||||
- `src/main.ts` serves `app`. It is the only file that differs per runtime.
|
- `src/main.ts` serves `app`. It is the only file that differs per runtime.
|
||||||
- `src/app.module.ts` lists the providers, steps and controllers with `@Module`.
|
- `src/app.module.ts` lists the providers, steps and controllers with `@Module`.
|
||||||
- `matcha create controller|step|provider|module <Name>` generates a piece and wires it into the module.
|
- `matcha create controller|step|provider|module|transformer <Name>` generates a piece and wires it into the module.
|
||||||
- `matcha add sse|ws|upload|stream|buffer` adds a capability to a controller.
|
- `matcha create plugin` scaffolds a plugin, in-app or (`--package`) as its own package.
|
||||||
|
- `matcha add sse|stream|buffer|ws|upload|cookie` adds a capability to a controller.
|
||||||
|
|
||||||
## Check your work
|
## Check your work
|
||||||
|
|
||||||
@@ -55,4 +56,7 @@ itself:
|
|||||||
- npm / Bun: `node_modules/@green-tea/core/llms.txt`
|
- npm / Bun: `node_modules/@green-tea/core/llms.txt`
|
||||||
- Deno (JSR): `https://jsr.io/@green-tea/core/{{core_version}}/llms.txt`
|
- Deno (JSR): `https://jsr.io/@green-tea/core/{{core_version}}/llms.txt`
|
||||||
|
|
||||||
|
Official plugins (`@green-tea/jwt`, `@green-tea/metrics`, `@green-tea/rate-limit`, ...) ship no llms.txt;
|
||||||
|
read the installed one's `node_modules/@green-tea/<name>/README.md`.
|
||||||
|
|
||||||
The complete docs as one file: https://green-tea.expressive-tea.io/docs/llms-full.txt
|
The complete docs as one file: https://green-tea.expressive-tea.io/docs/llms-full.txt
|
||||||
Reference in new issue
Block a user