Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Oct 14, 2016
1 parent 1311369 commit 8f2442f
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.2.0
* Change the way that sourcemaps are downloaded, hoping to fix [#251](https://github.com/Microsoft/vscode-chrome-debug/issues/251)
* Fix breakpoints being moved around after refreshing the page - [#250](https://github.com/Microsoft/vscode-chrome-debug/issues/250)
* Fix global eval sometimes failing, and incorrect error handling - [#244](https://github.com/Microsoft/vscode-chrome-debug/issues/244)
* Fix error with sourcemaps for eval scripts - [#256](https://github.com/Microsoft/vscode-chrome-debug/issues/256)

## 1.1.0
* Changed the way that targets are queried for, hoping to fix [#237](https://github.com/Microsoft/vscode-chrome-debug/issues/237)
* Enable breakpoints for fsharp - [#243](https://github.com/Microsoft/vscode-chrome-debug/pull/243) - Thanks @octref
Expand Down
32 changes: 32 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/

const gulp = require('gulp');
const path = require('path');
const fs = require('fs');

function verifyNotALinkedModule(modulePath) {
return new Promise((resolve, reject) => {
fs.lstat(modulePath, (err, stat) => {
if (stat.isSymbolicLink()) {
reject(new Error('Symbolic link found: ' + modulePath));
} else {
resolve();
}
});
});
}

function verifyNoLinkedModules() {
return new Promise((resolve, reject) => {
fs.readdir('./node_modules', (err, files) => {
Promise.all(files.map(file => {
const modulePath = path.join('.', 'node_modules', file);
return verifyNotALinkedModule(modulePath);
})).then(resolve, reject);
});
});
}

gulp.task('verify-no-linked-modules', cb => verifyNoLinkedModules().then(() => cb, cb));
24 changes: 17 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "debugger-for-chrome",
"displayName": "Debugger for Chrome",
"version": "1.1.0",
"version": "1.2.0",
"icon": "images/icon.png",
"description": "Debug your JavaScript code in the Chrome browser, or any other target that supports the Chrome Debugger protocol.",
"author": {
Expand All @@ -21,7 +21,7 @@
],
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"vscode-chrome-debug-core": "2.0.2",
"vscode-chrome-debug-core": "2.0.3",
"vscode-debugadapter": "^1.12.0",
"vscode-debugprotocol": "^1.12.0"
},
Expand All @@ -30,6 +30,7 @@
"@types/mockery": "^1.4.29",
"@types/node": "^6.0.41",
"@types/source-map": "^0.1.27",
"gulp": "^3.9.1",
"mocha": "^3.0.2",
"mockery": "^1.7.0",
"tslint": "^3.15.1",
Expand All @@ -40,14 +41,23 @@
"test": "mocha -u tdd -c 'out/test/**/*.test.js'",
"lint": "tslint -t verbose 'src/**/*.ts' 'test/**/*.ts'",
"build": "tsc",
"watch": "tsc -w"
"watch": "tsc -w",
"vscode:prepublish": "gulp verify-no-linked-modules"
},
"contributes": {
"breakpoints": [
{ "language": "javascript" },
{ "language": "typescriptreact" },
{ "language": "javascriptreact" },
{ "language": "fsharp" }
{
"language": "javascript"
},
{
"language": "typescriptreact"
},
{
"language": "javascriptreact"
},
{
"language": "fsharp"
}
],
"debuggers": [
{
Expand Down

0 comments on commit 8f2442f

Please sign in to comment.