Skip to content

Commit fce6e20

Browse files
committed
Use, TS source of packages instead of builds.
1 parent 39c060c commit fce6e20

File tree

4 files changed

+3
-160
lines changed

4 files changed

+3
-160
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ jobs:
449449
key: ${{ env.BUILD_CACHE_KEY }}
450450
- name: Run integration tests
451451
env:
452-
SENTRY_NODE_BUILD: ${{ matrix.build }}
453452
NODE_VERSION: ${{ matrix.node }}
454453
run: |
455454
cd packages/node-integration-tests

packages/node-integration-tests/jest.config.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
const path = require('path');
2-
const process = require('process');
32

4-
const useBuild = process.env['SENTRY_NODE_BUILD'];
5-
const useESM = useBuild === 'esm';
6-
7-
const sentryNodePath = path.join(path.dirname(__dirname), 'node', useESM ? 'esm' : 'dist');
8-
const sentryTracingPath = path.join(path.dirname(__dirname), 'tracing', useESM ? 'esm' : 'dist');
3+
const sentryNodePath = path.join(path.dirname(__dirname), 'node');
4+
const sentryTracingPath = path.join(path.dirname(__dirname), 'tracing');
95

106
const config = {
117
transform: {
128
'^.+\\.ts$': 'ts-jest',
13-
'^.+\\.js$': 'babel-jest',
149
},
1510
testEnvironment: 'node',
1611
testMatch: ['**/test.ts'],

packages/node-integration-tests/package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,9 @@
1111
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
1212
"lint:prettier": "prettier --check \"{suites,utils}/**/*.ts\"",
1313
"type-check": "tsc",
14-
"test": "jest --detectOpenHandles --runInBand --forceExit",
15-
"test:esm": "SENTRY_NODE_BUILD=esm yarn test",
16-
"test:cjs": "SENTRY_NODE_BUILD=cjs yarn test"
14+
"test": "jest --detectOpenHandles --runInBand --forceExit"
1715
},
1816
"dependencies": {
19-
"@babel/core": "^7.17.5",
20-
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
21-
"babel-jest": "^24.9.0",
2217
"express": "^4.17.3",
2318
"nock": "^13.1.0",
2419
"portfinder": "^1.0.28"

yarn.lock

Lines changed: 0 additions & 146 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
# yarn lockfile v1
33

44

5-
"@ampproject/remapping@^2.1.0":
6-
version "2.1.2"
7-
resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.2.tgz#4edca94973ded9630d20101cd8559cedb8d8bd34"
8-
integrity sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==
9-
dependencies:
10-
"@jridgewell/trace-mapping" "^0.3.0"
11-
125
"@angular/common@^10.0.3":
136
version "10.2.4"
147
resolved "https://registry.yarnpkg.com/@angular/common/-/common-10.2.4.tgz#fb1772ea5780c96e00411900c54457f0cbcf401b"
@@ -68,11 +61,6 @@
6861
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.16.0.tgz#ea269d7f78deb3a7826c39a4048eecda541ebdaa"
6962
integrity sha512-DGjt2QZse5SGd9nfOSqO4WLJ8NN/oHkijbXbPrxuoJO3oIPJL3TciZs9FX+cOHNiY9E9l0opL8g7BmLe3T+9ew==
7063

71-
"@babel/compat-data@^7.16.4":
72-
version "7.17.0"
73-
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.0.tgz#86850b8597ea6962089770952075dcaabb8dba34"
74-
integrity sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==
75-
7664
"@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.12.0", "@babel/core@^7.3.4":
7765
version "7.13.14"
7866
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.13.14.tgz#8e46ebbaca460a63497c797e574038ab04ae6d06"
@@ -136,27 +124,6 @@
136124
semver "^6.3.0"
137125
source-map "^0.5.0"
138126

139-
"@babel/core@^7.17.5":
140-
version "7.17.5"
141-
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.17.5.tgz#6cd2e836058c28f06a4ca8ee7ed955bbf37c8225"
142-
integrity sha512-/BBMw4EvjmyquN5O+t5eh0+YqB3XXJkYD2cjKpYtWOfFy4lQ4UozNSmxAcWT8r2XtZs0ewG+zrfsqeR15i1ajA==
143-
dependencies:
144-
"@ampproject/remapping" "^2.1.0"
145-
"@babel/code-frame" "^7.16.7"
146-
"@babel/generator" "^7.17.3"
147-
"@babel/helper-compilation-targets" "^7.16.7"
148-
"@babel/helper-module-transforms" "^7.16.7"
149-
"@babel/helpers" "^7.17.2"
150-
"@babel/parser" "^7.17.3"
151-
"@babel/template" "^7.16.7"
152-
"@babel/traverse" "^7.17.3"
153-
"@babel/types" "^7.17.0"
154-
convert-source-map "^1.7.0"
155-
debug "^4.1.0"
156-
gensync "^1.0.0-beta.2"
157-
json5 "^2.1.2"
158-
semver "^6.3.0"
159-
160127
"@babel/generator@^7.13.9", "@babel/generator@^7.16.0":
161128
version "7.16.0"
162129
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.16.0.tgz#d40f3d1d5075e62d3500bccb67f3daa8a95265b2"
@@ -184,15 +151,6 @@
184151
jsesc "^2.5.1"
185152
source-map "^0.5.0"
186153

187-
"@babel/generator@^7.17.3":
188-
version "7.17.3"
189-
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.3.tgz#a2c30b0c4f89858cb87050c3ffdfd36bdf443200"
190-
integrity sha512-+R6Dctil/MgUsZsZAkYgK+ADNSZzJRRy0TvY65T71z/CR854xHQ1EweBYXdfT+HNeN7w0cSJJEzgxZMv40pxsg==
191-
dependencies:
192-
"@babel/types" "^7.17.0"
193-
jsesc "^2.5.1"
194-
source-map "^0.5.0"
195-
196154
"@babel/helper-annotate-as-pure@^7.12.13":
197155
version "7.12.13"
198156
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz#0f58e86dfc4bb3b1fcd7db806570e177d439b6ab"
@@ -242,16 +200,6 @@
242200
browserslist "^4.17.5"
243201
semver "^6.3.0"
244202

245-
"@babel/helper-compilation-targets@^7.16.7":
246-
version "7.16.7"
247-
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz#06e66c5f299601e6c7da350049315e83209d551b"
248-
integrity sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==
249-
dependencies:
250-
"@babel/compat-data" "^7.16.4"
251-
"@babel/helper-validator-option" "^7.16.7"
252-
browserslist "^4.17.5"
253-
semver "^6.3.0"
254-
255203
"@babel/helper-create-class-features-plugin@^7.13.0", "@babel/helper-create-class-features-plugin@^7.5.5":
256204
version "7.13.11"
257205
resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz#30d30a005bca2c953f5653fc25091a492177f4f6"
@@ -428,13 +376,6 @@
428376
dependencies:
429377
"@babel/types" "^7.16.0"
430378

431-
"@babel/helper-module-imports@^7.16.7":
432-
version "7.16.7"
433-
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz#25612a8091a999704461c8a222d0efec5d091437"
434-
integrity sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==
435-
dependencies:
436-
"@babel/types" "^7.16.7"
437-
438379
"@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.15.4":
439380
version "7.15.4"
440381
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.4.tgz#962cc629a7f7f9a082dd62d0307fa75fe8788d7c"
@@ -463,20 +404,6 @@
463404
"@babel/traverse" "^7.16.0"
464405
"@babel/types" "^7.16.0"
465406

466-
"@babel/helper-module-transforms@^7.16.7":
467-
version "7.17.6"
468-
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.17.6.tgz#3c3b03cc6617e33d68ef5a27a67419ac5199ccd0"
469-
integrity sha512-2ULmRdqoOMpdvkbT8jONrZML/XALfzxlb052bldftkicAUy8AxSCkD5trDPQcwHNmolcl7wP6ehNqMlyUw6AaA==
470-
dependencies:
471-
"@babel/helper-environment-visitor" "^7.16.7"
472-
"@babel/helper-module-imports" "^7.16.7"
473-
"@babel/helper-simple-access" "^7.16.7"
474-
"@babel/helper-split-export-declaration" "^7.16.7"
475-
"@babel/helper-validator-identifier" "^7.16.7"
476-
"@babel/template" "^7.16.7"
477-
"@babel/traverse" "^7.17.3"
478-
"@babel/types" "^7.17.0"
479-
480407
"@babel/helper-optimise-call-expression@^7.12.13", "@babel/helper-optimise-call-expression@^7.15.4":
481408
version "7.15.4"
482409
resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz#f310a5121a3b9cc52d9ab19122bd729822dee171"
@@ -562,13 +489,6 @@
562489
dependencies:
563490
"@babel/types" "^7.16.0"
564491

565-
"@babel/helper-simple-access@^7.16.7":
566-
version "7.16.7"
567-
resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz#d656654b9ea08dbb9659b69d61063ccd343ff0f7"
568-
integrity sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==
569-
dependencies:
570-
"@babel/types" "^7.16.7"
571-
572492
"@babel/helper-skip-transparent-expression-wrappers@^7.12.1":
573493
version "7.12.1"
574494
resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz#462dc63a7e435ade8468385c63d2b84cce4b3cbf"
@@ -657,15 +577,6 @@
657577
"@babel/traverse" "^7.15.4"
658578
"@babel/types" "^7.15.4"
659579

660-
"@babel/helpers@^7.17.2":
661-
version "7.17.2"
662-
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.2.tgz#23f0a0746c8e287773ccd27c14be428891f63417"
663-
integrity sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==
664-
dependencies:
665-
"@babel/template" "^7.16.7"
666-
"@babel/traverse" "^7.17.0"
667-
"@babel/types" "^7.17.0"
668-
669580
"@babel/highlight@^7.10.4", "@babel/highlight@^7.14.5":
670581
version "7.14.5"
671582
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9"
@@ -713,11 +624,6 @@
713624
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.8.tgz#61c243a3875f7d0b0962b0543a33ece6ff2f1f17"
714625
integrity sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==
715626

716-
"@babel/parser@^7.17.3":
717-
version "7.17.3"
718-
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.3.tgz#b07702b982990bf6fdc1da5049a23fece4c5c3d0"
719-
integrity sha512-7yJPvPV+ESz2IUTPbOL+YkIGyCqOyNIzdguKQuJGnH7bg1WTIifuM21YqokFt/THWh1AkCRn9IgoykTRCBVpzA==
720-
721627
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12":
722628
version "7.13.12"
723629
resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.13.12.tgz#a3484d84d0b549f3fc916b99ee4783f26fabad2a"
@@ -1177,16 +1083,6 @@
11771083
"@babel/helper-simple-access" "^7.16.0"
11781084
babel-plugin-dynamic-import-node "^2.3.3"
11791085

1180-
"@babel/plugin-transform-modules-commonjs@^7.16.8":
1181-
version "7.16.8"
1182-
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz#cdee19aae887b16b9d331009aa9a219af7c86afe"
1183-
integrity sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==
1184-
dependencies:
1185-
"@babel/helper-module-transforms" "^7.16.7"
1186-
"@babel/helper-plugin-utils" "^7.16.7"
1187-
"@babel/helper-simple-access" "^7.16.7"
1188-
babel-plugin-dynamic-import-node "^2.3.3"
1189-
11901086
"@babel/plugin-transform-modules-systemjs@^7.13.8":
11911087
version "7.13.8"
11921088
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.13.8.tgz#6d066ee2bff3c7b3d60bf28dec169ad993831ae3"
@@ -1598,22 +1494,6 @@
15981494
debug "^4.1.0"
15991495
globals "^11.1.0"
16001496

1601-
"@babel/traverse@^7.17.0", "@babel/traverse@^7.17.3":
1602-
version "7.17.3"
1603-
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.3.tgz#0ae0f15b27d9a92ba1f2263358ea7c4e7db47b57"
1604-
integrity sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw==
1605-
dependencies:
1606-
"@babel/code-frame" "^7.16.7"
1607-
"@babel/generator" "^7.17.3"
1608-
"@babel/helper-environment-visitor" "^7.16.7"
1609-
"@babel/helper-function-name" "^7.16.7"
1610-
"@babel/helper-hoist-variables" "^7.16.7"
1611-
"@babel/helper-split-export-declaration" "^7.16.7"
1612-
"@babel/parser" "^7.17.3"
1613-
"@babel/types" "^7.17.0"
1614-
debug "^4.1.0"
1615-
globals "^11.1.0"
1616-
16171497
16181498
version "7.8.3"
16191499
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c"
@@ -1656,14 +1536,6 @@
16561536
"@babel/helper-validator-identifier" "^7.16.7"
16571537
to-fast-properties "^2.0.0"
16581538

1659-
"@babel/types@^7.17.0":
1660-
version "7.17.0"
1661-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b"
1662-
integrity sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==
1663-
dependencies:
1664-
"@babel/helper-validator-identifier" "^7.16.7"
1665-
to-fast-properties "^2.0.0"
1666-
16671539
"@cnakazawa/watch@^1.0.3":
16681540
version "1.0.4"
16691541
resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a"
@@ -2259,24 +2131,6 @@
22592131
"@types/yargs" "^16.0.0"
22602132
chalk "^4.0.0"
22612133

2262-
"@jridgewell/resolve-uri@^3.0.3":
2263-
version "3.0.5"
2264-
resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz#68eb521368db76d040a6315cdb24bf2483037b9c"
2265-
integrity sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==
2266-
2267-
"@jridgewell/sourcemap-codec@^1.4.10":
2268-
version "1.4.11"
2269-
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz#771a1d8d744eeb71b6adb35808e1a6c7b9b8c8ec"
2270-
integrity sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==
2271-
2272-
"@jridgewell/trace-mapping@^0.3.0":
2273-
version "0.3.4"
2274-
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz#f6a0832dffd5b8a6aaa633b7d9f8e8e94c83a0c3"
2275-
integrity sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==
2276-
dependencies:
2277-
"@jridgewell/resolve-uri" "^3.0.3"
2278-
"@jridgewell/sourcemap-codec" "^1.4.10"
2279-
22802134
22812135
version "3.13.3"
22822136
resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.13.3.tgz#f4c1674839780e458f0426d4f7b6d0a77b9a2ae9"

0 commit comments

Comments
 (0)