forked from aws/jsii
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate mono-repository to use "yarn workspaces" (aws#891)
* chore: migrate mono-repository to use "yarn workspaces" This appears to improve the bootsrapping performance and makes the lock files much easier to manager (`yarn` maintains a single `yarn.lock` file at the root of the mono-repository instead of having one for each package like `npm` does). As required, this adjusted the `jsii/superchain` Docker image to also contain `yarn`, and changes how the `node` binary is installed to using the `nodesource` repository (so as to satisfy the `yarn` RPM dependencies without hacking around too much). * CodeBuild: install yarn if it is not there already (temporarily) * Temporarily skip yarn's engine check * better way to tune the ignore-engines * fixup Gemfile.lock * add missing yarn install * added required link for bundled dependency * fix hoisting problem w/ jsii-calc-bundled, use * versions where possible. * increase timeout of negatives test (need to investigate why they are so slow though) * fix build-test * fixup python test * try to install & test from the same container (suspecting ruby's .bundle directory somehow gets lost) * unset some problematic BUNDLER_ environment variables in Docker (they assumed single-app workloads, we're making a development image) * revert * dependency versions
- Loading branch information
1 parent
69851e6
commit d145f2b
Showing
80 changed files
with
8,317 additions
and
69,021 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Helps with using npm package-locally, while in a yarn workflow (avoids coupling scripts to yarn). | ||
# This is needed because yarn goes out of it's way to ensure it controls what `node` binary is used (for good!) | ||
scripts-prepend-node-path=auto |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This is required as the *current* CodeBuild image has node8, but we "require" node 10. | ||
# The whole file can be dropped once the new Docker image is released. | ||
--install.ignore-engines true | ||
--run.ignore-engines true |
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,5 +1,7 @@ | ||
{ | ||
"lerna": "3.13.1", | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"packages": [ | ||
"packages/*" | ||
], | ||
|
Oops, something went wrong.