youiyoux 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +25 -2
- package/dist/chunks/chunk-3ZHGONNA.js +21797 -0
- package/dist/chunks/chunk-E4HNK7VF.js +47 -0
- package/dist/chunks/chunk-FUB7B3VK.js +1242 -0
- package/dist/chunks/chunk-S7UV34H5.js +87 -0
- package/dist/chunks/chunk-UHPK62Q5.js +2740 -0
- package/dist/chunks/chunk-UXLATKEQ.js +4821 -0
- package/dist/chunks/chunk-ZLRFD5JI.js +28355 -0
- package/dist/chunks/src-4KFNL3MY.js +231 -0
- package/dist/chunks/src-7ENJHYG4.js +2083 -0
- package/dist/chunks/src-B742AYFC.js +335 -0
- package/dist/chunks/src-VEHGMKYV.js +79 -0
- package/dist/chunks/src-WQWYJ6IQ.js +17490 -0
- package/dist/packages/cli/bin/youi.js +2 -0
- package/dist/schema/youi.baseline.schema.json +165 -0
- package/dist/schema/youi.component.schema.json +391 -0
- package/dist/schema/youi.config.schema.json +99 -0
- package/dist/schema/youi.detect.schema.json +388 -0
- package/dist/schema/youi.inventory.schema.json +1284 -0
- package/dist/schema/youi.library.schema.json +353 -0
- package/dist/schema/youi.lock.schema.json +103 -0
- package/dist/schema/youi.migration.schema.json +156 -0
- package/dist/schema/youi.project.schema.json +285 -0
- package/dist/schema/youi.rule.schema.json +179 -0
- package/dist/schema/youi.tokens.schema.json +1956 -0
- package/dist/schema/youi.usage.schema.json +470 -0
- package/dist/tailwind-worker.js +76 -0
- package/dist/youi.js +15 -0
- package/dist/youiyoux.js +18 -0
- package/package.json +59 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Aleksey Pelletier
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
-
#
|
|
1
|
+
# youiyoux
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A shareable report on any repo's UI, with no setup:
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx youiyoux # in a repo: scan it, write the report
|
|
7
|
+
npx youiyoux path/to/repo
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
It prints five plain-English lines and writes three files to the repo (or `--out <dir>`), and nothing else:
|
|
11
|
+
|
|
12
|
+
| File | What |
|
|
13
|
+
| --- | --- |
|
|
14
|
+
| `youiyoux-report.html` | One self-contained page (no network requests, light and dark, readable on a phone): projects (one section per workspace package with UI files), UI libraries, the component inventory, near-duplicate groups, hardcoded values a theme token already holds, off-library imports and the top fixes, each with a concrete next step |
|
|
15
|
+
| `youiyoux-card.png` | A 1200×630 share card with the repo's name and the headline numbers |
|
|
16
|
+
| `youiyoux-summary.md` | A short summary for a README or pull request |
|
|
17
|
+
|
|
18
|
+
**Rendered looks.** When a Chromium is installed (the Playwright headless shell, or `YOUI_CHROMIUM`), the most-used components are drawn with the project's own code and CSS and embedded. Otherwise the report says how: `npx youiyoux --render` asks before downloading the headless shell (~100 MB, once); `--yes` allows it without asking. Everything else works without a browser.
|
|
19
|
+
|
|
20
|
+
**Safe to share by default.** Paths are relative to the repo. Includes relative paths, component names, class lists, counts and rendered images when available. Captions and fixes omit literal prop values and text content; source lines require `--include-code`. Home paths, usernames, environment or `.env` values, and credentials in URLs are removed. `--include-code` adds source lines and full look captions (keys and tokens in it still removed).
|
|
21
|
+
|
|
22
|
+
**Set up youiyoux for your agent:** `npx youiyoux agents install` tells Claude Code and Codex to look up the project's existing components before writing new ones. Every other `youiyoux` command runs the same way (`npx youiyoux check --diff`), The `youi` bin remains a silent compatibility alias.
|
|
23
|
+
|
|
24
|
+
Node 20 or later. Nothing is uploaded, there is no telemetry and no account.
|
|
25
|
+
|
|
26
|
+
Specimen images are cached outside the repo in `~/.cache/youiyoux/specimens` (`XDG_CACHE_HOME` overrides `~/.cache`; `YOUI_SPECIMEN_CACHE` overrides the specimen directory). Rendered images show the component as rendered, including visible labels.
|