Skip to content

Commit

Permalink
chore: Homogenize package.json packed files (#2443)
Browse files Browse the repository at this point in the history
## Description

To address missing a `"*.js"` entry in `packages/ses/package.json`, this
change homogenizes all `package.json` `"files"` blocks to ensure that
both `"src"` and top-level `"*.js"`, `"*.d.ts"`, and generated `"*.map"`
files are included in npm pack tarballs.

### Security Considerations

None.

### Scaling Considerations

None.

### Documentation Considerations

None.

### Testing Considerations

Difficult to tease out a test does better than detect change regardless
of intent.

### Compatibility Considerations

None.

### Upgrade Considerations

None.
  • Loading branch information
kriskowal authored Sep 5, 2024
2 parents 4e5e30e + a3a1240 commit e63c27f
Show file tree
Hide file tree
Showing 42 changed files with 307 additions and 91 deletions.
8 changes: 6 additions & 2 deletions packages/base64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
9 changes: 6 additions & 3 deletions packages/bundle-source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,15 @@
},
"keywords": [],
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"rollup-*.tgz",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"repository": {
"type": "git",
Expand Down
8 changes: 6 additions & 2 deletions packages/captp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@
"test": "test"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"repository": {
"type": "git",
Expand Down
10 changes: 7 additions & 3 deletions packages/check-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
"*.ts",
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"src"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
9 changes: 7 additions & 2 deletions packages/cjs-module-analyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"*.js",
"*.ts"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
8 changes: 7 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"src"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
10 changes: 7 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
"*.ts",
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"src"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
8 changes: 6 additions & 2 deletions packages/compartment-mapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
8 changes: 6 additions & 2 deletions packages/daemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
10 changes: 7 additions & 3 deletions packages/env-options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
"*.ts",
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"src"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
10 changes: 7 additions & 3 deletions packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
"*.ts",
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"src"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
13 changes: 12 additions & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,16 @@
"license": "Apache-2.0",
"repository": {
"directory": "packages/eslint-plugin"
}
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"tools"
]
}
10 changes: 7 additions & 3 deletions packages/evasive-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
"*.ts",
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"src"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
8 changes: 6 additions & 2 deletions packages/eventual-send/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,15 @@
"wavy dot"
],
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"eslintConfig": {
"extends": [
Expand Down
10 changes: 7 additions & 3 deletions packages/exo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
"*.ts",
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"src"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
8 changes: 6 additions & 2 deletions packages/far/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,15 @@
"far"
],
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"eslintConfig": {
"extends": [
Expand Down
10 changes: 7 additions & 3 deletions packages/immutable-arraybuffer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
"*.ts",
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"src"
"dist",
"lib",
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
8 changes: 6 additions & 2 deletions packages/import-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"eslintConfig": {
"extends": [
Expand Down
8 changes: 6 additions & 2 deletions packages/init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@
"@endo/promise-kit": "workspace:^"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"repository": {
"type": "git",
Expand Down
8 changes: 6 additions & 2 deletions packages/lockdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@
"ses": "workspace:^"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"repository": {
"type": "git",
Expand Down
8 changes: 6 additions & 2 deletions packages/lp32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,15 @@
"typescript": "~5.6.1-rc"
},
"files": [
"./*.d.ts",
"./*.js",
"./*.map",
"LICENSE*",
"SECURITY*",
"dist",
"lib",
"src",
"*.js",
"*.ts"
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit e63c27f

Please sign in to comment.