Skip to content

Commit 27118ff

Browse files
authored
chore: rename aws-lambda-python → aws-lambda-python-alpha (#25067)
This PR is part of a refactor to make all directory names equal to the package name of the package inside it. It is a re-roll of #24930, but split into parts (one PR per package), so that we will cut down on merge conflicts. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 3348ee7 commit 27118ff

File tree

146 files changed

+5
-5
lines changed

Some content is hidden

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

146 files changed

+5
-5
lines changed

packages/@aws-cdk/aws-lambda-python/.gitignore renamed to packages/@aws-cdk/aws-lambda-python-alpha/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ nyc.config.js
1818
!jest.config.js
1919

2020
junit.xml
21-
test/lambda-handler-*/requirements.txt
21+
!test/lambda-handler*/requirements.txt
2222

2323
!**/*.snapshot/**/asset.*/*.js
2424
!**/*.snapshot/**/asset.*/*.d.ts

packages/@aws-cdk/aws-lambda-python/package.json renamed to packages/@aws-cdk/aws-lambda-python-alpha/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"repository": {
4646
"type": "git",
4747
"url": "https://github.com/aws/aws-cdk.git",
48-
"directory": "packages/@aws-cdk/aws-lambda-python"
48+
"directory": "packages/@aws-cdk/aws-lambda-python-alpha"
4949
},
5050
"scripts": {
5151
"build": "cdk-build",

packages/@aws-cdk/aws-lambda-python/test/function.test.ts renamed to packages/@aws-cdk/aws-lambda-python-alpha/test/function.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test('PythonFunction with defaults', () => {
5252
});
5353

5454
expect(Bundling.bundle).toHaveBeenCalledWith(expect.objectContaining({
55-
entry: expect.stringMatching(/aws-lambda-python\/test\/lambda-handler$/),
55+
entry: expect.stringMatching(/aws-lambda-python-alpha\/test\/lambda-handler$/),
5656
}));
5757

5858
Template.fromStack(stack).hasResourceProperties('AWS::Lambda::Function', {
@@ -69,7 +69,7 @@ test('PythonFunction with index in a subdirectory', () => {
6969
});
7070

7171
expect(Bundling.bundle).toHaveBeenCalledWith(expect.objectContaining({
72-
entry: expect.stringMatching(/aws-lambda-python\/test\/lambda-handler-sub$/),
72+
entry: expect.stringMatching(/aws-lambda-python-alpha\/test\/lambda-handler-sub$/),
7373
}));
7474

7575
Template.fromStack(stack).hasResourceProperties('AWS::Lambda::Function', {
@@ -86,7 +86,7 @@ test('PythonFunction with index in a nested subdirectory', () => {
8686
});
8787

8888
expect(Bundling.bundle).toHaveBeenCalledWith(expect.objectContaining({
89-
entry: expect.stringMatching(/aws-lambda-python\/test\/lambda-handler-sub-nested$/),
89+
entry: expect.stringMatching(/aws-lambda-python-alpha\/test\/lambda-handler-sub-nested$/),
9090
}));
9191

9292
Template.fromStack(stack).hasResourceProperties('AWS::Lambda::Function', {

0 commit comments

Comments
 (0)