Commit Graph

262 Commits

Author SHA1 Message Date
Tim Schaub
054af09032 Make code prettier
This updates ESLint and our shared eslint-config-openlayers to use Prettier.  Most formatting changes were automatically applied with this:

    npm run lint -- --fix

A few manual changes were required:

 * In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
 * In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason.  While editing this, I reworked `ExampleBuilder` to be a class.
 * In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Andreas Hocevar
49c1486e06 Update changelog script to recognize dependabot instead of greenkeeper 2019-10-28 21:49:18 +01:00
Tim Schaub
3f21bc5265 Replace without the newline 2019-09-26 21:25:58 +02:00
Tim Schaub
5290486e23 Dev version based on time 2019-09-23 19:48:30 +02:00
Tim Schaub
d59eed5d3b Accept additional args when publishing 2019-08-07 00:01:57 -04:00
Olivier Guyot
98b0c65450 Rendering tests / add custom web worker loader
Also includes a change in the rollup-babel plugin to avoid
adding helpers as dependencies (which would give out errors).
2019-06-01 15:33:36 +02:00
Tim Schaub
d49e166506 Minify worker source 2019-05-16 10:35:18 -06:00
Tim Schaub
e307410301 A task to inline workers 2019-05-15 16:38:06 -06:00
Olivier Guyot
cb77e10179 Removed the legacy shader build system 2018-11-16 14:02:10 +01:00
ahocevar
1674620943 Use individual imports instead of * imports 2018-10-25 21:54:06 +02:00
Frederic Junod
404c1bda0a Remove geojson.js extern inclusion in tasks/generate-info 2018-09-03 16:16:46 +02:00
Tim Schaub
affbf59b77 Use Object<Foo, Bar> instead of Object.<Foo, Bar> 2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12 Use Array<Foo> instead of Array.<Foo> 2018-07-25 18:32:43 -07:00
Tim Schaub
1b745dc7b7 Update the publish.sh script 2018-07-20 18:31:25 -06:00
Tim Schaub
f8c5a79242 Collapsed dependency updates 2018-07-20 18:22:28 -06:00
ahocevar
4cdab30201 Replace VERSION correctly in transpiled code 2018-07-18 18:05:02 +02:00
Tim Schaub
7c6755d3ec Scripts for generating the package and legacy build 2018-07-17 14:48:17 -06:00
ahocevar
afec93ae62 Autogenerate src/ol/package.json from package.json 2018-07-08 22:51:51 +02:00
Tim Schaub
81f864bb4c Add doc for return 2018-06-24 10:08:16 -06:00
ahocevar
28409486a5 Make classes in ol/ available as named exports from ol 2018-06-21 18:08:17 +02:00
ahocevar
5582914ffa Add set-version task to set version from package.json 2018-06-21 11:18:52 +02:00
Andreas Hocevar
8eafdf1884 Merge pull request #8201 from ahocevar/no-babelrc
Remove babelrc, transform using babel-core
2018-05-21 03:52:00 -05:00
ahocevar
ee395c325c Change typecheck warnings to errors 2018-05-17 12:30:01 -05:00
ahocevar
8b8d94c78a Remove babelrc, transform using babel-core 2018-05-17 11:40:48 -05:00
Tim Schaub
8bebb561b1 Update linter config 2018-05-07 13:57:00 -06:00
Tim Schaub
1f67fd9bd4 Update tasks to use native async/await 2018-04-28 15:06:59 -06:00
Tim Schaub
d93a76dcb9 Remove olx.js and code that uses it 2018-04-19 18:13:55 -06:00
Tim Schaub
5f8a5b3502 Add typedef for TileArcGISRest source options
This was removed in 8b23a44f8f (inadvertently I think).
2018-04-19 17:58:39 -06:00
Frédéric Junod
c63c7b211d Merge pull request #8048 from fredj/shaders_comments
Remove all comments from shaders
2018-04-19 15:21:51 +02:00
lilliputten
fa92a69ff3 Linter warnings fixed. 2018-04-04 17:47:56 +03:00
lilliputten
0deecda4f5 Simplified changes. 2018-04-04 17:41:21 +03:00
lilliputten
55bcd28729 Generate correct includes list on windows hosts. 2018-04-04 17:23:08 +03:00
Frederic Junod
2effa1182e Remove all comments from shaders 2018-04-03 09:54:55 +02:00
Andreas Hocevar
becce622e5 Update xol script and content 2018-03-11 09:12:14 -06:00
Andreas Hocevar
c4cf75e470 Use let instead of var for exports 2018-03-11 09:12:02 -06:00
Tim Schaub
0ae5ba2904 Script for migrating externs/olx.js 2018-03-11 09:07:04 -06:00
Andreas Hocevar
a964dd27e9 Make sure namespaces are populated after they were created 2018-03-09 15:48:31 +01:00
Tim Schaub
449568802a Remove unused deps, unused tasks, and outdated info 2018-03-03 13:25:46 -07:00
Andreas Hocevar
73f9d6dcdd Merge pull request #7741 from ahocevar/typecheck-full-build
Type checking and full build creation
2018-02-10 02:09:31 +01:00
Andreas Hocevar
287723902c Use babel and closure without bundler for type checking 2018-02-08 19:51:28 +01:00
Andreas Hocevar
9c12b351e5 Use webpack for full build, find something else for type checking 2018-02-08 19:51:28 +01:00
Andreas Hocevar
03e244a6a2 Add type checking and full build creation
This uses Closure Compiler to create a full build and run type checks.
Currently type errors are reported as warnings and the build is created
with SIMPLE optimizations until we have transitioned all types to path
types.
2018-02-08 19:51:27 +01:00
Andreas Hocevar
e6036439f6 Generate index.js instead of ol.js 2018-02-08 19:51:27 +01:00
Andreas Hocevar
64258a1ac4 Add generate-ol task to create a full build
Creating the full build will also serve as type checker.
2018-02-08 19:51:27 +01:00
Andreas Hocevar
efd9f2c088 Handle modules 2018-02-08 19:51:26 +01:00
Frederic Junod
e25e61c3b7 Rename location shader classes
And remove the now unneeded NAMESPACE variable
2018-02-08 15:18:11 +01:00
Frederic Junod
2bf252ab0d Add MODULE variable in the glsl file 2018-02-08 15:18:11 +01:00
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
50737f7f73 Remove unused code, get tests passing on Travis 2017-12-12 06:58:02 -07:00
Karthik Kumar A
02b899869d rename entry to input - regarding options to rollup lib - Issue #7358 2017-10-14 14:18:20 +05:30