Geoff Schmidt
24682fd7f4
New Watcher implementation (for watching for changed files and determining when to rebundle the app.) Unlike the old DependencyWatcher, it uses absolute paths and contains no Meteor-specific knowledge. Also unlike the old DependencyWatcher, it has comprehensive unit tests (scripts/watch-test.sh).
2013-05-13 11:51:52 -07:00
Geoff Schmidt
7477cd48fd
Unbreak bundler tests
2013-05-13 11:51:52 -07:00
Geoff Schmidt
aaa0e9be5d
change inchworm_style to camelCase in a few files
2013-05-13 11:51:52 -07:00
Geoff Schmidt
1266e5278e
Don't write bundle dependencies (files to monitor) to disk. Just plumb them through in memory from the bundler to the runner.
2013-05-13 11:51:52 -07:00
Geoff Schmidt
57db17dde0
Only create one Library. Flush it when the runner detects changes, not at bundle time, because that makes more sense.
2013-05-13 11:51:52 -07:00
Geoff Schmidt
54e43f511e
Library refactorings. preload becomes override. flush() reloads preloaded/overridden packages along with everything else.
2013-05-13 11:51:51 -07:00
Geoff Schmidt
43c29fbd0b
move Library into its own file
2013-05-13 11:51:51 -07:00
Geoff Schmidt
0823323cbe
Packages have a Library. This simplifies things considerably
2013-05-13 11:51:51 -07:00
Geoff Schmidt
64a01102da
factor more logic into Library
2013-05-13 11:51:51 -07:00
Geoff Schmidt
67356c0988
continue factoring out Library
2013-05-13 11:51:51 -07:00
Geoff Schmidt
562490b776
bundler takes a library
2013-05-13 11:51:51 -07:00
Geoff Schmidt
a7eae9eb71
further refactor toward Library
2013-05-13 11:51:51 -07:00
Geoff Schmidt
bb07daa25e
continue refactor toward Library
2013-05-13 11:51:51 -07:00
Geoff Schmidt
5b2523aa18
refactoring toward Library
2013-05-13 11:51:51 -07:00
David Glasser
ede68cd027
bundle NPM modules correctly.
...
tests mostly pass.
2013-05-13 11:51:51 -07:00
David Glasser
c628854bc8
hashes
2013-05-13 11:51:51 -07:00
David Glasser
3fcde01908
don't update NPM in warehouse
2013-05-13 11:51:51 -07:00
David Glasser
bff6101ad5
fix a bug
2013-05-13 11:51:50 -07:00
David Glasser
5b6bc3f29c
update bundler.bundle API to use packageSearchOptions and releaseStamp
2013-05-13 11:51:50 -07:00
David Glasser
1ed8392a31
we don't think we need .call
2013-05-13 11:51:50 -07:00
David Glasser
28cf05e2d7
noMinify -> minify
2013-05-13 11:51:50 -07:00
David Glasser
c9b988cc62
export sha1
2013-05-13 11:51:50 -07:00
David Glasser
471ffd430b
check in geoff's version of bundler.js
2013-05-13 11:51:50 -07:00
David Glasser
4838e5a365
resolved conflicts in packages.js.
...
we merged dependencies and metadataFileHashes as dependencyFileShas
2013-05-13 11:51:50 -07:00
David Glasser
6b48e8bd8a
stuff that doesn't have conflicts
2013-05-13 11:51:50 -07:00
David Glasser
6f05a29f0b
Revert the contents of the avital-client-compatibility branch.
...
We will rebase linker on top of this commit, and then re-apply.
2013-05-13 11:49:45 -07:00
Avital Oliver
4284a5ed1d
fix npm tests
2013-05-10 15:00:29 -07:00
Vyacheslav Kim
0893b8258c
Include environment info in every web request.
...
Pass available environment info (Meteor version, OS, etc) in every web
request in User-Agent http header. OS platfrom, release, arch, type
available from node api and Meteor release number.
2013-05-09 11:59:02 -07:00
David Glasser
99d5be0079
Mimize shrinkwrap files so that they change less in git.
2013-05-09 11:17:36 -07:00
David Glasser
8781477e64
Update notices and HISTORY.
2013-04-25 16:48:34 -07:00
Avital Oliver
4a32bb81f3
options.compatibility -> options.raw
2013-04-25 13:47:03 -07:00
Avital Oliver
47ba95dfc4
wrapping
2013-04-25 10:58:27 -07:00
Avital Oliver
fb61e884db
Don't create new var scope for js files in client/compatibility/
2013-04-24 15:53:19 -07:00
David Glasser
1a7c2d81fd
Another round of cleanup on .npm/README.
2013-04-24 11:50:50 -07:00
Tim Haines
fc81e29f3e
Update the readme that gets generated within the .npm folder of packages
2013-04-23 13:25:24 -07:00
David Glasser
49822939c2
Revert "Use npm instal --force to get around NPM cache corruption bug."
...
This reverts commit 7825ae7845 .
test_bundler_npm.js (even after an obvious fix is applied to an unrelated
problem) fails a noticeable percentage of the time in the "bundle multiple apps
in parallel" test. It does not appear to fail on the node-0.10 branch, so will
apply this there instead.
2013-04-15 16:54:48 -07:00
David Glasser
7825ae7845
Use npm instal --force to get around NPM cache corruption bug.
2013-04-15 15:10:07 -07:00
Nick Martin
dc887a40c8
Update tools tests for stream -> livedata package merging
2013-04-15 14:12:56 -07:00
Andrew Wilcox
6873c91424
Allow CoffeeScript to set global vars when using "use strict".
...
Ha. Turns out that `.call(this)` is needed after all when a
CoffeeScript file is using "use strict".
(http://es5.github.io/#x15.3.4.4 )
Thanks to pipedreambomb on stackoverflow for the bug report and to
user1737909 for the documentation reference.
2013-04-15 10:52:01 -07:00
David Glasser
1fc7d7f94d
Allow for package-specific notices.
2013-04-10 10:29:09 -07:00
Avital Oliver
b904459561
Unbreak apps that reached a corrupted state due to #927
...
Previously to fixing #927 , if you had a 'node_modules' directory
anywhere up the directory tree from your app and you had a package
in your app using NPM, all calls to 'npm' ran against the 'node_modules'
directory it found, so neither 'node_modules' nor 'npm-shrinkwrap.json'
would be created within your package's .npm directory.
The fix to #927 ensured that 'node_modules' was first created within
'.npm' but people who had already run 0.6.0 were still in a corrupted state.
2013-04-08 07:04:33 -07:00
andreas.karlsson
57c14264fc
Prevent npm install from picking up existing node_modules dirs
2013-04-07 16:06:00 -07:00
Avital Oliver
e5a8e33dfa
Explain arguments to Npm.depends if you try to use it naively
2013-04-04 15:45:57 -07:00
David Glasser
d87a6384e1
Merge branch 'master' into devel
2013-04-04 12:11:55 -07:00
David Glasser
817597eb01
Comment updates.
2013-04-04 00:26:17 -07:00
David Glasser
9ba35e7b79
Add a few more "=>" markers to runner messages.
...
(Not worth forcing into 0.6.0.)
2013-04-04 00:02:58 -07:00
David Glasser
643f5fac05
Ensure that tarballs do not contain hard links.
...
Make whitespace changes to tools and mongo-livedata so that we will build new
package versions with non-hard-linked Node plugins.
2013-04-03 21:14:25 -07:00
David Glasser
1803a5a423
Make sure that if we do something like
...
$ meteor test-packages /some/random/copy/of/minimongo
that we watch the random copy of minimongo for changes.
2013-04-02 15:57:09 -07:00
David Glasser
aaae84aa60
Print notices on upgrades from pre-Engine too.
2013-04-01 15:29:50 -07:00
David Glasser
8d220f6b46
Fix "meteor test-packages" in installed Meteor.
2013-04-01 12:27:20 -07:00