Development setup
Prerequisites
- Bun
1.2.21+- this is the only package manager for the project. There is no npm and nopackage-lock.json.- The version is pinned via
packageManagerinpackage.jsonandcli.packageManagerinangular.json. - The version matters: the project uses the text
bun.locklockfile format, which Bun 1.1.x cannot read. Use 1.2.21 or newer.
- The version is pinned via
Install
sh
bun installRun
sh
bun start # ng serve on http://localhost:4200Watch (continuous dev build)
sh
bun run watch # ng build --watch --configuration developmentProduction build
sh
bun run build # ng build (production) + scripts/postbuild.tsThe production build emits to dist/SchulyWebsite/browser. See deployment for how that output is served.
Test
sh
bun run test # ng test (Karma + Jasmine)