Commit b402da9
authored
chore: remove dependency on node built-in (#3058)
The health checks are now failing with
```
error TS2307: Cannot find module 'node:crypto' or its corresponding type declarations.
```
What the test does is `cdk init` a project, then remove the
`node_modules` directory in order to source the node modules from
elsewhere.
Rather than try to figure out where the package is installed and what
changed where in order to get the right definition of `@types/node`
anywhere, I figured it would be easier to just cut the single dependency
on the node built-in, and make the test sliiiightly more robust against
what types are installed.
_By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license._1 parent 6469019 commit b402da9
File tree
2 files changed
+13
-2
lines changed- .changeset
- packages/integration-tests/src/test-cdk-projects/auth-cdk
2 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments