Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to "node2" debug engine #390

Merged
merged 14 commits into from
Feb 9, 2017
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ os:
- osx

env:
- NODE_VERSION="5.11"
- NODE_VERSION="6.9.5"

before_install:
# nvm is not yet supported on osx, manually install
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
},
{
"name": "Run mocha",
"type": "node",
"type": "node2",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
// Command line arguments passed to the program.
Expand Down
4 changes: 1 addition & 3 deletions SampleApplication/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"type": "reactnative",
"request": "launch",
"platform": "android",
"internalDebuggerPort": 9090,
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
},
Expand All @@ -18,9 +17,8 @@
"request": "launch",
"platform": "ios",
"target": "iPhone 5s",
"internalDebuggerPort": 9090,
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
}
]
}
}
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ gulp.task('build', ["check-imports", "check-copyright"], function (callback) {
.pipe(sourcemaps.write('.', {
includeContent: false,
sourceRoot: function (file) {
return path.relative(path.dirname(file.path), __dirname + '/src');
return path.relative(path.dirname(path.dirname(file.path)), __dirname + '/src');
}
}))
.pipe(gulp.dest(outPath));
Expand Down Expand Up @@ -114,6 +114,7 @@ gulp.task('check-copyright', function (cb) {
"**/*.js",
"!**/*.d.ts",
"!node_modules/**",
"!out/test/**/*.js",
"!SampleApplication/**",
"!src/test/resources/sampleReactNative022Project/**/*.js",
])
Expand Down
Loading