Skip to content

Commit 57c94d4

Browse files
committed
include source maps in npm pack
This commit includes the generated source maps in the artifact published to npm. This commit also simplifies the patterns used to match files. Some files, such as README are always included, so it has been removed here. Refs: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#files Fixes: #2249
1 parent d46aea6 commit 57c94d4

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@
88
"url": "https://github.com/kubernetes-client/javascript.git"
99
},
1010
"files": [
11-
"dist/*.ts",
12-
"dist/*.js",
13-
"dist/gen/*.ts",
14-
"dist/gen/*.js",
15-
"dist/gen/**/*.ts",
16-
"dist/gen/**/*.js",
17-
"README.md"
11+
"dist/**/*.ts",
12+
"dist/**/*.js",
13+
"dist/**/*.map"
1814
],
1915
"main": "dist/index.js",
2016
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)