diff --git a/.prettierignore b/.prettierignore index 3e7e4ff..891a8ff 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,3 +4,4 @@ /.next /e2e/test-app/.next src/cache/purposesParsed.ts +/dist diff --git a/scripts/preparePurposes.ts b/scripts/preparePurposes.ts index 8bd76ef..a031c70 100644 --- a/scripts/preparePurposes.ts +++ b/scripts/preparePurposes.ts @@ -40,7 +40,7 @@ async function main() { } const cachePath = process.argv[2]; - console.log('Path for cached purposes file: ', cachePath); + console.log("Path for cached purposes file: ", cachePath); if (!fs.existsSync(cachePath)) { fs.mkdirSync(cachePath); @@ -50,7 +50,6 @@ async function main() { path.join(cachePath, "purposesParsed.ts"), `export default ${JSON.stringify(cache, null, 2)}` ); - } main().catch((e) => { diff --git a/tsconfig.scripts.json b/tsconfig.scripts.json index 76fb781..fb73cd4 100644 --- a/tsconfig.scripts.json +++ b/tsconfig.scripts.json @@ -11,8 +11,6 @@ "moduleResolution": "nodenext", "outDir": "./dist" }, - "include": [ - "scripts/*.ts" - ], + "include": ["scripts/*.ts"], "exclude": ["node_modules"] }