Skip to content

Commit

Permalink
fix(packaging): Don't advertise non-existent ESM entrypoints
Browse files Browse the repository at this point in the history
Fixes #1877.

Don't advertise module entrypoints on packages that are implemented
in TypeScript as at the moment our webpack configuration does not
generate any file called src/index.js.
  • Loading branch information
cpcallen committed Oct 18, 2023
1 parent 536f45e commit 9eff038
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion plugins/block-dynamic-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/block-shareable-procedures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/content-highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/field-angle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/field-colour-hsv-sliders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/field-colour/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/field-date/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/field-dependent-dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/field-grid-dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/field-multilineinput/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/field-slider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/renderer-inline-row-separators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/shadow-block-converter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/toolbox-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/workspace-backpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
},
"main": "./dist/index.js",
"types": "./src/index.d.ts",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/workspace-minimap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/workspace-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"test": "blockly-scripts test"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion plugins/zoom-to-fit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"start": "blockly-scripts start"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"unpkg": "./dist/index.js",
"author": "Blockly Team",
"keywords": [
Expand Down

0 comments on commit 9eff038

Please sign in to comment.