built lib
This commit is contained in:
4
node_modules/.bin/tsc
generated
vendored
4
node_modules/.bin/tsc
generated
vendored
@@ -10,7 +10,7 @@ case `uname` in
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../tsc/bin/tsc" "$@"
|
||||
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
||||
else
|
||||
exec node "$basedir/../tsc/bin/tsc" "$@"
|
||||
exec node "$basedir/../typescript/bin/tsc" "$@"
|
||||
fi
|
||||
|
||||
2
node_modules/.bin/tsc.cmd
generated
vendored
2
node_modules/.bin/tsc.cmd
generated
vendored
@@ -14,4 +14,4 @@ IF EXIST "%dp0%\node.exe" (
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\tsc\bin\tsc" %*
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsc" %*
|
||||
|
||||
8
node_modules/.bin/tsc.ps1
generated
vendored
8
node_modules/.bin/tsc.ps1
generated
vendored
@@ -11,17 +11,17 @@ $ret=0
|
||||
if (Test-Path "$basedir/node$exe") {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "$basedir/node$exe" "$basedir/../tsc/bin/tsc" $args
|
||||
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args
|
||||
} else {
|
||||
& "$basedir/node$exe" "$basedir/../tsc/bin/tsc" $args
|
||||
& "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
} else {
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
$input | & "node$exe" "$basedir/../tsc/bin/tsc" $args
|
||||
$input | & "node$exe" "$basedir/../typescript/bin/tsc" $args
|
||||
} else {
|
||||
& "node$exe" "$basedir/../tsc/bin/tsc" $args
|
||||
& "node$exe" "$basedir/../typescript/bin/tsc" $args
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
|
||||
9
node_modules/.package-lock.json
generated
vendored
9
node_modules/.package-lock.json
generated
vendored
@@ -102,15 +102,6 @@
|
||||
"tslib": "^2.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/tsc": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/tsc/-/tsc-2.0.4.tgz",
|
||||
"integrity": "sha512-fzoSieZI5KKJVBYGvwbVZs/J5za84f2lSTLPYf6AGiIf43tZ3GNrI1QzTLcjtyDDP4aLxd46RTZq1nQxe7+k5Q==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc"
|
||||
}
|
||||
},
|
||||
"node_modules/tslib": {
|
||||
"version": "2.6.2",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
||||
|
||||
3
node_modules/tsc/CONTRIBUTING.md
generated
vendored
3
node_modules/tsc/CONTRIBUTING.md
generated
vendored
@@ -1,3 +0,0 @@
|
||||
# Release
|
||||
|
||||
`npm publish`
|
||||
3
node_modules/tsc/README.md
generated
vendored
3
node_modules/tsc/README.md
generated
vendored
@@ -1,3 +0,0 @@
|
||||
## DEPRECATED.
|
||||
|
||||
Use [`typescript`](https://www.npmjs.com/package/typescript) to get access to the `tsc` CLI command.
|
||||
2
node_modules/tsc/bin/tsc
generated
vendored
2
node_modules/tsc/bin/tsc
generated
vendored
@@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env node
|
||||
require('./tsc.js')
|
||||
49
node_modules/tsc/bin/tsc.js
generated
vendored
49
node_modules/tsc/bin/tsc.js
generated
vendored
@@ -1,49 +0,0 @@
|
||||
// @ts-check
|
||||
|
||||
// https://stackoverflow.com/questions/9781218/how-to-change-node-jss-console-font-color
|
||||
const colours = {
|
||||
reset: "\x1b[0m",
|
||||
bright: "\x1b[1m",
|
||||
dim: "\x1b[2m",
|
||||
underscore: "\x1b[4m",
|
||||
blink: "\x1b[5m",
|
||||
reverse: "\x1b[7m",
|
||||
hidden: "\x1b[8m",
|
||||
|
||||
fg: {
|
||||
black: "\x1b[30m",
|
||||
red: "\x1b[31m",
|
||||
green: "\x1b[32m",
|
||||
yellow: "\x1b[33m",
|
||||
blue: "\x1b[34m",
|
||||
magenta: "\x1b[35m",
|
||||
cyan: "\x1b[36m",
|
||||
white: "\x1b[37m",
|
||||
crimson: "\x1b[38m" // Scarlet
|
||||
},
|
||||
bg: {
|
||||
black: "\x1b[40m",
|
||||
red: "\x1b[41m",
|
||||
green: "\x1b[42m",
|
||||
yellow: "\x1b[43m",
|
||||
blue: "\x1b[44m",
|
||||
magenta: "\x1b[45m",
|
||||
cyan: "\x1b[46m",
|
||||
white: "\x1b[47m",
|
||||
crimson: "\x1b[48m"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
console.log()
|
||||
const msg = " This is not the tsc command you are looking for "
|
||||
console.log(colours.bg.red + " ".repeat(msg.length) + colours.reset)
|
||||
console.log(colours.bg.red + colours.fg.white + msg + colours.reset);
|
||||
console.log(colours.bg.red + " ".repeat(msg.length) + colours.reset)
|
||||
|
||||
console.log()
|
||||
console.log(`To get access to the TypeScript compiler, ${colours.fg.blue}tsc${colours.reset}, from the command line either:\n`)
|
||||
console.log(`- Use ${colours.bright}npm install typescript${colours.reset} to first add TypeScript to your project ${colours.bright}before${colours.reset} using npx`)
|
||||
console.log(`- Use ${colours.bright}yarn${colours.reset} to avoid accidentally running code from un-installed packages`)
|
||||
|
||||
process.exitCode = 1;
|
||||
22
node_modules/tsc/package.json
generated
vendored
22
node_modules/tsc/package.json
generated
vendored
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"name": "tsc",
|
||||
"version": "2.0.4",
|
||||
"description": "A deprecated release of the TypeScript compiler",
|
||||
"main": "./bin/tsc.js",
|
||||
"bin": {
|
||||
"tsc": "./bin/tsc"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/basarat/tsc.git"
|
||||
},
|
||||
"keywords": [
|
||||
"typescript"
|
||||
],
|
||||
"author": "basaratali@gmail.com",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/basarat/tsc/issues"
|
||||
},
|
||||
"homepage": "https://github.com/basarat/tsc#readme"
|
||||
}
|
||||
Reference in New Issue
Block a user