Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"$schema": "https://unpkg.com/@changesets/config@4.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
Expand Down
9 changes: 1 addition & 8 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"@nestm/provider-status": "0.1.0-alpha.0"
},
"changesets": [
"initial-provider-status-release",
"warm-otters-document"
]
"tag": "alpha"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

Document registry-wide provider monitoring through `@nestm/ai-sdk`, including module composition,
model resolution requirements, dashboard exposure, unmonitored modality boundaries, and complete
NestJS 12 prerelease installation dependencies.
stable NestJS 12 installation dependencies.
7 changes: 7 additions & 0 deletions .changeset/use-stable-nestjs-12.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@nestm/provider-status": patch
---

Replace NestJS 12 prerelease peer ranges and development dependencies with the
stable NestJS 12 release line, and refresh the package's direct development
dependencies to their current stable releases.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: actions/setup-node@v7
with: { node-version: 24, cache: pnpm }
- run: pnpm install --frozen-lockfile
# pnpm 11.20 requires Node >=22.13, while this package supports Node
# pnpm 11.24 requires Node >=22.13, while this package supports Node
# 22.12. Install with Node 24, then execute test binaries directly under
# the advertised runtime so pnpm cannot mask the compatibility floor.
- uses: actions/setup-node@v7
Expand Down Expand Up @@ -101,8 +101,8 @@ jobs:
fail-fast: false
matrix:
include:
- name: nest-next
command: pnpm up "@nestjs/*@next" && pnpm run test
- name: nest-latest
command: pnpm up "@nestjs/*@latest" && pnpm run test
- name: ai-snapshot
command: pnpm up ai@snapshot && pnpm run test
name: Canary (${{ matrix.name }})
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ jobs:
- run: pnpm run verify
- name: Create release PR or publish to npm
id: changesets
uses: changesets/action@v1
uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1
with:
publish: pnpm run release
version: pnpm changeset version
title: "chore: release @nestm/provider-status"
commit: "chore: release @nestm/provider-status"
createGithubReleases: true
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-script: pnpm run release
version-script: pnpm changeset version
pr-title: "chore: release @nestm/provider-status"
commit-message: "chore: release @nestm/provider-status"
create-github-releases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Reconcile git tag with npm
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ corepack enable
pnpm install
```

Node.js 22.12 or newer is required. The package is ESM-only and targets the
NestJS 12 prerelease line. AI SDK 7 is optional and belongs only to the
Node.js 22.12 or newer is required. The package is ESM-only and targets stable
NestJS 12. AI SDK 7 is optional and belongs only to the
`@nestm/provider-status/ai-sdk` entry point.

## Workflow
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RxJS observables, and includes optional dashboard HTTP/SSE and AI SDK integratio
Provider status is advisory unless the application explicitly opts into availability enforcement.
The package does not automatically retry, reroute, select fallback models, or fail NestJS readiness.

> This package targets the NestJS 12 prerelease line and is published on the `alpha` dist-tag.
> This package targets stable NestJS 12 and is itself published on the `alpha` dist-tag.

## Architecture and entry points

Expand All @@ -39,15 +39,15 @@ clients, authentication, routing policy, and persistent telemetry.
## Requirements

- Node.js 22.12 or newer
- NestJS `^12.0.0-alpha.5`
- NestJS `^12.0.0`
- RxJS `^7.8`
- ESM

## Installation

```sh
pnpm add @nestm/provider-status@alpha \
@nestjs/common@12.0.0-alpha.5 @nestjs/core@12.0.0-alpha.5 \
@nestjs/common@12.0.1 @nestjs/core@12.0.1 \
reflect-metadata rxjs
```

Expand All @@ -60,10 +60,6 @@ pnpm add ai
The HTTP entry point uses Nest's platform-neutral controller APIs. It does not add Express or
Fastify as a peer dependency; use whichever Nest HTTP adapter the application already owns.

NestJS 12 alpha packages may temporarily declare older sibling peer ranges. If a package manager
rejects Nest's own prerelease peers, use the equivalent peer override until upstream ranges are
widened.

## Quick start

Register the built-in API sources once in the application root:
Expand Down Expand Up @@ -481,7 +477,7 @@ models in individual services.
```sh
pnpm add @nestm/provider-status@alpha @nestm/ai-sdk@alpha ai zod \
@ai-sdk/openai @ai-sdk/anthropic @nestjs/config \
@nestjs/common@12.0.0-alpha.5 @nestjs/core@12.0.0-alpha.5 \
@nestjs/common@12.0.1 @nestjs/core@12.0.1 \
reflect-metadata rxjs
```

Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"engines": {
"node": ">=22.12.0"
},
"packageManager": "pnpm@11.20.0",
"packageManager": "pnpm@11.24.0",
"types": "./dist/index.d.mts",
"exports": {
".": {
Expand Down Expand Up @@ -102,8 +102,8 @@
"release": "node scripts/publish.mjs"
},
"peerDependencies": {
"@nestjs/common": "^12.0.0-alpha.5",
"@nestjs/core": "^12.0.0-alpha.5",
"@nestjs/common": "^12.0.0",
"@nestjs/core": "^12.0.0",
"ai": ">=7.0.0 <8.0.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.0"
Expand All @@ -115,28 +115,28 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.5",
"@changesets/cli": "2.31.1",
"@nestjs/common": "12.0.0-alpha.5",
"@nestjs/core": "12.0.0-alpha.5",
"@nestjs/platform-express": "12.0.0-alpha.5",
"@nestjs/platform-fastify": "12.0.0-alpha.5",
"@nestjs/testing": "12.0.0-alpha.5",
"@types/node": "26.1.2",
"@changesets/cli": "3.0.1",
"@nestjs/common": "12.0.1",
"@nestjs/core": "12.0.1",
"@nestjs/platform-express": "12.0.1",
"@nestjs/platform-fastify": "12.0.1",
"@nestjs/testing": "12.0.1",
"@types/node": "26.4.0",
"@types/supertest": "7.2.1",
"@vitest/coverage-v8": "4.1.10",
"ai": "7.0.64",
"@vitest/coverage-v8": "4.1.11",
"ai": "7.0.83",
"cross-env": "10.1.0",
"express": "5.2.1",
"fastify": "5.11.2",
"oxlint": "1.77.0",
"fastify": "5.12.1",
"oxlint": "1.80.0",
"oxlint-tsgolint": "7.0.2001",
"prettier": "3.9.6",
"publint": "0.3.23",
"publint": "0.3.24",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.2",
"supertest": "7.2.2",
"tsdown": "0.22.14",
"typescript": "7.0.2",
"vitest": "4.1.10"
"vitest": "4.1.11"
}
}
Loading