1 | Add license comment headers to builds (ignore version number inclusion)
|
2 |
|
3 | Plan future deprecations, like helper system (replace with `var h = require('myhelper') ?`, layout `fs` usage?
|
4 | Reformat helpers code style (esp layout)
|
5 | Reformat runtime code style
|
6 | Add debug statements to layout helpers
|
7 |
|
8 |
|
9 |
|
10 | Most Important Things:
|
11 |
|
12 | Refactor Tests:
|
13 | - rather than specific tests, run a big gamut of HTML, or programatically generate all possible combinations of features and whitespace
|
14 | - Tests need to at least be separate files
|
15 | - Minimize new file overhead: use ENV vars, include small util file (contexts, vm, etc)
|
16 | - Possibly switch from vows (too much boilerplate) to anything else
|
17 |
|
18 | Convert to CJS
|
19 |
|
20 | Remove auto-build num stuff
|
21 |
|
22 |
|
23 | Try Out Gulp
|
24 | ============
|
25 |
|
26 |
|
27 |
|
28 | Convert to CJS
|
29 | ==============
|
30 |
|
31 | Goals
|
32 | -----
|
33 |
|
34 | - Consume via global
|
35 | - `<script src="vash.js"></script>`
|
36 | - `<script src="vash-runtime.js"></script>`
|
37 | - Consume via Browserify
|
38 | - `require('vash')`
|
39 | - `require('vash-runtime')`
|
40 | - Consume via RequireJS
|
41 | - `define(['vash'], function(vash) {})`
|
42 | - `define(['vash-runtime'], function(vashrun) {})`
|
43 | - Consume via Bower? Perhaps rely on plugin for this.
|
44 | - Simplify build system
|
45 |
|
46 | Definitely
|
47 | ----------
|
48 |
|
49 | - [ ] index.js requires everything
|
50 | - [ ] src/vexports.js -> src/compile.js, src/config.js
|
51 | - [ ] rename src/* to not be prefixed with v
|
52 | - [ ] compiled template cannot rely on vash / vash.helpers global
|
53 | - [ ] linking cannot rely on global vash
|
54 | - [ ] bundling via browserify
|
55 | - [ ] supports/exports.{head,tail}.js removed
|
56 | - [ ] vash version number is included in standalone builds
|
57 | - [ ] split runtime into separate files in src/runtime
|
58 |
|
59 | Maybe
|
60 | -----
|
61 |
|
62 | - [ ] runtime as global is not `vash`, instead is `vashrun`
|
63 | - [ ] runtime does not include UMD guard
|
64 | - [ ] runtime as separate package
|
65 | - [ ] vash.pkg ~= readFile('package.json')
|
66 | - [ ] Helpers are registered instead of attaching to global: `require('my-helpers')(vash)` or `vash.helper(require('my-helpers'))`
|
67 | - [ ] src/api.js is public exports |
\ | No newline at end of file |