From 4c40b8071855b5399a3f98e9668e7e0ef12c9199 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 31 May 2025 16:39:37 -0600 Subject: [PATCH] rename script files that would fail in the prebuild step --- package.json | 2 +- scripts/{copy-wasm.js => copy-wasm.cjs} | 0 sw_combine.js => sw_combine.cjs | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename scripts/{copy-wasm.js => copy-wasm.cjs} (100%) rename sw_combine.js => sw_combine.cjs (100%) diff --git a/package.json b/package.json index bcbd1daa..56e97c53 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "build": "VITE_GIT_HASH=`git log -1 --pretty=format:%h` vite build --config vite.config.mts", "lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src", "lint-fix": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src", - "prebuild": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && node sw_combine.js && node scripts/copy-wasm.js", + "prebuild": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && node sw_combine.cjs && node scripts/copy-wasm.cjs", "test:all": "npm run test:prerequisites && npm run build && npm run test:web && npm run test:mobile", "test:prerequisites": "node scripts/check-prerequisites.js", "test:web": "npx playwright test -c playwright.config-local.ts --trace on", diff --git a/scripts/copy-wasm.js b/scripts/copy-wasm.cjs similarity index 100% rename from scripts/copy-wasm.js rename to scripts/copy-wasm.cjs diff --git a/sw_combine.js b/sw_combine.cjs similarity index 100% rename from sw_combine.js rename to sw_combine.cjs