@alma-cdk/construct-library
v0.0.14
Published
Projen custom project to build Alma CDK construct libraries
Downloads
1,573
Readme
Custom Projen Project Type to manage all the alma-cdk/* CDK construts.
Installation
Install with
npm:npm i -D @alma-cdk/construct-libraryIf existing project, install
npm i -D [email protected]or newerImport the custom Projen project type:
- import { AwsCdkConstructLibrary } from 'projen/lib/awscdk'; + import { cdk } from "projen"; + import { AlmaCdkConstructLibrary } from "@alma-cdk/construct-library";Initialize and define (at least) minimum required configuration:
const project = new AlmaCdkConstructLibrary({ name: "<SCOPE>/<PACKAGE_NAME>", author: "<AUTHOR_ORGANIZATION_NAME>", authorAddress: "<AUTHOR_ORGANIZATION_EMAIL>", description: "<PACKAGE_DESCRIPTION>", repositoryUrl: "https://<GIT_URL>.git", stability: cdk.Stability.EXPERIMENTAL, // or STABLE or DEPRECATED majorVersion: 0, // 1, 2, ... releaseEnvironment: "production", }); project.synth();Fnm use 24
Install
pnpmRun
projenwithpnpm:pnpm exec projenEnsure correct Node version:
fnm useRemove old
node_modules,yarn.lock, and/orpackage-lock.jsonfilesReinstall everything with
pnpm install
