open-index/open-npm huggingface dataset:
npm package: @juristr/nx-tailwind-sync
Description: Nx [sync generator](https://nx.dev/docs/concepts/sync-generators) that auto-manages `@source` directives in CSS files for Tailwind v4 monorepos.
Author: Juri Strumpflohner
Latest version: 0.0.9

# Nx Tailwind Sync

Nx [sync generator](https://nx.dev/docs/concepts/sync-generators) that auto-manages `@source` directives in CSS files for Tailwind v4 monorepos.

## Problem

Tailwind v4 [requires to define `@source` directives](https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-registering-sources) for dependencies that might be outside its own project configuration. Something that is common in monorepos. Manually maintaining these in a monorepo is error-prone. See [this blog post](https://nx.dev/blog/setup-tailwind-4-npm-workspace) for more background.

## Solution

This plugin traverses the Nx project graph and generates `@source` directives for all transitive dependencies.

## Detection

A project is detected as using Tailwind v4 if:

1. Has a CSS file with `@import 'tailwindcss'`
2. Has a Vite config using `tailwindcss()` from `@tailwindcss/vite`

## CSS File Search Paths

Default locations checked:

- `src/styles.css`
- `.storybook/styles.css`

Additional paths can be configured via the `additionalStylePaths` option.

## Output

The generator inserts/updates a managed block in CSS files:

```css
@import 'tailwindcss';

/* nx-tailwind-sources:start */
@source "../../../packages/shared/daypulse-ui";
@source "../../../packages/daypulse/styles";
/* nx-tailwind-sources:end */
```

## Usage

Register the sync generator on tasks that need it (e.g., `build`, `dev`):

```json
{
  "nx": {
    "targets": {
      "build": {
        "syncGenerators": ["@juristr/nx-tailwind-sync:source-directives"]
      }
    }
  }
}
```

Run manually:

```bash
pnpm nx sync
```

## Options

| Option                 | Type       | Description                                   |
| ---------------------- | ---------- | --------------------------------------------- |
| `additionalStylePaths` | `string[]` | Extra relative paths to search for styles.css |

## Building

```bash
nx build @juristr/nx-tailwind-sync
```
npm package: @juristr/tusky-design
Description: Tusky Design System components
Author: Juri Strumpflohner
Latest version: 1.2.0

# @tusky/tusky-design

This library was generated with [Nx](https://nx.dev).

## Running unit tests

Run `nx test @tusky/tusky-design` to execute the unit tests via [Vitest](https://vitest.dev/).
npm package: @jurmerlo/biome-config
Description: My @biomejs/biome configuration file. This file is used to configure the behavior of Biome, a JavaScript tool for linting, formatting, and code analysis.
Author: Jurmerlo
Latest version: 1.0.0

# biome-config

My @biomejs/biome configuration file. This file is used to configure the behavior of Biome, a JavaScript tool for linting, formatting, and code analysis.