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

Adding Projen projects to Construct Hub #996

Open
marciocadev opened this issue Sep 24, 2022 · 1 comment
Open

Adding Projen projects to Construct Hub #996

marciocadev opened this issue Sep 24, 2022 · 1 comment

Comments

@marciocadev
Copy link

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

@phitoduck
Copy link

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

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

No branches or pull requests

2 participants