diff --git a/packages/cli/package.json b/packages/cli/package.json index 12a315c..5d24259 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -30,7 +30,7 @@ "build:no-prompt:esm": "esbuild src/cli.ts --bundle --format=esm --platform=node --outfile=dist/esm/cli.js", "build:data:esm": "esbuild src/data.ts --packages=external --format=esm --platform=node --outfile=dist/esm/data.js", "build:validate:esm": "esbuild src/validatefunctions.ts --packages=external --format=esm --platform=node --outfile=dist/esm/validatefunctions.js", - "build:files:esm": "esbuild src/handleFiles.ts --packages=external --format=esm --platform=node --outfile=dist/esm/handleFiles.js", + "build:files:esm": "esbuild src/handlefiles.ts --packages=external --format=esm --platform=node --outfile=dist/esm/handlefiles.js", "build:utils:esm": "esbuild src/utils.ts --packages=external --format=esm --platform=node --outfile=dist/esm/utils.js", "build:cli:esm": "esbuild src/index.ts --packages=external --format=esm --platform=node --outfile=dist/esm/index.js", "cli": "node dist/esm/index.js", @@ -38,7 +38,7 @@ "build:no-prompt:cjs": "esbuild src/cli.ts --bundle --format=cjs --platform=node --outfile=dist/cjs/cli.js", "build:data:cjs": "esbuild src/data.ts --packages=external --format=cjs --platform=node --outfile=dist/cjs/data.js", "build:validate:cjs": "esbuild src/validatefunctions.ts --packages=external --format=cjs --platform=node --outfile=dist/cjs/validatefunctions.js", - "build:files:cjs": "esbuild src/handleFiles.ts --packages=external --format=cjs --platform=node --outfile=dist/cjs/handleFiles.js", + "build:files:cjs": "esbuild src/handlefiles.ts --packages=external --format=cjs --platform=node --outfile=dist/cjs/handlefiles.js", "build:utils:cjs": "esbuild src/utils.ts --packages=external --format=cjs --platform=node --outfile=dist/cjs/utils.js", "build:cli:cjs": "npm run build:utils:cjs && npm run build:files:cjs && npm run build:validate:cjs && npm run build:data:cjs && esbuild src/index.ts --packages=external --format=cjs --platform=node --outfile=dist/cjs/index.cjs" }, diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index d3f5411..802f379 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -6,7 +6,7 @@ import { input, select } from '@inquirer/prompts'; import JsPsychMetadata from "@jspsych/metadata"; import { processDirectory, processOptions, saveTextToPath, loadMetadata } from "./data.js"; import { validateDirectory, validateJson } from './validatefunctions.js'; -import { createDirectoryWithStructure } from './handleFiles.js'; +import { createDirectoryWithStructure } from './handlefiles.js'; // Define a type for the parsed arguments interface Argv {