From de626cac177e902b20c9da68f2506ca1d0345d10 Mon Sep 17 00:00:00 2001 From: lucas-neynar Date: Thu, 13 Mar 2025 13:01:43 -0700 Subject: [PATCH] fix: update to commonjs imports --- bin/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/index.js b/bin/index.js index af66185..f8069a8 100755 --- a/bin/index.js +++ b/bin/index.js @@ -1,12 +1,12 @@ #!/usr/bin/env node -import inquirer from 'inquirer'; -import { fileURLToPath } from 'url'; -import { dirname } from 'path'; -import { execSync } from 'child_process'; -import fs from 'fs'; -import path from 'path'; -import { generateManifest } from './manifest.js'; +const inquirer = require('inquirer'); +const { fileURLToPath } = require('url'); +const { dirname } = require('path'); +const { execSync } = require('child_process'); +const fs = require('fs'); +const path = require('path'); +const { generateManifest } = require('./manifest.js'); const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename);