Skip to content

Improve multi-root @config linking #4899

Improve multi-root @config linking

Improve multi-root @config linking #4899

Triggered via pull request November 14, 2024 21:54
Status Failure
Total duration 14m 0s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
upgrade/index.test.ts > multiple CSS roots that resolve to the same Tailwind config file requires manual intervention: integrations/upgrade/index.test.ts#L1699
Error: Snapshot `multiple CSS roots that resolve to the same Tailwind config file requires manual intervention 1` mismatched - Expected + Received "Error: Command failed: npx @tailwindcss/upgrade --force ≈ tailwindcss │ No input stylesheets provided. Searching for CSS files in the current directory and its subdirectories… - │ Linked `./tailwind.config.ts` to `./src/root.1.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.1.css` - │ Linked `./tailwind.config.ts` to `./src/root.3.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.3.css` - │ Linked `./tailwind.config.ts` to `./src/root.4.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.4.css` - │ Linked `./tailwind.config.ts` to `./src/root.5/tailwind.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.5\tailwind.css` │ You have multiple stylesheets that do not have an `@config`. │ Please add a `@config "…";` referencing the correct Tailwind config file to: - │ - ./src/root.1.css + │ - .\src\root.1.css - │ - ./src/root.3.css + │ - .\src\root.3.css - │ - ./src/root.4.css + │ - .\src\root.4.css - │ - ./src/root.5/tailwind.css + │ - .\src\root.5\tailwind.css " ❯ upgrade/index.test.ts:1699:20 ❯ utils.ts:446:14
upgrade/index.test.ts > multiple CSS roots that resolve to the same Tailwind config file requires manual intervention: integrations/upgrade/index.test.ts#L1699
Error: Snapshot `multiple CSS roots that resolve to the same Tailwind config file requires manual intervention 2` mismatched - Expected + Received "Error: Command failed: npx @tailwindcss/upgrade --force ≈ tailwindcss │ No input stylesheets provided. Searching for CSS files in the current directory and its subdirectories… - │ Linked `./tailwind.config.ts` to `./src/root.1.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.1.css` - │ Linked `./tailwind.config.ts` to `./src/root.3.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.3.css` - │ Linked `./tailwind.config.ts` to `./src/root.4.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.4.css` - │ Linked `./tailwind.config.ts` to `./src/root.5/tailwind.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.5\tailwind.css` │ You have multiple stylesheets that do not have an `@config`. │ Please add a `@config "…";` referencing the correct Tailwind config file to: - │ - ./src/root.1.css + │ - .\src\root.1.css - │ - ./src/root.3.css + │ - .\src\root.3.css - │ - ./src/root.4.css + │ - .\src\root.4.css - │ - ./src/root.5/tailwind.css + │ - .\src\root.5\tailwind.css " ❯ upgrade/index.test.ts:1699:20 ❯ utils.ts:446:14
upgrade/index.test.ts > multiple CSS roots that resolve to the same Tailwind config file requires manual intervention: integrations/upgrade/index.test.ts#L1699
Error: Snapshot `multiple CSS roots that resolve to the same Tailwind config file requires manual intervention 3` mismatched - Expected + Received "Error: Command failed: npx @tailwindcss/upgrade --force ≈ tailwindcss │ No input stylesheets provided. Searching for CSS files in the current directory and its subdirectories… - │ Linked `./tailwind.config.ts` to `./src/root.1.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.1.css` - │ Linked `./tailwind.config.ts` to `./src/root.3.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.3.css` - │ Linked `./tailwind.config.ts` to `./src/root.4.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.4.css` - │ Linked `./tailwind.config.ts` to `./src/root.5/tailwind.css` + │ Linked `.\tailwind.config.ts` to `.\src\root.5\tailwind.css` │ You have multiple stylesheets that do not have an `@config`. │ Please add a `@config "…";` referencing the correct Tailwind config file to: - │ - ./src/root.1.css + │ - .\src\root.1.css - │ - ./src/root.3.css + │ - .\src\root.3.css - │ - ./src/root.4.css + │ - .\src\root.4.css - │ - ./src/root.5/tailwind.css + │ - .\src\root.5\tailwind.css " ❯ upgrade/index.test.ts:1699:20 ❯ utils.ts:446:14
tests (20, windows-latest, false)
Process completed with exit code 1.