Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An NX plugin support #316

Open
LironHazan opened this issue Apr 14, 2023 · 5 comments
Open

An NX plugin support #316

LironHazan opened this issue Apr 14, 2023 · 5 comments

Comments

@LironHazan
Copy link
Contributor

Hey @ai thanks for this awesome tool,

I've found myself integrating it in an NX monorepo manually first by adding the configuration file per each project and afterwards by adding the following target for each project (for enable execution)

    "size-limit": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/app1",
        "commands": [
          "size-limit"
        ]
      }
    }

So after 2 projects I decided to automate it by creating an NX community plugin 😄
I'll really appreciate if you could peek in the docs I've supplied and share your feedback to make sure it fits the size-limit "go to" approach,
I've tried to make it as less opinionated as possible :)

Thanks! 🚀

@ai
Copy link
Owner

ai commented Apr 14, 2023

Looks nice. Send PR to docs’s Third-Party Plugins section.

@LironHazan
Copy link
Contributor Author

Thanks Done :)

@ai
Copy link
Owner

ai commented Apr 14, 2023

Could you add also here https://github.com/ai/size-limit/#third-party-plugins

To save your name in the project history and promote your plugin

@LironHazan
Copy link
Contributor Author

Sure thanks I appreciate it!

@LironHazan
Copy link
Contributor Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants