Commit Graph

998 Commits

Author SHA1 Message Date
Martijn Walraven
e88e4a2837 Add explicit dependency on the npm version we build our node fork with 2015-07-30 17:37:41 +02:00
Sashko Stubailo
27bd92b0a4 Lint parse-stack.js 2015-07-29 12:36:44 -07:00
Slava Kim
bdd3ef6686 bump versions for PLUGINS-PREVIEW@2 2015-07-27 09:45:22 -07:00
Martijn Walraven
e924dc470c Replace npm in dev bundle with version from our own fork 2015-07-23 20:48:06 -07:00
Martijn Walraven
62c99185a4 Add explicit version for npm 3 so builds are reproducible 2015-07-23 16:46:06 -07:00
Martijn Walraven
e07143b2ca Save some space by removing esprima tests (as we were doing before) 2015-07-23 16:08:36 -07:00
Martijn Walraven
fa38facc83 Specify explicit dependency on npm to avoid installing earlier version
The cordova dependency pulled in npm 1.3.4, which apparently has a bug
reading npm-shrinkwrap.json with tarball dependencies.
2015-07-23 15:25:46 -07:00
Martijn Walraven
6038c8dc00 Use npm 3 for building dev bundle on Unix 2015-07-23 15:25:46 -07:00
Martijn Walraven
01afd89a59 Install initial version of npm from dist and only use npm for building dev bundle 2015-07-23 15:25:46 -07:00
Martijn Walraven
cb9111a978 Don't put temp directory for generating dev bundle under scripts, but one level up 2015-07-23 15:25:46 -07:00
Martijn Walraven
b6cb554364 Install npm 3 to avoid having to flatten packages manually 2015-07-23 15:25:45 -07:00
Martijn Walraven
1d862f1437 Fix check for PLATFORM env variable 2015-07-23 15:25:45 -07:00
Martijn Walraven
10fe112959 To be removed path no longer exists 2015-07-23 15:25:45 -07:00
Martijn Walraven
d01d7d5f8d Replace PowerShell operations by cmd to avoid long directory name errors 2015-07-23 15:25:45 -07:00
Ben Newman
bf353fc66e Upgrade escope and use the new API in js-analyze.js. 2015-07-23 16:45:14 -04:00
Ben Newman
78d8afc861 Remove esprima from dev bundle. 2015-07-23 16:45:14 -04:00
David Glasser
43b4b30205 Release PLUGINS-PREVIEW@1
This included removing some internal version constraints. It would be
nice if package A could say "use B@2.0.0" (when both have changed), but
when they're both in the release, we need to make a release that has a
B@2.0.0-rc in it, which doesn't match that constraint. Fortunately,
constraints aren't necessary within a release anyway.
2015-07-22 23:19:11 -07:00
David Glasser
3da4e611c9 Get JSDoc working again
- Upgrade to a newer (unreleased) version which supports
     function k({} = {}) {}
  and doesn't also crash

- Filter out boring warnings

- Don't use ES7 syntax that JSDoc doesn't support in one file that
  has JSDoc in it
2015-07-22 22:29:08 -07:00
Ben Newman
3b99659986 Upgrade dev bundle meteor-{promise,babel} to latest versions.
The breaking change in the latest version is that the Fiber constructor is
no longer included as a meteor-promise dependency, but must be supplied by
assigning to Promise.Fiber.
2015-07-20 22:47:34 -04:00
David Glasser
dfa394ea1c Try to build dev bundle again
This time with actual Node 0.10.40, not some random commit because
Jenkins is running old versions of git where `git clone -b garbage`
isn't an error!
2015-07-17 00:00:26 -07:00
David Glasser
58397f5bf1 Now build new dev bundle 2015-07-16 23:22:36 -07:00
David Glasser
f59cf85740 Prepare to build Node 0.10.40 2015-07-16 21:58:14 -07:00
David Glasser
2e34ec1933 Merge branch 'devel' into batch-plugins 2015-07-16 00:47:15 -07:00
Ben Newman
1702e8a164 Globally polyfill ES2015-compliant Map and Set constructors for tool code.
Using these collections with for-of loops also requires a global Symbol
polyfill.
2015-07-15 18:57:20 -04:00
David Glasser
0514518e60 move escope into dev bundle
Preparation for removing the JSAnalyze special case.
2015-07-15 13:49:48 -07:00
David Glasser
b75064f689 Merge branch 'devel' into batch-plugins 2015-07-09 10:48:30 -07:00
Ben Newman
31da200260 Upgrade meteor-babel to support ES6 for-of loops. 2015-07-01 14:16:02 -04:00
Ben Newman
07c804af02 Upgrade meteor-babel to version 0.3.3. 2015-06-30 23:29:41 -04:00
Ben Newman
46b33db903 Update meteor-babel and meteor-promise dependencies to latest versions. 2015-06-30 19:37:54 -04:00
Sashko Stubailo
ed714ef868 Update a file to be linted; improve git hook 2015-06-30 14:33:36 -07:00
David Glasser
917c10f2b6 add lru-cache to dev bundle 2015-06-29 12:39:22 -07:00
David Glasser
e2b6ba060e oops, missed this merge conflict 2015-06-26 23:32:58 -07:00
David Glasser
1b8a311002 Only run eslint hook on js files
Looks like if you explicitly name non-js files on the command line, it
pays attention.
2015-06-26 23:25:40 -07:00
David Glasser
ed2fd7a4e7 Only run eslint hook on js files
Looks like if you explicitly name non-js files on the command line, it
pays attention.
2015-06-26 23:25:12 -07:00
David Glasser
919be97b6f Merge branch 'devel' into batch-plugins
Resolves these conflicts:
	meteor
	scripts/dev-bundle-server-package.js
	scripts/dev-bundle-tool-package.js
	tools/files.js

This requires building a new dev bundle, and moving the wrapCallSite
thing to source-map-retriever-stack.js.
2015-06-26 23:24:56 -07:00
Slava Kim
d8e26bd272 Use fork of source-map-support in tool, too
In addition to apps
2015-06-25 16:59:17 -07:00
David Glasser
0c254d52cf use a git command that works in hooks 2015-06-25 15:54:43 -07:00
Slava Kim
7d0f336205 Wrap node-source-map-support's frame wrapper to remove the extra domain we add in source-maps 2015-06-25 15:06:21 -07:00
David Glasser
5e03daeb66 Only lint modified files 2015-06-25 15:03:13 -07:00
Sashko Stubailo
fd81473151 Make dangling comma a warning - it's sometimes nonsensical
Maybe this means we should remove this rule altogether
2015-06-24 22:07:40 -07:00
Sashko Stubailo
1fae311b40 Actually make eslintrc follow guide
I checked every rule!
2015-06-24 21:53:43 -07:00
Sashko Stubailo
9a21399099 Copy linter config from AirBnB javascript repo 2015-06-24 21:08:27 -07:00
Ben Newman
e29d287d8e Bump meteor-babel and meteor-promise dependency versions.
https://github.com/meteor/babel/issues/1
https://github.com/meteor/babel/issues/2
https://github.com/meteor/promise/commit/a056baf5b4
2015-06-24 20:15:50 -04:00
Sashko Stubailo
959d5dc092 Only lint files that have been changed in a commit 2015-06-24 15:11:59 -07:00
Sashko Stubailo
3bed8f6a62 Add a git hook copying mechanism to meteor tool
Introduce the first hook - ESLint for the tool
2015-06-24 14:54:55 -07:00
Ben Newman
9b5ffcabde Upgrade meteor-babel and install meteor-promise to polyfill Promise. 2015-06-24 16:35:04 -04:00
Sashko Stubailo
7b7776d225 Fix up linter rules 2015-06-24 11:15:01 -07:00
Ben Newman
38ce0d1f3c Bump meteor-babel version to 0.1.12. 2015-06-23 16:36:22 -04:00
Sashko Stubailo
312663db67 Transpile the Meteor command line tool with Babel
- Uses Ben's meteor-babel npm package that has a default config
- From a checkout, uses the meteor-babel/register module and compiles at runtime
- When meteor-tool is published, precompiles the files
- Adds tests to make sure source maps work everywhere
2015-06-23 14:32:49 -04:00
Carter Chung
d1251d6990 Correct typo
affects doctool.md and doctool.md.md
2015-06-16 14:06:16 -07:00