Skip to content

Commit 1d5786f

Browse files
committed
Fix CI review issues
1 parent 137f4e7 commit 1d5786f

File tree

8 files changed

+12
-14
lines changed

8 files changed

+12
-14
lines changed

packages/integration-tests-next/fixtures/webpack5/basic-sourcemaps.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => {
1414
/******/ })()
1515
;
1616
//# sourceMappingURL=basic.js.map",
17-
"basic.js.map": "{"version":3,"file":"basic.js","mappings":";;;AAAA;AACA","sources":["webpack://rollup4-integration-tests/./src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"sourceRoot":""}",
17+
"basic.js.map": "{"version":3,"file":"basic.js","mappings":";;;AAAA;AACA","sources":["webpack://webpack5-integration-tests/./src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"sourceRoot":""}",
1818
"sentry-cli-mock.json": "["releases","new","CURRENT_SHA"],
1919
["releases","set-commits","CURRENT_SHA","--auto","--ignore-missing"],
2020
["releases","finalize","CURRENT_SHA"],

packages/integration-tests-next/fixtures/webpack5/build-info.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
55
runBundler();
66
expect(readOutputFiles()).toMatchInlineSnapshot(`
77
{
8-
"basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"build-information-injection-test"};e.SENTRY_BUILD_INFO={"deps":["@sentry/webpack-plugin","webpack","webpack-cli"],"depsVersions":{"webpack":5},"nodeVersion":"NODE_VERSION"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6438758c-c236-4f8b-af24-575a5948a617",e._sentryDebugIdIdentifier="sentry-dbid-6438758c-c236-4f8b-af24-575a5948a617");}catch(e){}}();
8+
"basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"build-information-injection-test"};e.SENTRY_BUILD_INFO={"deps":["@babel/preset-react","@sentry/webpack-plugin","webpack","webpack-cli"],"depsVersions":{"webpack":5},"nodeVersion":"NODE_VERSION"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6438758c-c236-4f8b-af24-575a5948a617",e._sentryDebugIdIdentifier="sentry-dbid-6438758c-c236-4f8b-af24-575a5948a617");}catch(e){}}();
99
/******/ (() => { // webpackBootstrap
1010
/******/ "use strict";
1111
// eslint-disable-next-line no-console

packages/integration-tests-next/fixtures/webpack5/component-annotation-disabled.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
55
runBundler();
66
expect(readOutputFiles()).toMatchInlineSnapshot(`
77
{
8-
"app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0c0c0033-ce3e-495b-a746-b130c60bc714",e._sentryDebugIdIdentifier="sentry-dbid-0c0c0033-ce3e-495b-a746-b130c60bc714");}catch(e){}}();
8+
"app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="56aca27b-2809-426a-9842-c74241cd7985",e._sentryDebugIdIdentifier="sentry-dbid-56aca27b-2809-426a-9842-c74241cd7985");}catch(e){}}();
99
/******/ (() => { // webpackBootstrap
1010
/******/ "use strict";
1111
@@ -23,9 +23,8 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
2323
}
2424
;// ./src/app.jsx
2525
/* unused harmony import specifier */ var app_ComponentA;
26-
/* unused harmony import specifier */ var app_jsx;
2726
/* unused harmony import specifier */ var _jsxs;
28-
27+
/* unused harmony import specifier */ var app_jsx;
2928
3029
3130
function App() {

packages/integration-tests-next/fixtures/webpack5/component-annotation-next.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => {
1010
runBundler();
1111
expect(readOutputFiles()).toMatchInlineSnapshot(`
1212
{
13-
"app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c1e4d370-1d54-4310-be89-73f61bd8869b",e._sentryDebugIdIdentifier="sentry-dbid-c1e4d370-1d54-4310-be89-73f61bd8869b");}catch(e){}}();
13+
"app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="550fd31a-707a-4221-b84e-f3964d7c368b",e._sentryDebugIdIdentifier="sentry-dbid-550fd31a-707a-4221-b84e-f3964d7c368b");}catch(e){}}();
1414
/******/ (() => { // webpackBootstrap
1515
/******/ "use strict";
1616
@@ -29,9 +29,8 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => {
2929
}
3030
;// ./src/app.jsx
3131
/* unused harmony import specifier */ var app_ComponentA;
32-
/* unused harmony import specifier */ var app_jsx;
3332
/* unused harmony import specifier */ var _jsxs;
34-
33+
/* unused harmony import specifier */ var app_jsx;
3534
3635
3736
function App() {

packages/integration-tests-next/fixtures/webpack5/component-annotation.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => {
1010
runBundler();
1111
expect(readOutputFiles()).toMatchInlineSnapshot(`
1212
{
13-
"app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e3bed504-a59a-4ad9-a354-5b25dcad2b77",e._sentryDebugIdIdentifier="sentry-dbid-e3bed504-a59a-4ad9-a354-5b25dcad2b77");}catch(e){}}();
13+
"app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cfc1abb3-018d-4ab5-adbb-cdba19bbd8e0",e._sentryDebugIdIdentifier="sentry-dbid-cfc1abb3-018d-4ab5-adbb-cdba19bbd8e0");}catch(e){}}();
1414
/******/ (() => { // webpackBootstrap
1515
/******/ "use strict";
1616
@@ -30,9 +30,8 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => {
3030
}
3131
;// ./src/app.jsx
3232
/* unused harmony import specifier */ var app_ComponentA;
33-
/* unused harmony import specifier */ var app_jsx;
3433
/* unused harmony import specifier */ var _jsxs;
35-
34+
/* unused harmony import specifier */ var app_jsx;
3635
3736
3837
function App() {

packages/integration-tests-next/fixtures/webpack5/debugid-disabled.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
1313
/******/ })()
1414
;
1515
//# sourceMappingURL=basic.js.map",
16-
"basic.js.map": "{"version":3,"file":"basic.js","mappings":";;AAAA;AACA","sources":["webpack://rollup4-integration-tests/./src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"sourceRoot":""}",
16+
"basic.js.map": "{"version":3,"file":"basic.js","mappings":";;AAAA;AACA","sources":["webpack://webpack5-integration-tests/./src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"sourceRoot":""}",
1717
}
1818
`);
1919
});

packages/integration-tests-next/fixtures/webpack5/debugids-already-injected.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test(import.meta.url, ({ runBundler, createTempDir }) => {
1919
;
2020
//# sourceMappingURL=basic.js.map
2121
//# debugId=33730b8e-5b8d-4795-94b2-666cea28fce6",
22-
"33730b8e-5b8d-4795-94b2-666cea28fce6-0.js.map": "{"version":3,"file":"basic.js","mappings":";;;AAAA;AACA","sources":["rollup4-integration-tests/./src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"sourceRoot":"","debug_id":"33730b8e-5b8d-4795-94b2-666cea28fce6","debugId":"33730b8e-5b8d-4795-94b2-666cea28fce6"}",
22+
"33730b8e-5b8d-4795-94b2-666cea28fce6-0.js.map": "{"version":3,"file":"basic.js","mappings":";;;AAAA;AACA","sources":["webpack5-integration-tests/./src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"sourceRoot":"","debug_id":"33730b8e-5b8d-4795-94b2-666cea28fce6","debugId":"33730b8e-5b8d-4795-94b2-666cea28fce6"}",
2323
}
2424
`);
2525
});

packages/integration-tests-next/fixtures/webpack5/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2-
"name": "rollup4-integration-tests",
2+
"name": "webpack5-integration-tests",
33
"version": "1.0.0",
44
"private": true,
55
"type": "module",
66
"dependencies": {
77
"webpack": "5.105.4",
88
"webpack-cli": "6.0.1",
9+
"@babel/preset-react": "7.23.3",
910
"@sentry/webpack-plugin": "5.1.1"
1011
},
1112
"pnpm": {

0 commit comments

Comments
 (0)