Skip to content

feat(deno): Don't publish to deno.land #15016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 17, 2025
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
8 changes: 0 additions & 8 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ targets:
- name: npm
id: '@sentry/deno'
includeNames: /^sentry-deno-\d.*\.tgz$/
- name: commit-on-git-repository
# This will publish on the Deno registry
id: getsentry/deno
archive: /^sentry-deno-\d.*\.tgz$/
repositoryUrl: https://github.com/getsentry/sentry-deno.git
stripComponents: 1
branch: main
createTag: true

## 5. Node-based Packages
- name: npm
Expand Down
16 changes: 9 additions & 7 deletions docs/migration/v8-to-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,15 +267,17 @@ Let us know if this is causing issues in your setup by opening an issue on GitHu

### `@sentry/deno`

- 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.
- `@sentry/deno` is no longer published on `deno.land` so you'll need to import
from npm:

```js
// before
import * as Sentry from 'https://deno.land/x/sentry/index.mjs';
```javascript
import * as Sentry from 'npm:@sentry/deno';

// after
import * as Sentry from 'https://deno.land/x/sentry/build/index.mjs';
```
Sentry.init({
dsn: '__DSN__',
// ...
});
```

## 6. Type Changes

Expand Down
4 changes: 0 additions & 4 deletions packages/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ To use this SDK, call `Sentry.init(options)` as early as possible in the main en
and hook into the environment. Note that you can turn off almost all side effects using the respective options.

```javascript
// Import from the Deno registry
import * as Sentry from 'https://deno.land/x/sentry/build/index.mjs';

// or import from npm registry
import * as Sentry from 'npm:@sentry/deno';

Sentry.init({
Expand Down
Loading