Skip to content

Commit

Permalink
Merge branch 'develop' into external-contributor/patch-antonis
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored Dec 13, 2024
2 parents 48dfa3c + 85f87e4 commit 25658db
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 56 deletions.
17 changes: 0 additions & 17 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,23 +142,6 @@ targets:
id: '@sentry-internal/eslint-config-sdk'
includeNames: /^sentry-internal-eslint-config-sdk-\d.*\.tgz$/

# TODO(v9): Remove this target
# NOTE: We publish the v8 layer under its own name so people on v8 can still get patches
# whenever we release a new v8 version—otherwise we would overwrite the current major lambda layer.
- name: aws-lambda-layer
includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha|rc)\.\d+)?\.zip$/
layerName: SentryNodeServerlessSDKv8
compatibleRuntimes:
- name: node
versions:
- nodejs10.x
- nodejs12.x
- nodejs14.x
- nodejs16.x
- nodejs18.x
- nodejs20.x
license: MIT

# AWS Lambda Layer target
- name: aws-lambda-layer
includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha|rc)\.\d+)?\.zip$/
Expand Down
13 changes: 6 additions & 7 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,16 @@
}
},
"ignore": [
".vscode/*",
".vscode",
"**/*.json",
".next/**/*",
".svelte-kit/**/*",
"**/fixtures/*/*.json",
"**/*.min.js",
".next/**",
".svelte-kit/**",
".angular/**",
".next",
".nuxt",
".svelte-kit",
".angular",
"angular.json",
"ember/instance-initializers/**",
"ember/instance-initializers",
"ember/types.d.ts",
"solidstart/*.d.ts",
"solidstart/client/",
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"clean": "rimraf tmp node_modules && yarn clean:test-applications && yarn clean:pnpm",
"ci:build-matrix": "ts-node ./lib/getTestMatrix.ts",
"ci:build-matrix-optional": "ts-node ./lib/getTestMatrix.ts --optional=true",
"clean:test-applications": "rimraf --glob test-applications/**/{node_modules,dist,build,.next,.sveltekit,pnpm-lock.yaml,.last-run.json,test-results}",
"clean:test-applications": "rimraf --glob test-applications/**/{node_modules,dist,build,.next,.nuxt,.sveltekit,pnpm-lock.yaml,.last-run.json,test-results}",
"clean:pnpm": "pnpm store prune"
},
"devDependencies": {
Expand Down
33 changes: 2 additions & 31 deletions packages/nuxt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,35 +130,6 @@ export default defineNuxtConfig({
});
```

## Troubleshooting
## Troubleshoot

When adding `sentry.server.config.ts`, you might get an error like this:
"`Failed to register ESM hook import-in-the-middle/hook.mjs`". You can add an override (npm/pnpm) or a resolution (yarn)
for `@vercel/nft` to fix this. This will add the `hook.mjs` file to your build output
([Nitro issue here](https://github.com/unjs/nitro/issues/2703)).

For `npm`:

```json
"overrides": {
"@vercel/nft": "^0.27.4"
}
```

for `yarn`:

```json
"resolutions": {
"@vercel/nft": "^0.27.4"
}
```

or for `pnpm`:

```json
"pnpm": {
"overrides": {
"@vercel/nft": "^0.27.4"
}
}
```
If you encounter any issues with error tracking or integrations, refer to the official [Sentry Nuxt SDK documentation](https://docs.sentry.io/platforms/javascript/guides/nuxt/). If the documentation does not provide the necessary information, consider opening an issue on GitHub.

0 comments on commit 25658db

Please sign in to comment.