-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support custom esbuild module path (#220)
- Loading branch information
Showing
20 changed files
with
449 additions
and
48 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,14 +13,14 @@ Like every Construct, *cdk-esbuild* is a [jsii](https://github.com/aws/jsii) pro | |
Sometimes it is required to test these generated packages in a real life environment. | ||
All paths in the instructions below, will assume you are testing with one of the examples. | ||
|
||
### NodeJs | ||
### Node.js | ||
|
||
**Option 1:** | ||
|
||
*This is the preferred approach, as it is more consistent and closer to how npm would behave for a real user.* | ||
|
||
- `pj build` | ||
- The NodeJS package can be found in `dist/js` | ||
- The Node.js package can be found in `dist/js` | ||
- In your Python app, run `npm install ../../dist/js/[email protected]` (path to the file in dist) | ||
- `npx cdk synth` will use the locally build version | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
pytest==6.2.5 | ||
black>=22.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
aws-cdk-lib==2.27.0 | ||
aws-cdk-lib==2.37.1 | ||
constructs>=10.0.0,<11.0.0 | ||
mrgrain.cdk-esbuild>=4.0.0 | ||
mrgrain.cdk-esbuild>=3.10.0 |
Oops, something went wrong.