Commit Graph

100 Commits

Author SHA1 Message Date
Jesse Rosenberger
d15e1f9172 Ensure babel-runtime is included in skelton variations & bump versions
Also updated the `meteor-node-stubs` to the latest published release.

Closes meteor/meteor#8202
2017-01-04 01:44:05 +02:00
Joshua Ohlman
0a87fa5df6 Remove autopublish and insecure from the bare skeleton app
Fixes #8145
2016-12-22 07:54:21 -06:00
Hugh Willson
c55d8cca76 Revert "Revert "Merge pull request #7963 from hwillson/issue-5626" (#8118)"
This reverts commit 5754f8ef3e.
2016-11-30 20:28:21 -05:00
Ben Newman
5754f8ef3e Revert "Merge pull request #7963 from hwillson/issue-5626" (#8118)
This reverts commit 11ce2f7bbc, reversing
changes made to dfde4146f7.
2016-11-30 19:48:19 -05:00
Ben Newman
11ce2f7bbc Merge pull request #7963 from hwillson/issue-5626
Load `program.json` using the Unicode Normalization Form of the loaded JSON string
2016-11-29 18:22:00 -05:00
David Burles
00c6681ae4 remove inline eslint rules 2016-11-17 16:21:40 -05:00
David Burles
76f85113f1 remove validation test 2016-11-17 16:21:40 -05:00
David Burles
9ac8df351f remove url validation 2016-11-17 16:21:40 -05:00
David Burles
180ce53633 more concise export 2016-11-17 16:21:40 -05:00
David Burles
44d3181d1c code style changes for skel-full 2016-11-17 16:21:40 -05:00
Tom Coleman
d26f3fed58 Merge pull request #7807 from mhidou/skel-scaffold
Scaffold an official project structure on with `meteor create`
2016-11-09 10:29:07 +11:00
Hugh Willson
c93756a710 Moved common normalize code into mini-files.js; Added/adjusted tests. 2016-11-03 13:57:17 -04:00
Ben Newman
19fdc5c65f Make npm-rebuild.js more Windows-friendly.
Fixes #8007.
2016-11-03 10:25:55 -04:00
Hugh Willson
d74c7b68ce Updated the Assets API to make sure assetPath strings are normalized (to address issue #5626). 2016-11-03 07:44:12 -04:00
Ben Newman
24489295f2 Add babel-runtime to the default new-app package.json file.
In light of issues like #7956, I would very much like for app developers
to be responsible for providing node_modules/babel-runtime, and for the
Meteor babel-runtime package to stop attempting to implement a subset of
the helpers.
2016-11-02 12:05:33 -04:00
Hugh Willson
68a07c5d3b When the program.json is loaded use the Unicode Normalization Form of the loaded JSON string. 2016-10-25 21:20:23 -04:00
Ben Newman
7bcc50c842 Add profiling for meteorInstall-based require calls.
The options.wrapRequire API is new in install@0.8.2.
2016-10-24 18:48:16 -07:00
Ben Newman
33964e9661 Add profiling for Npm.require calls during server startup. 2016-10-24 18:18:03 -07:00
Ben Newman
8e9896cfcf Include server startup timings in METEOR_PROFILE output.
Meteor 1.4.2 has been mostly focused on improving rebuild times, but what
ultimately matters is the time from changing a file to being able to make
requests against the restarted server, and any code that runs before
server startup should be considered part of that critical path.

If you have a lot of packages, and they do non-trivial work on startup,
this commit should give you much better insight into where time is spent.

Credit to @stubailo for pushing me to provide Meteor developers with
better profiling tools, and thanks to @veered for this specific idea.

Note: because tools/tool-env/profile.js is now loaded as-is by boot.js,
certain ECMAScript features are off-limits, e.g. ...rest params.
2016-10-23 16:36:23 -04:00
Mehdi AHRAOUI
e34e236fe0 Scaffold an official project structure
Scaffold an official project structure
Add --bare option to meteor create

Notice scaffold options on meteor create

add full skeleton

add spaces

remove shell-server package from skew-full + add description of new packages

Add --bare option to meteor create

Notice scaffold options on meteor create

add full skeleton

add spaces

remove shell-server package from skew-full + add description of new packages

improve PR

resolve conflict

Fix rebase

fix static-assets readme

Fix tipo

Remove insecure and auto publish packages

Remove useraccounts-configuration.js

add tests

fix PR
2016-10-08 10:54:54 +01:00
Jesse Rosenberger
cba649f709 Add Newlines to end of .gitignore files, specifically the new app skel
Even though I think the fight is a bit futile, it is considered best practice to have newlines at the end of all files.  At the request of meteor/meteor#7786, this commit adds newlines to the end of the new app skeleton `.gitignore` file.  These skel files are used when generating new meteor apps so this avoids perpetuation of this problem into futrue generations. ;)

In an effort to beef up this PR, I also took the liberty of fixing the few other Meteor files which were lacking newlines (all `.gitignore` files)

Closes meteor/meteor#7786
2016-09-26 15:32:08 +03:00
Ben Newman
726074689e Don't prepend node_modules/meteor/<package>/ for npm/... directories. 2016-09-22 14:27:31 -04:00
Ben Newman
b64f1147e7 Merge branch 'devel' into release-1.4.2 2016-09-08 13:31:17 -04:00
Tom Coleman
f69f6c091a Added a minimum version for blaze to the skel 2016-08-25 12:23:33 +10:00
Ben Newman
4618b3d8de Remove --no-bin-links flag from default npm rebuild arguments.
After recent discussion on https://github.com/meteor/meteor/issues/7401,
@glasser and I think the relatively obscure benefit of --no-bin-links is
outweighed by the problems it causes for packages whose rebuild scripts
need executable scripts installed in the node_modules/.bin/ directory.
2016-08-18 16:39:52 -04:00
Ben Newman
3c7f83778f Move server-side component of meteor shell into a package. (#7624)
This will make it much easier to fix bugs and make improvements going
forward, since they won't have to wait for the next release of Meteor.

One functional change: when the parent process exits, it no longer forces
all connected shell clients to disconnect, which is actually a more
convenient behavior, because it gives the clients a chance to reconnect
when/if the server starts up again, and it's easy enough to kill the
clients if that's what you want.
2016-08-11 09:11:40 -04:00
Ben Newman
83b0d90180 Fix multi-line input to meteor shell.
There is unfortunately no way to access the special Recoverable
constructor defined in node/lib/repl.js unless we temporarily use the
defaultEval function, trigger a recoverable error, and capture its
.constructor property. Fortunately we are that clever.

Fixes #7504.
2016-08-03 15:56:34 -04:00
Ben Newman
7600571717 Revert "Make sure .meteor/.gitignore ignores .meteor/dev_bundle."
This reverts commit 9e6ebde836.

Now that the `dev_bundle` link is called `.meteor/local/dev_bundle`, and
`.meteor/local` is already ignored, we don't need to ignore
`.meteor/dev_bundle` anymore.
2016-07-19 11:52:31 -04:00
Ben Newman
c94960e7b2 Make $METEOR_NPM_REBUILD_FLAGS override default flags. 2016-07-13 18:12:53 -04:00
Ben Newman
b5005711f4 Support additional meteor rebuild flags via environment variable. 2016-07-13 13:05:30 -04:00
Ben Newman
d2ddd0f98d Pass --no-bin-links to npm rebuild to fix #7401. 2016-07-13 13:05:17 -04:00
Ben Newman
e6acb9f39f Decompose npm-rebuild-args.js.
Helps with #7401.
2016-07-13 13:04:14 -04:00
Ben Newman
084f0cb279 Call npm rebuild --update-binary in npm-rebuild.json. 2016-07-12 19:02:32 -04:00
Ben Newman
c54686126e Merge branch 'devel' into release-1.4 2016-07-09 15:07:52 -04:00
Ben Newman
9e6ebde836 Make sure .meteor/.gitignore ignores .meteor/dev_bundle.
https://github.com/meteor/meteor/pull/7340#issuecomment-231253317
2016-07-08 13:44:05 -04:00
Ben Newman
c91a95cbef Make sure meteor shell options JSON is parsed separately.
Also don't ignore the `error` parameter passed to the readJSONFromStream
callback function.

Fixes #7312.
2016-07-06 21:00:39 -04:00
Ben Newman
ad997e9d4d Tolerate non-string results from path.* functions.
In particular, path.isAbsolute returns a boolean value.
2016-07-06 21:00:37 -04:00
Ben Newman
61c32e94b4 Make sure meteor shell options JSON is parsed separately.
Also don't ignore the `error` parameter passed to the readJSONFromStream
callback function.

Fixes #7312.
2016-06-28 21:06:52 -04:00
Ben Newman
03516c142a Tolerate non-string results from path.* functions.
In particular, path.isAbsolute returns a boolean value.
2016-06-24 12:16:43 -04:00
Ben Newman
bf2d2dcc9b Use native path.isAbsolute in Node v4.
Part of #6921.
2016-06-24 12:15:08 -04:00
Ben Newman
dce2b20ddb Merge pull request #7033 from meteor/release-1.3.3
Release 1.3.3
2016-06-10 18:18:28 -04:00
Tom Coleman
bb1e1039f8 Added documentation for Assets.absoluteFilePath()
See https://github.com/meteor/meteor/issues/6552
2016-06-08 12:56:32 +10:00
Ben Newman
db8d4f4dab Merge branch 'devel' into release-1.3.3 2016-06-01 14:24:24 -04:00
Jesse Rosenberger
e24150cab1 Change package creation skeleton to import properly
The package skeleton test example was omitting the first part of the package name and thus failing to find it within the test package.

Fixes meteor/meteor#6653
2016-06-01 20:12:24 +03:00
Ben Newman
bae5983d59 Merge branch 'devel' into release-1.3.3 2016-05-27 00:02:48 -04:00
Mitchell Wulfman
eec2667ff6 Open welcome links in new tabs instead of taking the user away from their running app (#6990) 2016-05-24 15:27:56 -07:00
Ben Newman
2f3269f59c Use meteorInstall to define the meteor shell module properly. 2016-05-22 13:01:38 -04:00
Ben Newman
13ff76ffd8 Revert "Use an appropriate module object in meteor shell."
This reverts commit 5aee7a9a09.
2016-05-22 13:01:11 -04:00
Ben Newman
5aee7a9a09 Use an appropriate module object in meteor shell. 2016-05-19 17:04:08 -04:00
Ben Newman
2f0aaa947a Make meteor shell help text robust across Node versions. 2016-05-16 18:21:13 -04:00