chore: tooling (#2040)

* chore: only run release action if we have a tag

* chore: typescript 6 is out of beta

* chore: update flaky test

* chore: update pnpm

* chore: update playwright and node types

* chore: migrate tsup to tsdown

* chore: update node to node 22.22.2(LTS)

* chore: fix lockfile

---------

Co-authored-by: alex-Arc <omnivox@LAPTOP-RC5SNBVV.localdomain>
This commit is contained in:
Alex Christoffer Rasmussen
2026-03-27 19:31:41 +01:00
committed by GitHub
parent 3a0df0b491
commit c7d8b137ca
9 changed files with 1016 additions and 1832 deletions
+22
View File
@@ -0,0 +1,22 @@
import { defineConfig } from 'tsdown';
const config = defineConfig({
clean: false, // we can't use clean as it runs after the copy plugin
entry: ['src/main.ts'],
outDir: 'dist',
unbundle: true,
dts: {
resolve: true,
tsconfig: './tsconfig.dts.json',
eager: true,
},
deps: {
alwaysBundle: ['ontime-types'],
onlyBundle: ['ontime-types', 'ts-essentials'],
},
format: 'esm',
target: 'esnext',
platform: 'node',
});
export default config;