0.2.0 • Published 3 years ago
@functionless/projen v0.2.0
@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/projenTo add to an existing project
Install the dependency in your application
npm install --save-dev @functionless/projen
OR
yarn add -D @functionless/projenThen apply the Functionless component to your project.
const { TypescriptProject } = require("projen");
const { Functionless } = require("@functionless/projen");
const project = new TypescriptProject({
...
});
new Functionless(project);
project.synth();