Skip to main content

A collection of projen modules

Project description

projen-modules

A collection of custom projen modules, that can be used to bootstrap and maintain consistent project configuration, tooling, dependencies, and builds.

Getting Started

yarn install
npx projen build

This will:

  • Install the dependencies
  • Apply any projen changes
  • Run tests
  • Package project locally

Any files changed by projen should be committed to git.

Running the tests like this will update any snapshot files, this should be reviewed and committed to git.

Testing

Types of testing:

  • Snapshot - projen project outputs are stored as a snapshot in the corresponding __snapshots__ directory. When the project changes then it is expected that these snapshots change too and should be reviewed committed alongside the project.
  • Unit tests - these assert on specific functionality of the project and should be written for any new functionality added.

Creating a New Project

npx projen new {project} --from projen-modules

Some projects may have required fields that need to be specified as part of this command, review any errors for details what needs to be specified.

Project Types

Project type Description
npm-package A typescript npm package
python-package A python package
jsii-package A typescript JSII package

Project Structure

All source is located in src and is grouped by:

  • components - these are common building blocks that can be used by projects to implement specific project functionality.
  • projects - these are projects that can be built from this project (see #something)
  • utils - these are helper functions that are often reused

test contains tests, and mirrors the src directory structure. Within here there are __snapshots__ which contain snapshots of project tests (see #section).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

projen_modules-0.1.8.tar.gz (230.5 kB view details)

Uploaded Source

Built Distribution

projen_modules-0.1.8-py3-none-any.whl (229.3 kB view details)

Uploaded Python 3

File details

Details for the file projen_modules-0.1.8.tar.gz.

File metadata

  • Download URL: projen_modules-0.1.8.tar.gz
  • Upload date:
  • Size: 230.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for projen_modules-0.1.8.tar.gz
Algorithm Hash digest
SHA256 db87167f18d3040e5a8f6790fdd92c2f0a7509ebc9cffc61b52e66eb2ed74fa2
MD5 f11cf1e42ff4d237f49c6b0dc37e97b2
BLAKE2b-256 df162f83b0824a5acab20da434515883450e3f9266ede345d5a89ba30f44f3e4

See more details on using hashes here.

File details

Details for the file projen_modules-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for projen_modules-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 504060a84a099527c2434f09ec6c319dad80c6f2df83483cb0179b98333c8c73
MD5 8b851e390ac35c0afb61b83f38f2c124
BLAKE2b-256 8418f9a562610886ac3bff2ebbe37aed854fbe8ac326e4f454b66be8b32ec0a3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page