From f3fe1ef983cca1d0974ba3bb6081ee81251dd0c7 Mon Sep 17 00:00:00 2001 From: KIRTI G Date: Tue, 2 Dec 2025 23:48:22 +0530 Subject: [PATCH 1/2] fixed css --- crates/ignore/README.md | 5 ++--- integrations/cli/index.test.ts | 4 ++-- integrations/cli/standalone.test.ts | 7 +++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/crates/ignore/README.md b/crates/ignore/README.md index 72258e6b5824..a4c34e505cf3 100644 --- a/crates/ignore/README.md +++ b/crates/ignore/README.md @@ -1,5 +1,5 @@ -ignore -====== +# ignore + The ignore crate provides a fast recursive directory iterator that respects various filters such as globs, file types and `.gitignore` files. This crate also provides lower level direct access to gitignore and file type matchers. @@ -29,7 +29,6 @@ recursively traverse the current directory while automatically filtering out files and directories according to ignore globs found in files like `.ignore` and `.gitignore`: - ```rust,no_run use ignore::Walk; diff --git a/integrations/cli/index.test.ts b/integrations/cli/index.test.ts index 867d4d777d4e..870a1baec3a9 100644 --- a/integrations/cli/index.test.ts +++ b/integrations/cli/index.test.ts @@ -3,7 +3,7 @@ import os from 'node:os' import path from 'node:path' import { fileURLToPath } from 'node:url' import { describe } from 'vitest' -import { candidate, css, html, js, json, retryAssertion, test, ts, yaml } from '../utils' +import { candidate, css, html, js, json, retryAssertion, test, ts, txt, yaml } from '../utils' const __dirname = path.dirname(fileURLToPath(import.meta.url)) @@ -2591,7 +2591,7 @@ test( } } `, - 'input.css': css` + 'input.css': txt` .test { color: red; */ diff --git a/integrations/cli/standalone.test.ts b/integrations/cli/standalone.test.ts index 07b8ebfee9f8..b378535c09f0 100644 --- a/integrations/cli/standalone.test.ts +++ b/integrations/cli/standalone.test.ts @@ -1,6 +1,6 @@ import os from 'node:os' import path from 'node:path' -import { candidate, css, html, js, json, test } from '../utils' +import { candidate, css, html, js, json, test, ts } from '../utils' const STANDALONE_BINARY = (() => { switch (os.platform()) { @@ -122,7 +122,7 @@ test( }) }) `, - 'src/plugin.ts': js` + 'src/plugin.ts': ts` import plugin from 'tailwindcss/plugin' // Make sure all available JS APIs can be imported and used @@ -132,8 +132,7 @@ test( import defaultTheme from 'tailwindcss/defaultTheme' import * as pkg from 'tailwindcss/package.json' - export interface PluginOptions { - } + export interface PluginOptions {} export default plugin(function ({ addUtilities }) { addUtilities({ From 9a86e7f2f167655ffbdb531d3dc0d0b0f2ed8f4d Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Tue, 2 Dec 2025 13:45:01 -0500 Subject: [PATCH 2/2] Undo readme change --- crates/ignore/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/ignore/README.md b/crates/ignore/README.md index a4c34e505cf3..72258e6b5824 100644 --- a/crates/ignore/README.md +++ b/crates/ignore/README.md @@ -1,5 +1,5 @@ -# ignore - +ignore +====== The ignore crate provides a fast recursive directory iterator that respects various filters such as globs, file types and `.gitignore` files. This crate also provides lower level direct access to gitignore and file type matchers. @@ -29,6 +29,7 @@ recursively traverse the current directory while automatically filtering out files and directories according to ignore globs found in files like `.ignore` and `.gitignore`: + ```rust,no_run use ignore::Walk;