Skip to content

Latest commit

History

History
40 lines (25 loc) · 852 Bytes

File metadata and controls

40 lines (25 loc) · 852 Bytes

@functionless/projen

@functionless/projen provides a projen project and component for configuring new and existing projects to use Functionless.

Usage

To create a new project

To create a new FunctionlessProject, which wraps a AwsCdkTypeScriptApp configured with the Functionless compiler plugin, run:

npx projen new --from @functionless/projen

To add to an existing project

Install the dependency in your application

npm install --save-dev @functionless/projen
OR
yarn add -D @functionless/projen

Then apply the Functionless component to your project.

const{ TypescriptProject }=require("projen");const{ Functionless }=require("@functionless/projen");constproject=newTypescriptProject({
...
});newFunctionless(project);project.synth();