Closed teddyaryono closed 1 week ago
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
Describe the bug
I followed the getting started guide to build a shopping list application.
Ran
npx projen build
to build. Build failed because of failed test.Expected Behavior
pdk
to version and remove corresponding unused test and other files (see current behaviour).Current Behavior
pdk left some un-used files in
packages/api/handlers/typescript/test
andpackages/api/handlers/typescript/lib
. Users need to handpick and remove leftover files manually.Reproduction Steps
types/shopping-list.smithy
,types/pagination.smithy
,operations/put-shopping-list.smithy
,operations/delete-shopping-list.smithy
,operations/get-shopping-list.smithy
.main.smithy
to includeGetShoppingLists
,PutShoppingList
,DeleteShoppingList
.packages/api/model/src/main/smithy/operations/say-hello.smithy
andpackages/api/handlers/typescript/src/say-hello.ts
npx projen build
Possible Solution
No response
Additional Information/Context
No response
PDK version used
0.23.37
What languages are you seeing this issue on?
Typescript
Environment details (OS name and version, etc.)
Apple M1 Pro, MacOS Sonoma 14.4.1