Commit graph

156 commits

Author SHA1 Message Date
Leo Horie
531f9a52ba rc7 2016-12-29 15:58:18 -05:00
Leo Horie
cdb9017a72 update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
Leo Horie
5f58ee4596 bump version 2016-11-16 21:26:58 -05:00
Leo Horie
3bd2026a9d bump to rc4 2016-11-16 21:16:06 -05:00
Leo Horie
8ce0a68e2a rc3 2016-11-10 10:12:40 -05:00
Pat Cavit
6a8295b585 Change npm tag to "rewrite"
Since this isn't a beta any more!
2016-10-31 11:05:14 -07:00
Leo Horie
2d836d7203 clean up npm 2016-10-31 12:20:08 -04:00
Leo Horie
b2fec02a19 release candidate 1 2016-10-31 11:49:30 -04:00
Leo Horie
56129f7102 move lint script 2016-10-26 23:57:58 -04:00
Leo Horie
7cd0869f41 rename to bundle 2016-10-26 09:56:41 -04:00
Leo Horie
819d172269 expose bundler shortcut 2016-10-26 09:44:10 -04:00
Pat Cavit
644f0d484b 4 spaces != 1 tab 2016-08-18 09:52:36 -07:00
Pat Cavit
15116d5b2e Update package metadata (#1256) 2016-08-18 09:51:24 -07:00
Leo Horie
8c71c39631 unbreak bundler 2016-08-03 00:01:17 -04:00
Leo Horie
640b19228a improve bundler 2016-07-28 22:35:22 -04:00
Leo Horie
89492a4956 modularize bundler and minify scripts 2016-06-23 01:10:30 -04:00
Leo Horie
8594ed3ef1 lintdocs and minify scripts 2016-06-20 09:19:30 -04:00
Leo Horie
ddc430a6d3 fix most gcc warnings 2016-06-03 23:55:31 -04:00
Pat Cavit
8dee570602 Default to always using "beta" tag for rewrite
See https://docs.npmjs.com/files/package.json#publishconfig and
https://docs.npmjs.com/misc/config#tag

This way when `rewrite` starts being published users will need to
install it as `npm install mithril@beta` to get the rewrite. When people
run `npm install mithril` it'll use the default `latest` tag and that
will continue to point to the `0.2.x` branch until the rewrite is fully
ready.
2016-05-31 11:12:57 -07:00
Leo Horie
890d4123db Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	package.json
2016-05-19 23:25:20 -04:00
Leo Horie
e104b75364 cover everything 2016-05-19 23:24:36 -04:00
Pat Cavit
8450ca5d91 Add ESLint and a generated config/ignore file
Manually changed some rules to better match @lhorie's style and reduce #
of errors from ESLint.
2016-05-19 12:37:33 -07:00
Pat Cavit
724361af6a Filter out util dirs from istanbul coverage reports (#1055) 2016-05-19 10:57:17 -07:00
Pat Cavit
629ba5b62a Add cover command (#1054)
Using istanbul, and also adding a .gitignore so I can be lazier about things when committing.
2016-05-19 10:31:09 -07:00
Leo Horie
3282ef3f77 components, angular dbmon 2016-05-03 23:39:01 -04:00
Leo Horie
e50843f3bc setup CI 2016-04-21 10:19:04 -04:00
Leo Horie
559369016d initial commit (work in progress) 2016-04-20 20:02:37 -04:00
Leo Horie
13fdb60f66 clean slate 2016-04-20 20:01:04 -04:00
Leo Horie
5d2b6ea2b7 v0.2.4 2016-04-20 00:45:42 -04:00
Leo Horie
69cbb09c5f cdnjs spidering wrong thing? 2016-03-22 10:26:31 -04:00
Isiah Meadows
791c94a0b1 Merge pull request #972 from isiahmeadows/test-fix
Remove npm-debug.log, disable failing test.
2016-03-02 19:50:42 -05:00
Leo Horie
501e380825 v0.2.3 2016-03-02 16:10:51 -05:00
impinball
55b99dd0e2 Remove an erroneous npm-debug.log, disable failing test
Driveby fix: fix a few linter warnings and actually have CI linting things.
2016-03-02 13:55:48 -05:00
Leo Horie
b2972e9934 Merge pull request #907 from isiahmeadows/update
Update dependencies, clean up couple things
2015-12-20 16:40:08 -05:00
Leo Horie
270b20a2b0 v0.2.2-rc.1 2015-12-20 09:14:28 -05:00
impinball
bfa3899ec8 Update dependencies, clean up couple things 2015-12-20 03:07:50 -05:00
impinball
e99ab35e10 Add preversion hook (fixes #827) 2015-12-18 03:01:31 -05:00
Isiah Meadows
b2faa43f91 Revert "Revert "More performance improvements + etc."" 2015-12-16 11:04:07 -05:00
Isiah Meadows
998704a722 Revert "More performance improvements + etc." 2015-12-16 10:53:27 -05:00
impinball
a7b2294c11 OO-ize DOM builder, improve performance (part 1), add benchmarking suite 2015-12-15 07:07:50 -05:00
Dan Okkels Brendstrup
101d4523b4 Revert to lowercase NPM package name
As per https://docs.npmjs.com/files/package.json#name as mentioned by @Pumpuli
in #845.
2015-11-13 08:40:08 +01:00
Dan Okkels Brendstrup
0c38f9ec1c Read version number + other info from package.json 2015-11-12 23:53:04 +01:00
Dan Okkels Brendstrup
d20c0a77bb Fix MIT license annotation in package.json
As per https://docs.npmjs.com/files/package.json#license
2015-11-12 21:54:50 +01:00
impinball
12b8f044f1 Convert tests to Mocha/Chai/Sinon and lint them.
Details:

1. All tests now live in `test`. All test dependencies that aren't from npm live
   in `test-deps`.

2. The QUnit tests are gone, as well as their dependencies. Half of them
   duplicated existing tests, and some of them depended on the real DOM to
   properly test.

3. All tests are now using Mocha to run the tests, Chai for assertions, and
   Sinon and Sinon Chai for testing some callbacks.

4. Tests are run through mocha-phantomjs. If you want to run just the tests,
   run `grunt mocha_phantomjs` or fire up a server in the root and open
   `http://localhost:<port>/test/index.html`, e.g. `python3 -m http.server`.

5. The linter I chose is ESLint. It is relatively easy to configure, but with a
   lot of flexibility. The rules I chose mostly were in tune to the style the
   project was already using. I'm not including a style guide in this commit,
   but one will likely come. You can check out the `.eslintrc` in the root and
   in `test/` for the two configs. The `.eslintignore` includes a TODO for
   `mithril.js` itself targeted at me, in the root.

Other info:

- As a drive-by fix, I fixed line endings on a few of the files.

- I also took care of a few other files and linted them as I went:

  - `Gruntfile.js`
  - `test/input-cursor.html` (was in `tests/`)
  - `test/svg.html` (was in `tests/`)
  - `docs/layout/tools/template-converter.html`
  - `docs/layout/tools/template-converter.js`

  I didn't test the template converter after linting it, because it needs
  further scrutiny to ensure it works with the latest version of Mithril. I
  know the API has changed a little, which is why I want to be sure.

- I simplified the `.travis.yml` file because none of the tests are run directly
  through Node anymore. They are always run in a browser of some kind.

Hopefully, this turned out all right...
2015-10-31 11:07:22 -04:00
impinball
5111c75746 Bump npm version
Fixes #740. It really needs it... :(

Also, I fixed some weird indentation going on in that area of the package.json
file (mixed spaces/tabs).
2015-07-27 18:48:08 -04:00
John Markos O'Neill
d4b5ebd90e Install grunt explicitly to stop warnings. 2015-04-15 16:53:58 -07:00
Leo Horie
11c53fd9ee update docs about bleeding edge build via npm 2015-03-30 17:30:31 -04:00
Leo Horie
755f2c4c4b rename package to avoid conflict w/ production package 2015-03-30 16:16:32 -04:00
Leo Horie
242a60b384 expose dev repo for beta testing over npm 2015-03-30 16:13:12 -04:00
Leo Horie
15721a089e Merge branch 'jsfmt' into next 2015-01-19 22:59:53 -05:00