Initial Functional Structure Scaffold
This commit is contained in:
12
NodeJS/node_modules/corepack/shims/nodewin/corepack
generated
vendored
Normal file
12
NodeJS/node_modules/corepack/shims/nodewin/corepack
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/node_modules/corepack/dist/corepack.js" "$@"
|
||||
else
|
||||
exec node "$basedir/node_modules/corepack/dist/corepack.js" "$@"
|
||||
fi
|
7
NodeJS/node_modules/corepack/shims/nodewin/corepack.cmd
generated
vendored
Normal file
7
NodeJS/node_modules/corepack/shims/nodewin/corepack.cmd
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
@SETLOCAL
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\corepack.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\node_modules\corepack\dist\corepack.js" %*
|
||||
)
|
28
NodeJS/node_modules/corepack/shims/nodewin/corepack.ps1
generated
vendored
Normal file
28
NodeJS/node_modules/corepack/shims/nodewin/corepack.ps1
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/corepack.js" $args
|
||||
} else {
|
||||
& "$basedir/node$exe" "$basedir/node_modules/corepack/dist/corepack.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "node$exe" "$basedir/node_modules/corepack/dist/corepack.js" $args
|
||||
} else {
|
||||
& "node$exe" "$basedir/node_modules/corepack/dist/corepack.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
12
NodeJS/node_modules/corepack/shims/nodewin/npm
generated
vendored
Normal file
12
NodeJS/node_modules/corepack/shims/nodewin/npm
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/node_modules/corepack/dist/npm.js" "$@"
|
||||
else
|
||||
exec node "$basedir/node_modules/corepack/dist/npm.js" "$@"
|
||||
fi
|
7
NodeJS/node_modules/corepack/shims/nodewin/npm.cmd
generated
vendored
Normal file
7
NodeJS/node_modules/corepack/shims/nodewin/npm.cmd
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
@SETLOCAL
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\npm.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\node_modules\corepack\dist\npm.js" %*
|
||||
)
|
28
NodeJS/node_modules/corepack/shims/nodewin/npm.ps1
generated
vendored
Normal file
28
NodeJS/node_modules/corepack/shims/nodewin/npm.ps1
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/npm.js" $args
|
||||
} else {
|
||||
& "$basedir/node$exe" "$basedir/node_modules/corepack/dist/npm.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "node$exe" "$basedir/node_modules/corepack/dist/npm.js" $args
|
||||
} else {
|
||||
& "node$exe" "$basedir/node_modules/corepack/dist/npm.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
12
NodeJS/node_modules/corepack/shims/nodewin/npx
generated
vendored
Normal file
12
NodeJS/node_modules/corepack/shims/nodewin/npx
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/node_modules/corepack/dist/npx.js" "$@"
|
||||
else
|
||||
exec node "$basedir/node_modules/corepack/dist/npx.js" "$@"
|
||||
fi
|
7
NodeJS/node_modules/corepack/shims/nodewin/npx.cmd
generated
vendored
Normal file
7
NodeJS/node_modules/corepack/shims/nodewin/npx.cmd
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
@SETLOCAL
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\npx.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\node_modules\corepack\dist\npx.js" %*
|
||||
)
|
28
NodeJS/node_modules/corepack/shims/nodewin/npx.ps1
generated
vendored
Normal file
28
NodeJS/node_modules/corepack/shims/nodewin/npx.ps1
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/npx.js" $args
|
||||
} else {
|
||||
& "$basedir/node$exe" "$basedir/node_modules/corepack/dist/npx.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "node$exe" "$basedir/node_modules/corepack/dist/npx.js" $args
|
||||
} else {
|
||||
& "node$exe" "$basedir/node_modules/corepack/dist/npx.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
12
NodeJS/node_modules/corepack/shims/nodewin/pnpm
generated
vendored
Normal file
12
NodeJS/node_modules/corepack/shims/nodewin/pnpm
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/node_modules/corepack/dist/pnpm.js" "$@"
|
||||
else
|
||||
exec node "$basedir/node_modules/corepack/dist/pnpm.js" "$@"
|
||||
fi
|
7
NodeJS/node_modules/corepack/shims/nodewin/pnpm.cmd
generated
vendored
Normal file
7
NodeJS/node_modules/corepack/shims/nodewin/pnpm.cmd
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
@SETLOCAL
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\pnpm.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\node_modules\corepack\dist\pnpm.js" %*
|
||||
)
|
28
NodeJS/node_modules/corepack/shims/nodewin/pnpm.ps1
generated
vendored
Normal file
28
NodeJS/node_modules/corepack/shims/nodewin/pnpm.ps1
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/pnpm.js" $args
|
||||
} else {
|
||||
& "$basedir/node$exe" "$basedir/node_modules/corepack/dist/pnpm.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "node$exe" "$basedir/node_modules/corepack/dist/pnpm.js" $args
|
||||
} else {
|
||||
& "node$exe" "$basedir/node_modules/corepack/dist/pnpm.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
12
NodeJS/node_modules/corepack/shims/nodewin/pnpx
generated
vendored
Normal file
12
NodeJS/node_modules/corepack/shims/nodewin/pnpx
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/node_modules/corepack/dist/pnpx.js" "$@"
|
||||
else
|
||||
exec node "$basedir/node_modules/corepack/dist/pnpx.js" "$@"
|
||||
fi
|
7
NodeJS/node_modules/corepack/shims/nodewin/pnpx.cmd
generated
vendored
Normal file
7
NodeJS/node_modules/corepack/shims/nodewin/pnpx.cmd
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
@SETLOCAL
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\pnpx.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\node_modules\corepack\dist\pnpx.js" %*
|
||||
)
|
28
NodeJS/node_modules/corepack/shims/nodewin/pnpx.ps1
generated
vendored
Normal file
28
NodeJS/node_modules/corepack/shims/nodewin/pnpx.ps1
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/pnpx.js" $args
|
||||
} else {
|
||||
& "$basedir/node$exe" "$basedir/node_modules/corepack/dist/pnpx.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "node$exe" "$basedir/node_modules/corepack/dist/pnpx.js" $args
|
||||
} else {
|
||||
& "node$exe" "$basedir/node_modules/corepack/dist/pnpx.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
12
NodeJS/node_modules/corepack/shims/nodewin/yarn
generated
vendored
Normal file
12
NodeJS/node_modules/corepack/shims/nodewin/yarn
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/node_modules/corepack/dist/yarn.js" "$@"
|
||||
else
|
||||
exec node "$basedir/node_modules/corepack/dist/yarn.js" "$@"
|
||||
fi
|
7
NodeJS/node_modules/corepack/shims/nodewin/yarn.cmd
generated
vendored
Normal file
7
NodeJS/node_modules/corepack/shims/nodewin/yarn.cmd
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
@SETLOCAL
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\yarn.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\node_modules\corepack\dist\yarn.js" %*
|
||||
)
|
28
NodeJS/node_modules/corepack/shims/nodewin/yarn.ps1
generated
vendored
Normal file
28
NodeJS/node_modules/corepack/shims/nodewin/yarn.ps1
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/yarn.js" $args
|
||||
} else {
|
||||
& "$basedir/node$exe" "$basedir/node_modules/corepack/dist/yarn.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "node$exe" "$basedir/node_modules/corepack/dist/yarn.js" $args
|
||||
} else {
|
||||
& "node$exe" "$basedir/node_modules/corepack/dist/yarn.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
12
NodeJS/node_modules/corepack/shims/nodewin/yarnpkg
generated
vendored
Normal file
12
NodeJS/node_modules/corepack/shims/nodewin/yarnpkg
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/node_modules/corepack/dist/yarnpkg.js" "$@"
|
||||
else
|
||||
exec node "$basedir/node_modules/corepack/dist/yarnpkg.js" "$@"
|
||||
fi
|
7
NodeJS/node_modules/corepack/shims/nodewin/yarnpkg.cmd
generated
vendored
Normal file
7
NodeJS/node_modules/corepack/shims/nodewin/yarnpkg.cmd
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
@SETLOCAL
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\node_modules\corepack\dist\yarnpkg.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\node_modules\corepack\dist\yarnpkg.js" %*
|
||||
)
|
28
NodeJS/node_modules/corepack/shims/nodewin/yarnpkg.ps1
generated
vendored
Normal file
28
NodeJS/node_modules/corepack/shims/nodewin/yarnpkg.ps1
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
$ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "$basedir/node$exe" "$basedir/node_modules/corepack/dist/yarnpkg.js" $args
|
||||
} else {
|
||||
& "$basedir/node$exe" "$basedir/node_modules/corepack/dist/yarnpkg.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "node$exe" "$basedir/node_modules/corepack/dist/yarnpkg.js" $args
|
||||
} else {
|
||||
& "node$exe" "$basedir/node_modules/corepack/dist/yarnpkg.js" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
exit $ret
|
Reference in New Issue
Block a user