-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package_managers: yarn: Enable Yarn support officially
Signed-off-by: Erik Skultety <[email protected]>
- Loading branch information
Showing
2 changed files
with
2 additions
and
9 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
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 |
---|---|---|
|
@@ -19,7 +19,6 @@ | |
check_output=False, | ||
check_deps_checksums=False, | ||
check_vendor_checksums=False, | ||
flags=["--dev-package-managers"], | ||
expected_exit_code=2, | ||
expected_output="PackageRejected: Yarn zero install detected, PnP zero installs are unsupported by cachi2", | ||
), | ||
|
@@ -33,7 +32,6 @@ | |
check_output=False, | ||
check_vendor_checksums=False, | ||
check_deps_checksums=False, | ||
flags=["--dev-package-managers"], | ||
expected_exit_code=2, | ||
expected_output="UnsupportedFeature: Found 8 unsupported dependencies, more details in the logs.", | ||
), | ||
|
@@ -47,7 +45,6 @@ | |
check_vendor_checksums=False, | ||
expected_exit_code=0, | ||
expected_output="Processing the request using [email protected]", | ||
flags=["--dev-package-managers"], | ||
), | ||
id="yarn_correct_version_installed_by_corepack", | ||
), | ||
|
@@ -59,7 +56,6 @@ | |
check_output=False, | ||
check_vendor_checksums=False, | ||
check_deps_checksums=False, | ||
flags=["--dev-package-managers"], | ||
expected_exit_code=1, | ||
expected_output="The lockfile would have been modified by this install, which is explicitly forbidden.", | ||
), | ||
|
@@ -73,7 +69,6 @@ | |
check_output=False, | ||
check_deps_checksums=False, | ||
check_vendor_checksums=False, | ||
flags=["--dev-package-managers"], | ||
expected_exit_code=1, | ||
expected_output="typescript@npm:5.3.3: The remote archive doesn't match the expected checksum", | ||
), | ||
|
@@ -114,7 +109,6 @@ def test_yarn_packages( | |
ref="70515793108df42547d3320c7ea4cd6b6e505c46", | ||
packages=({"path": ".", "type": "yarn"},), | ||
check_vendor_checksums=False, | ||
flags=["--dev-package-managers"], | ||
expected_exit_code=0, | ||
expected_output="All dependencies fetched successfully", | ||
), | ||
|