Files
meteor/scripts/dev-bundle-tool-package.js
David Glasser 5d17598584 Update pathwatcher, which took our PR
Our PR landed in 4.1.0, so we no longer need a fork.

Hopefully, the runas-related bug which causes dev bundle builds to
sometimes fail (which is why we moved the install to its own step) is
fixed with the newer version of runas used by pathwatcher now.

Note that we were previous using a fork with an early version of our PR,
which put the numeric errno on 'code'. The accepted version of the PR
puts the numeric errno on 'errno' (and in Node 0.12, puts a string on
'code').
2015-02-16 14:34:54 -08:00

70 lines
2.5 KiB
JavaScript

// This file contains a package.json for the dependencies of the command-line
// tool.
// We put this in a JS file so that it can contain comments. It is processed
// into a package.json file by generate-dev-bundle.sh.
var fibersVersion;
if (process.platform === "win32") {
// We have a fork of fibers off of version 1.0.5 that searches farther for
// the isolate thread. This problem is a result of antivirus programs messing
// with the thread counts on Windows.
// Duplicated in dev-bundle-server-package.js
fibersVersion = "https://github.com/meteor/node-fibers/tarball/d519f0c5971c33d99c902dad346b817e84bab001";
} else {
fibersVersion = "1.0.5";
}
var packageJson = {
name: "meteor-dev-bundle-tool",
// Version is not important but is needed to prevent warnings.
version: "0.0.0",
dependencies: {
fibers: fibersVersion,
// Not yet upgrading Underscore from 1.5.2 to 1.7.0 (which should be done
// in the package too) because we should consider using lodash instead
// (and there are backwards-incompatible changes either way).
underscore: "1.5.2",
"source-map-support": "0.2.8",
semver: "4.1.0",
request: "2.47.0",
fstream: "1.0.2",
tar: "1.0.2",
kexec: "0.2.0",
"source-map": "0.1.40",
"browserstack-webdriver": "2.41.1",
"node-inspector": "0.7.4",
chalk: "0.5.1",
sqlite3: "3.0.2",
netroute: "0.2.5",
phantomjs: "1.9.12",
"http-proxy": "1.6.0",
"wordwrap": "0.0.2",
"moment": "2.8.4",
"rimraf": "2.2.8",
// XXX: When we update this, see if it fixes this Github issue:
// https://github.com/jgm/CommonMark/issues/276 . If it does, remove the
// workaround from the tool.
"commonmark": "0.15.0",
// XXX We ought to be able to get this from the copy in js-analyze rather
// than in the dev bundle.)
esprima: "1.2.2",
// 2.4.0 (more or less, the package.json change isn't committed) plus our PR
// https://github.com/williamwicks/node-eachline/pull/4
eachline: "https://github.com/meteor/node-eachline/tarball/ff89722ff94e6b6a08652bf5f44c8fffea8a21da",
cordova: "4.2.0",
pathwatcher: "4.1.0"
}
};
if (process.platform === 'win32') {
// Cordova is not supported on Windows
delete packageJson.dependencies.cordova;
// netroute is only needed for Cordova support
delete packageJson.dependencies.netroute;
// kexec doesn't work on Windows
delete packageJson.dependencies.kexec;
}
process.stdout.write(JSON.stringify(packageJson, null, 2) + '\n');