Skip to content

Commit f57c709

Browse files
authored
chore: publish /src to npm and other fixes for sourcemap debugging (#1462)
* fix: remove .npmignore's /src/ (for sourcemaps) Crrently, SDKV3 publishes sourcemaps to npm but doesn't publish source files that those sourcemaps point to. This missing source files breaks debugging use-cases, especially for VSCode users because the VSCode debugger relies on source files for setting breakpoints in the debugger, for debugger call stacks, for "step into" original source, and any other debugger use-cases. Even outside of debugging use-cases, it's helpful for developers consuming transpiled libraries to have original source so they can better understand what the library is doing. Finally, some tools will show warnings when sourcemaps are present but source files are missing, and this commit will fix these warnings. * fix: add jest.config.js to .npmignore * fix: add *.spec.ts to nonclient package .npmignore * fix: change sourceRoot->rootDir in tsconfig.*.json
1 parent 47c6599 commit f57c709

File tree

98 files changed

+180
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+180
-98
lines changed

packages/abort-controller/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
/src/
21
/coverage/
32
tsconfig.test.json
43
*.tsbuildinfo
4+
jest.config.js
55

66
*.spec.js
7+
*.spec.ts
78
*.spec.d.ts
89
*.spec.js.map
910

packages/body-checksum-browser/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/src/
21
/coverage/
32
/docs/
43
tsconfig.test.json
54
*.tsbuildinfo
5+
jest.config.js
66

77
*.spec.js
8+
*.spec.ts
89
*.spec.d.ts
910
*.spec.js.map
1011

packages/body-checksum-node/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/src/
21
/coverage/
32
/docs/
43
tsconfig.test.json
54
*.tsbuildinfo
5+
jest.config.js
66

77
*.spec.js
8+
*.spec.ts
89
*.spec.d.ts
910
*.spec.js.map
1011

packages/chunked-blob-reader-native/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/src/
21
/coverage/
32
/docs/
43
tsconfig.test.json
54
*.tsbuildinfo
5+
jest.config.js
66

77
*.spec.js
8+
*.spec.ts
89
*.spec.d.ts
910
*.spec.js.map
1011

packages/chunked-blob-reader/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/src/
21
/coverage/
32
/docs/
43
tsconfig.test.json
54
*.tsbuildinfo
5+
jest.config.js
66

77
*.spec.js
8+
*.spec.ts
89
*.spec.d.ts
910
*.spec.js.map
1011

packages/chunked-stream-reader-node/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/src/
21
/coverage/
32
/docs/
43
tsconfig.test.json
54
*.tsbuildinfo
5+
jest.config.js
66

77
*.spec.js
8+
*.spec.ts
89
*.spec.d.ts
910
*.spec.js.map
1011

packages/client-documentation-generator/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/src/
21
/coverage/
32
/docs/
43
tsconfig.test.json
54
*.tsbuildinfo
5+
jest.config.js
66

77
*.spec.js
8+
*.spec.ts
89
*.spec.d.ts
910
*.spec.js.map
1011

packages/config-resolver/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/src/
21
/coverage/
32
/docs/
43
tsconfig.test.json
54
*.tsbuildinfo
5+
jest.config.js
66

77
*.spec.js
8+
*.spec.ts
89
*.spec.d.ts
910
*.spec.js.map
1011

packages/credential-provider-cognito-identity/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/src/
21
/coverage/
32
/docs/
43
tsconfig.test.json
54
*.tsbuildinfo
5+
jest.config.js
66

77
*.spec.js
8+
*.spec.ts
89
*.spec.d.ts
910
*.spec.js.map
1011

packages/credential-provider-env/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
/src/
21
/coverage/
32
tsconfig.test.json
43
*.tsbuildinfo
4+
jest.config.js
55

66
*.spec.js
7+
*.spec.ts
78
*.spec.d.ts
89
*.spec.js.map
910

0 commit comments

Comments
 (0)