construct-hub icon indicating copy to clipboard operation
construct-hub copied to clipboard

Adding Projen projects to Construct Hub

Open marciocadev opened this issue 2 years ago • 1 comments

Description

There's a lot of amazing Projen projects extensions on Github and will be great if we can search this extensions on Construct Hub

Use Case

Facilitate the search for extensions to projects

Other information

No response

marciocadev avatar Sep 24 '22 18:09 marciocadev

Yes, and:

Projen projects are on a similar abstraction level as App/Stack in the CDK world. That is to say: often, I don't want to import an entire stack, but a smaller construct I can incorporate into the stacks that I'm writing.

For example, as a python developer, I'd love if I could find publicly maintained projen components for:

  • a pylint config file
  • setup.cfg (when used with setup.py this acts like package.json)
  • pre-commit-config.yaml (this is a pre-commit hook framework similar to husky)
  • an extendable .vscode/settings.json file for python development

Or components comprised entirely of sample files, like

  • a boilerplate setup for a REST API using some of the common frameworks

If these are vended as entire stacks, then I'm forced to either:

a. adopt more opinions than I'd like b. wade through options and escape hatches to disable the opinions I don't want

We are adopting the notion of a "constructs library" for projen at work to share re-usable components that other developers can put into their own projen.Projects which they then use in the .projenrc.py file. This is a repo where I was placing a lot of that work before we forked it for our company and made it private: https://github.com/phitoduck/phito-projen

phitoduck avatar Dec 18 '22 23:12 phitoduck