Skip to content

Commit 6dd3fb5

Browse files
authored
feat(deno): Don't publish to deno.land (#15016)
1 parent e7446c5 commit 6dd3fb5

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

.craft.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,6 @@ targets:
7878
- name: npm
7979
id: '@sentry/deno'
8080
includeNames: /^sentry-deno-\d.*\.tgz$/
81-
- name: commit-on-git-repository
82-
# This will publish on the Deno registry
83-
id: getsentry/deno
84-
archive: /^sentry-deno-\d.*\.tgz$/
85-
repositoryUrl: https://github.com/getsentry/sentry-deno.git
86-
stripComponents: 1
87-
branch: main
88-
createTag: true
8981

9082
## 5. Node-based Packages
9183
- name: npm

docs/migration/v8-to-v9.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -267,15 +267,17 @@ Let us know if this is causing issues in your setup by opening an issue on GitHu
267267

268268
### `@sentry/deno`
269269

270-
- The import of Sentry from the deno registry has changed. Use the `import * as Sentry from 'https://deno.land/x/sentry/build/index.mjs'` import instead.
270+
- `@sentry/deno` is no longer published on `deno.land` so you'll need to import
271+
from npm:
271272

272-
```js
273-
// before
274-
import * as Sentry from 'https://deno.land/x/sentry/index.mjs';
273+
```javascript
274+
import * as Sentry from 'npm:@sentry/deno';
275275

276-
// after
277-
import * as Sentry from 'https://deno.land/x/sentry/build/index.mjs';
278-
```
276+
Sentry.init({
277+
dsn: '__DSN__',
278+
// ...
279+
});
280+
```
279281

280282
## 6. Type Changes
281283

packages/deno/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ To use this SDK, call `Sentry.init(options)` as early as possible in the main en
2525
and hook into the environment. Note that you can turn off almost all side effects using the respective options.
2626

2727
```javascript
28-
// Import from the Deno registry
29-
import * as Sentry from 'https://deno.land/x/sentry/build/index.mjs';
30-
31-
// or import from npm registry
3228
import * as Sentry from 'npm:@sentry/deno';
3329

3430
Sentry.init({

0 commit comments

Comments
 (0)