This commit is contained in:
roblou 2016-10-13 22:18:38 -07:00
Родитель 1311369033
Коммит 8f2442f4e6
3 изменённых файлов: 55 добавлений и 7 удалений

Просмотреть файл

@ -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

32
gulpfile.js Normal file
Просмотреть файл

@ -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));

Просмотреть файл

@ -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": {
@ -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"
},
@ -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",
@ -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": [
{