tiagobento opened a new pull request, #2224:
URL: https://github.com/apache/incubator-kie-tools/pull/2224

   1. Adding explicit content to the `build-env-root` file, to make its purpose 
clear.
   2. Adding `.npmrc` to fix partial bootstraping. See 
https://github.com/pnpm/pnpm/issues/6300.
   3. Removing package-scoped patches, as there is no such thing as patching a 
dependency for one specific package in `pnpm`, so it was misleading.
   4.  Improving test files that are exported for usage in other packages with 
the `src-test` directory. Now tests live under `tests` and test files that are 
intended to help other packages write their own tests live in `src-test`.
   5. Removed some unnecessary `node_modules` references in some 
`tsconfig.json` files.
   6. Fixed some packages that were unnecessarily running commands on 
installation phase like `prepare` or `install`.
   7. Removed top-level dependency to where it belongs.
   8. Improved `pnpm bootstrap` performance by formatting `pnpm-lock.yaml` only 
if it changed. Saved ~17s on my machine, when `pnpm-lock.yaml` is unchanged.
   9. Fixed the sparse-checkout script and added a README to it.
   
   ---
   
   To test the sparse-checkout script:
   ```
   docker run -it -p 9900:9900 --rm quay.io/kie-tools/kie-tools-ci-build bash 
-ic '\
   cd; \
   ORG="tiagobento"; \
   BRANCH="monorepo-improvements"; \
   PKGS="@kie-tools/boxed-expression-component"; \
   bash <(curl -s 
https://raw.githubusercontent.com/$ORG/incubator-kie-tools/$BRANCH/scripts/sparse-checkout/run.sh)
 $ORG $BRANCH $PKGS; \
   cd incubator-kie-tools; \
   pnpm -F boxed-expression-component... build:dev'
   ```
   
   This command will download only the portion of `kie-tools` necessary to 
build `packages/boxed-expression-component`. The container will be removed as 
soon as it success or fails, so it's safe to run anywhere.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to