Skip to content

feat(deno)!: Remove deno prepack #14829

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
Dec 23, 2024
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
4 changes: 4 additions & 0 deletions docs/migration/v8-to-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
The SDK no longer contains these statements.
Let us know if this is causing issues in your setup by opening an issue on GitHub.

### `@sentry/deno`

- The import of Sentry from the deno registry has changed. Use `import * as Sentry from 'https://deno.land/x/sentry/build/index.mjs'` instead.

## 6. Type Changes

In v8, types have been exported from `@sentry/types`, while implementations have been exported from other classes.
Expand Down
2 changes: 1 addition & 1 deletion packages/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ and hook into the environment. Note that you can turn off almost all side effect

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

// or import from npm registry
import * as Sentry from 'npm:@sentry/deno';
Expand Down
4 changes: 2 additions & 2 deletions packages/deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"build:types": "run-s deno-types build:types:tsc build:types:bundle",
"build:types:tsc": "tsc -p tsconfig.types.json",
"build:types:bundle": "rollup -c rollup.types.config.mjs",
"build:tarball": "node ./scripts/prepack.js && npm pack ./build",
"build:tarball": "npm pack",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build build-types build-test coverage node_modules/.deno sentry-deno-*.tgz",
"prefix": "yarn deno-types",
Expand All @@ -50,7 +50,7 @@
"test": "run-s install:deno deno-types test:unit",
"test:unit": "deno test --allow-read --allow-run --no-check",
"test:unit:update": "deno test --allow-read --allow-write --allow-run -- --update",
"yalc:publish": "node ./scripts/prepack.js && yalc publish build --push --sig"
"yalc:publish": "yalc publish --push --sig"
},
"volta": {
"extends": "../../package.json"
Expand Down
127 changes: 0 additions & 127 deletions packages/deno/scripts/prepack.js

This file was deleted.

Loading