feat(Brackets.Theseus): Initial release 0.2.8
- Debugger for Node.js and Brackets! - https://github.com/adobe-research/theseus
This commit is contained in:
34
Brackets.Theseus/Brackets.Theseus.nuspec
Normal file
34
Brackets.Theseus/Brackets.Theseus.nuspec
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<metadata>
|
||||
<id>Brackets.Theseus</id>
|
||||
<title>Theseus JavaScript debugger for Brackets</title>
|
||||
<version>0.2.8</version>
|
||||
<authors>Adobe</authors>
|
||||
<owners>Ethan J Brown</owners>
|
||||
<summary>A pretty darn cool JavaScript debugger for Brackets.</summary>
|
||||
<description>Theseus is a new type of JavaScript debugger for Node.js, Chrome, and both simultaneously. It is an extension for the Brackets code editor.
|
||||
|
||||
* Real-time code coverage: Theseus shows the number of times that every function has been called next to its definition. Functions that have never been called are also given a gray background. You can watch the code light up as you interact with the web page.
|
||||
|
||||
* Retroactive inspection: Click a call count to see the values of parameters, return values, and any exceptions that have been thrown from that function. It's like adding console.log without having to save and reload.
|
||||
|
||||
* Asynchronous call tree: If you click multiple call counts, all invocations of those functions are shown in a tree. When callback functions are called, they show up in the tree under the function that created them, regardless of whether they were called immediately or many ticks later.
|
||||
|
||||
http://brackets.io/
|
||||
</description>
|
||||
<projectUrl>https://github.com/adobe-research/theseus</projectUrl>
|
||||
<tags>editor web adobe javascript html css debugger nodejs</tags>
|
||||
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<iconUrl>https://github.com/Iristyle/ChocolateyPackages/raw/master/Brackets/brackets_logo.png</iconUrl>
|
||||
<!-- <releaseNotes></releaseNotes> -->
|
||||
<dependencies>
|
||||
<dependency id="nodejs.install" />
|
||||
<dependency id="Brackets" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="tools\**" target="tools" />
|
||||
</files>
|
||||
</package>
|
20
Brackets.Theseus/tools/chocolateyInstall.ps1
Normal file
20
Brackets.Theseus/tools/chocolateyInstall.ps1
Normal file
@@ -0,0 +1,20 @@
|
||||
$package = 'Brackets.Theseus'
|
||||
|
||||
try {
|
||||
|
||||
npm install -g node-theseus@0.0.7
|
||||
|
||||
$params = @{
|
||||
PackageName = $package;
|
||||
FileType = 'zip';
|
||||
Url = 'https://s3.amazonaws.com/theseus-downloads/theseus-0.2.8.zip';
|
||||
UnzipLocation = Join-Path $Env:APPDATA 'Brackets\extensions\user';
|
||||
}
|
||||
|
||||
Install-ChocolateyZipPackage @params
|
||||
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
13
Brackets.Theseus/tools/chocolateyUninstall.ps1
Normal file
13
Brackets.Theseus/tools/chocolateyUninstall.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
$package = 'Brackets.Theseus'
|
||||
|
||||
try {
|
||||
$installPath = Join-Path $Env:APPDATA 'Brackets\extensions\user\brackets-theseus'
|
||||
Remove-Item $installPath -Recurse -ErrorAction SilentlyContinue
|
||||
|
||||
npm uninstall -g node-theseus@0.0.7
|
||||
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
Reference in New Issue
Block a user