Skip to content

Commit 1110fdb

Browse files
committed
ref: Bump wizard
1 parent 2daad9a commit 1110fdb

File tree

5 files changed

+16
-10
lines changed

5 files changed

+16
-10
lines changed

packages/nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"@sentry/node": "6.2.1",
2222
"@sentry/react": "6.2.1",
2323
"@sentry/next-plugin-sentry": "6.2.1",
24-
"@sentry/wizard": "1.2.0",
25-
"@sentry/webpack-plugin": "1.14.1"
24+
"@sentry/wizard": "^1.2.1",
25+
"@sentry/webpack-plugin": "^1.14.1"
2626
},
2727
"devDependencies": {
2828
"@sentry/types": "6.2.1",

packages/nextjs/src/browser.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export function init(options: NextjsOptions): any {
1515
reactInit(options);
1616
} else {
1717
// eslint-disable-next-line no-console
18-
console.log('[Sentry] Detected a non-production environment. Not initializing Sentry.');
18+
console.warn('[Sentry] Detected a non-production environment. Not initializing Sentry.');
19+
// eslint-disable-next-line no-console
20+
console.warn('[Sentry] To use Sentry also in development set `dev: true` in the options.');
1921
}
2022
}

packages/nextjs/src/node.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export function init(options: NextjsOptions): any {
1515
nodeInit(options);
1616
} else {
1717
// eslint-disable-next-line no-console
18-
console.log('[Sentry] Detected a non-production environment. Not initializing Sentry.');
18+
console.warn('[Sentry] Detected a non-production environment. Not initializing Sentry.');
19+
// eslint-disable-next-line no-console
20+
console.warn('[Sentry] To use Sentry also in development set `dev: true` in the options.');
1921
}
2022
}

packages/nextjs/src/sdk.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export function init(options: NextjsOptions): void {
1818
reactInit(options);
1919
} else {
2020
// eslint-disable-next-line no-console
21-
console.log('[Sentry] Detected a non-production environment. Not initializing Sentry.');
21+
console.warn('[Sentry] Detected a non-production environment. Not initializing Sentry.');
22+
// eslint-disable-next-line no-console
23+
console.warn('[Sentry] To use Sentry also in development set `dev: true` in the options.');
2224
}
2325
}

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3387,17 +3387,17 @@
33873387
"@sentry/types" "6.2.1"
33883388
tslib "^1.9.3"
33893389

3390-
3390+
"@sentry/webpack-plugin@^1.14.1":
33913391
version "1.14.1"
33923392
resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.14.1.tgz#f7aceac17820677f6064293d1f5d01ac72012d14"
33933393
integrity sha512-Elxs21Z9hHNd+s9dCFVkbr/xLa+7Pb8zfqSCzvPOraHCBseE2onyzM7gostmxLtInboEwO0yRTQ5ohmfhhpa2A==
33943394
dependencies:
33953395
"@sentry/cli" "^1.58.0"
33963396

3397-
"@sentry/[email protected].0":
3398-
version "1.2.0"
3399-
resolved "https://registry.yarnpkg.com/@sentry/wizard/-/wizard-1.2.0.tgz#9ed9e0eb8501ef1b94ff6fbea57fffb6ed6a08ae"
3400-
integrity sha512-VxtRO8k4hL1pZ1Nfv9ps5GmMMoKH8b6gMmicrAbXUeO8BHSJ6EOW24OtvRDShvZJ5bxY1lR6f/dUaC7qt1E+MA==
3397+
"@sentry/wizard@^1.2.1":
3398+
version "1.2.1"
3399+
resolved "https://registry.yarnpkg.com/@sentry/wizard/-/wizard-1.2.1.tgz#693da78bb9f2006e35ea1ec96979a657d57d8e72"
3400+
integrity sha512-LcXuhNneg43ecsASXtdQD0fvimCN2VOuB02OQRCLfZbwXZCMSr5qbneL8Umt9Hv3OyW2Ub0K8+KbDN9jzmyLSA==
34013401
dependencies:
34023402
"@sentry/cli" "^1.52.4"
34033403
chalk "^2.4.1"

0 commit comments

Comments
 (0)