How brightlab/core works
Project type and purpose
• Bright Lab Core is an open-source React UI component library built on top of Material UI.
• It exposes reusable UI building blocks (Form, TextField, Select, RadioGroup, etc.) to speed up feature development across applications.
File structure
• Top-level build/configuration files:
• babel.config.json / .babelrc, tsconfig.json, tslint.json, .prettierrc
• package.json / package-lock.json
• .github/workflows/release-package.yml (CI/CD pipeline for publishing)
• Source code: /src contains per-component folders (CheckBox, FileUpload, Form, List, Popup, RadioGroup, Select, TextField) each with a single index.tsx or helper file.
• Declaration file: src/declaration.d.ts for any global type overrides.
• Entry point: src/index.ts aggregates and re-exports components.
• Distribution: /dist mirrors /src output in JS and .d.ts form after build.
• Stories: /stories contains Storybook stories to document and test each component.
README for additional insights
• Purpose: package UI primitives for React, based on Material UI.
• Installation instructions and a usage example of the Form component.
• It hints at a CI/CD flow (releases on GitHub, NPM publishing) and versioning.