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
cdk-typescript-app A typescript CDK app
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


Release history Release notifications | RSS feed

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-1.2.1.tar.gz (366.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

projen_modules-1.2.1-py3-none-any.whl (364.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: projen_modules-1.2.1.tar.gz
  • Upload date:
  • Size: 366.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.14.3

File hashes

Hashes for projen_modules-1.2.1.tar.gz
Algorithm Hash digest
SHA256 0358735bfc3a3844588ac72713f3343d9b9e18016dc5c8854c8cc9be136b9e5f
MD5 ae28e2fb740b955268065108458061c6
BLAKE2b-256 0c22a31bba69f1611ca82b13905b692c567cee92aae084de20b0da7a7468de82

See more details on using hashes here.

Provenance

The following attestation bundles were made for projen_modules-1.2.1.tar.gz:

Publisher: release.yml on daveshepherd/projen-modules

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: projen_modules-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 364.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.14.3

File hashes

Hashes for projen_modules-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b213da0f54e401040ec654cbd9ef2c5b204f28d83a38a2dc127264a812f186d6
MD5 187cdd63f69bcbf72b41b29ad8a89de4
BLAKE2b-256 f068bb1f30731dbddece8293dcf079491188284ad1d8818186fa0946416f189c

See more details on using hashes here.

Provenance

The following attestation bundles were made for projen_modules-1.2.1-py3-none-any.whl:

Publisher: release.yml on daveshepherd/projen-modules

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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