Commit Graph

213 Commits

Author SHA1 Message Date
Matheus Castro
665d932b10 Remove Fibers from meteor-tools:
- Adapt mongo-shell to work without Fibers.
2023-01-05 19:33:20 -03:00
Matheus Castro
4472ed9aad Remove Fibers from meteor-tools:
- Make "reset" command work.
2022-12-28 11:46:56 -03:00
Matheus Castro
4f81a498a1 Remove Fibers from meteor-tools:
- Remove require calls for Fibers on test-runners.
2022-12-25 23:30:50 -03:00
Matheus Castro
53c24bbf6f Remove Fibers from meteor-tools:
- Fixing package stats issues and setting global.asyncLocalStorage when needed.
2022-12-20 17:16:18 -03:00
Matheus Castro
1df85b0e39 Remove Fibers for Meteor Tools:
- Add missing "awaits".
2022-12-16 17:14:05 -03:00
Matheus Castro
ee304af590 Merge branch 'release-3.0' into release-3.0-tools
# Conflicts:
#	packages/babel-compiler/.npm/package/npm-shrinkwrap.json
#	packages/ddp-client/common/livedata_connection.js
#	packages/ddp-server/writefence.js
#	tools/cli/commands-packages.js
#	tools/meteor-services/service-connection.js
#	tools/static-assets/server/boot.js
2022-12-14 22:12:13 -03:00
Matheus Castro
a76c30693f Remove Fibers for Meteor Tools:
- Start changing the meteor run command now. It's throwing errors when trying to check constraints/package-versions.
2022-12-14 21:48:59 -03:00
Edimar Cardoso
de04cfe676 Update Node Version, NPM Version and tools to work without Fibers
- Update node version to 18.12.1
- Update npm version to 7.24.2 (last before 8)
- Update commands to use async

---
NPM 8 break changes

Error: The programmatic API was removed in npm v8.0.0
https://github.com/npm/cli/blob/latest/index.js
2022-12-01 10:43:48 -03:00
Gabriel Grubba
044a757f3c Merge branch 'devel' into release-2.8.1 2022-11-17 14:19:38 -03:00
Dirk Stolle
088e52f386 fix a few typos in tools directory 2022-11-03 17:42:40 +01:00
Gabriel Grubba
7c56fa4549 Merge pull request #12236 from harryadel/output-port-on-restart
Show port in restart message
2022-10-21 14:53:37 -03:00
Gabriel Grubba
815d83154f Merge pull request #12081 from itgenio/refactoring/tools_run-updater
[Refactoring] modernize `tools/run-updater.js`
2022-10-21 14:25:27 -03:00
harryadel
ec48d0d762 Use rootUrl to display port number on rebooting 2022-10-21 11:06:47 +02:00
harryadel
a4ca60e819 Append port to restart message 2022-10-20 14:48:11 +02:00
Denilson
120515677b Merge branch 'release-2.7.4' into revert-12083-revert-12072-refactoring/remove-unused-imports 2022-08-04 09:12:53 -04:00
Radosław Miernik
39f04caa2b Removed unnecessary connects. 2022-07-26 13:47:42 +02:00
Denilson
aece11a87f Revert "Revert "Refactoring/Remove unused imports from tools folder"" 2022-07-13 08:37:42 -04:00
Denilson
f8114747cd Revert "Refactoring/Remove unused imports from tools folder" 2022-07-13 08:33:07 -04:00
afrokick
6d7caa7e26 modernize run-updater.js
fix a little bug in stop
2022-07-07 23:03:22 +03:00
afrokick
094cb6b322 remove unused imports from tools 2022-07-06 19:27:53 +03:00
Renan Castro
6a3d6c8372 Set explicitly write concern to w:1 on mongo v5 when running locally 2022-01-31 09:41:28 -03:00
Renan Castro
d4bff7199a Find count() no longers accept applySkipLimit, instead it takes no options anymore
Use insertOne/insertMany
2022-01-21 13:28:34 -04:00
Renan Castro
ae7d5c107b poolSize is no longer an option
db.serverConfig is no longer available, topology events are emmited from MongoClient
2022-01-21 13:28:33 -04:00
Renan Castro
f67c70519f native_parser is no longer an option, and we cant connect anymore with new Server() 2022-01-21 13:28:33 -04:00
Renan Castro
b87f326329 waitForStepDownOnNonCommandShutdown is not needed anymore 2022-01-21 13:28:33 -04:00
Renan Castro
5ce42b98ba Support arm64 on darwin when building the dev bundle - split command 2021-10-22 12:26:56 -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
zodern
371a69f731 Fix race conditions in HMR
- To know which change sets to apply, the client needs to know when the version running was built. It used the time the client loaded, but it could have loaded after a new version of the app was built, especially on cordova. Now it uses the actual time the client was built.
- On cordova, there is a delay between the client knowing there is an update available, and being able to reload the page to use the new version.
2021-10-12 22:43:55 -04:00
zodern
8813bdd3df Check origin instead of HMR secret for cordova 2021-10-12 22:43:55 -04:00
Jan Dvorak
bac389c9a9 METEOR_SETTINGS accepted always 2021-09-01 10:07:05 +02:00
Jan Dvorak
29adc93949 Fix #9907 2021-08-04 15:34:19 +02:00
Jan Dvorak
b6e127cfc9 Minor tools update
Replace underscore where easy and feasible & other minor modernization that I came across.
2021-06-25 00:36:03 +02:00
filipenevola
125846cefa Merge branch 'release-2.3' into feature/accurate-unused-files-tracking
# Conflicts:
#	tools/isobuild/compiler.js
2021-06-14 13:46:52 -04:00
zodern
baaf524163 Ignore changes to unused files in client watchset 2021-05-14 16:37:43 -05:00
Jan Dvorak
7ed9cc941f Merge pull request #11405 from meteor/fix/hmr-bugs
Fix HMR bugs
2021-05-11 22:50:59 +09:00
zodern
a604b7c577 Send eager updates for non-reloadable change sets 2021-05-07 16:42:13 -05:00
zodern
017bd4396e Fix hmr path when rootUrl is undefined 2021-05-07 11:40:56 -05:00
zodern
07871e9a2e Merge branch 'devel' into reify-runtime-compiler-cache 2021-04-30 17:26:39 -05:00
zodern
15f64f5bfe Fix using HMR when ROOT_URL has a path 2021-04-30 14:48:04 -05:00
zodern
6038bd5c59 Add cache for reify runtime compiler 2021-04-26 13:57:12 -05:00
Renan Castro
4ca55460b9 Fix replica set init message check 2021-04-02 10:36:22 -03:00
filipenevola
643644f7b5 Fix MongoDB startup checks 2021-04-01 17:24:47 -04:00
filipenevola
12afa3eb14 Fixes error on Mongo start in Node 14 2021-02-10 18:49:13 -04:00
zodern
8b1ba05b50 Only set hmr secret env var when HMR is enabled 2021-01-18 14:53:02 -06:00
zodern
68447d7d5a Show build errors in client 2021-01-14 21:33:25 -06:00
zodern
64165aab0e Reduce HMR logs 2021-01-14 17:25:27 -06:00
zodern
59bf534baa Ignore changes to hash of files created as alias 2021-01-14 16:29:46 -06:00
zodern
0477a59978 Fix default value for onJsOutputFiles 2020-10-12 09:07:34 -05:00
zodern
01400b50eb Improve handling wrong HMR secret or different app 2020-10-10 20:52:25 -05:00
zodern
ab3d407d22 Integrate HMR into the meteor tool 2020-10-10 20:52:18 -05:00