Build dynamic reactive forms in Angular from a simple config array.
npm install ng-dyno-form📖 Documentation: see the library README for installation, usage, events and methods, and the DynoFormConfig reference for every field option. Release notes are in the CHANGELOG.
| Path | What it is |
|---|---|
projects/ng-dyno-form/ |
The library published to npm as ng-dyno-form |
src/ |
Demo app that uses the library (two pages of example forms) |
.github/workflows/ |
CI (build and test on every push/PR) and npm release |
The demo app imports ng-dyno-form from the local build in dist/ng-dyno-form (see paths in tsconfig.json), so library changes show up in the demo without publishing.
Requires Node.js 22.
npm ci
npm start # builds the library, then serves the demo at http://localhost:4200
npm run watch:lib # rebuild the library on change (run alongside `ng serve`)
npm run test:lib # library unit tests
npm run test:ci # build + all tests in headless Chrome, as CI runs them
npm run build # production build of the library and the demoReleases are published to npm by the release workflow when a GitHub release is published.
- Bump
versioninprojects/ng-dyno-form/package.jsonand add an entry to the CHANGELOG. - Merge to
main. - Create a GitHub release with a tag matching the version, e.g.
v1.2.0.
The workflow builds and tests the library, checks that the tag matches the package version, and publishes dist/ng-dyno-form to npm.
