Skip to content

Enhance project setup with .gitignore, README, workflows, and flex utilities#10

Merged
ForgeOfDreams merged 16 commits into
mainfrom
dev
Jul 3, 2026
Merged

Enhance project setup with .gitignore, README, workflows, and flex utilities#10
ForgeOfDreams merged 16 commits into
mainfrom
dev

Conversation

@ForgeOfDreams

Copy link
Copy Markdown
Contributor

v0.1.0

ForgeOfDreams and others added 15 commits July 3, 2026 23:10
Add empty .gitignore files to src/ and src/core/ directories to ensure these directories are tracked by git.
Replace minimal README with a full project description for ComfortCSS Flexbox. Adds summary (RTL-ready, :where() zero-specificity, logical properties), npm install instructions (including @comfortcss/tokens peer dependency), CSS import usage example, and license reference (MIT).
Add Dependabot configuration and a GitHub Actions workflow to publish to npm.

.github/dependabot.yml: configures weekly updates for npm packages and GitHub Actions, groups development dependencies into a single PR, ignores "lightningcss", sets labels and commit-message prefixes, targets the main branch, and limits open PRs.

.github/workflows/publish.yml: workflow triggered on release published and manual dispatch; checks out code, sets up Node.js 24.x, runs npm ci and publishes with provenance and public access. Includes commented placeholders for build/test and minimal permissions required.
Introduce package metadata for the @comfortcss/flex package. Defines name, version, main/style entry (dist/flex.min.css), files (dist, src), repository, keywords, author and MIT license. Adds build scripts using lightningcss (build, prepare, prepublishOnly), peerDependency on @comfortcss/tokens, and devDependencies including lightningcss and @comfortcss/reset. Exports map style and module paths and publishConfig sets public access.
Create two empty stylesheet placeholders at src/flex.css and src/index.css for future styling. No styles added yet.
Enhance project setup with .gitignore, README, and workflows
Add foundational flex container utilities to the package. Includes `.flex` (block-level) and `.inline-flex` (inline-level) classes, organized with CSS cascade layers and comprehensive documentation comments.
Extracted the flex container rules into a new file src/core/container.css. Updated src/flex.css header (switched to @Version, added @Dependencies) and replaced the in-file rules with an import of ./core/container.css. Added a new entrypoint src/index.css that documents package metadata and imports flex.css. Prepares the codebase for a modular structure and declares the @comfortcss/tokens dependency.
Move container CSS to core and add index
Refactor CSS structure by moving container styles to core
Add CSS utility classes for controlling flex container direction. Includes `.flex-row`, `.flex-row-reverse`, `.flex-col`, and `.flex-col-reverse` utilities using the `:where()` selector and `flex` CSS layer for proper specificity management.
Refactor CSS structure and add flex utility classes
@ForgeOfDreams ForgeOfDreams self-assigned this Jul 3, 2026
Add generated package-lock.json for @comfortcss/flex@0.1.0. Pins devDependencies (@comfortcss/reset, lightningcss, lightningcss-cli), records peer dependency @comfortcss/tokens, and includes optional platform-specific lightningcss binaries and detect-libc to ensure reproducible installs.
@ForgeOfDreams ForgeOfDreams merged commit 11afa83 into main Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant