Portal Community

The 7-Item Checklist

1. Type Key Uniqueness

Each control's type string must be globally unique. Verify your namespace is not used by any other published library.

2. All Five Modes Tested

Render the control in all five operating modes and verify correct behavior:

ModeExpected BehaviorTest
editInteractive, shows validation errorsManual + unit tests
viewRead-only, formatted displayViewComponent renders correctly
previewRead-only, same as viewreadOnly prop respected
designStatic thumbnail, no eventsDesignComponent or EditComponent static
adminSame as edit (usually)Mode prop does not break rendering

3. TypeScript Strict Mode

Run tsc --noEmit --strict with zero errors. No any types except where explicitly needed (and documented).

4. Empty / Null Value Handling

Both EditComponent and ViewComponent must handle these without throwing:

5. peerDependencies Correct

Verify package.json has all Atlas Forms packages and React in peerDependencies, not dependencies. Run npm pack --dry-run and verify the bundle does not contain React or Atlas Forms source.

6. Accessibility

Each interactive control must have:

7. Test Coverage ≥80%

Run npm run test -- --coverage. The coverage report must show ≥80% for lines, branches, and statements across all source files in src/.

Ready to Publish If all 7 items pass, your library is ready. Run npm publish or submit to InstallHub. Remember to create a git tag for the version: git tag v1.0.0 && git push --tags.