Commit Graph

9 Commits

Author SHA1 Message Date
Michael B. Gale
ea703668e0 Avoid bundling package.json
- `package.json` is bundled by `esbuild` because we depend on it in `actions-util.ts`
- That is so we can access the `version` property
- We now use `build.mjs` to define a constant for it instead
- We also set this constant in `ava.setup.mjs` for tests
- This reduces the size of the generated `.js` files and avoids changing them entirely in some cases
2026-03-12 18:55:03 +00:00
Henry Mercer
d2dfa8cd83 Check in precompiled upload-lib.ts for testing environments 2025-08-27 10:59:27 +01:00
Henry Mercer
d7c164044b Avoid automatic semicolon insertion
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-22 13:15:30 +01:00
Henry Mercer
ca5a69b702 Specify esbuild target 2025-08-22 13:05:44 +01:00
Henry Mercer
e274fb816f Implement clean and copy as custom plugins 2025-08-22 13:04:36 +01:00
Henry Mercer
8a3bfe665b Transpile separately in both build and test steps
This means we avoid doing a type checking pass twice
2025-08-22 12:31:57 +01:00
Henry Mercer
786d3aa219 Remove unused import in build script
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-21 16:47:09 +01:00
Henry Mercer
3e725de0bb Copy defaults.json to lib 2025-08-21 14:30:46 +01:00
Henry Mercer
fee3663b18 Bundle Actions using esbuild 2025-08-21 13:38:56 +01:00