Ben Newman
f8084682f5
Commit some accidentally unstaged changes.
2016-03-07 20:21:57 -05:00
Ben Newman
a92aaee133
Test that various packages can now be imported using pure Node.
...
Closes #6165 .
Closes #6173 .
Closes #6285 .
Closes #6313 .
Closes #6373 .
2016-03-07 19:52:05 -05:00
Ben Newman
c9660d9f83
Implement module.useNode() for importing node_modules on the server.
...
Upgrading the install package to 0.5.6 was vital to enable support for
Module.prototype.useNode: 9eb8351e11
2016-03-07 19:41:15 -05:00
Ben Newman
26e3cd7df2
Make sure <bundle>/npm/ contains all node_modules directories.
2016-03-07 19:41:15 -05:00
Ben Newman
99213da719
Make builder.copyDirectory symlink directory children.
2016-03-07 19:41:12 -05:00
Martijn Walraven
83474f9a1e
Don't build web.cordova when not running on mobile targets
...
Closes #6417 .
2016-03-05 08:44:06 +01:00
Tom Coleman
9952d2b19b
Properly remove version from skeleton package.json
2016-03-05 09:54:58 +11:00
Tom Coleman
42b8f41824
Revert "Remove version from the skeleton package.json"
...
This reverts commit 81e40d7301 .
2016-03-05 09:54:35 +11:00
Tom Coleman
b865ff0702
Merge pull request #6393 from meteor/release-1.3-move-examples
...
Removed examples and added a command to printout their repos.
2016-03-04 09:36:08 +11:00
Ben Newman
cfdcc37e0d
Make ImportScanner path manipulation more Windows-friendly.
2016-03-03 12:35:30 -05:00
Tom Coleman
6c90662818
Removed examples and added a command to printout their repos.
...
See #6379
2016-03-03 19:06:51 +11:00
Martijn Walraven
081c5b6446
Add some missing Cordova default access rules
2016-03-03 08:55:02 +01:00
Martijn Walraven
ad8a6087ab
Update Cordova platforms to Android 5.1.1 and iOS 4.1.0
2016-03-03 08:54:39 +01:00
Martijn Walraven
e70c66f66c
Always print status of individual platform requirements
2016-03-03 08:05:38 +01:00
Tom Coleman
058002e7e4
Fix incorrect logic
2016-03-03 14:52:34 +11:00
Tom Coleman
7f4d9706b8
Make meteor run --once not quiet. #6359
2016-03-03 12:10:59 +11:00
Tom Coleman
81e40d7301
Remove version from the skeleton package.json
...
cc @benjamn -- as I mentioned I don't think this makes sense for applications. Please let me know if you disagree.
2016-03-03 11:43:45 +11:00
Martijn Walraven
b624849ab3
Improve log tailing for Android
2016-03-02 14:02:26 +01:00
Tom Coleman
f49908a522
Merge pull request #6372 from meteor/release-1.3-new-skeleton-6306
...
Refactored app skeleton
2016-03-02 13:51:12 +11:00
Tom Coleman
36e3e2e6d4
Remove main field as we don't use it (yet)
2016-03-02 13:50:52 +11:00
Tom Coleman
4476895022
Refactored skeleton:
...
- Split files into the correct place, given the guide
- Import html file
- Removed test [it's not a demo]
- Use ReactiveVar rather than Session
- Added an info section to guide people further
2016-03-01 15:39:06 +11:00
Ben Newman
636c4b9046
Update tools/tests/apps/modules/.meteor/versions for beta.12.
2016-02-29 23:35:17 -05:00
Ben Newman
08c66c2b34
Work around Babel bug with const in async functions.
2016-02-29 23:07:45 -05:00
Ben Newman
62ccaaad89
Don't treat file.servePath as absolute.
2016-02-29 21:37:55 -05:00
Ben Newman
5c47891489
Allow custom stubs to override meteor-node-stubs.
...
Part of #6056 .
2016-02-29 19:45:52 -05:00
Ben Newman
757660a85d
Prevent erroneous calls to String.prototype.{to,toEnd}.
...
Fixes #5107 .
2016-02-29 17:32:22 -05:00
Ben Newman
db437e23c3
Revert "Stop protecting against String.prototype modifications in shelljs"
...
This reverts commit 7a2e6de78e , reinstating
@dgreensp's earlier commit 98886f98ef .
Related: #5107
2016-02-29 16:57:57 -05:00
Ben Newman
9ff3cdc7eb
Ensure every file the ImportScanner scans has a valid sourcePath.
...
Packages published before the modules package existed may acquire a
dependency on the modules package upon upgrading to Meteor 1.3, because
they depended on the ecmascript package, which now implies the modules
package. If the previously published isopacket does not provide a
sourcePath or path property, then we should use the servePath property
instead. With that fix in place, I am now strictly enforcing that all
files scanned by the ImportScanner actually exist on disk.
Should fix #5871 .
2016-02-29 16:40:06 -05:00
Ben Newman
99cb96fcf7
Don't scan require calls in Browserify/Webpack bundles.
...
This analysis isn't perfect, but it addresses the biggest source of
dependency false positives, namely Browserify and Webpack bundles that
provide their own implementation of the require function.
2016-02-29 16:12:21 -05:00
Ben Newman
3271bb803d
Make sure file.data instanceof Buffer.
2016-02-29 16:12:21 -05:00
Ben Newman
7acca944a9
Remove manual stream stub, now that we have meteor-node-stubs.
2016-02-29 16:12:21 -05:00
Ben Newman
4236cdafbf
Test with meteor test --full-app instead of meteor test-app.
2016-02-29 15:42:59 -05:00
Tom Coleman
95db365484
Added a message for successful auth transfers
2016-02-29 20:06:20 +11:00
Tom Coleman
59e3a5c1ff
Merge pull request #6338 from meteor/release-1.3-change-test-paths-6321
...
Changes to testing file matching patterns #6321
2016-02-29 11:18:42 +11:00
Tom Coleman
ab5ab15768
Rename test-app -> test and test --full-app
...
Our old "unit" test mode didn't really enforce "unit-ness" and was perfectly capable of running integration test. So it was confusing to call the two modes unit and integration test modes.
Instead, we call them "test mode" and "full app test mode", run with `meteor test` and `meteor test --full-app`.
The rules for test files were also simplified -- simply *.test[s].* for test mode, and *.app-test[s].* for full app tests. `tests/` directories are simply ignored again.
2016-02-29 11:16:54 +11:00
Tom Coleman
0cee429c7f
Add a new file regexp for unit and integration tests
...
You can now differentiate test files based on their filename.
Also added an exclude for the acceptance-tests folder in all situations.
#6321
2016-02-29 11:11:44 +11:00
Tom Coleman
a22b7e4eff
Fix bug where app would restart when you changed a test
2016-02-29 11:11:44 +11:00
Tom Coleman
a168ce9149
Merge pull request #6348 from meteor/release-1.3-tool-changes-for-galaxy
...
Changes to the tool due to #5787
2016-02-29 11:06:05 +11:00
Tom Coleman
18f112bfc7
Typo, slightly clearer
2016-02-29 11:04:31 +11:00
Ben Newman
63e4e6c99c
Make sure require("process") works on the server.
2016-02-28 14:03:01 -05:00
Ben Newman
1d5e424bb7
Remove assertion that assumed too much about the util stub package.
2016-02-28 14:02:21 -05:00
Ben Newman
2fa65685d6
Install stubs for Node built-in modules automatically.
...
The implementation of these stubs is controlled by an optional npm package
called meteor-node-stubs, so we can keep iterating on them after releasing
Meteor 1.3, if we need to.
Fixes #6056 .
2016-02-27 18:41:23 -05:00
Ben Newman
c51b8cf7ff
Update the app skeleton to include a package.json file.
2016-02-27 18:34:11 -05:00
Ben Newman
a00e1f51b5
Avoid generating source maps for packages with no files.
...
Chrome has difficulty parsing these (arguably useless) source maps,
anyway. I don't want to speak too soon, but this also seems to help with
2016-02-27 17:20:56 -05:00
David Glasser
83e9e68e2b
Drop tests that use the test-package-stats server
...
These tests have long been flaky, and we are changing some of the
infrastructure that the test server relies on.
2016-02-26 14:28:29 -08:00
Ben Newman
ae8705a74e
Include more file metadata in linker cache keys.
...
Fixes #6214 .
2016-02-26 15:52:47 -05:00
Ben Newman
22d423e5a5
Infer optional import extensions from source processors.
...
This way, enabling an optional import extension like .jsx or .ts is as
easy as using the relevant compiler plugin.
Fixes #6151 .
2016-02-26 14:36:32 -05:00
Ben Newman
ed454dfd7b
Test that #6312 was fixed by the recent Babel upgrade.
...
Closes #6312 .
2016-02-26 13:26:06 -05:00
Ben Newman
c1b57d672e
Update .meteor/versions for modules test app.
2016-02-26 12:51:13 -05:00
Ben Newman
72195684ad
Strip #! from the beginning of files read by the ImportScanner.
...
Fixes #6204 .
2016-02-26 12:48:27 -05:00