source.test.ts — tailwindcss Source File
Architecture documentation for source.test.ts, a typescript file in the tailwindcss codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 9c06a1a6_8b8a_589e_954f_756ce1e61515["source.test.ts"] 9ffd1dda_9675_c514_373d_0f4ab4648249["utils.ts"] 9c06a1a6_8b8a_589e_954f_756ce1e61515 --> 9ffd1dda_9675_c514_373d_0f4ab4648249 b7531519_9055_fbfa_5f69_ebc8586b0422["candidate"] 9c06a1a6_8b8a_589e_954f_756ce1e61515 --> b7531519_9055_fbfa_5f69_ebc8586b0422 f11e3be9_51f8_140b_68b0_f58ddd082595["test"] 9c06a1a6_8b8a_589e_954f_756ce1e61515 --> f11e3be9_51f8_140b_68b0_f58ddd082595 211db6bb_9759_d0cf_acda_36d7f5733ce2["dedent"] 9c06a1a6_8b8a_589e_954f_756ce1e61515 --> 211db6bb_9759_d0cf_acda_36d7f5733ce2 2a7660a5_3e09_bd74_37f0_e4e54bc64ce5["node:path"] 9c06a1a6_8b8a_589e_954f_756ce1e61515 --> 2a7660a5_3e09_bd74_37f0_e4e54bc64ce5 style 9c06a1a6_8b8a_589e_954f_756ce1e61515 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import dedent from 'dedent'
import path from 'node:path'
import { candidate, css, html, js, json, test, yaml } from '../utils'
test(
'auto source detection kitchen sink',
{
fs: {
'package.json': json`
{
"dependencies": {
"postcss": "^8",
"postcss-cli": "^10",
"tailwindcss": "workspace:^",
"@tailwindcss/postcss": "workspace:^"
}
}
`,
'postcss.config.js': js`
module.exports = {
plugins: {
'@tailwindcss/postcss': {},
},
}
`,
'index.css': css`
@reference 'tailwindcss/theme';
/* (1) */
/* - Only './src' should be auto-scanned, not the current working directory */
/* - .gitignore'd paths should be ignored (node_modules) */
/* - Binary extensions should be ignored (jpg, zip) */
@import 'tailwindcss/utilities' source('./src');
/* (2) */
/* - All HTML and JSX files in 'ignored/components' should be scanned */
/* - All other extensions should be ignored */
@source "./ignored/components/*.{html,jsx}";
/* (3) */
/* - './components' should be auto-scanned in addition to './src' */
/* - './components/ignored.html' should still be ignored */
/* - Binary extensions in './components' should be ignored */
@source "./components";
/* (4) */
/* - './pages' should be auto-scanned */
/* - Only '.html' files should be included */
/* - './page/ignored.html' will not be ignored because of the specific pattern */
@source "./pages/**/*.html";
`,
'.gitignore': dedent`
/src/ignored
/ignored
/components/ignored.html
/pages/ignored.html
`,
// (1)
// ... (772 more lines)
Domain
Source
Frequently Asked Questions
What does source.test.ts do?
source.test.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the OxideEngine domain.
What does source.test.ts depend on?
source.test.ts imports 5 module(s): candidate, dedent, node:path, test, utils.ts.
Where is source.test.ts in the architecture?
source.test.ts is located at integrations/postcss/source.test.ts (domain: OxideEngine, directory: integrations/postcss).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free