Skip to content

Commit a6a1fe3

Browse files
committed
Add sdk to verdaccio config
1 parent 843812e commit a6a1fe3

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

dev-packages/e2e-tests/verdaccio-config/config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ packages:
140140
unpublish: $all
141141
# proxy: npmjs # Don't proxy for E2E tests!
142142

143+
'@sentry/solidstart':
144+
access: $all
145+
publish: $all
146+
unpublish: $all
147+
# proxy: npmjs # Don't proxy for E2E tests!
148+
143149
'@sentry/svelte':
144150
access: $all
145151
publish: $all

packages/solidstart/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
This SDK is considered ⚠️ **experimental and in an alpha state**. It may experience breaking changes. Please reach out
1414
on [GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if you have any feedback or concerns. This
15-
SDK is for [Solid Start](https://start.solidjs.com/). If you're using [Solid](https://www.solidjs.com/) see our Solid
16-
SDK here.
15+
SDK is for [Solid Start](https://start.solidjs.com/). If you're using [Solid](https://www.solidjs.com/) see our
16+
[Solid SDK here](https://github.com/getsentry/sentry-javascript/tree/develop/packages/solid).
1717

1818
## Links
1919

@@ -58,7 +58,7 @@ mount(() => <StartClient />, document.getElementById('app'));
5858

5959
### 3. Server-side Setup
6060

61-
Create an instrumentation file named `instrument.server.mjs` and add your initialization code for the server-side SDK.
61+
Create an instrument file named `instrument.server.mjs` and add your initialization code for the server-side SDK.
6262

6363
```javascript
6464
import * as Sentry from '@sentry/solidstart';
@@ -76,7 +76,7 @@ Then run your app
7676
```bash
7777
NODE_OPTIONS='--import=./instrument.server.mjs' yarn start
7878
# or
79-
NODE_OPTIONS='--require=./instrument.server.cjs' yarn start
79+
NODE_OPTIONS='--require=./instrument.server.js' yarn start
8080
```
8181

8282
# Solid Router
@@ -88,7 +88,7 @@ Wrap `Router`, `MemoryRouter` or `HashRouter` from `@solidjs/router` using `with
8888
higher order component, which will enable Sentry to reach your router context.
8989

9090
```js
91-
import { withSentryRouterRouting } from '@sentry/solid/solidrouter';
91+
import { withSentryRouterRouting } from '@sentry/solidstart/solidrouter';
9292
import { Route, Router } from '@solidjs/router';
9393

9494
const SentryRouter = Sentry.withSentryRouterRouting(Router);

0 commit comments

Comments
 (0)