Skip to content

Commit 16647a5

Browse files
authored
feat(deno)!: Remove deno prepack (#14829)
Closes: #14311
1 parent dc08b82 commit 16647a5

File tree

4 files changed

+7
-130
lines changed

4 files changed

+7
-130
lines changed

docs/migration/v8-to-v9.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
163163
The SDK no longer contains these statements.
164164
Let us know if this is causing issues in your setup by opening an issue on GitHub.
165165

166+
### `@sentry/deno`
167+
168+
- The import of Sentry from the deno registry has changed. Use `import * as Sentry from 'https://deno.land/x/sentry/build/index.mjs'` instead.
169+
166170
## 6. Type Changes
167171

168172
In v8, types have been exported from `@sentry/types`, while implementations have been exported from other classes.

packages/deno/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ and hook into the environment. Note that you can turn off almost all side effect
2626

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

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

packages/deno/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"build:types": "run-s deno-types build:types:tsc build:types:bundle",
4040
"build:types:tsc": "tsc -p tsconfig.types.json",
4141
"build:types:bundle": "rollup -c rollup.types.config.mjs",
42-
"build:tarball": "node ./scripts/prepack.js && npm pack ./build",
42+
"build:tarball": "npm pack",
4343
"circularDepCheck": "madge --circular src/index.ts",
4444
"clean": "rimraf build build-types build-test coverage node_modules/.deno sentry-deno-*.tgz",
4545
"prefix": "yarn deno-types",
@@ -50,7 +50,7 @@
5050
"test": "run-s install:deno deno-types test:unit",
5151
"test:unit": "deno test --allow-read --allow-run --no-check",
5252
"test:unit:update": "deno test --allow-read --allow-write --allow-run -- --update",
53-
"yalc:publish": "node ./scripts/prepack.js && yalc publish build --push --sig"
53+
"yalc:publish": "yalc publish --push --sig"
5454
},
5555
"volta": {
5656
"extends": "../../package.json"

packages/deno/scripts/prepack.js

Lines changed: 0 additions & 127 deletions
This file was deleted.

0 commit comments

Comments
 (0)