Commit Graph

97 Commits

Author SHA1 Message Date
denihs
f38936a219 - remove unnecessary use of returnServerPromise
- bring back Meteor.apply in the stub queue
2023-12-18 17:00:37 -04:00
denihs
c7f16b8ed9 - fix test: login on deploy 2023-04-13 11:52:43 -04:00
denihs
77d37881e1 removing unnecessary console.log 2023-04-13 09:56:55 -04:00
denihs
6764c1ee19 - fix test: login 2023-04-13 09:42:49 -04:00
Gabriel Grubba
7f2e18ecb4 wip 2023-03-01 15:36:34 -03:00
denihs
bd3290d626 Merge branch 'release-3.0' into release-3.0-tests-ddp-client
# Conflicts:
#	packages/ddp-server/livedata_server.js
#	tools/isobuild/linker.js
2023-02-27 10:07:41 -04:00
Gabriel Grubba
ad753c14e9 Revert "whitespace in service connection"
This reverts commit 121cab66a1.
2023-02-14 14:40:18 -03:00
Gabriel Grubba
121cab66a1 whitespace in service connection 2023-02-14 11:32:39 -03:00
Gabriel Grubba
9844bf5e36 meteor services are now async 2023-02-13 12:25:30 -03:00
Gabriel Grubba
e30c4a7dd8 done deploy command 2023-02-07 11:33:54 -03:00
denihs
937800007c - fix API so call() and apply() doesn't have to be async. More can be found on this thread https://meteor-community.slack.com/archives/C01SWPPE81F/p1675116084541359 2023-02-01 16:20:54 -04:00
Gabriel Grubba
14d813ac04 feat: made deploy work without cache 2023-02-01 14:43:11 -03:00
Gabriel Grubba
3ac90c2624 docs: added jsdocs to loggedInAccountsConnection 2023-01-31 17:15:35 -03:00
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
84e97aa726 Remove Fibers from meteor-tools:
- Convert auth.js to async and related commands (login, whoami, logout, etc).
2023-01-05 19:20:14 -03:00
Matheus Castro
170e5d3f6d Remove Fibers from meteor-tools:
- Adapt forkJoin and other files functions to correctly be awaited.
2022-12-22 14:09:27 -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
4ee8657b99 Remove Fibers for Meteor Tools:
- Removing Promise.await usage.
2022-12-16 12:07:38 -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
283b5acc2e Login commands test 2022-12-07 09:49:29 -03:00
Matheus Castro
568c5f05f6 Merge remote-tracking branch 'origin/fibers-optional-no-tla-pkgs' into fibers-optional-no-tla-pkgs
# Conflicts:
#	tools/isobuild/bundler.js
#	tools/meteor-services/service-connection.js
#	tools/utils/buildmessage.js
2022-12-05 17:25:07 -03:00
Matheus Castro
b1a6cc0761 Remove Fibers for meteor tools: turns out the package building is still not done. Still need to check why it's failing to require node_modules when evaluating/loading the plugin. 2022-12-04 00:27:50 -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
Dirk Stolle
088e52f386 fix a few typos in tools directory 2022-11-03 17:42:40 +01: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
094cb6b322 remove unused imports from tools 2022-07-06 19:27:53 +03:00
denihs
1c9fb2d4c9 #639 - Push to Deploy
-- new flag container size
2021-09-27 14:51:31 -04:00
Filipe Névola
56f3dc6153 Merge branch 'devel' into release-2.4 2021-08-20 16:26:09 -05:00
denyhs
2306644d90 #639 - Push to Deploy
- We should have a user able to deploy to any account
2021-07-12 06:05:35 -04: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
6e748d386e New deploy option: build-only
- some clients want to have the ability to build first and after some validations proceeding with the upload and deploy
2021-06-14 10:37:45 -04:00
filipenevola
1f234574e8 New deploy option: build-only
- some clients want to have the ability to build first and after some validations proceeding with the upload and deploy
2021-06-14 08:11:58 -04:00
denyhs
aba19e4456 New flags accepted in the deploy command line 2021-02-16 17:14:10 -04:00
denyhs
8118de58f0 #459 MongoDB provisioning
-new mongo flag
2021-01-12 11:35:16 -04:00
denyhs
95efea3ed4 #371 cold-start
-Introduce a flag --free to the clients already create apps running Tiny containers and in the free mode
2021-01-12 11:35:16 -04:00
filipenevola
c40748b146 Improves the message on --cache-build option when there is no valid cache build 2020-07-28 08:07:58 -04:00
filipenevola
bb42fa8137 Adds the option to cache the build on deploy 2020-07-27 11:23:38 -04:00
James Burgess
302e3b433a Add prepositions to changeAuthorized verbs (#10617) 2020-04-17 20:11:46 -04:00
filipenevola
1a5d6fb5b6 - MDG => Meteor Software
- updates CONTRIBUTING.md
2019-12-13 08:05:14 -04:00
David Glasser
3e9e11d76c tools/deploy: provide more context for version-status errors (#10670)
Also only print the error once on failure.
2019-11-05 10:01:53 -05:00
Ben Newman
769337551e Convert tools/tool-env/profile.js to TypeScript.
Unfortunately, this conversion triggered an error due to one of the
shortcomings of the Babel implementation of TypeScript:

SyntaxError: /tools/tool-env/profile.ts: Namespace not marked type-only declare. Non-declarative namespaces are only supported experimentally in Babel. To enable and review caveats see: https://babeljs.io/docs/en/babel-plugin-transform-typescript
  278 | }
  279 |
> 280 | export namespace Profile {
      |                  ^
  281 |   export let enabled = !! process.env.METEOR_PROFILE;
  282 |
  283 |   export function time<TResult>(bucket: string, f: () => TResult) {
    at File.buildCodeFrameError (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/core/lib/transformation/file/file.js:261:12)
    at transpileNamespace (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/plugin-transform-typescript/lib/namespace.js:25:25)
    at PluginPass.TSModuleDeclaration (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/plugin-transform-typescript/lib/index.js:271:32)
    at newFn (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/traverse/lib/visitors.js:193:21)
    at NodePath._call (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/traverse/lib/path/context.js:53:20)
    at NodePath.call (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/traverse/lib/path/context.js:40:17)
    at NodePath.visit (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/traverse/lib/path/context.js:88:12)
    at TraversalContext.visitQueue (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/traverse/lib/context.js:118:16)
    at TraversalContext.visitMultiple (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/traverse/lib/context.js:85:17)
    at TraversalContext.visit (/Users/ben/meteor/dev_bundle/lib/node_modules/@babel/traverse/lib/context.js:144:19)
2019-07-06 09:18:35 -04:00
Ben Newman
5ed64fb1db Remove explicit .js extension from tools/fs/files imports. 2019-07-04 10:32:09 -04:00
Ben Newman
46396a1156 Instrument build/bundle/deploy commands for METEOR_PROFILE.
https://github.com/meteor/meteor-feature-requests/issues/239
2018-09-18 09:59:14 -04:00
Ben Newman
e6a0e9089d Merge branch 'master' into devel 2018-04-02 13:08:43 -04:00
Ben Newman
6b3cc2e94f Avoid displaying package stats errors in headless mode.
Console.isInteractive() will be false during our Circle CI test runs,
since we set the METEOR_HEADLESS environment variable, so this change
should help prevent spurious test failures like these:
https://circleci.com/gh/meteor/meteor/15305.
2018-04-02 12:32:50 -04:00
David Glasser
1dd7ad4544 Fix Galaxy discovery for version-status operation 2018-02-07 13:30:42 -08:00
Adam Zionts
d19f583e4f Make meteor deploy synchronous
- This changes meteor deploy to poll the /version-status/ REST endpoint
in Galaxy for the build and deploy status of the returned version
- Also fixes up a typo in a test
- Currently only configured to use a default polling configuration
- This change also adds a flag called --no-wait which allows users to
  specify that they want the deploy command to behave just as before
2018-02-07 13:30:21 -08:00
Adam Zionts
cc47278564 Updates information about Meteor CLI usage (#9462) 2017-12-20 14:48:08 -05:00