Skip to content

Commit b64265c

Browse files
Merge branch 'main' into feat/bare-col-row-values
2 parents bc94685 + b47b6d2 commit b64265c

File tree

203 files changed

+21724
-10175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+21724
-10175
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you open a pull request for a new feature, we're likely to close it not becau
1414

1515
## Coding standards
1616

17-
Our code formatting rules are defined in the `"prettier"` section of [package.json](https://github.com/tailwindcss/tailwindcss/blob/next/package.json). You can check your code against these standards by running:
17+
Our code formatting rules are defined in the `"prettier"` section of [package.json](https://github.com/tailwindcss/tailwindcss/blob/main/package.json). You can check your code against these standards by running:
1818

1919
```sh
2020
pnpm run lint
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Bug report
3+
about: If you've already asked for help with a problem and confirmed something is broken with Tailwind CSS itself, create a bug report.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
<!-- Please provide all of the information requested below. We're a small team and without all of this information it's not possible for us to help and your bug report will be closed. -->
10+
11+
**What version of Tailwind CSS are you using?**
12+
13+
For example: v4.0.6
14+
15+
**What build tool (or framework if it abstracts the build tool) are you using?**
16+
17+
For example: postcss-cli 11.0.0, Next.js 15.1.7, Vite 6.1.0
18+
19+
**What version of Node.js are you using?**
20+
21+
For example: v20.0.0
22+
23+
**What browser are you using?**
24+
25+
For example: Chrome, Safari, or N/A
26+
27+
**What operating system are you using?**
28+
29+
For example: macOS, Windows
30+
31+
**Reproduction URL**
32+
33+
A Tailwind Play link or public GitHub repo that includes a minimal reproduction of the bug. **Please do not link to your actual project**, what we need instead is a _minimal_ reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private/confidential, since we want a link to a separate, isolated reproduction anyways.
34+
35+
A reproduction is **required** when filing an issue — any issue opened without a reproduction will be closed and you'll be asked to create a new issue that includes a reproduction. We're a small team and we can't keep up with the volume of issues we receive if we need to reproduce each issue from scratch ourselves.
36+
37+
**Describe your issue**
38+
39+
Describe the problem you're seeing, any important steps to reproduce and what behavior you expect instead.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ contact_links:
66
- name: Feature Request
77
url: https://github.com/tailwindlabs/tailwindcss/discussions/new?category=ideas
88
about: 'Suggest any ideas you have using our discussion forums.'
9-
- name: Bug Report
10-
url: https://github.com/tailwindlabs/tailwindcss/issues/new?body=%3C%21--%20Please%20provide%20all%20of%20the%20information%20requested%20below.%20We%27re%20a%20small%20team%20and%20without%20all%20of%20this%20information%20it%27s%20not%20possible%20for%20us%20to%20help%20and%20your%20bug%20report%20will%20be%20closed.%20--%3E%0A%0A%2A%2AWhat%20version%20of%20Tailwind%20CSS%20are%20you%20using%3F%2A%2A%0A%0AFor%20example%3A%20v2.0.4%0A%0A%2A%2AWhat%20build%20tool%20%28or%20framework%20if%20it%20abstracts%20the%20build%20tool%29%20are%20you%20using%3F%2A%2A%0A%0AFor%20example%3A%20postcss-cli%208.3.1%2C%20Next.js%2010.0.9%2C%20webpack%205.28.0%0A%0A%2A%2AWhat%20version%20of%20Node.js%20are%20you%20using%3F%2A%2A%0A%0AFor%20example%3A%20v12.0.0%0A%0A%2A%2AWhat%20browser%20are%20you%20using%3F%2A%2A%0A%0AFor%20example%3A%20Chrome%2C%20Safari%2C%20or%20N%2FA%0A%0A%2A%2AWhat%20operating%20system%20are%20you%20using%3F%2A%2A%0A%0AFor%20example%3A%20macOS%2C%20Windows%0A%0A%2A%2AReproduction%20URL%2A%2A%0A%0AA%20Tailwind%20Play%20link%20or%20public%20GitHub%20repo%20that%20includes%20a%20minimal%20reproduction%20of%20the%20bug.%20%2A%2APlease%20do%20not%20link%20to%20your%20actual%20project%2A%2A%2C%20what%20we%20need%20instead%20is%20a%20_minimal_%20reproduction%20in%20a%20fresh%20project%20without%20any%20unnecessary%20code.%20This%20means%20it%20doesn%27t%20matter%20if%20your%20real%20project%20is%20private%2Fconfidential%2C%20since%20we%20want%20a%20link%20to%20a%20separate%2C%20isolated%20reproduction%20anyways.%0A%0AA%20reproduction%20is%20%2A%2Arequired%2A%2A%20when%20filing%20an%20issue%20%E2%80%94%20any%20issue%20opened%20without%20a%20reproduction%20will%20be%20closed%20and%20you%27ll%20be%20asked%20to%20create%20a%20new%20issue%20that%20includes%20a%20reproduction.%20We%27re%20a%20small%20team%20and%20we%20can%27t%20keep%20up%20with%20the%20volume%20of%20issues%20we%20receive%20if%20we%20need%20to%20reproduce%20each%20issue%20from%20scratch%20ourselves.%0A%0A%2A%2ADescribe%20your%20issue%2A%2A%0A%0ADescribe%20the%20problem%20you%27re%20seeing%2C%20any%20important%20steps%20to%20reproduce%20and%20what%20behavior%20you%20expect%20instead.
11-
about: If you've already asked for help with a problem and confirmed something is broken with Tailwind CSS itself, create a bug report.
129
- name: Documentation Issue
1310
url: https://github.com/tailwindlabs/tailwindcss.com
1411
about: 'For documentation issues, suggest changes on our documentation repository.'

.github/workflows/ci.yml

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [next]
5+
branches: [main]
66
pull_request:
77

88
permissions:
@@ -14,19 +14,32 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
node-version: [20]
17-
runner: [namespace-profile-default, windows-latest, macos-14]
17+
runner:
18+
- name: Windows
19+
os: windows-latest
20+
21+
- name: Linux
22+
os: namespace-profile-default
23+
24+
- name: macOS
25+
os: macos-14
26+
1827
# Exclude windows and macos from being built on feature branches
19-
on-next-branch:
20-
- ${{ github.ref == 'refs/heads/next' }}
28+
on-main-branch:
29+
- ${{ github.ref == 'refs/heads/main' }}
2130
exclude:
22-
- on-next-branch: false
23-
runner: windows-latest
24-
- on-next-branch: false
25-
runner: macos-14
26-
27-
runs-on: ${{ matrix.runner }}
31+
- on-main-branch: false
32+
runner:
33+
name: Windows
34+
- on-main-branch: false
35+
runner:
36+
name: macOS
37+
38+
runs-on: ${{ matrix.runner.os }}
2839
timeout-minutes: 30
2940

41+
name: ${{ matrix.runner.name }}
42+
3043
steps:
3144
- uses: actions/checkout@v4
3245
- uses: pnpm/action-setup@v4
@@ -72,25 +85,20 @@ jobs:
7285
- name: Lint
7386
run: pnpm run lint
7487
# Only lint on linux to avoid \r\n line ending errors
75-
if: matrix.runner == 'ubuntu-latest'
88+
if: matrix.runner.os == 'ubuntu-latest'
7689

7790
- name: Test
7891
run: pnpm run test
7992

80-
- name: Integration Tests
81-
run: pnpm run test:integrations
82-
env:
83-
GITHUB_WORKSPACE: ${{ github.workspace }}
84-
8593
- name: Install Playwright Browsers
8694
run: npx playwright install --with-deps
8795

8896
- name: Run Playwright tests
8997
run: npm run test:ui
9098

9199
- name: Notify Discord
92-
if: failure() && github.ref == 'refs/heads/next'
100+
if: failure() && github.ref == 'refs/heads/main'
93101
uses: discord-actions/message@v2
94102
with:
95103
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
96-
message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `next` branch has failed.'
104+
message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
name: Integration Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
tests:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
node-version: [20]
17+
18+
runner:
19+
- name: Windows
20+
os: windows-latest
21+
22+
- name: Linux
23+
os: namespace-profile-default
24+
25+
- name: macOS
26+
os: macos-14
27+
28+
integration:
29+
- upgrade
30+
- vite
31+
- cli
32+
- postcss
33+
34+
# Exclude windows and macos from being built on feature branches
35+
on-main-branch:
36+
- ${{ github.ref == 'refs/heads/main' }}
37+
exclude:
38+
- on-main-branch: false
39+
runner:
40+
name: Windows
41+
- on-main-branch: false
42+
runner:
43+
name: macOS
44+
45+
runs-on: ${{ matrix.runner.os }}
46+
timeout-minutes: 30
47+
48+
name: ${{ matrix.runner.name }} / ${{ matrix.integration }}
49+
50+
steps:
51+
- uses: actions/checkout@v4
52+
- uses: pnpm/action-setup@v4
53+
54+
- name: Use Node.js ${{ matrix.node-version }}
55+
uses: actions/setup-node@v4
56+
with:
57+
node-version: ${{ matrix.node-version }}
58+
cache: 'pnpm'
59+
60+
# Cargo already skips downloading dependencies if they already exist
61+
- name: Cache cargo
62+
uses: actions/cache@v4
63+
with:
64+
path: |
65+
~/.cargo/bin/
66+
~/.cargo/registry/index/
67+
~/.cargo/registry/cache/
68+
~/.cargo/git/db/
69+
target/
70+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
71+
72+
# Cache the `oxide` Rust build
73+
- name: Cache oxide build
74+
uses: actions/cache@v4
75+
with:
76+
path: |
77+
./target/
78+
./crates/node/*.node
79+
./crates/node/index.js
80+
./crates/node/index.d.ts
81+
key: ${{ runner.os }}-oxide-${{ hashFiles('./crates/**/*') }}
82+
83+
- name: Install dependencies
84+
run: pnpm install
85+
86+
- name: Build
87+
run: pnpm run build
88+
env:
89+
CARGO_PROFILE_RELEASE_LTO: 'off'
90+
CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER: 'lld-link'
91+
92+
- name: Test ${{ matrix.integration }}
93+
run: pnpm run test:integrations ./integrations/${{ matrix.integration }}
94+
env:
95+
GITHUB_WORKSPACE: ${{ github.workspace }}
96+
97+
- name: Notify Discord
98+
if: failure() && github.ref == 'refs/heads/main'
99+
uses: discord-actions/message@v2
100+
with:
101+
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
102+
message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'

0 commit comments

Comments
 (0)