Commit Graph

20125 Commits

Author SHA1 Message Date
Ben Newman
99eb624168 Bump package versions for 1.6.1-beta.2 release. release/METEOR@1.6.1-beta.2 2017-11-06 17:42:25 -05:00
Ben Newman
c2a9a49047 Merge branch 'devel' into release-1.6.1 2017-11-06 17:40:58 -05:00
Ben Newman
cfc509e581 Merge pull request #9312 from meteor/extract-unibuild-class
Extract Unibuild class.
2017-11-06 17:40:28 -05:00
Ben Newman
54b649d5f5 Encapsulate deserialization logic in Unibuild#fromJSON method. 2017-11-06 17:14:05 -05:00
Ben Newman
081d59fa1a Avoid passing two unnecessary parameters to Unibuild#toJSON. 2017-11-06 17:12:10 -05:00
Ben Newman
60fe3a096d Encapsulate serialization logic in Unibuild#toJSON method. 2017-11-06 17:12:10 -05:00
Ben Newman
206f6b7ce4 Convert Unibuild to class and extract into own module. 2017-11-06 17:12:10 -05:00
Ben Newman
5f1e2c22ff Merge pull request #9309 from meteor/Package._define
Use Package._define to reduce package boilerplate.
2017-11-06 16:56:16 -05:00
Ben Newman
f70f3f275c Bump LINKER_CACHE_SALT after recent linker changes. 2017-11-06 16:55:31 -05:00
Ben Newman
78a7cc0633 Use PackageRegistry for build plugins, too. 2017-11-06 16:55:31 -05:00
Ben Newman
57533d2205 Use Package._define helper to initialize Package.* exports.
This saves a little bit of boilerplate code in every package.
2017-11-06 16:55:31 -05:00
Ben Newman
5ee44ca81c Initialize global.Package once, instead of in every package. 2017-11-06 16:55:31 -05:00
Ben Newman
a33ac61ea8 Remove underscore import from boot.js. 2017-11-06 16:55:31 -05:00
Ben Newman
d3571161e5 Merge pull request #9311 from meteor/package.json-browser-object-relative-style
Support object-valued "browser" field in package.json.
2017-11-06 16:54:33 -05:00
Ben Newman
1cbcfb59bc Update dynamic-import test app to use React 16. 2017-11-06 15:46:33 -05:00
Ben Newman
9526ce8976 Test that object-valued package.json "browser" fields are respected.
Regression test for #6890.
2017-11-06 15:46:09 -05:00
Ben Newman
d6b8648eec Add a package-lock.json file to the dynamic-import test app. 2017-11-06 15:10:38 -05:00
Ben Newman
6ada1565aa Update dynamic-import test app to Meteor 1.6. 2017-11-06 15:10:38 -05:00
Ben Newman
234fb35174 Update modules test app to Meteor 1.6. 2017-11-06 15:09:55 -05:00
Ben Newman
8d3ae25eb8 Cache Resolver methods for finding package.json data. 2017-11-06 14:09:54 -05:00
Ben Newman
71cffb2a1f Output package.json "browser" aliases in tools/isobuild/linker.js. 2017-11-06 14:09:54 -05:00
Ben Newman
edc97bad27 Register aliases from package.json "browser" field in ImportScanner. 2017-11-06 14:09:54 -05:00
Ben Newman
d4872366d0 Refactor Resolver handling of package.json files.
Any package.json file that includes an object-valued "browser" field will
now be included in the .packageJsonMap.
2017-11-06 14:09:54 -05:00
Ben Newman
26ab2e5b4e Rename installPath property to absModuleId, and make absolute.
The `installPath` property was always essentially an absolute module
identifier that was simply missing the leading '/' character, so this
commit acknowledges that role by renaming the property to `absModuleId`
and adding the leading slash.
2017-11-06 14:09:54 -05:00
Ben Newman
92f5350e1e Merge instead of replacing implicit files in ImportScanner. 2017-11-06 11:21:27 -05:00
Jesse Rosenberger
6f716eec93 Merge branch 'master' into devel 2017-11-05 15:20:05 +02:00
Jesse Rosenberger
c69ead89dc Merge pull request #9304 from meteor/abernix/update-1.5.3-history-master
Update History.md with miscellaneous changes in Meteor 1.5.3.
2017-11-05 15:19:40 +02:00
Jesse Rosenberger
e3dce16795 Update History.md with miscellaneous changes in Meteor 1.5.3. 2017-11-05 15:13:43 +02:00
Ben Newman
4bbe849b35 Merge pull request #9107 from GeoffreyBooth/coffeescript-2
CoffeeScript 2.0.2
2017-11-01 10:49:20 -04:00
Geoffrey Booth
904ba9597d Bump coffeescript NPM module version 2017-10-31 14:00:56 -07:00
Geoffrey Booth
318d93ec0f See if the noop test driver can work here too 2017-10-31 14:00:56 -07:00
Geoffrey Booth
3cfea0c71d Use empty test driver for test that doesn't need Mocha 2017-10-31 14:00:56 -07:00
Geoffrey Booth
fbf1e9ee43 Try different Mocha test driver 2017-10-31 14:00:56 -07:00
Geoffrey Booth
f663c621f0 Friendly error if runtime doesn't support CoffeeScript 2 2017-10-31 14:00:56 -07:00
Geoffrey Booth
f8298d0e9f Remove no-longer-correct comments, though leave the no-longer-necessary tests 2017-10-31 14:00:56 -07:00
Geoffrey Booth
269bd873d2 Add a test that we really are using the CS2 compiler, by checking that function parameter default values now behave like ES2015 ones do 2017-10-31 14:00:55 -07:00
Geoffrey Booth
7a7c8f4656 CoffeeScript 2 support for JSX (React only, it seems), with test 2017-10-31 14:00:55 -07:00
Geoffrey Booth
fd483c34e3 Use CoffeeScript 2.0.1 2017-10-31 14:00:55 -07:00
Ben Newman
f91ff783b7 Bump package versions for 1.6.1-beta.1 release. release/METEOR@1.6.1-beta.1 2017-10-31 15:38:31 -04:00
Ben Newman
a9fb4cd76a Bump $BUNDLE_VERSION to 8.9.0 before rebuilding dev bundle. 2017-10-31 15:01:18 -04:00
Ben Newman
c35f1f11ed Upgrade Node to version 8.9.0.
https://nodejs.org/en/blog/release/v8.9.0/
2017-10-31 14:59:56 -04:00
Ben Newman
f0970fd13f Merge branch 'devel' into release-1.6.1 2017-10-31 14:57:07 -04:00
Ben Newman
9e65d8bea7 Enable dead code elimination in minifier-js to fix #9260.
The react-dom@16 npm package recently got stricter about how it checks
that dead code elimination is enabled. Specifically, it no longer just
checks that process.env.NODE_ENV is replaced with "production" but also
requires conditional branches to be completely removed if the replacement
makes them unreachable:
https://github.com/facebook/react/blob/master/packages/react-dom/npm/index.js

The minifier-js package recently had its minor version bumped for Meteor
1.6, so I think it's safe to enable dead code elimination in a patch
version update. If we bumped the minor version again (to 2.3.0), this
version of minifier-js would not be usable with Meteor 1.6, and would
probably have to wait for Meteor 1.6.1.

Bumping the patch version of standard-minifier-js is also necessary
because it uses minifier-js as a compiler plugin, and would otherwise
continue to bundle the old minifier-js plugin.
2017-10-31 14:40:49 -04:00
Ben Newman
a60b32afc6 Bump $BUNDLE_VERSION to 8.8.2 before rebuilding dev bundle. 2017-10-30 15:08:24 -04:00
Ben Newman
8647e4647b Update npm to version 5.5.1.
I also took this opportunity to rebase our fork of the pacote package
against the latest upstream version (6.1.0).
2017-10-30 15:07:32 -04:00
Ben Newman
4a97d0551f Merge branch 'master' into devel 2017-10-27 14:51:46 -04:00
Ben Newman
e0c2849ed3 Merge pull request #8728 from meteor/release-1.6
Release 1.6
2017-10-27 14:45:26 -04:00
Ben Newman
0cef7e4895 Fix v1.6 version typo in History.md. 🤦‍♂️ 2017-10-27 13:18:09 -04:00
Ben Newman
0bff81f0b4 Bump package versions for the official 1.6 release. release/METEOR@1.6 2017-10-27 13:00:43 -04:00
Ben Newman
2004873909 Final tweaks to History.md. 🎉 2017-10-27 12:58:12 -04:00