Skip to content

docs: add license header with site and repo links to source files - #36

Merged
dogmar merged 4 commits into
mainfrom
claude/squircle-licensing-links-8j6ecz
Sep 1, 2026
Merged

dogmar merged 4 commits into
mainfrom
claude/squircle-licensing-links-8j6ecz

Conversation

@dogmar

@dogmar dogmar commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

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

  • Source headers: tailwind.ts, panda.ts, variants.ts, stylex.template.ts (and the generated stylex.ts), and squircle-radius.css now open with the license header. The /*! form is preserved by rolldown's pack, so it also lands in the published dist/ bundles.
  • Generated CSS: generate-squircle-css.ts prepends the same header to dist/tailwind/utils.css; dist/radius-function.css picks it up via the verbatim copy of squircle-radius.css.
  • README copy/paste blocks: re-ran vp run sync-readme, so the synced tailwind/utils.css, radius-function.css, and stylex/index.mjs blocks now carry the header. The hand-written squircleMergeConfig block got the header added directly.
  • Test fix: test-utils.ts's extractUtilitiesLayer regex now tolerates the trailing /*! ... */ comment Tailwind preserves after the final @layer in compiled output (all 184 tests pass).

Validation

  • vp run ready (fmt, lint, all package tests, website build) passes.
  • vp run sync-readme is idempotent on the committed state — CI's out-of-sync check will pass.
  • Regenerating stylex.ts produces no diff.

🤖 Generated with Claude Code

https://claude.ai/code/session_011WMitAzq4CbXuVB8xCkNHu


Generated by Claude Code

claude added 2 commits August 31, 2026 20:48
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
@dogmar
dogmar marked this pull request as ready for review August 31, 2026 20:54
claude added 2 commits August 31, 2026 22:22
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
@dogmar
dogmar merged commit 7a248ef into main Sep 1, 2026
4 checks passed
@dogmar
dogmar deleted the claude/squircle-licensing-links-8j6ecz branch September 1, 2026 01:41
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants