From d833ae4cc51ddf39eafd069d75b2ddc390a91407 Mon Sep 17 00:00:00 2001 From: Daniel Del Core Date: Wed, 30 Aug 2023 16:14:25 +1000 Subject: [PATCH] move cli to esm --- .changeset/slimy-mails-shake.md | 6 ++++++ packages/cli-alias/package.json | 1 + packages/cli/package.json | 1 + 3 files changed, 8 insertions(+) create mode 100644 .changeset/slimy-mails-shake.md diff --git a/.changeset/slimy-mails-shake.md b/.changeset/slimy-mails-shake.md new file mode 100644 index 000000000..eded0ffc4 --- /dev/null +++ b/.changeset/slimy-mails-shake.md @@ -0,0 +1,6 @@ +--- +'@codeshift/cli': minor +'@hypermod/cli': minor +--- + +Compiles CLI source to ESM diff --git a/packages/cli-alias/package.json b/packages/cli-alias/package.json index 6239e59d8..f6e1e960b 100644 --- a/packages/cli-alias/package.json +++ b/packages/cli-alias/package.json @@ -1,6 +1,7 @@ { "name": "@codeshift/cli", "version": "0.16.0", + "type": "module", "source": "src/index.ts", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/cli/package.json b/packages/cli/package.json index 9752915a1..853ad09f7 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,7 @@ { "name": "@hypermod/cli", "version": "0.16.0", + "type": "module", "source": "src/index.ts", "main": "dist/index.js", "types": "dist/index.d.ts",