The shared components for TACC WMA Workspace Portals & Websites
- Core Portal, the base Portal code for TACC WMA Portals & Websites
- Core Styles, the custom UI pattern code for TACC WMA Portals & Websites
-
Install the package with any package manager e.g.:
npm install TACC/Core-Components
yarn add TACC/Core-Components
-
Import components e.g.:
…
(no example yet)…
(no example yet)
- Nodejs 17.x
- Typescript 4.x
Code configuration happens in repos that use these styles.
If you changes files in a source/
directory, you may need to follow some of these steps.
- (optional) Make changes to
/source
files. - Transpile the styles:
npm run build
- (to debug) Review respective
/dist
files' content.
Plugin testing is done manually. Run npm run build
from root folder in this project, then review output in /dist/_tests.css
, to ensure plugins are working correctly.
Style testing is done manually. Run npm start
from root folder in this project, then review output at web interface, to ensure styles are rendering correctly.
The Core Components are not deployed alone.
For now, the stylesheets are acquired or accessed by other repositories.
Repo | Usage |
---|---|
Core CMS | via CLI installed on test branch |
We use a modifed version of GitFlow as our development workflow. Our development site (accessible behind the TACC Network) is always up-to-date with main
, while the production site is built to a hashed commit tag.
- Feature branches contain major updates, bug fixes, and hot fixes with respective branch prefixes:
task/
for features and updatesbug/
for bugfixesfix/
for hotfixes
Sign your commits (see this link for help)