Skip to content

Commit

Permalink
🐛 Remove relative path from package files (#858)
Browse files Browse the repository at this point in the history
Apparently paths with leading dots cause yarn and npm to not properly package files
  • Loading branch information
wwilsman authored Apr 1, 2022
1 parent 6df5094 commit a966609
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/cli-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node": ">=14"
},
"files": [
"./dist"
"dist"
],
"main": "./dist/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"access": "public"
},
"files": [
"./dist"
"dist"
],
"engines": {
"node": ">=14"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node": ">=14"
},
"files": [
"./dist"
"dist"
],
"main": "./dist/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-exec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node": ">=14"
},
"files": [
"./dist"
"dist"
],
"main": "./dist/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node": ">=14"
},
"files": [
"./dist"
"dist"
],
"main": "./dist/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node": ">=14"
},
"files": [
"./dist"
"dist"
],
"main": "./dist/index.js",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"access": "public"
},
"files": [
"./bin",
"./dist"
"bin",
"dist"
],
"engines": {
"node": ">=14"
Expand Down
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"node": ">=14"
},
"files": [
"./dist",
"./test/helpers.js"
"dist",
"test/helpers.js"
],
"main": "./dist/index.js",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"node": ">=14"
},
"files": [
"./dist",
"./types/index.d.ts"
"dist",
"types/index.d.ts"
],
"main": "./dist/index.js",
"types": "./types/index.d.ts",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"node": ">=14"
},
"files": [
"./dist",
"./post-install.js",
"./types/index.d.ts",
"./test/helpers/server.js"
"dist",
"post-install.js",
"types/index.d.ts",
"test/helpers/server.js"
],
"main": "./dist/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node": ">=14"
},
"files": [
"./dist"
"dist"
],
"main": "./dist/index.js",
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"node": ">=14"
},
"files": [
"./dist",
"./test/helpers.js",
"./test/client.js"
"dist",
"test/helpers.js",
"test/client.js"
],
"main": "./dist/index.js",
"browser": "./dist/bundle.js",
Expand Down
8 changes: 4 additions & 4 deletions packages/sdk-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"node": ">=14"
},
"files": [
"./dist",
"./test/server.js",
"./test/client.js",
"./test/helpers.js"
"dist",
"test/server.js",
"test/client.js",
"test/helpers.js"
],
"main": "./dist/index.js",
"browser": "./dist/bundle.js",
Expand Down

0 comments on commit a966609

Please sign in to comment.