Commit Graph

184 Commits

Author SHA1 Message Date
Ben Newman
dc95428ecb Merge branch 'devel' into release-1.6 2017-09-29 18:07:21 -04:00
Jesse Rosenberger
c10c5c161b Don't strip the top directory when extracting our Node tarball.
Thanks to changes in the `build-node-for-dev-bundle.sh` script done in
0583e5883c, we now build a tarball which
is identical to the structure provided by Node.js themselves.

While generally we are using the main Node releases, this will allow
our users to (if need be), use a tarball directly in place of their own
in production without additional changes.  Similarly, the only change
we need to make now when building the dev bundle is to use a different
URL.
2017-09-28 16:29:20 +03:00
Ben Newman
7a9bef9250 Revert "Fix npm@5.4.0 +x permissions-stripping bug until next pacote release."
This reverts commit 3431b5b81f.
2017-09-06 18:12:43 -04:00
Ben Newman
3431b5b81f Fix npm@5.4.0 +x permissions-stripping bug until next pacote release.
https://github.com/npm/npm/issues/18324
https://github.com/zkat/pacote/pull/117
2017-09-06 10:40:32 -04:00
Ben Newman
d83c3a2fa5 Update npm to version 5.4.0.
The npm/test directory is no longer published to npm (finally!), so it
no longer needs to be deleted to reduce the dev bundle size.
2017-09-05 14:32:09 -04:00
Ben Newman
dd5d7e2786 Merge branch 'release-1.5.2' into release-1.6 2017-08-22 22:04:03 -04:00
Ben Newman
67b76abc78 Make node-gyp look for headers in dev_bundle/include/node.
Thanks to @abernix for identifying this solution to the duplication
between dev_bundle/include/node and dev_bundle/.node-gyp/*/node.
2017-08-22 16:41:01 -04:00
Ben Newman
8e7815b43a Try downloading Node from S3 if version exists. 2017-08-22 16:41:01 -04:00
Ben Newman
ab4f54c49a Revert unnecessary npm_config_disturl overrides. 2017-06-15 09:40:11 -04:00
Ben Newman
ead77fc1a4 Override npm's dist-url to fix node-gyp headers download.
https://github.com/nodejs/node-gyp/issues/1230
2017-06-14 11:33:11 -04:00
Ben Newman
d96122dc25 Upgrade sqlite3 npm package to version 3.1.8. 2017-03-31 15:21:19 -04:00
Ben Newman
73519c2b79 Fix shrink_fibers function in generate-dev-bundle.sh.
This logic needs to agree with the following expression:
https://github.com/laverdet/node-fibers/blob/8d7e4ffeb5151ade/build.js#L31
2016-10-20 17:19:56 -04:00
Martijn Walraven
cc9882b12d Update cordova-lib in dev bundle to 6.3.1 2016-10-05 16:11:32 -04:00
Ben Newman
da88a4afe0 Remove cordova-app-hello-world from dev bundle.
This package is depended upon by `cordova-lib`, and npm@3 hoists it to the
top-level dev_bundle/lib/node_modules directory.

We don't use this example app in Meteor, so we don't need it in the dev
bundle. If it is ever needed, developers can run

  meteor npm install -g cordova-app-hello-world

To include it in the dev bundle.

It would be really great if we could remove cordova-lib's extra copy of
npm, but that will probably have to wait until they update to npm@3.
2016-08-15 14:31:11 -04:00
Ben Newman
b2e2d0651b Don't install node-gyp or node-pre-gyp in server bundle.
These packages need to be installed when we run `npm install` in
`bundle/programs/server` (which this commit ensures), but they don't need
to be part of the dev bundle.
2016-08-15 14:31:10 -04:00
Ben Newman
da0e944c14 Avoid installing an extra copy of node-gyp in the dev bundle. 2016-08-15 14:23:10 -04:00
Ben Newman
99004c0826 Remove npm/test from dev bundle. 2016-08-15 14:23:10 -04:00
Ben Newman
8aff09bec5 Remove unnecessary sqlite3 dependencies from dev bundle. 2016-08-15 14:23:09 -04:00
Ben Newman
f6a52788f0 Remove BrowserStack from dev bundle. 2016-08-15 14:23:09 -04:00
Ben Newman
a4a828e4c3 Install Node headers and libraries in dev_bundle/.node-gyp/.
This gives us a reliable place for node-gyp to find the necessary headers
and libraries for compiling binary packages, instead of relying on the
accessibility of $HOME and/or $USERPROFILE.
2016-08-06 13:46:16 -04:00
Ben Newman
7faa4ba7d7 Revert "Include Node 4.5.0-rc.2 in the dev bundle."
This reverts commit 64a9312e29.

Although Meteor runs fine on Node 4.5.0, node-gyp doesn't know how to
download libraries appropriate for RC releases, so it looks like we need
to hold off on this upgrade until it's officially out.
2016-08-06 13:46:16 -04:00
Ben Newman
760eecb1d2 Include Node 4.5.0-rc.2 in the dev bundle. 2016-08-06 13:46:15 -04:00
Tom Freudenberg
c1dc3207e3 Move define for MONGO_VERSION into COMMON build-dev-bundle-common.sh to have a unique source where all defines are. This is ordered like in generate-dev-bundle.ps1 (#7370) 2016-07-12 00:46:21 +00:00
Tom Coleman
8e5ad645ab Update dev bundle Mongo to 3.2
Also, just use the vanilla Mongo from mongodb.com.

We used to ship a version with SSL statically compiled in so that `meteor mongo`
to Mother worked. This isn't a thing any more.
2016-06-24 12:15:25 -04:00
Tom Freudenberg
be9ba6b565 Finalize replacement NPM@3 at generate-dev-bundle.sh script 2016-06-23 05:59:48 +02:00
Ben Newman
5f85d61f41 Upgrade npm to 3.9.6. 2016-06-20 14:54:39 -04:00
Ben Newman
e95dfe410e Make sure dev_bundle/lib/node_modules/.bin is left intact.
If you run `meteor npm install` in bundle/programs/server, this change
means dev_bundle/lib/node_modules/.bin/node-pre-gyp will be available to
packages that need to rebuild binary dependencies, to pick just one
important example.
2016-05-19 17:04:08 -04:00
Ben Newman
d588d79199 Don't use npm@3 to build Mac/Linux dev bundles.
Building the dev bundle on 32bit Linux wasn't working because node-gyp
needed the npm version and the node version to agree.

Long paths aren't a problem on Mac and Linux like they are on Windows, so
using npm@2.15.1 should be safe here.
2016-05-16 18:21:14 -04:00
Ben Newman
6419990765 Upgrade Node to 0.10.45 and npm to 2.15.1. 2016-05-16 18:21:14 -04:00
Ben Newman
a4ff6b73d3 Download prebuilt Node binaries from npmjs.org instead of s3. 2016-05-16 18:21:13 -04:00
Ben Newman
b3b8bcd272 Go back to using our fork of node. 2016-03-11 19:42:36 -05:00
Ben Newman
f0239a64b2 Use the new Node 0.10.43 build in the dev bundle. 2016-03-11 12:56:57 -05:00
Ben Newman
eb990daea0 Ignore the version of npm that comes with Node 0.10.41. 2016-03-10 19:56:56 -05:00
Ben Newman
be280958e8 Upgrade npm to 2.14.22 and bump $BUNDLE_VERSION to 0.5.28. 2016-03-10 19:34:34 -05:00
Ben Newman
61f819b89a Forbid user-provided npm configuration files in meteor-npm.js.
Follow up to #5710.
2015-12-08 20:08:13 -05:00
Ben Newman
093e73da28 Merge pull request #5710 from mitar/patch-16
Make sure no user configuration is used.
2015-12-08 19:23:16 -05:00
Ben Newman
8a7102d9dd Use the new Node v0.10.41 build when building the dev bundle. 2015-12-08 18:59:40 -05:00
Mitar
cc959fcefb Added comment. 2015-12-01 17:28:24 -08:00
Mitar
adaf28b4aa Make sure no user configuration is used.
Reproducible builds and stuff.
2015-11-25 16:28:49 -08:00
Tom Freudenberg
8a24a1b2ba Make Script More Portable With #!/usr/bin/env 2015-11-01 22:04:10 +01:00
Martijn Walraven
e164fd969c Install ios-sim from NPM instead of building it ourselves 2015-08-26 19:26:44 +02:00
Martijn Walraven
d09ee4c5a1 Use cp -R just in case it matters on OS X 2015-08-03 13:46:34 +02:00
Martijn Walraven
e88e4a2837 Add explicit dependency on the npm version we build our node fork with 2015-07-30 17:37:41 +02:00
Martijn Walraven
e924dc470c Replace npm in dev bundle with version from our own fork 2015-07-23 20:48:06 -07:00
Martijn Walraven
62c99185a4 Add explicit version for npm 3 so builds are reproducible 2015-07-23 16:46:06 -07:00
Martijn Walraven
e07143b2ca Save some space by removing esprima tests (as we were doing before) 2015-07-23 16:08:36 -07:00
Martijn Walraven
6038c8dc00 Use npm 3 for building dev bundle on Unix 2015-07-23 15:25:46 -07:00
David Glasser
dfa394ea1c Try to build dev bundle again
This time with actual Node 0.10.40, not some random commit because
Jenkins is running old versions of git where `git clone -b garbage`
isn't an error!
2015-07-17 00:00:26 -07:00
David Glasser
58397f5bf1 Now build new dev bundle 2015-07-16 23:22:36 -07:00
David Glasser
f59cf85740 Prepare to build Node 0.10.40 2015-07-16 21:58:14 -07:00