Merge pull request #1717 from ing-bank/type-module

fix: add type module to pkg jsons of ESM packages
This commit is contained in:
Thijs Louisse 2022-05-31 18:01:58 +02:00 committed by GitHub
commit 957ca981d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,44 @@
---
'@lion/accordion': minor
'@lion/ajax': minor
'@lion/button': minor
'@lion/calendar': minor
'@lion/checkbox-group': minor
'@lion/collapsible': minor
'@lion/combobox': minor
'@lion/core': minor
'@lion/dialog': minor
'@lion/fieldset': minor
'@lion/form': minor
'@lion/form-core': minor
'@lion/form-integrations': minor
'@lion/helpers': minor
'@lion/icon': minor
'@lion/input': minor
'@lion/input-amount': minor
'@lion/input-date': minor
'@lion/input-datepicker': minor
'@lion/input-email': minor
'@lion/input-iban': minor
'@lion/input-range': minor
'@lion/input-stepper': minor
'@lion/input-tel': minor
'@lion/input-tel-dropdown': minor
'@lion/listbox': minor
'@lion/localize': minor
'@lion/overlays': minor
'@lion/pagination': minor
'@lion/progress-indicator': minor
'@lion/radio-group': minor
'@lion/select': minor
'@lion/select-rich': minor
'singleton-manager': minor
'@lion/steps': minor
'@lion/switch': minor
'@lion/tabs': minor
'@lion/textarea': minor
'@lion/tooltip': minor
'@lion/validate-messages': minor
---
Add "type":"module" to ESM packages so loaders like Vite will interpret the package as ESM properly.

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/accordion"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/ajax"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/button"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/calendar"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/checkbox-group"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/collapsible"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/combobox"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/core"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/dialog"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/fieldset"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/field"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/form-integrations"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/form"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/helpers"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/icon"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-amount"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-date"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-datepicker"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-email"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-iban"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-range"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-stepper"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-tel-dropdown"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-tel"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/listbox"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/localize"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/overlays"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/pagination"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/progress-indicator"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/radio-group"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/select-rich"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/select"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/singleton-manager"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/steps"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/switch"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/tabs"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/textarea"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/tooltip"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [

View file

@ -10,6 +10,7 @@
"url": "https://github.com/ing-bank/lion.git",
"directory": "packages/validate-messages"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [