Skip to content
sern

Transition from v2 to v3

src/index.ts
Sern.makeDependencies({ build: () => {} })
await makeDependencies({ build: () => {} })

v3 comes with the new Service API. To make sure to enable intellisense, include a dependencies.d.ts file into compilation. (Check out the changelog for all new features)

A standard project file tree:

  • Directorysrc
    • Directorycommands/
    • Directoryevents/
    • Directoryplugins/
    • dependencies.d.ts
    • index.ts
  • .env
  • .gitignore
  • bun.lockb
  • package.json
  • README.md
  • sern.config.json
  • tsconfig.json