-
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: token and recipe analysis (#3035)
* wip * refactor: code and mv to node pkg * docs: add changeset * refactor: create reporter package * fix: recipe and token detection * refactor: classify pattern * refactor: add support for output format * refactor: format * refactor: support scope and classify global css * refactor: update tokens * refactor: slice most used * refactor: update * chore: rm unused * docs: update changeset * refactor: expose token maps * refactor: fix typo --------- Co-authored-by: Alexandre Stahmer <[email protected]>
- Loading branch information
1 parent
552b01c
commit fea78c7
Showing
28 changed files
with
6,852 additions
and
5,634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
'@pandacss/types': minor | ||
'@pandacss/node': minor | ||
'@pandacss/dev': minor | ||
'@pandacss/reporter': minor | ||
--- | ||
|
||
Adds support for static analysis of used tokens and recipe variants. It helps to get a birds-eye view of how your design | ||
system is used and answers the following questions: | ||
|
||
- What tokens are most used? | ||
- What recipe variants are most used? | ||
- How many hardcoded values vs tokens do we have? | ||
|
||
```sh | ||
panda analyze --scope=<token|recipe> | ||
``` | ||
|
||
> Still work in progress but we're excited to get your feedback! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.