I've reorganized the repository to incorporate requests and feedback since last week. Here's a list of the additions.
Sass has been removed. Instead, we've got plain CSS (no nesting).
Lightning CSS has been added to help manage the CSS bundles. Fast!
Rollup has been swapped out for esbuild. Very fast!
All of the CSS/JS preview code is just running from central bundles now. The LightningCSS/esbuild combo helps make this smooth for dev. Building separate files for each component is not necessary at this time.
The JSON-based generator for tokens has been removed. Designers said they preferred to work from plain CSS.
Folders have been renamed. People wanted a src folder, and now we've got one.
The _boilerplate component folder has been removed. Instead, there's a new script that can generate a new component structure. Try npm run new to check it out.
There are now two build scripts.
build:site runs 11ty. The output files go into a _site folder. Useful for GitHub Pages.
build:bundles creates the CSS/JS bundle files. This command creates the bundles in a separate dist output folder. This will be useful later, when we need to build the bundles for npm without including the 11ty output.
There's a new GitHub Action to use GitHub's Release feature. We can use this to help track updates and distribute code.
We can add other release activities into this job later, such as NPM and CDN.
Still need to figure out a way to manage a Changelog through this workflow.
I've reorganized the repository to incorporate requests and feedback since last week. Here's a list of the additions.
src
folder, and now we've got one._boilerplate
component folder has been removed. Instead, there's a new script that can generate a new component structure. Trynpm run new
to check it out.build
scripts.build:site
runs 11ty. The output files go into a_site
folder. Useful for GitHub Pages.build:bundles
creates the CSS/JS bundle files. This command creates the bundles in a separatedist
output folder. This will be useful later, when we need to build the bundles for npm without including the 11ty output.