Skip to content

Commit 4a0272d

Browse files
author
Elad Ben-Israel
authored
refactor(core): rename @aws-cdk/cdk to @aws-cdk/core (#2932)
Rename the module @aws-cdk/cdk to @aws-cdk/core since this is a more suitable name for it. Language-specific names: - Python: aws_cdk.core (renamed) - .NET: Amazon.CDK (not renamed) - Java: only artifactId changed to `core` but package and groupId are still `software.amazon.awscdk` This change completely deletes the @aws-cdk/cdk module from the repo as a temporary measure, to ensure there are no lingering references. A subsequent commit will introduce @aws-cdk/cdk as a deprecated package. Fixed #2733 BREAKING CHANGE: The `@aws-cdk/cdk` module was renamed to @aws-cdk/core * **Python:** The `aws_cdk.cdk` module was renamed to `aws_cdk.core` * **Java:** The artifact `cdk` in groupId `software.amazon.awscdk` was renamed to `core`
1 parent 8ab84ec commit 4a0272d

File tree

811 files changed

+924
-924
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

811 files changed

+924
-924
lines changed

packages/@aws-cdk/alexa-ask/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@
7070
"pkglint": "^0.35.0"
7171
},
7272
"dependencies": {
73-
"@aws-cdk/cdk": "^0.35.0"
73+
"@aws-cdk/core": "^0.35.0"
7474
},
7575
"peerDependencies": {
76-
"@aws-cdk/cdk": "^0.35.0"
76+
"@aws-cdk/core": "^0.35.0"
7777
},
7878
"engines": {
7979
"node": ">= 8.10.0"

packages/@aws-cdk/app-delivery/README.md

Lines changed: 1 addition & 1 deletion

packages/@aws-cdk/app-delivery/lib/pipeline-deploy-stack-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import cfn = require('@aws-cdk/aws-cloudformation');
22
import codepipeline = require('@aws-cdk/aws-codepipeline');
33
import cpactions = require('@aws-cdk/aws-codepipeline-actions');
44
import iam = require('@aws-cdk/aws-iam');
5-
import cdk = require('@aws-cdk/cdk');
5+
import cdk = require('@aws-cdk/core');
66
import cxapi = require('@aws-cdk/cx-api');
77

88
export interface PipelineDeployStackActionProps {

packages/@aws-cdk/app-delivery/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@aws-cdk/aws-codepipeline": "^0.35.0",
4444
"@aws-cdk/aws-codepipeline-actions": "^0.35.0",
4545
"@aws-cdk/aws-iam": "^0.35.0",
46-
"@aws-cdk/cdk": "^0.35.0",
46+
"@aws-cdk/core": "^0.35.0",
4747
"@aws-cdk/cx-api": "^0.35.0"
4848
},
4949
"devDependencies": {
@@ -76,7 +76,7 @@
7676
"@aws-cdk/aws-codepipeline": "^0.35.0",
7777
"@aws-cdk/aws-codepipeline-actions": "^0.35.0",
7878
"@aws-cdk/aws-iam": "^0.35.0",
79-
"@aws-cdk/cdk": "^0.35.0",
79+
"@aws-cdk/core": "^0.35.0",
8080
"@aws-cdk/cx-api": "^0.35.0"
8181
},
8282
"engines": {

packages/@aws-cdk/app-delivery/test/integ.cicd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import cfn = require('@aws-cdk/aws-cloudformation');
22
import codepipeline = require('@aws-cdk/aws-codepipeline');
33
import cpactions = require('@aws-cdk/aws-codepipeline-actions');
44
import s3 = require('@aws-cdk/aws-s3');
5-
import cdk = require('@aws-cdk/cdk');
5+
import cdk = require('@aws-cdk/core');
66
import cicd = require('../lib');
77

88
const app = new cdk.App();

packages/@aws-cdk/app-delivery/test/test.pipeline-deploy-stack-action.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import codepipeline = require('@aws-cdk/aws-codepipeline');
55
import cpactions = require('@aws-cdk/aws-codepipeline-actions');
66
import iam = require('@aws-cdk/aws-iam');
77
import s3 = require('@aws-cdk/aws-s3');
8-
import cdk = require('@aws-cdk/cdk');
9-
import { ConstructNode } from '@aws-cdk/cdk';
8+
import cdk = require('@aws-cdk/core');
9+
import { ConstructNode } from '@aws-cdk/core';
1010
import cxapi = require('@aws-cdk/cx-api');
1111
import fc = require('fast-check');
1212
import nodeunit = require('nodeunit');

packages/@aws-cdk/assert/jest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Stack } from "@aws-cdk/cdk";
1+
import { Stack } from "@aws-cdk/core";
22
import cxapi = require("@aws-cdk/cx-api");
33
import { HaveResourceAssertion, ResourcePart } from "./lib/assertions/have-resource";
44
import { MatchStyle, matchTemplate } from "./lib/assertions/match-template";

packages/@aws-cdk/assert/lib/expect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import cdk = require('@aws-cdk/cdk');
1+
import cdk = require('@aws-cdk/core');
22
import api = require('@aws-cdk/cx-api');
33
import { StackInspector } from './inspector';
44
import { SynthUtils } from './synth-utils';

packages/@aws-cdk/assert/lib/synth-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ConstructNode, Stack, SynthesisOptions } from '@aws-cdk/cdk';
1+
import { ConstructNode, Stack, SynthesisOptions } from '@aws-cdk/core';
22
import cxapi = require('@aws-cdk/cx-api');
33

44
export class SynthUtils {

packages/@aws-cdk/assert/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"pkglint": "^0.35.0"
3232
},
3333
"dependencies": {
34-
"@aws-cdk/cdk": "^0.35.0",
34+
"@aws-cdk/core": "^0.35.0",
3535
"@aws-cdk/cloudformation-diff": "^0.35.0",
3636
"@aws-cdk/cx-api": "^0.35.0",
3737
"jest": "^24.8.0",

0 commit comments

Comments
 (0)