Skip to content
Open
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
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ jobs:
npm install --package-lock-only --ignore-scripts
git diff --exit-code package-lock.json

# The consumer fixture resolves the package exports to generated declarations.
- name: Generate server declarations
run: npm run build:types --workspace=server

- name: Lint and type check
run: npm run lint && npm run typescript:check-types

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
run: |
set -euo pipefail
npm ci
npm run build:types --workspace=server
npm run lint
npm run typescript:check-types
npm run test:tooling
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ bundles first with `npm run build:prod:browser`.

## Verify changes

Generate the server declarations before typed lint and type checks. The standalone
consumer fixture resolves the package name through its published exports map.

```sh
npm run build:types --workspace=server
npm run lint
npm run typescript:check-types
npm run check:publication
Expand Down
Loading