Skip to content

Correct dependency cycle#32

Merged
RomainMuller merged 1 commit intomasterfrom
rmuller/fix-cycle
Jun 5, 2018
Merged

Correct dependency cycle#32
RomainMuller merged 1 commit intomasterfrom
rmuller/fix-cycle

Conversation

@RomainMuller
Copy link
Contributor

@RomainMuller RomainMuller commented Jun 5, 2018

Applies the short-term strategy described in #31 by taking an un-modelled dependency on aws-cdk-docs and displaying an error message with instructions to install aws-cdk-docs if it cannot be resolved when cdk docs is invoked.

Applies the short-term strategy described in #31 by taking an
un-modelled dependency on aws-cdk-docs and displaying an error
message with instructions to install aws-cdk-docs if it cannot
be resolved when cdk docs is invoked.
@RomainMuller RomainMuller changed the title Applies the short-term strategy described in #31 by taking an un-modelled dependency on aws-cdk-docs and displaying an error message with instructions to install aws-cdk-docs if it cannot be resolved when cdk docs is invoked. Correct dependency cycle Jun 5, 2018
@RomainMuller RomainMuller merged commit c614b1b into master Jun 5, 2018
@RomainMuller RomainMuller deleted the rmuller/fix-cycle branch June 5, 2018 12:50
ln -s node_modules/.bin bin

# Symlink the docs website to docs
ln -s node_modules/aws-cdk-docs/dist/docs docs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better!

let documentationIndexPath: string;
try {
// tslint:disable-next-line:no-var-require Taking an un-declared dep on aws-cdk-docs, to avoid a dependency circle
const docs = require('aws-cdk-docs');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that just work because we deploy them side-by-side?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

eladb referenced this pull request Jul 16, 2018
- Move nyc and tslint config files into cdk-build-tools.
- Move ignore patterns into individual packages.
- Update 'create-missing-libraries.sh'
- Fix copy/paste-o in LambdaRef.export()
- Move build logic into library file
- Invoke build for the test target
- Make all routines async
- Move tree hash calculation into separate package.
- Introduce out-of-process caching for hash calculation.
- Get rid of console.error()
- Fix pkglint test and integ checkers to actually inspect
  contents of test/ directory.
- Explain .gitallowed pattern with comment
- Fix unused and broken integ tests in IAM and KMS libraries
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants