Compare commits

...

2 commits

Author SHA1 Message Date
49a8a352df
chore: bundle jitsi for config loading
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iaf818970d17c911b80d3b5bc634a75896a6a6964
2026-02-01 16:18:23 +03:00
1fe6bfb380
nix: add mainProgram attribute
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I5744837dbf5cb718dd9a293f2fe288a26a6a6964
2026-02-01 16:18:21 +03:00
2 changed files with 14 additions and 0 deletions

View file

@ -67,5 +67,6 @@ stdenv.mkDerivation (finalAttrs: {
description = "The ultimate trout population helper";
license = lib.licenses.eupl12;
maintainers = with lib.maintainers; [NotAShelf];
mainProgram = "troutbot";
};
})

13
tsup.config.ts Normal file
View file

@ -0,0 +1,13 @@
import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts'],
format: 'cjs',
dts: true,
clean: true,
// Bundle jiti into the output so it works without node_modules
noExternal: ['jiti'],
// Ensure all dependencies are resolved
platform: 'node',
target: 'node22',
});