1.66.0 • Published 4 years ago

monocdk-experiment v1.66.0

Weekly downloads
58
License
Apache-2.0
Repository
github
Last release
4 years ago

monocdk Experiment

experimental

An experiment to bundle all of the CDK into a single module.

:warning: Please don't use this module unless you are interested in providing feedback about this experience.

Usage

Installation

To try out monocdk-experiment replace all references to CDK Construct Libraries (most @aws-cdk/* packages) in your package.json file with a single entrey referring to monocdk-experiment.

You also need to add a reference to the constructs library, according to the kind of project you are developing:

  • For libraries, model the dependency under devDependencies and peerDependencies
  • For apps, model the dependency under dependencies only

Use in your code

Classic import

You can use a classic import to get access to each service namespaces:

import { core, aws_s3 as s3 } from 'monocdk-experiment';

const app = new core.App();
const stack = new core.Stack(app, 'MonoCDK-Stack');

new s3.Bucket(stack, 'TestBucket');

Barrel import

Alternatively, you can use "barrel" imports:

import { App, Stack } from 'monocdk-experiment';
import { Bucket } from 'monocdk-experiment/aws-s3';

const app = new App();
const stack = new Stack(app, 'MonoCDK-Stack');

new Bucket(stack, 'TestBucket');
1.66.0

4 years ago

1.65.0

4 years ago

1.64.1

4 years ago

1.64.0

4 years ago

1.63.0

4 years ago

1.62.0

4 years ago

1.61.1

4 years ago

1.61.0

4 years ago

1.60.0

4 years ago

1.59.0

4 years ago

1.58.0

4 years ago

1.57.0

4 years ago

1.56.0

4 years ago

1.55.0

4 years ago

1.54.0

4 years ago

1.53.0

4 years ago

1.52.0

4 years ago

1.51.0

4 years ago

1.50.0

4 years ago

1.49.1

4 years ago

1.49.0

4 years ago

1.48.0

4 years ago

1.47.1

4 years ago

1.47.0

4 years ago

1.46.0

4 years ago

1.45.0

4 years ago

1.44.0

4 years ago

1.43.0

4 years ago

1.42.1

4 years ago

1.42.0

4 years ago

1.41.0

4 years ago

1.40.0

4 years ago

1.39.0

4 years ago

1.38.0

4 years ago

1.37.0

4 years ago

1.36.1

4 years ago

1.36.0

4 years ago

1.35.0

4 years ago

1.34.1

4 years ago

1.34.0

4 years ago

1.33.1

4 years ago

1.33.0

4 years ago

1.32.2

4 years ago

1.32.1

4 years ago

1.32.0

4 years ago

1.31.0

4 years ago

1.29.0

4 years ago

1.30.0

4 years ago

1.28.0

4 years ago

1.27.0

4 years ago

1.26.0

4 years ago

1.25.0

4 years ago

1.24.0

4 years ago

1.23.0

4 years ago