Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 11 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changesets

Add a changeset for every user-visible package change:

```sh
pnpm changeset
```

All ten public Charts packages release as one fixed version. Documentation,
tests, benchmarks, and build-only changes do not need a changeset unless they
change the published package contract.
5 changes: 5 additions & 0 deletions .changeset/compact-axis-titles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tanstack/charts': patch
---

Keep long Cartesian axis titles contained on compact charts.
34 changes: 34 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "TanStack/charts",
"disableThanks": true
}
],
"commit": false,
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"privatePackages": false,
"fixed": [
[
"@tanstack/charts",
"@tanstack/react-charts",
"@tanstack/octane-charts",
"@tanstack/preact-charts",
"@tanstack/vue-charts",
"@tanstack/solid-charts",
"@tanstack/svelte-charts",
"@tanstack/angular-charts",
"@tanstack/lit-charts",
"@tanstack/alpine-charts"
]
],
"linked": [],
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
41 changes: 41 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Setup Charts
description: Install the workspace and restore local Nx and Playwright caches

inputs:
playwright:
description: Install the Chromium runtime used by browser checks
required: false
default: 'false'

runs:
using: composite
steps:
- name: Setup tools
uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3

- name: Restore Nx cache
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: .nx/cache
key: ${{ runner.os }}-nx-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.job }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-nx-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.job }}-
${{ runner.os }}-nx-${{ hashFiles('pnpm-lock.yaml') }}-

- name: Restore Playwright
if: inputs.playwright == 'true'
id: playwright-cache
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install Chromium
if: inputs.playwright == 'true' && steps.playwright-cache.outputs.cache-hit != 'true'
shell: bash
run: pnpm exec playwright install --only-shell chromium

- name: Install Chromium system dependencies
if: inputs.playwright == 'true'
shell: bash
run: pnpm exec playwright install-deps chromium
Loading