diff --git a/package.json b/package.json index 6ca7c5cc..cc04d820 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.2.0", "description": "", "repository": "https://github.com/aleios-cloud/eventbridge-toolbox.git", + "type": "module", "scripts": { "clean": "rimraf dist *.tsbuildinfo", "package": "pnpm clean && pnpm package-transpile && pnpm package-types && pnpm package-types-aliases", diff --git a/src/example-architecture/consumer/package.json b/src/example-architecture/consumer/package.json index 4effaeea..2229b0a5 100644 --- a/src/example-architecture/consumer/package.json +++ b/src/example-architecture/consumer/package.json @@ -1,6 +1,7 @@ { "name": "consumer", "version": "0.1.0", + "type": "module", "bin": { "consumer": "bin/consumer.js" }, diff --git a/src/example-architecture/events/package.json b/src/example-architecture/events/package.json index 33d4f3ae..827ec7ff 100644 --- a/src/example-architecture/events/package.json +++ b/src/example-architecture/events/package.json @@ -1,6 +1,7 @@ { "name": "events", "version": "0.1.0", + "type": "module", "bin": { "events": "bin/events.js" }, diff --git a/src/example-architecture/producer/package.json b/src/example-architecture/producer/package.json index a452f652..bf7df734 100644 --- a/src/example-architecture/producer/package.json +++ b/src/example-architecture/producer/package.json @@ -1,6 +1,7 @@ { "name": "producer", "version": "0.1.0", + "type": "module", "bin": { "producer": "bin/producer.js" },