Commit Graph

292 Commits

Author SHA1 Message Date
Andreas Hocevar
e1bac72003 Make full build iife only, with external geotiff.js and ol-mapbox-style 2022-08-30 09:14:19 -06:00
Tim Schaub
8a9bf4ac7a Support a script tag only for the full build 2022-08-30 09:14:19 -06:00
Tim Schaub
1614a27ee1 Minify and use cjs extension 2022-08-30 09:14:19 -06:00
Tim Schaub
219fb093c1 Include the full build in the ol package 2022-08-30 09:14:19 -06:00
Tim Schaub
6db24d214b Deploy website and publish package for release tags 2022-08-18 20:07:42 -06:00
Tim Schaub
293f128558 Add a job to create a release 2022-08-18 19:49:47 -06:00
Tim Schaub
8d108dc29e Merge pull request #13995 from tschaub/browserslist
Remove IE workarounds for legacy build, examples, and workers
2022-08-18 06:55:18 -06:00
Tim Schaub
a166b1da51 Remove IE workarounds for legacy build, examples, and workers 2022-08-16 10:19:59 -06:00
Tim Schaub
9d73a9185f Build and deploy the website 2022-08-14 23:58:31 -06:00
MoonE
1bcc7770b0 Merge pull request #13957 from MoonE/util-version
Replace VERSION in un-transpiled source
2022-08-09 09:20:13 +02:00
Maximilian Krög
5fb69b1de1 Some more small code improvements 2022-08-09 00:28:41 +02:00
Maximilian Krög
f28a9c22e1 replace VERSION in un-transpiled source 2022-08-09 00:20:04 +02:00
Maximilian Krög
bb3c5bf144 Use String#startsWith instead of String#indexOf 2022-08-05 01:49:16 +02:00
Maximilian Krög
0b945f2321 Use includes instead of indexOf 2022-08-05 01:49:01 +02:00
Tim Schaub
c71d200cbf Publish untranspiled sources 2022-07-28 13:56:34 -06:00
Tim Schaub
f10ba5c1e3 Avoid duplicate imports 2022-02-05 11:46:26 -07:00
Tim Schaub
076fc70b6c Format the changelog so contributors can be highlighted 2022-01-08 19:43:00 -07:00
Andreas Hocevar
00b7bc60ac Use Buffer and data uri when Blob is not available 2022-01-01 22:47:22 +01:00
Tim Schaub
6958ca3101 Lazily create resources for worker 2021-12-14 16:54:06 -07:00
Tim Schaub
9224678627 Simplified ESLint config 2021-10-12 09:03:53 -06:00
Andreas Hocevar
c934f08866 Update geotiff 2021-09-23 13:24:58 +00:00
Andreas Hocevar
ccb9ff6f37 Configure builds so they actually work 2021-09-10 18:15:08 +02:00
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