Maximilian Krög
40f8e69675
Fix legacy build
...
The build process failed because webpack does not allow failed imports
when it is run as a module.
This detects modules with default exports and only generates import
statements for default exports where they are available.
2021-05-02 23:49:50 +02:00
Tim Schaub
a67bd5a764
Fix the next-dev-version.js script
2021-05-01 10:32:07 -06:00
Tim Schaub
c301d2413b
Modules all the way
2021-05-01 10:17:04 -06:00
Tim Schaub
54e981f59a
Update webpack
2021-03-22 13:42:05 -06:00
Simon Seyock
808868ad1f
Fixed some jsdoc issues.
2021-02-02 12:15:30 +01:00
Martin Packman
a2a8c6dc87
Include LICENSE.md in built package
...
Copy LICENSE.md as well as README.md to build when preparing package.
These files are useful for tools that inspect node_modules for
dependency details.
2020-11-14 15:08:21 +00:00
Andreas Hocevar
68d6a6b84c
Add all symbols to the legacy build
2020-11-04 19:56:24 +01:00
Tim Schaub
139b048197
Prepare for a new default branch name
2020-06-19 10:25:03 -06:00
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