Commit Graph

26 Commits

Author SHA1 Message Date
Tim Schaub
ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
1cdb6a66f0 Imports cased like the filename 2017-12-12 06:53:17 -07:00
Tim Schaub
0802f50bc6 Use lowercase module identifiers until ol@5 2017-10-05 16:42:45 -06:00
Andreas Hocevar
e876003684 Use the correct name in imports 2017-09-12 18:03:03 +02:00
Tim Schaub
e412ba113c Add @module annotation to source modules 2017-09-05 14:46:09 -06:00
Tim Schaub
f118338c0a Add .js extension to import paths 2017-09-05 13:27:26 -06:00
Tim Schaub
71370405c3 Retain comments when replacing 2017-08-18 11:20:13 -04:00
Tim Schaub
55fb814ec8 Scripts for in-place transforms 2017-08-17 18:31:58 -04:00
Andreas Hocevar
f4420c5352 Do not exclude WebGL code in transformed files 2017-08-17 13:51:59 -04:00
Tim Schaub
544953f932 Throw if provide has space 2017-08-17 11:51:29 -04:00
Tim Schaub
07810818cc Prepend the version with a v 2017-05-15 19:31:40 -07:00
Tim Schaub
d7969931e8 Try to fix lint in the package 2017-05-02 23:21:45 -06:00
Tim Schaub
3f973e6fa3 Allow single (non-default) import from dependencies 2017-05-02 15:04:20 -06:00
Tim Schaub
4a9114cd4e Set ol.VERSION when creating ol package 2017-04-13 06:32:42 -06:00
Peter Robins
3161e435b8 ol.DEBUG no longer needed in transforms/module.js 2017-02-17 10:35:55 +00:00
Tim Schaub
490f42d528 Avoid extra assignment for default export 2017-02-03 17:05:30 -07:00
Tim Schaub
3eaa0f412e Opinionated defines 2017-02-03 17:05:30 -07:00
Tim Schaub
b2a4b69d13 Transform all defines 2017-02-03 17:05:30 -07:00
Tim Schaub
b73ab8914a Replace define assignment with variable declaration 2017-02-03 17:05:30 -07:00
Tim Schaub
91c1857d83 Update transform to generate ES-2015 modules 2017-02-03 17:05:30 -07:00
Tim Schaub
d17e809039 Rewrite boolean defines as globals 2017-02-03 17:05:30 -07:00
Tim Schaub
ea04523bb9 Sort and replace provide and requires in one pass 2017-02-03 17:05:29 -07:00
Tim Schaub
329ec70836 Handle ol provide 2017-02-03 17:05:29 -07:00
Tim Schaub
04639842f2 Safer relative paths 2017-02-03 17:05:29 -07:00
Tim Schaub
815af723ea Require ol.ext dependencies directly 2017-02-03 17:05:29 -07:00
Tim Schaub
386f94e0d4 Codemod for CommonJS package 2017-02-03 17:05:29 -07:00