Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
bd77238
ci(workflows): add checks for pull requests and main
edwintantawi Sep 11, 2026
fcce38d
docs(community): add contributing, conduct and security policies
edwintantawi Sep 11, 2026
2b00428
chore(github): add issue forms, pull request and codeowners templates
edwintantawi Sep 11, 2026
42a3dd5
chore(renovate): automate dependency updates
edwintantawi Sep 11, 2026
d5792ce
docs(readme): describe status, packages and contributing
edwintantawi Sep 11, 2026
b75f908
fix(workflows): build recursively so an empty workspace plans
edwintantawi Sep 11, 2026
b20a4d0
docs(security): drop the supported versions section
edwintantawi Sep 11, 2026
96c5f87
docs(readme): replace status sections with a development notice
edwintantawi Sep 11, 2026
b03b033
docs(github): point devsantara link at the github profile
edwintantawi Sep 11, 2026
88c79ea
ci(workflows): run only on pull requests, drop build and changeset
edwintantawi Sep 11, 2026
30657a2
chore(scripts): drop scripts that duplicate vp built-ins
edwintantawi Sep 11, 2026
b74afc3
docs(contributing): rewrite the contributing guide from scratch
edwintantawi Sep 11, 2026
8dd81d2
docs(github): remove the pull request template
edwintantawi Sep 11, 2026
99326c1
docs(github): tighten the issue templates
edwintantawi Sep 11, 2026
f5c321f
chore(github): remove codeowners and renovate config
edwintantawi Sep 11, 2026
134d113
docs(code-of-conduct): adopt contributor covenant 3.0
edwintantawi Sep 11, 2026
10b5c53
ci(release): run the pack task before packing packages
edwintantawi Sep 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Bug report
description: Something in Batik is broken or behaves unexpectedly
labels: ['bug', 'triage']
body:
- type: markdown
attributes:
value: |
Thanks for the report. A minimal reproduction is the single most useful
thing you can give us — it usually turns a week of back and forth into
an afternoon.

- type: checkboxes
id: preflight
attributes:
label: Before you start
description: By submitting this issue, you agree to follow our [Contributing Guidelines](https://github.com/devsantara/batik/blob/main/CONTRIBUTING.md).
options:
- label: I searched the existing issues or PRs and this has not been reported yet.
required: true
- label: I can reproduce this on the latest published version of the affected package.
required: true

- type: input
id: package
attributes:
label: Affected package and version
placeholder: '@batik/<package>@<version>'
validations:
required: true

- type: textarea
id: description
attributes:
label: What happened
description: What you saw, and what you expected instead.
validations:
required: true

- type: input
id: reproduction
attributes:
label: Reproduction
description: >-
A link to a minimal repository or a StackBlitz that shows the bug,
with the StyleX compiler plugin set up for your bundler. We may close
issues we cannot reproduce.
placeholder: https://github.com/your-name/batik-bug
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to reproduce
placeholder: |
1. Install the package
2. Render `<Button />`
3. See the token fall back to the wrong value
validations:
required: true

- type: textarea
id: environment
attributes:
label: Environment
description: >-
Versions of Batik packages, React, and @stylexjs/stylex, your bundler
and StyleX plugin, and the browser if relevant.
placeholder: |
@batik/<package> <version>
react 19.1.0, @stylexjs/stylex 0.x
Vite 7 + @stylexjs/unplugin, Chrome 140
render: text
validations:
required: true

- type: textarea
id: context
attributes:
label: Anything else
description: Logs, screenshots, or a guess at the cause.
validations:
required: false
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Question or half-formed idea
url: https://github.com/devsantara/batik/discussions
about: Ask how to use Batik, or float an idea before it becomes a proposal.
- name: Security vulnerability
url: https://github.com/devsantara/batik/security/advisories/new
about: Report privately. Please do not open a public issue for this.
58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Feature request
description: Suggest a new feature or an improvement to Batik
labels: ['enhancement', 'triage']
body:
- type: markdown
attributes:
value: |
Batik is a design system, so additions carry a long support tail. Tell
us about the problem first — it often has a cheaper solution than the
one that brought you here.

- type: checkboxes
id: preflight
attributes:
label: Before you start
description: By submitting this issue, you agree to follow our [Contributing Guidelines](https://github.com/devsantara/batik/blob/main/CONTRIBUTING.md).
options:
- label: I read the documentation and this is not already possible.
required: true
- label: I searched the existing issues or PRs and this has not been proposed yet.
required: true

- type: textarea
id: problem
attributes:
label: The problem
description: >-
What are you trying to build, and where does Batik get in the way today?
placeholder: >-
I need a dense table row, and the spacing tokens only go down to `md`.
validations:
required: true

- type: textarea
id: solution
attributes:
label: What you would like
description: The API, token, or component you have in mind. Sketch it out.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: What you tried instead
description: >-
Workarounds you have already used, and why they are not good enough.
validations:
required: false

- type: textarea
id: context
attributes:
label: Anything else
description: >-
Prior art from other design systems, links, screenshots.
validations:
required: false
70 changes: 70 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: CI

on:
pull_request:

permissions: {} # each job declares only the permissions it needs

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check:
name: Check
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read # to check out repo (actions/checkout)
steps:
- name: Check out repo
uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Set up Vite+ and install dependencies
uses: voidzero-dev/setup-vp@v1.19.0
with:
cache: true
- name: Format, lint and type check
run: vp check

test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read # to check out repo (actions/checkout)
steps:
- name: Check out repo
uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Set up Vite+ and install dependencies
uses: voidzero-dev/setup-vp@v1.19.0
with:
cache: true
- name: Run tests
run: vp test run --coverage

commit:
name: Commit message
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read # to check out repo (actions/checkout)
steps:
- name: Check out repo
uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Set up Vite+ and install dependencies
uses: voidzero-dev/setup-vp@v1.19.0
with:
cache: true
- name: Lint pull request title
env:
# Pull requests are squash merged, so the title becomes the commit
# subject on main and has to satisfy the same commitlint rules.
# Read through the environment, never interpolated into the script.
PR_TITLE: ${{ github.event.pull_request.title }}
run: printf '%s' "$PR_TITLE" | vp run commitlint
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
with:
cache: false # avoid cache poisoning in release jobs
- name: Build packages
run: vp run build
run: vp run -r pack
- name: Pack packages
id: pack
uses: changesets/action/pack@v2.1.2
Expand Down
Loading