-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump pnpm version to 6.14.2 (#17017)
pnpm 6.13.0 includes fix to the "tar" security vulnerability issue. * pnpm v6 rename pnpmfile.js to .pnpmfile.cjs See https://github.com/pnpm/pnpm/releases/tag/v6.0.0 for details. * Add changes done by `rush update` * rush update --recheck * bump pnpm version to current latest version 6.14.2 * Adapt to pnpm change to reduce directory nesting in virtual store, pnpm v6 replaces '/' in package name with '+'. pnpm/pnpm#3117 pnpm/pnpm#3314 This breaks `communication-chat` which has an indirect dependency on earlier version of @opentelemetry/api that doesn't provide `esm` support thus needs the commonjs plugin's named exports when rolling up for browser. * Fix native deps installation script
- Loading branch information
1 parent
aced21f
commit 1a593e5
Showing
4 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
|
@@ -32,13 +32,17 @@ steps: | |
# <pkg>@<version> is the leaf node of the path | ||
# Example: [email protected] | ||
# Move one more level up if package has org name | ||
# for e.g. node_modules\.pnpm\@azure\[email protected]\node_modules\@azure\msal-node-extensions | ||
# for e.g. node_modules\.pnpm\@azure+[email protected]\node_modules\@azure\msal-node-extensions | ||
if ((Split-Path -Leaf $packageInstallPath) -eq "node_modules") { | ||
$packageInstallPath = Join-Path $packageInstallPath ".." | ||
} | ||
$packageAtVersion = Split-Path -Leaf $packageInstallPath | ||
# pnpm v6 replaces '/' in package names with '+' to reduce nesting directory in virtual store so we need to | ||
# change it back | ||
$packageAtVersion = $packageAtVersion.Replace("+", "/") | ||
# Check if package has org name. for e.g @azure/msal-node-enxtensions | ||
# This returns either @azure or .pnpm( if no org is present) | ||
$packageParentName = Split-path -Leaf (Split-Path -Parent -Resolve $packageInstallPath) | ||
|
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