From b9f6a49acba99f43f438b86649cd51ffa9a00230 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Fri, 2 Aug 2024 16:38:09 -0400 Subject: [PATCH] fix case sensitivity? --- packages/cli/package.json | 8 ++++---- packages/cli/src/index.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index a751183..d839ce6 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -29,16 +29,16 @@ "build:esm": "npm run build:no-prompt:esm && npm run build:data:esm && npm run build:validate:esm && npm run build:files:esm && npm run build:utils:esm && npm run build:cli:esm", "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: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: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", "build:cjs": "npm run build:no-prompt:cjs && npm run build:data:cjs && npm run build:validate:cjs && npm run build:files:cjs && npm run build:utils:cjs && npm run build:cli:cjs", "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: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: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 bb6f44c..ba64744 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -5,7 +5,7 @@ import { hideBin } from 'yargs/helpers'; 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 { validateDirectory, validateJson } from './validatefunctions.js'; import { createDirectoryWithStructure } from './handleFiles.js'; // Define a type for the parsed arguments