Skip to content

Commit 2bea2b9

Browse files
authored
feat: publish CLI plugin contract (#107)
We have already assembled this package, but weren't publishing it just yet. By publishing the CLI contract, plugin implementors will be able to take a reliable dependency on the contract types, instead of having to copy/paste source files. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
1 parent 6b8cceb commit 2bea2b9

File tree

7 files changed

+145
-10
lines changed

7 files changed

+145
-10
lines changed

.github/workflows/release.yml

+70
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,7 @@ const cdkBuildTools = configureProject(
503503
// This should be deprecated, but only after the move
504504
const cliPluginContract = configureProject(
505505
new yarn.TypeScriptWorkspace({
506-
...genericCdkProps({
507-
private: true,
508-
}),
506+
...genericCdkProps(),
509507
parent: repo,
510508
name: '@aws-cdk/cli-plugin-contract',
511509
description: 'Contract between the CLI and authentication plugins, for the exchange of AWS credentials',

packages/@aws-cdk/cli-plugin-contract/.gitignore

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/cli-plugin-contract/.npmignore

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/cli-plugin-contract/.projen/deps.json

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/cli-plugin-contract/.projen/tasks.json

+55-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/cli-plugin-contract/package.json

+6-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)