Skip to content

Commit 8e5ad30

Browse files
committed
use jsonc everywhere
1 parent 0296dfd commit 8e5ad30

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

docs/platforms/javascript/guides/cloudflare/frameworks/astro.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ After installing the Sentry Astro SDK, you can now install the Sentry Cloudflare
1414
To use the SDK, you'll need to set either the `nodejs_compat` or `nodejs_als` compatibility flags in your `wrangler.jsonc`/`wrangler.toml` config. This is because the SDK
1515
needs access to the `AsyncLocalStorage` API to work correctly.
1616

17-
```json {tabTitle:JSON} {filename:wrangler.jsonc}
17+
```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
1818
{
1919
"compatibility_flags": [
20-
"nodejs_compat"
20+
"nodejs_compat",
2121
// "nodejs_als"
22-
]
22+
],
2323
}
2424
```
2525

docs/platforms/javascript/guides/cloudflare/frameworks/remix.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ Now you can install the Sentry Cloudflare SDK. First, install the SDK with your
2626
To use the SDK, you'll need to set either the `nodejs_compat` or `nodejs_als` compatibility flags in your `wrangler.jsonc`/`wrangler.toml` config. This is because the SDK
2727
needs access to the `AsyncLocalStorage` API to work correctly.
2828

29-
```json {tabTitle:JSON} {filename:wrangler.jsonc}
29+
```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
3030
{
3131
"compatibility_flags": [
32-
"nodejs_compat"
32+
"nodejs_compat",
3333
// "nodejs_als"
34-
]
34+
],
3535
}
3636
```
3737

docs/platforms/javascript/guides/cloudflare/frameworks/sveltekit.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ If you installed the SDK before, make sure that `@sentry/sveltekit` version `9.2
2626
To use the SDK, you'll need to set either the `nodejs_compat` or `nodejs_als` compatibility flags in your `wrangler.jsonc`/`wrangler.toml` config. This is because the SDK
2727
needs access to the `AsyncLocalStorage` API to work correctly.
2828

29-
```json {tabTitle:JSON} {filename:wrangler.jsonc}
29+
```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
3030
{
3131
"compatibility_flags": [
32-
"nodejs_compat"
32+
"nodejs_compat",
3333
// "nodejs_als"
34-
]
34+
],
3535
}
3636
```
3737

docs/platforms/javascript/guides/cloudflare/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ Configuration should happen as early as possible in your application's lifecycle
4040
To use the SDK, you'll need to set either the `nodejs_compat` or `nodejs_als` compatibility flags in your `wrangler.jsonc`/`wrangler.toml` config. This is because the SDK
4141
needs access to the `AsyncLocalStorage` API to work correctly.
4242

43-
```json {tabTitle:JSON} {filename:wrangler.jsonc}
43+
```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
4444
{
4545
"compatibility_flags": [
46-
"nodejs_compat"
46+
"nodejs_compat",
4747
// "nodejs_als"
48-
]
48+
],
4949
}
5050
```
5151

docs/platforms/javascript/guides/hono/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ pnpm add @sentry/cloudflare
4545
To use the SDK, you'll need to set either the `nodejs_compat` or `nodejs_als` compatibility flags in your `wrangler.toml`/`wrangler.json`.
4646
This is because the SDK needs access to the `AsyncLocalStorage` API to work correctly.
4747

48-
```json {tabTitle:JSON} {filename:wrangler.jsonc}
48+
```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
4949
{
5050
"compatibility_flags": [
51-
"nodejs_compat"
51+
"nodejs_compat",
5252
// "nodejs_als"
53-
]
53+
],
5454
}
5555
```
5656

@@ -103,12 +103,12 @@ pnpm add @sentry/cloudflare
103103
To use the SDK, you'll need to set either the `nodejs_compat` or `nodejs_als` compatibility flags in your `wrangler.toml`/`wrangler.json`.
104104
This is because the SDK needs access to the `AsyncLocalStorage` API to work correctly.
105105

106-
```json {tabTitle:JSON} {filename:wrangler.jsonc}
106+
```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
107107
{
108108
"compatibility_flags": [
109-
"nodejs_compat"
109+
"nodejs_compat",
110110
// "nodejs_als"
111-
]
111+
],
112112
}
113113
```
114114

platform-includes/sourcemaps/primer/javascript.cloudflare.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Learn how to unminify your JavaScript code by watching this video or reading the
55

66
If you are using plain Cloudflare Workers, set `upload_source_maps = true` in your `wrangler.jsonc`/`wrangler.toml` config file to enable source map generation.
77

8-
```json {tabTitle:JSON} {filename:wrangler.jsonc}
8+
```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
99
{
10-
"upload_source_maps": true
10+
"upload_source_maps": true,
1111
}
1212
```
1313

0 commit comments

Comments
 (0)