From f1e2db8e06e5f73c3581c63ccbfd380273fe5c5a Mon Sep 17 00:00:00 2001 From: Niklas Kiefer Date: Tue, 24 Oct 2023 16:02:36 +0100 Subject: [PATCH] chore(package): add `type=module` --- packages/form-js-carbon-styles/package.json | 1 + packages/form-js-editor/package.json | 1 + packages/form-js-playground/package.json | 1 + packages/form-js-viewer/package.json | 1 + packages/form-js/package.json | 1 + 5 files changed, 5 insertions(+) diff --git a/packages/form-js-carbon-styles/package.json b/packages/form-js-carbon-styles/package.json index 931ad61d1..f3c7e1c3d 100644 --- a/packages/form-js-carbon-styles/package.json +++ b/packages/form-js-carbon-styles/package.json @@ -4,6 +4,7 @@ "description": "Custom carbon styles for form-js", "main": "src/carbon-styles.js", "types": "src/types/carbon-styles.d.ts", + "type": "module", "scripts": { "all": "run-s test", "test": "karma start", diff --git a/packages/form-js-editor/package.json b/packages/form-js-editor/package.json index 27bd73181..386894619 100644 --- a/packages/form-js-editor/package.json +++ b/packages/form-js-editor/package.json @@ -19,6 +19,7 @@ "main": "dist/index.cjs", "module": "dist/index.es.js", "types": "dist/types/index.d.ts", + "type": "module", "scripts": { "all": "run-s lint test build", "build": "run-p bundle bundle:scss generate-types", diff --git a/packages/form-js-playground/package.json b/packages/form-js-playground/package.json index 9463f390b..56b069a65 100644 --- a/packages/form-js-playground/package.json +++ b/packages/form-js-playground/package.json @@ -20,6 +20,7 @@ "module": "dist/index.es.js", "umd:main": "dist/form-playground.umd.js", "types": "dist/types/index.d.ts", + "type": "module", "scripts": { "all": "run-s lint test build", "build": "run-p bundle generate-types", diff --git a/packages/form-js-viewer/package.json b/packages/form-js-viewer/package.json index 6b64c62dd..7d213e201 100644 --- a/packages/form-js-viewer/package.json +++ b/packages/form-js-viewer/package.json @@ -18,6 +18,7 @@ "main": "dist/index.cjs", "module": "dist/index.es.js", "types": "dist/types/index.d.ts", + "type": "module", "scripts": { "all": "run-s test build", "build": "run-p bundle bundle:scss generate-types", diff --git a/packages/form-js/package.json b/packages/form-js/package.json index 749b01db7..05e9d4733 100644 --- a/packages/form-js/package.json +++ b/packages/form-js/package.json @@ -2,6 +2,7 @@ "name": "@bpmn-io/form-js", "version": "1.3.3", "description": "View and edit forms - powered by bpmn.io", + "type": "module", "exports": { ".": { "import": "./dist/index.es.js",