docs: add license header with site and repo links to source files - #36
Merged
Merged
Conversation
Adds a /*! ... */ legal comment (MIT, © Klink, links to https://squircle.klink.ing/ and https://github.com/klink-ing/squircle) to every source file. The header survives the rolldown bundle and the Tailwind utils.css generator, so it also lands in the built dist files and the copy/paste source blocks in the README (synced, plus the hand-written tailwind-merge block). The test helper's utilities-layer regex now tolerates the trailing license comment Tailwind preserves in compiled output. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011WMitAzq4CbXuVB8xCkNHu
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011WMitAzq4CbXuVB8xCkNHu
dogmar
marked this pull request as ready for review
August 31, 2026 20:54
Replace conditional check that only failed on plugin errors with direct vp fmt --check invocation, ensuring CI properly rejects unformatted code. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011WMitAzq4CbXuVB8xCkNHu
Run vp fmt to fix formatting in test files, config files, and components to satisfy stricter CI fmt enforcement. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011WMitAzq4CbXuVB8xCkNHu
Contributor
|
🎉 This PR is included in version 0.10.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
/*! ... */legal-comment header — MIT License, © 2026 Klink, with links to https://squircle.klink.ing/ and https://github.com/klink-ing/squircle — to the package source files, and makes sure it flows through to the copy/paste source blocks in the README.What changed
tailwind.ts,panda.ts,variants.ts,stylex.template.ts(and the generatedstylex.ts), andsquircle-radius.cssnow open with the license header. The/*!form is preserved by rolldown's pack, so it also lands in the publisheddist/bundles.generate-squircle-css.tsprepends the same header todist/tailwind/utils.css;dist/radius-function.csspicks it up via the verbatim copy ofsquircle-radius.css.vp run sync-readme, so the syncedtailwind/utils.css,radius-function.css, andstylex/index.mjsblocks now carry the header. The hand-writtensquircleMergeConfigblock got the header added directly.test-utils.ts'sextractUtilitiesLayerregex now tolerates the trailing/*! ... */comment Tailwind preserves after the final@layerin compiled output (all 184 tests pass).Validation
vp run ready(fmt, lint, all package tests, website build) passes.vp run sync-readmeis idempotent on the committed state — CI's out-of-sync check will pass.stylex.tsproduces no diff.🤖 Generated with Claude Code
https://claude.ai/code/session_011WMitAzq4CbXuVB8xCkNHu
Generated by Claude Code