Commit Graph

14958 Commits

Author SHA1 Message Date
Sashko Stubailo
247aa77cb4 Change the way parseStack returns the stack to be fiber-aware 2015-08-06 16:20:08 -07:00
Sashko Stubailo
3403b4c77f Fix test that used session 2015-08-06 16:20:08 -07:00
Slava Kim
924b1b40e0 Remove an extra execFile ref 2015-08-06 16:00:39 -07:00
Slava Kim
f49de5b9ac Move files connecting to Meteor-provided services
to a separate folder
2015-08-06 16:00:39 -07:00
Sashko Stubailo
3e0c05af78 Update npm shrinkwrap 2015-08-06 15:34:25 -07:00
Sashko Stubailo
5c3ace2926 Switch to version 1.4.39 of mongo driver fork 2015-08-06 15:34:25 -07:00
Slava Kim
e4bf38c670 Update a comment about provided services 2015-08-06 15:12:30 -07:00
Slava Kim
db72f94b62 Update the set-up instructions for Windows 2015-08-06 15:01:27 -07:00
Slava Kim
8d1d4a50ac More info on various parts of the build process 2015-08-06 14:52:34 -07:00
David Greenspan
ba1b879f08 Fix meteor update in presence of preleases
Now instead of calling `catalog.getLatestMainlineVersion` when printing
messages about non-latest versions in `meteor update` with no args,
we use the same logic from `meteor list`.
2015-08-06 14:47:33 -07:00
Slava Kim
a1f54a54ae Fix tests missing the blaze packages 2015-08-06 14:11:12 -07:00
Slava Kim
83ecb5ef45 Expand the isobuild readme 2015-08-06 13:57:46 -07:00
Sashko Stubailo
6e77ea4064 The initial versions of published packages should be 1.0.0 2015-08-06 13:34:50 -07:00
Sashko Stubailo
9d9f080377 Add README for static-html 2015-08-06 13:33:20 -07:00
Sashko Stubailo
157a3d361c Bump version on templating-tools 2015-08-06 13:33:20 -07:00
Sashko Stubailo
ab61078b31 Add metadata to templating-tools 2015-08-06 13:33:20 -07:00
Christoph Herbst
58aa67f779 fix using minifiers when creating app bundles 2015-08-06 13:21:45 -07:00
Sashko Stubailo
cf3ea5c7db Add ecmascript to package onTest skeleton 2015-08-06 13:20:18 -07:00
Sashko Stubailo
f507690812 Add a new hot code push package that wraps autoupdate and reload 2015-08-06 11:56:30 -07:00
Sashko Stubailo
f70322c384 Update autoupdate QA 2015-08-06 11:47:03 -07:00
Sashko Stubailo
d56e6f4345 Update docs site about meteor-platform 2015-08-06 11:44:30 -07:00
Sashko Stubailo
7c4457adaa Update README for meteor-platform to reflect deprecation 2015-08-06 11:41:06 -07:00
Slava Kim
c9eeec7469 remove a dead import 2015-08-05 20:10:11 -07:00
Slava Kim
6dc2e0b9c5 Explain JsImage in practical terms 2015-08-05 20:03:00 -07:00
Slava Kim
b9b329e91d Make bundler a bit classier 2015-08-05 19:49:42 -07:00
Sashko Stubailo
e237c9890c Remove versions file 2015-08-05 15:17:18 -07:00
Sashko Stubailo
a50095b2a6 Remove lots of mentions of meteor-platform in tests 2015-08-05 15:15:13 -07:00
Slava Kim
76b001d0da Kill some dead code 2015-08-05 15:03:53 -07:00
Ben Newman
6681b41ddb Rename ecmascript-containers to ecmascript-collections. 2015-08-05 09:05:28 -04:00
Slava Kim
56fa19d098 fix for cordova plugins [not real] conflict
Band-aidy, but fixes the case when two packages add the same plugin with
the same version that can't be parsed by semver (like github url).

For some reason, after the build plugins refactoring the same plugin
from the same package can now be added twice from `webapp`.

Since this feature is not well designed to begin with, decided to spend
too much time investigating it.
2015-08-04 17:42:36 -07:00
David Greenspan
eb76d56ebf Remove spurious dependencies on logging package
We've been shipping the `logging` package to the client even though it
isn't used on the client by any core packages.  Now that the `logging`
package is removable from your app, let's make it actually removable
by deleting totally worthless dependencies that exist for bizarre
historical reasons.

For example, some packages, like `reload` and `mongo`, depend on
`logging` because that's where `Meteor._debug` used to be, before it
was moved to the `meteor` package and `logging` was repurposed for
something else.  The `ddp-server` package had a crazy overreaching set
of dependencies, pulling in a bunch of client-side libraries even though
it only has server-side code of its own.
2015-08-04 16:37:13 -07:00
David Greenspan
db8308672a Remove JSON package
JSON support is in all browsers we could conceivably care about; it's
ES5 and has perfect support in IE 8.  No need to ship a library as
a core package, and no need to specify dependencies on it.

We could conceivably publish a new version of the `json` package that
is empty, so that apps using packages that still say `use("json")`
also get the code size reduction, but we'll wait until someone requests
that.
2015-08-04 16:37:13 -07:00
Ben Newman
886ab5d70b Remove unnecessary version constraints from ecmascript implications. 2015-08-04 19:15:48 -04:00
Ben Newman
78a3707f66 Upgrade ecmascript-containers to the latest NPM version.
The salient difference is that this version reuses existing Map and Set
constructors, if any are found.
2015-08-04 19:11:00 -04:00
Ben Newman
b89a6054e7 Provide Map and Set collections with the ecmascript package. 2015-08-04 18:58:25 -04:00
Ben Newman
16aacc7c01 Add an ecmascript-containers package (for Map and Set). 2015-08-04 18:39:43 -04:00
Sashko Stubailo
eac451c82d Merge pull request #4851 from meteor/umbrella
Split meteor-platform into smaller umbrella packages code and discussion
2015-08-04 10:16:50 -07:00
Sashko Stubailo
3cfb718a91 Split meteor-platform into smaller umbrella packages
Discussion/plan here: https://github.com/meteor/meteor/pull/4851

`meteor-platform will no longer be a part of future Meteor releases. Apps
`upgraded to Meteor 1.2 will be automatically updated to use the packages listed
`above instead of meteor-platform. (Along with a set of packages like EJSON and
`Random that used to be in meteor platform but probably shouldn’t have been)

After this project, here is the set of packages that will be included by default
in a newly created Meteor app:

1. `meteor-base` is the set of packages that basically every single Meteor app will have. If you don’t have these packages, you are probably doing something that isn’t really supported, like building a command line tool or switching out the whole web server stack. It comes with the following packages:
    1. `meteor` - this includes stuff like `Meteor.isClient`, a default handler for `css` files, etc.
    2. `webapp` - this is responsible for handling actual HTTP connections, Websockets, and serving files
    3. `underscore` - almost all of Meteor is built on top of underscore, so it makes sense to let people assume that most or all Meteor apps right now will have this included
    4. `autoupdate` - refreshing the client is a core part of the Meteor development experience, and it’s integrated into several layers of the stack
    5. `ddp` - lots of core parts of Meteor assume that DDP can be used to communicate between client and server
2. `standard-minifiers` minifies your JS and CSS code in production
3. `ecmascript` allows you to write your app using new ES2015 JavaScript features
4. `es5-shim` polyfills some newer APIs in old and non-compliant browsers, in particular IE8
5. `mobile-experience` is a set of cordova-specific packages that set some good defaults when building for mobile. These packages only activate when you are building a native Android or iOS app.
    1. `fastclick` - avoid the 300ms touch delay
    2. `mobile-status-bar` - avoid the status bar information covering up your app content
    3. `launch-screen` - cover the app with a launch image so that people don’t have to see things loading
6. `mongo` is the package that enables Meteor to connect to MongoDB on the server and watch queries in real-time. It also includes Minimongo for the client so that you can publish Mongo documents over DDP. This package will be removable in case you want to use one of the community-supported drivers for alternate databases, and for the desirable future where Meteor supports other databases officially.
7. `blaze-html-templates` compiles your `html` files with Spacebars and includes the Blaze runtime on the client so that the templates can run. If you remove this, you might want to include a different view layer like `react`, or `angular`, and use a package for rendering the starter HTML like `static-html` (also coming out in Meteor 1.2)
8. `tracker` the package that powers a lot of Meteor’s reactive APIs on the client. Including it in the app allows you to use `Tracker.autorun` directly.
9. `session` a simple global reactive dictionary for the client.
10. `jquery` a convenient utility library for the client.
11. `insecure` a prototyping package that lets you make any database modifications from the client.
12. `autopublish` a prototyping package that lets you access the whole database (except sensitive user data) from the client.
2015-08-04 10:15:04 -07:00
Sashko Stubailo
98b9123ac0 Make autoupdate depend on reload, which makes sense
Since it actually calls reload
2015-08-04 10:15:00 -07:00
Ben Newman
b86ff75b27 Fix weird line breaks in packages/es5-shim/README.md. 2015-08-04 11:47:05 -04:00
Ben Newman
b33cd0d943 Add es5-shim.js with {bare:true} only for web targets. 2015-08-04 11:24:31 -04:00
Ben Newman
81db76a9ff Explain the rationale for es5-shim better in README.md. 2015-08-04 11:15:07 -04:00
Martijn Walraven
22bd755918 Fix currentEnvWithPathsAdded to use case insensitive access on Windows 2015-08-04 15:11:53 +02:00
Slava Kim
d11a695cc2 mvp readme for packaging 2015-08-03 23:36:54 -07:00
Slava Kim
5fb18bfb58 an mvp readme for /tools/fs 2015-08-03 23:15:12 -07:00
Slava Kim
6656be9f85 Add basic readme for tool 2015-08-03 22:39:43 -07:00
Slava Kim
6b1bb038d8 Move files into tools/fs 2015-08-03 22:09:28 -07:00
Slava Kim
8a8db83d29 Move files into tools/utils 2015-08-03 20:32:38 -07:00
Ben Newman
5e4ed8eb28 Fix IE8 for-in loops using babelHelpers.sanitizeForInObject.
Upgraded meteor-babel to 0.5.4 for sanitizeForInObject support.
2015-08-03 20:40:11 -04:00
Slava Kim
59165b9c4f Undo accidentally deleted files in 36b542f822 2015-08-03 16:06:09 -07:00