Skip to content

Commit

Permalink
feat(deno)!: Remove deno prepack (#14829)
Browse files Browse the repository at this point in the history
Closes: #14311
  • Loading branch information
andreiborza authored Dec 23, 2024
1 parent dc08b82 commit 16647a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 130 deletions.
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.

0 comments on commit 16647a5

Please sign in to comment.