From 1a95e4b8f42a6e74102971bbb1e1d0e1ceabd724 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Mon, 9 May 2022 14:48:31 -0400 Subject: [PATCH] rename `index.cjs` -> `index.jsx` --- cli/build.js | 2 +- cli/{index.cjs => index.jsx} | 0 cli/package.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename cli/{index.cjs => index.jsx} (100%) diff --git a/cli/build.js b/cli/build.js index d8f0bfb..d62a08a 100644 --- a/cli/build.js +++ b/cli/build.js @@ -9,7 +9,7 @@ import ncc from "@vercel/ncc"; import prettyBytes from "pretty-bytes"; // prepare some paths -const inputFile = path.join(process.cwd(), "index.cjs"); +const inputFile = path.join(process.cwd(), "index.jsx"); const outputDir = path.join(process.cwd(), "dist"); // run code through babel diff --git a/cli/index.cjs b/cli/index.jsx similarity index 100% rename from cli/index.cjs rename to cli/index.jsx diff --git a/cli/package.json b/cli/package.json index cc79fa4..fc1c55a 100644 --- a/cli/package.json +++ b/cli/package.json @@ -25,7 +25,7 @@ "scripts": { "build": "node build.js", "run": "yarn build && node dist/index.cjs", - "lint": "eslint . --ext js,cjs", + "lint": "eslint . --ext js,jsx", "prepublishOnly": "yarn build" }, "dependencies": {},