From 881f398cb1f973592c6bee9fdee42eb250f1fa8b Mon Sep 17 00:00:00 2001 From: Iristyle Date: Mon, 27 May 2013 20:31:10 -0400 Subject: [PATCH] feat(Brackets.Theseus): Initial release 0.2.8 - Debugger for Node.js and Brackets! - https://github.com/adobe-research/theseus --- Brackets.Theseus/Brackets.Theseus.nuspec | 34 +++++++++++++++++++ Brackets.Theseus/tools/chocolateyInstall.ps1 | 20 +++++++++++ .../tools/chocolateyUninstall.ps1 | 13 +++++++ 3 files changed, 67 insertions(+) create mode 100644 Brackets.Theseus/Brackets.Theseus.nuspec create mode 100644 Brackets.Theseus/tools/chocolateyInstall.ps1 create mode 100644 Brackets.Theseus/tools/chocolateyUninstall.ps1 diff --git a/Brackets.Theseus/Brackets.Theseus.nuspec b/Brackets.Theseus/Brackets.Theseus.nuspec new file mode 100644 index 0000000..0a56022 --- /dev/null +++ b/Brackets.Theseus/Brackets.Theseus.nuspec @@ -0,0 +1,34 @@ + + + + Brackets.Theseus + Theseus JavaScript debugger for Brackets + 0.2.8 + Adobe + Ethan J Brown + A pretty darn cool JavaScript debugger for Brackets. + 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/ + + https://github.com/adobe-research/theseus + editor web adobe javascript html css debugger nodejs + http://opensource.org/licenses/MIT + false + https://github.com/Iristyle/ChocolateyPackages/raw/master/Brackets/brackets_logo.png + + + + + + + + + + diff --git a/Brackets.Theseus/tools/chocolateyInstall.ps1 b/Brackets.Theseus/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..c655d5d --- /dev/null +++ b/Brackets.Theseus/tools/chocolateyInstall.ps1 @@ -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 +} diff --git a/Brackets.Theseus/tools/chocolateyUninstall.ps1 b/Brackets.Theseus/tools/chocolateyUninstall.ps1 new file mode 100644 index 0000000..def7b0b --- /dev/null +++ b/Brackets.Theseus/tools/chocolateyUninstall.ps1 @@ -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 +}