Skip to content

Commit 9c47395

Browse files
authored
fix(aws): Add layer build output to nx cache (#17148)
1 parent a18f659 commit 9c47395

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

dev-packages/e2e-tests/test-applications/aws-lambda-layer-cjs/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@
1919
},
2020
"volta": {
2121
"extends": "../../package.json"
22-
},
23-
"sentryTest": {
24-
"skip": true
2522
}
2623
}

dev-packages/e2e-tests/test-applications/aws-lambda-layer-esm/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@
1919
},
2020
"volta": {
2121
"extends": "../../package.json"
22-
},
23-
"sentryTest": {
24-
"skip": true
2522
}
2623
}

packages/aws-serverless/package.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,23 @@
102102
"volta": {
103103
"extends": "../../package.json"
104104
},
105-
"sideEffects": false
105+
"sideEffects": false,
106+
"nx": {
107+
"targets": {
108+
"build:transpile": {
109+
"inputs": [
110+
"production",
111+
"^production"
112+
],
113+
"dependsOn": [
114+
"^build:transpile"
115+
],
116+
"outputs": [
117+
"{projectRoot}/build/npm/esm",
118+
"{projectRoot}/build/npm/cjs",
119+
"{projectRoot}/build/aws"
120+
]
121+
}
122+
}
123+
}
106124
}

0 commit comments

Comments
 (0)