Skip to content

Commit 6869c2a

Browse files
logaretmclaude
andcommitted
chore(nitro): add release metadata and config
- Add `keywords`, `lint:fix` script, and `nx.targets` build config to package.json - Link to the nitro-3 e2e app from the README - Point `.craft.yml` `mainDocsUrl` to the docs page - Add a CHANGELOG unreleased entry for the new SDK Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a2bf6f6 commit 6869c2a

4 files changed

Lines changed: 30 additions & 2 deletions

File tree

.craft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,5 +263,5 @@ targets:
263263
name: 'Sentry Nitro SDK'
264264
sdkName: 'sentry.javascript.nitro'
265265
packageUrl: 'https://www.npmjs.com/package/@sentry/nitro'
266-
mainDocsUrl: 'https://github.com/getsentry/sentry-javascript/tree/master/packages/nitro'
266+
mainDocsUrl: 'https://docs.sentry.io/platforms/javascript/guides/nitro/'
267267
onlyIfPresent: /^sentry-nitro-\d.*\.tgz$/

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Unreleased
44

5+
- **feat(nitro): Add `@sentry/nitro` SDK**
6+
7+
A new `@sentry/nitro` package provides first-class Sentry support for [Nitro](https://nitro.build/) applications, with HTTP handler and error instrumentation, middleware tracing, request isolation, and build-time source map uploading via `withSentryConfig`.
8+
Read more in the [Nitro SDK docs](https://docs.sentry.io/platforms/javascript/guides/nitro/) and the [Nitro SDK readme](https://github.com/getsentry/sentry-javascript/blob/develop/packages/nitro/README.md).
9+
510
## 10.50.0
611

712
### Important Changes

packages/nitro/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
## Links
1616

1717
- [Official Nitro SDK Docs](https://docs.sentry.io/platforms/javascript/guides/nitro/)
18+
- [Example Nitro app](https://github.com/getsentry/sentry-javascript/tree/develop/dev-packages/e2e-tests/test-applications/nitro-3)
1819

1920
## Compatibility
2021

packages/nitro/package.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/nitro",
77
"author": "Sentry",
88
"license": "MIT",
9+
"keywords": [
10+
"nitro",
11+
"sentry",
12+
"apm",
13+
"tracing",
14+
"error-tracking"
15+
],
916
"engines": {
1017
"node": ">=18.19.1"
1118
},
@@ -50,6 +57,7 @@
5057
"build:tarball": "npm pack",
5158
"clean": "rimraf build coverage sentry-nitro-*.tgz",
5259
"lint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --type-aware",
60+
"lint:fix": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --fix --type-aware",
5361
"lint:es-compatibility": "es-check es2022 ./build/esm/*.js --module",
5462
"test": "vitest run",
5563
"test:watch": "vitest --watch",
@@ -58,5 +66,19 @@
5866
"volta": {
5967
"extends": "../../package.json"
6068
},
61-
"sideEffects": false
69+
"sideEffects": false,
70+
"nx": {
71+
"targets": {
72+
"build:transpile": {
73+
"dependsOn": [
74+
"^build:transpile",
75+
"^build:types",
76+
"build:types"
77+
],
78+
"outputs": [
79+
"{projectRoot}/build/esm"
80+
]
81+
}
82+
}
83+
}
6284
}

0 commit comments

Comments
 (0)