Ben Newman
9fb6b9cd89
Bump package versions for 1.8.2-beta.18 release.
release/METEOR@1.8.2-beta.18
2019-09-06 18:53:04 -04:00
Ben Newman
7bf1b3cbc5
Update 'meteor create --react' react[-dom] versions to 16.9.0.
2019-09-06 18:45:04 -04:00
Ben Newman
c8e322e197
Update typescript version to 3.6.2.
...
Most of these changes came for free with the update of meteor-babel to
version 7.6.0, but a few remaining spots needed to be updated.
2019-09-06 18:43:40 -04:00
Ben Newman
cf5db3626e
Update meteor-babel to version 7.6.0.
2019-09-06 18:40:50 -04:00
Ben Newman
e4101e1f0a
Go back to using LRU cache for findImportedModuleIdentifiers.
...
Should fix #10674 .
May help with #10608 .
cc @houshuang @klaussner
2019-09-06 18:29:14 -04:00
Ben Newman
5a765e9b47
Update npm dependencies of minifier-css package.
2019-09-06 18:29:14 -04:00
Ben Newman
3c049a80db
Merge pull request #10686 from meteor/conservative-server-restart
...
Avoid restarting server in development when changed file(s) not used by server bundle.
2019-09-06 18:00:17 -04:00
Ben Newman
72724fe745
Mention PR #10686 in History.md.
2019-09-06 17:41:23 -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
b3d88944ae
Explicitly track potentially unused WatchSet files.
...
The previous implementation simply avoided calling watchSet.addFile for
potentially unused files, trusting that addFile would be called later if
the file was eventually used. However, this strategy left the contents of
watchSet.files incomplete for tasks such as IsopackCache._checkUpToDate,
which require full information about all files, even the ones that might
not be used by the bundle. The new strategy maintains metadata about
potentially unused files in a separate data structure, which will be
merged/cloned/serialized/deserialized along with other WatchSet data.
2019-09-06 16:24:41 -04:00
Ben Newman
4084848d2f
Add files to unibuild.watchSet only if needed by unibuild.arch.
...
Most importantly, this change means that changes to files not used by the
server bundle will not trigger a server restart.
Fixes #10449 by implementing the strategy I described in this comment:
https://github.com/meteor/meteor/pull/10414#issuecomment-481293530
2019-09-05 18:44:19 -04:00
Ben Newman
5957e046fb
Prevent cordova-lib from using its own copy of graceful-fs.
2019-09-05 15:22:52 -04:00
Ben Newman
d58fffdd0a
Bump $BUNDLE_VERSION to 8.16.1.0 before rebuilding dev bundle.
2019-09-05 13:23:47 -04:00
Ben Newman
152afe6bdf
Update npm to v6.11.3 and pacote to v9.5.8.
2019-09-05 13:22:31 -04:00
Ben Newman
177c68f68c
Update Node.js to version 8.16.1.
...
https://nodejs.org/en/blog/release/v8.16.1/
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.16.1
2019-09-05 13:18:07 -04:00
Ben Newman
d276ef7c30
Bump package versions for 1.8.2-beta.16 release.
release/METEOR@1.8.2-beta.17
2019-07-30 14:04:32 -04:00
Ben Newman
b68f057dc9
Bump $BUNDLE_VERSION to 8.16.0.24 before rebuilding dev bundle.
2019-07-30 14:04:32 -04:00
Ben Newman
e497085474
Update meteor-babel and @babel/{runtime,parser} to latest versions.
...
Among other benefits, this should address #10622 .
2019-07-30 14:03:58 -04:00
Ben Newman
40f0161574
Update npm to version 6.10.2, and pacote to 9.5.4.
2019-07-30 13:58:39 -04:00
Michael Newman
26c0d5cf16
Convert tools/console/progress.js to TypeScript ( #10650 )
2019-07-26 09:22:19 -04:00
Chiciuc Nicușor
a6d454b760
Convert func-utils.js to TypeScript ( #10631 )
2019-07-26 09:21:23 -04:00
Michael Newman
e0eb210194
Convert tools/utils/processes.js to tools/utils/processes.ts ( #10627 )
2019-07-25 17:34:13 -04:00
Michael Newman
f8ba7a96fe
Convert tools/utils/mongo-exit-codes to TypeScript ( #10625 )
2019-07-21 12:02:29 -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
18ee25256a
Bump $BUNDLE_VERSION to 8.16.0.23 before rebuilding dev bundle.
2019-07-21 10:39:37 -04:00
Ben Newman
a811d1255b
Convert tools/isobuild/import-scanner.js to TypeScript. ( #10635 )
2019-07-19 18:34:03 -04:00
afrokick
2db8d07791
Convert tools/shell-client.js to TypeScript ( #10619 )
2019-07-16 11:10:17 -04:00
Chiciuc Nicușor
a1184bdea3
Add @types/semver@5.4.0 to dev-bundle. ( #10633 )
2019-07-16 11:07:40 -04:00
Ben Newman
a3b13705c5
Bump package versions for 1.8.2-beta.16 release.
release/METEOR@1.8.2-beta.16
2019-07-15 12:52:52 -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
James Burgess
480c5d5a56
Avoid use of forEach in Base64 encode method ( #10629 )
...
For strings we convert to Uint8Array, which does not support forEach on
any version of IE, and is not polyfilled by default.
2019-07-15 12:38:10 -04:00
Ben Newman
e299c86ecf
Assume npx (as in meteor npx ...) is a valid command.
...
Sometimes, before dev_bundle/bin/.meteor-commands.json has been written, a
command like `./meteor npx tsc` can fail because `npx` is not blessed in
the same way `node` and `npm` are. Since `npx` is a core tool that we want
folks to be able to use without confusion, I think it makes sense to
include it in the list of known subcommands.
2019-07-15 12:32:49 -04:00
Ben Newman
d350e25c01
Bump $BUNDLE_VERSION to 8.16.0.22 before rebuilding dev bundle.
2019-07-15 11:44:35 -04:00
Ben Newman
4457cd3cd1
Explicitly install version 3.5.3 of typescript in dev bundle.
...
The typescript package was previously installed as a dependency of
meteor-babel, but it clearly deserves to be a direct dependency.
2019-07-15 11:43:16 -04:00
Ben Newman
122f7e4d2d
Update underscore to v1.9.1 and install @types/underscore.
2019-07-15 11:39:35 -04:00
Michael Newman
8af53f97d6
Convert tools/utils/eachline.js to TypeScript ( #10614 )
...
Thanks to @menewman for tackling this small but important module!
2019-07-15 11:34:45 -04:00
Ben Newman
06b5f32215
Make meteor npx tsc run without errors, and test it.
...
This makes type checking possible without an external tool like VSCode.
2019-07-15 11:16:58 -04:00
Ben Newman
4334fd4ceb
Convert tools/isobuild/resolver.js to TypeScript. 🎉
2019-07-10 12:53:28 -04:00
Ben Newman
c1cd8fc289
Merge pull request #10610 from meteor/core-typescript-plugin
...
Implement an official TypeScript compiler plugin.
2019-07-09 23:59:59 -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
01fb509fff
Implement an official typescript compiler plugin.
2019-07-07 19:29:34 -04:00
Ben Newman
d24a2dbb52
Abort _emitResources if buildmessage.jobHasMessages().
2019-07-07 17:35:26 -04:00
Ben Newman
596c1998be
Bump package versions for 1.8.2-beta.15 release.
release/METEOR@1.8.2-beta.15
2019-07-06 17:16:47 -04:00
Ben Newman
c919ad6fb6
Bump $BUNDLE_VERSION to 8.16.0.21 before rebuilding dev bundle.
2019-07-06 13:11:31 -04:00
Ben Newman
bd1834c3e3
Update meteor-babel to version 7.5.5.
2019-07-06 13:10:35 -04:00
Ben Newman
c926e9ebd7
Fix importing of unanticipated .mjs modules in ImportScanner.
...
Should fix this problem reported by @arggh:
https://github.com/meteor/meteor/pull/10522#issuecomment-508908306
2019-07-06 12:38:04 -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
cdafcb8ebc
Avoid transpiling .d.ts files when bundling meteor-tool.
2019-07-06 12:38:04 -04:00