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
Ben Newman
ead1214a1f
Temporarily work around injection of objectSpread helper.
...
https://github.com/babel/babel/pull/10170#issuecomment-508936150
2019-07-06 12:00:03 -04:00
Ben Newman
e2bbda2817
Bump $BUNDLE_VERSION to 8.16.0.20 before rebuilding dev bundle.
2019-07-06 11:29:31 -04:00
Ben Newman
71a6e2c2f5
Update meteor-babel to version 7.5.3.
...
TypeScript is now supported by the actual TypeScript compiler, rather than
by @babel/preset-typescript: https://github.com/meteor/babel/pull/25
2019-07-06 11:27:54 -04:00
Ben Newman
88b085d8e1
Fix type errors now that Profile(name, fn) returns typeof fn.
2019-07-06 09:19:14 -04: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
4431f34cbe
Bump package versions for 1.8.2-beta.14 release.
release/METEOR@1.8.2-beta.14
2019-07-05 19:15: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
85d8db7f1d
Fix return types of fs.{watchFile,unwatchFile}.
...
These methods return a StatWatcher object with various useful methods, but
@types/node apparently gets this completely wrong, assuming void.
2019-07-05 18:48:16 -04:00
Ben Newman
8958cbc5e9
Convert tools/fs/watch.js to TypeScript.
2019-07-05 17:50:20 -04:00
Ben Newman
75da77c1e3
Bump $BUNDLE_VERSION to 8.16.0.19 before rebuilding dev bundle.
2019-07-05 17:47:18 -04:00
Ben Newman
e80189e76b
Update meteor-babel to version 7.5.1.
2019-07-05 17:47:18 -04:00
Ben Newman
528b549460
Convert tools/fs/optimistic.js to TypeScript.
2019-07-05 12:29:19 -04:00
Ben Newman
55bde8acb8
Improve generic types in tools/fs/files.ts.
2019-07-05 12:28:57 -04:00
Ben Newman
8259c75421
Tweaks to pacify TypeScript in tools/fs/files.ts.
2019-07-04 17:25:41 -04:00
Ben Newman
d26a41df9d
Bump package versions for 1.8.2-beta.13 release.
release/METEOR@1.8.2-beta.13
2019-07-04 16:39:01 -04:00
Ben Newman
c3c7ec4804
Give Meteor 1.8.2 an official heading in History.md.
2019-07-04 16:36:48 -04:00
Ben Newman
101eea015f
Update meteor-node-stubs npm dependency to v1.0.0.
2019-07-04 16:36:27 -04:00
Ben Newman
6979b55dfc
Update @babel/runtime to latest version in remaining test apps.
2019-07-04 16:23:12 -04:00
Ben Newman
755d0d1722
Fix outdated import of optimism package in dynamic-import test.
2019-07-04 16:18:59 -04:00
Ben Newman
6d24ab5293
Update all dependencies of dynamic-import test app.
2019-07-04 16:18:45 -04:00
Ben Newman
146e6ba1d4
Update @babel/{runtime,...} dependencies of modules test app.
2019-07-04 16:04:33 -04:00
Ben Newman
c1520052f5
Bump $BUNDLE_VERSION to 8.16.0.18 before rebuilding dev bundle.
2019-07-04 15:58:01 -04:00
Ben Newman
c632542a04
Update meteor-babel to version 7.5.0.
2019-07-04 15:57:25 -04:00
Ben Newman
150fc96040
Bump $BUNDLE_VERSION to 8.16.0.17 before rebuilding dev bundle.
2019-07-04 15:03:15 -04:00
Ben Newman
cdd8f32196
Update npm to 6.10.0 and pacote to 9.5.1.
2019-07-04 15:02:26 -04:00
Ben Newman
0fe3451c49
Merge pull request #10607 from meteor/convert-tools/fs/files-to-typescript
...
Convert tools/fs/files.js to TypeScript.
2019-07-04 14:57:18 -04:00
Ben Newman
8a409d196c
Convert mini-files.js to TypeScript.
2019-07-04 14:43:51 -04:00
Ben Newman
0d99790127
Add back profiling of files.* functions.
2019-07-04 14:18:30 -04:00