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
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
Built Distribution
File details
Details for the file projen_modules-0.1.6.tar.gz
.
File metadata
- Download URL: projen_modules-0.1.6.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc17ad776369ca0ea1f3c9b5175c28e1afed25a8912fb2cee467aadd3a790b3d |
|
MD5 | a2355d99f42875277e342a88a0900114 |
|
BLAKE2b-256 | dda3303bda1df5a0a233f419d40551a0bd7dfd2a726ee24ef6388dab65294a00 |
File details
Details for the file projen_modules-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: projen_modules-0.1.6-py3-none-any.whl
- Upload date:
- Size: 229.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d190411dcfcd59fc564876bf97e492c1d0cfa85d2dc3eb6f77e17043474805ba |
|
MD5 | ad1bdc93dfef4f03ad788b65d67bec45 |
|
BLAKE2b-256 | 479cddb1a589fc24f015fd47e456666866ffb41dfe96eb705283f369e51cfd96 |