224 Commits

Author SHA1 Message Date
Leonardo Venturini
c43b503814 fix using rosetta on macos for mongod 2024-11-10 09:20:48 -04:00
Philippe Oliveira
b7a1e06839 Merge branch 'release-3.0' into feature-linux-arm 2024-02-15 08:48:33 -03:00
Philippe Oliveira
c743724f21 Updating MongoDB version and downloading binary from a newer OS 2024-01-12 19:40:12 +00:00
denihs
0f5c805feb - remove unnecessary delete
- update sqlite3 lib version
- solve constraints issue with caching-html-compiler and templating-tools
2023-11-06 14:31:50 -04:00
denihs
adfce86199 - update npm version to 9.6.7 2023-09-01 09:23:40 -04:00
Gabriel Grubba
88066921d2 updating CI 2023-08-21 14:40:57 -03:00
denihs
38711e89cf - copy package-lock.json to lib folder so that npm keep everything installed correctly 2023-08-15 17:13:16 -04:00
denihs
514478d1de - copy package.json to lib folder when generating a dev_bundle
- install all dependencies from scratch when we change lockfileVersion
2023-07-06 12:21:48 -04:00
matheusccastro
a112ad528c Update Node version to 18.16.0 LTS
Bump the `source-map` version to fix the issue: https://github.com/mozilla/source-map/issues/454.

We are not updating the NPM version because there is an breaking change with the `npm config set python` which we use with `node-gyp`.
2023-05-31 23:46:49 -03:00
matheusccastro
3bb8622950 Update Node version to 16.20.0 LTS and NPM to 8.19.4
This commit also removes the fork of `pacote` that Meteor used to use - hopefully, the issues that were fixed with our patch are already fixed on upstream.
2023-05-31 23:10:10 -03:00
Philippe Oliveira
b72a15c6b2 # Nodejs 14 official download source has been discontinued, we are switching to our custom source https://static.meteor.com 2023-03-31 21:39:30 +01:00
Gabriel Grubba
7b27d65fcb updated again 2023-01-26 17:21:30 -03:00
aquinoit
b41f68d9c9 feature-linux-arm 2022-08-24 19:27:33 +00:00
Renan Castro
595fbd8980 Support arm64 on darwin when building the dev bundle 2021-10-22 11:37:38 -03:00
Renan Castro
0644131747 Support arm64 on darwin when building the dev bundle - use mongo x86_64 with rosetta runners on mac m1 2021-10-22 11:30:53 -03:00
Renan Castro
5d4a0c5d3f Support arm64 on darwin when building the dev bundle - use mongo x86_64 with rosetta runners on mac m1 2021-10-22 11:23:47 -03:00
Renan Castro
d4846089ac Support arm64 on darwin when building the dev bundle - use mongo x86_64 with rosetta runners on mac m1 2021-10-22 11:20:38 -03:00
Renan Castro
4bb642cd0b Support arm64 on darwin when building the dev bundle - use mongo x86_64 with rosetta runners on mac m1 2021-10-22 11:16:56 -03:00
Renan Castro
c112756719 Add python3 configuration on npm 2021-05-06 12:32:12 -03:00
filipenevola
8b9296e2de bump to Node 14.16.0 2021-02-23 20:14:21 -04:00
Renan Castro
6cad40421a updates dev bundle number to 12.18.3.1 2020-08-07 12:22:00 -03:00
Christian Klaussner
1a016f5c2b Update download URLs for MongoDB 4.2.1. 2020-01-13 16:02:43 -05:00
Ben Newman
5e711969b5 Remove @babel/runtime/helpers/builtin symlinking hack. 2019-09-24 10:23:22 -04:00
Ben Newman
065520dbf8 Move node_modules/pacote to node_modules/npm/node_modules/pacote. 2019-09-24 10:23:22 -04:00
Ben Newman
5ff5881804 Prevent strange EISDIR error when building dev bundle. 2019-02-26 20:05:53 -05:00
Ben Newman
65d978ac23 Stop trying to delete irrelevant fibers binaries from dev bundle.
The shrink_fibers trick was saving only about 1.4MB, and it caused
problems whenever the format of the binary filenames changed.
2019-01-04 13:22:39 -05:00
Ben Newman
e03a2d59d3 Symlink from @babel/runtime/helpers/builtin to @babel/runtime/helpers.
https://github.com/babel/babel/pull/8266#issuecomment-410713225

Should fix #10129, since the vue-component build plugin registered by
akryum:vue-component depends on the @babel/runtime package installed in
dev_bundle/lib/node_modules.
2018-08-06 10:18:40 -04:00
Ben Newman
bc6ec63f52 Update Node to v8.11.2-rc.1. 2018-05-07 15:22:13 -04:00
Ben Newman
d19122521b Upgrade npm to version 5.8.0.
http://blog.npmjs.org/post/171139955345/v570
http://blog.npmjs.org/post/171169301000/v571
http://blog.npmjs.org/post/171813275740/v580-next0

The node-gyp package is apparently no longer bundled as
npm/node_modules/node-gyp, so we don't have to delete it any more.
2018-03-29 10:57:29 -04:00
Hugh Willson
542ad06b75 Revert the revert of "Upgrade to Mongo 3.6 (#9533)"
This reverts commit 85d74f8d2b.
2018-03-21 19:27:03 +02:00
Ben Newman
85d74f8d2b Revert "Upgrade to Mongo 3.6 (#9533)"
This reverts commit dfc0702558.

We've seen some odd test failures (e.g. `passwords - tokens`) and trouble
updating from 1.6.1 to 1.6.2-beta.3 (easily solved with `meteor reset`,
but also worth investigating), so I think we should keep working on the
Mongo 3.6 upgrade in a PR, rather than running all of our tests against
a devel branch that includes Mongo 3.6.

cc @abernix @hwillson
2018-01-30 17:47:12 -05:00
Hugh Willson
dfc0702558 Upgrade to Mongo 3.6 (#9533)
Update the Meteor Tool to use Mongo 3.6.2 for 64-bit OS'
and Mongo 3.2.18 for 32-bit OS'. A few important mentions:

- As of Mongo 3.6, all Mongo binary downloads include
  SSL - there is no longer a non-SSL based download bundle
  (so it's a bit bigger, but that shouldn't be an issue).
- Using the `--nojournal` option with WiredTiger based
  replica sets is no longer supported (see
  https://jira.mongodb.org/browse/SERVER-30760). The
  `--nojournal` flag was added in
  bcfe072d52
  to help reduce the amount of disk space used by Mongo,
  but since this option is no longer supported, we'll
  have to live with the extra disk space usage.
- Add PR link to History.md
2018-01-24 22:01:46 +02:00
Ben Newman
db3efd3a6f Merge branch 'release-1.5.x' 2017-12-08 17:17:50 -05:00
Jesse Rosenberger
ca31a84dbf Only try to download $NODE_BUILD_NUMBER when defined.
Alternatively, this was just failing when trying to download a file that
was 404-ing.  This just short-circuits before that inevitable failure.
2017-11-07 20:17:51 +02:00
Ben Newman
cb85625520 Remove dev_bundle/.npm (-30MB due to .npm/_cacache). 2017-10-24 16:00:54 -07:00
Ben Newman
101a1bc0f6 Remove dev_bundle/.npm (-30MB due to .npm/_cacache). 2017-10-23 18:57:47 -04:00
Ben Newman
f9f7965587 Use a fork of pacote to work around Windows git.exe issues.
Should finally fix https://github.com/meteor/meteor/issues/9243.

Additional commits:
64ff47a875
f381754a0f

Previously: 3431b5b81f
2017-10-18 21:52:11 -04:00
Jesse Rosenberger
0dac129770 Introduce os.windows.x86_64 architecture for 64-bit Windows.
This commit reverts much of the work @hwillson had put in place for
meteor/meteor#9173, which made it possible for 32-bit and 64-bit
Mongo versions to exist in harmony within the same dev-bundle.  That
hard work was not in vein though as it offered invaluable research.
Ultimately, this showed that a more aggressive approach would be ideal,
even if the proposed option would have worked great in the short-term.

In the wake of the news that Mongo would no longer be supporting 32-bit
versions, these changes are important so 32-bit users of Meteor can
continue to have a functioning Mongo binary in development, while still
allowing Meteor to ship newer Mongo (e.g. 3.4+) binaries for 64-bit
users.  This is particularly relevant for Windows users, who have
previously only had 32-bit Meteor builds and represented a majority of
"32-bit" development, despite the fact most of their hosts supported
64-bit.  During another time in Meteor's life, this made sense.

This commit takes improved functionality to the next level (and makes
the aforementioned changes obsolete) by introducing support for building
and shipping Meteor for Windows in a 64-bit flavor (in addition to
32-bit), which will hopefully solve a number of performance matters on
Windows by using binaries which are pre-compiled for 64-bit, rather than
forcing the Windows kernel to deal with 32-bit binaries.  While Windows
has shown it's quite capable of dealing with such a situation, it seems
more and more clear (given improvements in underlying dependencies) that
performance gains could be had by freeing Windows of its 32-bit work.

This commit also further perpetuates the "archinfo" plot-line with more
story (about Windows) and various spelling corrections.
2017-10-14 13:36:29 -04:00
Hugh Willson
9a1f91843e Add Tool support for both 32 bit (3.2) and 64 bit (3.4) Mongo
These changes introduce dual Mongo support into the Meteor
Tool. 32-bit Mongo (3.2.15) will be used by Meteor when the
Tool is run on a 32-bit OS (32-bit Linux and Windows). 64-bit
Mongo (3.4.9) will be used when the Tool is run on a 64-bit
OS (64-bit Linux, Windows and macOS).

Fixes https://github.com/meteor/meteor-feature-requests/issues/129.
2017-10-14 13:36:29 -04:00
Jesse Rosenberger
0454f23c8c Remove duplicate Node headers in Unix dev bundle.
This was accomplished in 67b76abc78 by
@benjamn, but a merge commit from devel to release-1.6 inadvertently
removed half of it.  Prior to this commit, the new headers have been
used, but the old headers were still in place and taking up room.
2017-10-13 01:43:37 +03:00
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