Open PomeloBounties opened 7 months ago
Bounty application submitted by @UrsaPolarisRecords with a message:
Testing application timestamps
Waiting for your approval @SoA432
Bounty received funding. Current reward is at 0.0917 USDT
Bounty received funding. Current reward is at 0.1334 USDT
Bounty received funding. Current reward is at 0.1751 USDT
Bounty application approved. Good luck @UrsaPolarisRecords!
Bounty forfeited by @UrsaPolarisRecords with a message:
I would like to test to see if this forfeit message works
Bounty application submitted by @UrsaPolarisRecords with a message:
In case it is necessary to test again
Waiting for your approval @SoA432
Bounty
>>> Github comment test created by @SoA432 on Pomelo Bounties
Summary
Develop an Angular CLI workflow to enable Yarn Plug’n’Play (PnP) support for users interested in trying out the new version of the package manager. This should include instructions on how to install the workspace dependencies, install the
pnpify
package, unplug all Angular related packages, and unplug thewebdriver-manager
package. Additionally, provide a warning that this is not recommended for use with deployed applications and should not be used in a production environment.Apply
https://bounties.pomelo.io/e12be124bba3
Original Issue
https://github.com/angular/angular-cli/issues/16980
Title
Yarn PnP Support Status
Body
With the release of Yarn 2.0, many users may be interested in trying out the new version of the package manager with the Angular CLI. As of 9.0, the Angular CLI does not natively support Yarn 2.0 and its new package management strategy named Plug’n’Play (PnP). However, native support is currently and actively being investigated with several initial steps already in place. Native support is tentatively scheduled for inclusion in 10.0 or beyond with the goal of integrating new major versions of upstream dependencies that provide native support.
For those that are interested in experimenting with building applications using the new package manager, you can use the following instructions to workaround the current issues. WARNING: This is not recommended for use with deployed applications and should not be used in a production environment. 1) Install the workspace dependencies using Yarn 2.0 2) Install the
pnpify
package:yarn add -D @yarnpkg/pnpify
3) Unplug all Angular related packages including third-party libraries used within the application viayarn unplug <package_name>
. This should include at a minimum all@angular
scoped packages. 4) If using the E2E command, thewebdriver-manager
package also needs to be unplugged:yarn unplug webdriver-manager
Once these steps are complete, Angular CLI operations such as serve or build can be used by executing
yarn pnpify ng build
oryarn pnpify ng serve
, respectively.Please note that manually running the
ngcc
command with or without the pnpify utility does not currently work.If any issues are encountered using the workaround steps or for Yarn 2.0 in general, please open a separate issue detailing the problem.
Base Reward
0.0500 USDT
Note
For technical discussion use the original issue. This issue is for tracking the bounty application and implementation progress.