From 24054e840e7cb547c4dd122afe5a9cd7f0e0e0d7 Mon Sep 17 00:00:00 2001 From: "Huu Le (Lee)" <39040748+leehuwuj@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:15:13 +0700 Subject: [PATCH] fix: Rename folder e2e/.cache to e2e/cache (#632) --- e2e/utils.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/utils.ts b/e2e/utils.ts index cab23e08..03b69d07 100644 --- a/e2e/utils.ts +++ b/e2e/utils.ts @@ -175,7 +175,7 @@ export async function runCreateLlama( } export async function createTestDir() { - const cwd = path.join(__dirname, ".cache", crypto.randomUUID()); + const cwd = path.join(__dirname, "cache", crypto.randomUUID()); await mkdir(cwd, { recursive: true }); return cwd; } diff --git a/package.json b/package.json index 2d8f0888..9f9c59c8 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "clean": "rimraf --glob ./dist ./templates/**/__pycache__ ./templates/**/node_modules ./templates/**/poetry.lock", "dev": "ncc build ./index.ts -w -o dist/", "build": "npm run clean && ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register", - "lint": "eslint . --ignore-pattern dist", + "lint": "eslint . --ignore-pattern dist --ignore-pattern e2e/cache", "e2e": "playwright test", "prepublishOnly": "cd ../../ && pnpm run build:release" }, -- GitLab