Commit Graph

1461 Commits

Author SHA1 Message Date
filipenevola
83d99bfbc6 Browserstack tests should run only on browserstack-check branch
These tests are flaky and also we are going to run them only before releases in a specific internal server
2021-03-30 10:05:13 -04:00
filipenevola
883d58106c Improves tests and logs 2021-02-10 18:49:23 -04:00
filipenevola
03fd73fc03 Uses create --blaze while we don't have a final published version of hot-module-replacement 2021-01-17 21:45:35 -04:00
Filipe Névola
8bc33ab75c Merge pull request #11244 from tchiers/isobuild-broken-symlink 2020-12-09 16:42:11 -04:00
filipenevola
1d7601c70e Updates jquery to 3.5.1 on test apps 2020-12-09 09:49:56 -04:00
filipenevola
123730bfa9 Updates puppeteer to 2.1.1 on test apps 2020-12-09 09:44:16 -04:00
tchiers
1058d4d0e3 Change isWithinProdPackage() in isobuild/bundler.js to check for broken symlinks and throw a useful error. Fixes #11241. 2020-11-12 22:03:44 -06:00
Filipe Névola
5197b7feb7 Merge pull request #11225 from meteor/typescript-4 2020-10-31 12:13:49 -04:00
filipenevola
d0591d8093 modules test app was using a fixed version of typescript for no reason 2020-10-28 18:08:23 -04:00
Jan Küster
b30207bbe0 tools test list command added simple tests for tree and json mode
We want at least test, that there is a minimal integrity with these
commands when running the arguments parsing tests.
2020-10-17 15:09:29 +02:00
filipenevola
aae80530e0 Bump meteor-node-stubs package version to 1.0.1 2020-08-05 17:52:32 -04:00
Michael Newman
aedcffab3b Convert parse-stack.js to TypeScript (#10653)
* rename

* we don't need underscore to check whether an array is empty

* add types, resolve type issues

* remove unused markTop in run.js

* Make the type a little more consistent

* Tweak a check for an empty array

Co-Authored-By: Marcelo T Prado <marceloterreiroprado@gmail.com>
2020-04-20 14:47:34 -04:00
Kyle Shankwiler
6803d8dfd1 Add an error message warning developers of oversized headers. (#10877)
* Add an error message warning developers of oversized headers.

An explanation of the issue being logged can be found here: https://forums.meteor.com/t/meteor-1-8-1-unexpected-error-too-many-csp-rules/48447/12.

* Ensure the large request header test works as intended
2020-04-17 11:32:21 -04:00
Ben Newman
dab79ff4c6 Update modules test app to Meteor 1.10.1. 2020-03-31 12:06:58 -04:00
Ben Newman
f78afca824 Update linked copy of acorn source used by modules test app. 2020-03-31 12:06:58 -04:00
Ben Newman
a1b1846fc0 Update dynamic-import test app Meteor and npm versions. 2020-03-31 12:06:58 -04:00
Ben Newman
fc2bdd6ddf Attempt to fix @babel/runtime/helpers/esm/* import test.
CircleCI tests will fail for this commit, since these changes do not
address the problem that the module.useNode() stub imports the ESM code
using require. I will fix the tests properly in a later commit.
2020-02-19 13:13:32 -05:00
Ben Newman
b6320119d4 Update @babel/* dependencies of modules test app. 2020-02-19 11:07:29 -05:00
claudiosdc
924b5e8c3c Improve Node.js built-in modules detection to fix #10892 (#10896) 2020-02-07 17:45:20 -05:00
Ben Newman
33bcb04d68 Update modules test app to Meteor 1.9. 2020-01-08 22:35:53 -05:00
Christian Klaussner
92013e3486 Remove multiple restart feature (#10345) 2019-12-18 17:56:54 -05:00
Ben Newman
6b646c6a8f Merge branch 'release-1.8.3' into release-1.9 2019-12-18 16:23:31 -05:00
Ben Newman
5758aaa30d Add jquery npm package to modules test app. 2019-12-18 14:53:16 -05:00
Seba Kerckhof
8b43e385e0 Add upgrader to add jquery dependency for blaze-users. (#10801) 2019-12-18 13:45:38 -05:00
Ben Newman
24e02b7411 Avoid bundling jquery twice (#10498)
Although the Meteor jquery package is no long a core package (and thus is
not tied to the Meteor release), it seems like a good idea to nudge folks
towards installing jquery from npm, instead of relying on the very old
version (1.12.1) residing in meteor/packages/non-core/jquery/jquery.js.

Closes #10289.
2019-12-18 13:45:36 -05:00
Ben Newman
c90246d55b Merge branch 'devel' into release-1.9 2019-11-26 15:46:38 -05:00
seke
a87e9116e6 Fix old-style tests 2019-11-26 15:31:13 -05:00
Ben Newman
cf8dbf1c37 Add static-html compiler plugin to custom-minifier test app. 2019-11-26 12:58:49 -05:00
Ben Newman
f6fcd620a7 Add a package.json to custom-minifiers test app.
Self-tests involving this test app were failing because of an undefined
jQuery reference on the client.
2019-11-26 12:49:23 -05:00
Ben Newman
0af5c64bd1 Update modules test app to Meteor 1.8.2. 2019-11-14 17:21:02 -05:00
Ben Newman
edbaeae98b Merge branch 'release-1.8.2' into release-1.9 2019-11-12 19:47:30 -05:00
Ben Newman
1b9fec3f8d Tolerate variable startup message order in static-html self-test. 2019-11-12 12:52:39 -05:00
Ben Newman
41868fa165 Attempt to make static-html self-tests less flaky.
Salvaged from PR #10771, which I had to revert because it caused EMFILE
(too many open files) errors on Windows.
2019-11-11 19:35:48 -05:00
Ben Newman
926cba9a77 Revert "Merge pull request #10771 from meteor/copy-directories-asynchronously"
This reverts commit 77a9784929, reversing
changes made to e0ddae2cc7.
2019-11-11 19:35:16 -05:00
Ben Newman
61b2d1710b Attempt to make static-html self-tests less flaky. 2019-11-11 18:41:43 -05:00
Ben Newman
f8de4127da Merge branch 'release-1.8.2' into release-1.9 2019-11-08 20:07:59 -05:00
Ben Newman
bd9043db20 Prefer "main" field of package.json over "module" in legacy bundle.
https://github.com/meteor/meteor/issues/10658#issuecomment-550456095
https://github.com/meteor/meteor/issues/10658#issuecomment-551870115

As usual, changes to module resolution logic need to happen in parallel in
tools/isobuild/resolver.ts and in packages/modules-runtime. However,
thanks to the modern/legacy system, it's easy to make the modules-runtime
package behave exactly the way(s) we want in the server, modern client,
and legacy client bundles.
2019-11-08 11:15:23 -05:00
Ben Newman
f290eef631 Simplify delayed watching of lazy modules. (#10763)
* Avoid modifying unibuild.watchSet in PackageSourceBatch._watchOutputFiles.

Should fix #10736 by preventing old hashes from remaining in
unibuild.watchSet, which was sometimes causing isUpToDate to fail
immediately upon restart.

* Regression test for issue #10736.
2019-11-08 11:08:56 -05:00
Ben Newman
791992375d Merge branch 'release-1.8.2' into release-1.9 2019-09-06 20:41:05 -04:00
Ben Newman
7155feaaa1 Test dependency-tree-based client refresh detection.
Part of #10686.
2019-09-06 17:21:57 -04:00
Ben Newman
b32e44a5d5 Merge branch 'release-1.8.2' into release-1.9 2019-07-30 14:24:09 -04:00
Michael Newman
e0eb210194 Convert tools/utils/processes.js to tools/utils/processes.ts (#10627) 2019-07-25 17:34:13 -04:00
Paulo Mogollón
2ae2690f3a Convert tools/utils/archinfo.js to TypeScript. (#10624)
* Updated code to use modern JS
* Added types
* Stopped using 2 underscore functions (1 remaining)
2019-07-21 12:01:24 -04:00
Ben Newman
23b67d9a47 Revert "Temporarily disable SIGKILL self-test on devel branch."
This reverts commit 5c32331591.

This test is passing reliably on the release-1.8.2 branch, so we should
keep running it there.
2019-07-15 12:42:03 -04:00
Ben Newman
7e82cf57a8 Merge branch 'devel' into release-1.8.2 2019-07-15 12:41:44 -04:00
Ben Newman
5c32331591 Temporarily disable SIGKILL self-test on devel branch. 2019-07-15 12:41:18 -04:00
Ben Newman
4e894663f5 Add basic test of TypeScript support to modules test app. 2019-07-07 19:29:34 -04:00
Ben Newman
df4e54a80d Test that the ganalytics npm package is importable.
As reported by @arggh in this comment:
https://github.com/meteor/meteor/pull/10522#issuecomment-508908306
2019-07-06 12:38:04 -04:00
Ben Newman
d8436bb635 Convert tools/fs/safe-watcher.js to TypeScript.
This completes the TypeScript conversion of the tools/fs directory. 🎉
2019-07-05 18:58:18 -04:00
Ben Newman
8958cbc5e9 Convert tools/fs/watch.js to TypeScript. 2019-07-05 17:50:20 -04:00