Commit Graph

1324 Commits

Author SHA1 Message Date
Tim Schaub 9d28549b2b Pass along potentially modified data 2015-07-21 17:12:07 -06:00
Tim Schaub ef90f5a097 Run operations in a worker 2015-07-21 17:12:07 -06:00
Tim Schaub 7780d77ade Update to closure-util@1.5.0 2015-07-09 10:16:15 -06:00
Tim Schaub bfaac061c8 Provide a debug loader for the library 2015-07-09 10:16:15 -06:00
Bart van den Eijnden 84ed12ec46 Update package version to 3.7.0 2015-07-03 11:34:19 +02:00
Andreas Hocevar 9f4112a8f9 Update package version to 3.6.0 2015-06-07 14:16:34 +02:00
Marc Jansen 26f1062dbf Use a valid SPDX license expression 2015-05-15 13:55:22 +02:00
Tim Schaub 57002ec80a Update package version to 3.5.0 2015-05-04 22:36:58 -06:00
Thomas Gratier b044372cd8 Update package.json
When pushing previous content to npm, it complains that it only accepts `"browser": "dist/ol.js"` hence the correction again
2015-04-30 04:50:40 +02:00
Éric Lemoine 4c2c21a5d6 Add Makefile 2015-04-26 20:20:59 +02:00
Thomas Gratier a3a33c1dcd Issue encountered in the PR
See PR comments for an update
2015-04-25 01:43:06 +02:00
Thomas Gratier 75a3c5f6ff Make package.json compatible for npm frontend use
This PR augments package.json to ease OpenLayers 3 frontend development through NPM.
See this post on NPM blog http://blog.npmjs.org/post/112712169830/making-your-jquery-plugin-work-better-with-npm to understand my viewpoint and evaluate if it's worth to accept.
2015-04-24 03:41:52 +02:00
Tim Schaub 84f3bea766 Upgrade Metalsmith to get new concurrency option 2015-04-17 06:22:38 -06:00
Frederic Junod 7909e7b079 Update proj4 version to 2.3.6 2015-04-15 08:58:07 +02:00
Tim Schaub 8ddec98075 Rebuild examples when the sources change 2015-04-12 15:42:55 -06:00
Tobias Sauerwein c36c67779e Merge pull request #3470 from tsauerwein/rendering-tests
Add rendering tests
2015-04-06 13:49:51 +02:00
Tobias Sauerwein 91b12c1d34 Merge pull request #3413 from tsauerwein/ext-browserify
Add support for generic external modules with Browserify
2015-04-06 13:25:45 +02:00
Éric Lemoine 2892e36d29 Update to closure-util 1.4.0 2015-04-04 22:46:07 +02:00
tsauerwein 8e0c21eb58 Add test-suite using SlimerJS 2015-04-04 17:30:38 +02:00
tsauerwein 921fd3ed3b Support generic ext. modules with browserify 2015-04-04 09:17:11 +02:00
Andreas Hocevar 1d940898b5 Add Task and template for building examples 2015-04-02 19:10:02 +02:00
Marc Jansen 17ea9ecef5 Run the istanbul code-coverage via node script. 2015-04-02 09:16:43 +02:00
Bart van den Eijnden 7c9795ba35 Integrate istanbul for test coverage 2015-04-02 08:57:53 +02:00
Bart van den Eijnden 96c670cebf Update package version to 3.4.0 2015-03-27 10:08:50 +01:00
Frederic Junod b6b8ae265c Update rbush to version 1.3.5 2015-03-09 16:03:09 +01:00
Andreas Hocevar 6854833fbd Update package version to 3.3.0 2015-03-03 22:27:25 +01:00
Tim Schaub 0ddae22661 Update package version to 3.2.1 2015-02-13 10:52:02 -07:00
Éric Lemoine 22b27cdb02 Update package version to 3.2.0 2015-02-06 11:12:59 +01:00
Frederic Junod c732538433 Update closure-util version 2015-01-19 10:42:33 +01:00
Tim Schaub 7dd322dd6f Update package version to 3.1.1 2014-12-23 11:29:04 -05:00
Tim Schaub dc7f60801a Update package version to 3.1.0 2014-12-22 14:32:35 -05:00
Tim Schaub 3582445755 Add task for publishing to npm
This task publishes an existing tag to the npm registry.  To publish a new release, create a commit that updates the version number in package.json (e.g. to "3.1.0").  Then create a tag, push to GitHub, and run the publish task.  Assuming "openlayers" is the remote for the canonical repo, this would look like the following:

    git tag -a v3.1.0 -m "3.1.0"
    git push --tags openlayers
    ./tasks/publish.sh 3.1.0

The task creates a build for each of the `PROFILES` in `publish.sh` (these correspond to `.json` files in the `config` directory).  Builds are generated in the `dist` directory.  Our `package.json` specifies `dist/ol.js` as the "main" build.  So when people use a module loader to `require('openlayers')`, they get the full build.  It is also possible to load a debug build (e.g. `require('openlayers/dist/ol-debug')`), and we can publish additional builds by adding `config` files and updating `PROFILES` in `publish.sh`.

The `.npmignore` file determines what is *not* included in the package (note that `node_modules` are always ignored).  So if additional items are added to `.gitignore` that should not be included in the npm package, they need to go in `.npmignore` as well (ideally, we don't need to generate anything else outside of the `build` directory that doesn't belong in the package).
2014-12-19 17:45:48 -07:00
Tim Schaub b7e0acf4fa Update pre-release version 2014-12-19 11:05:29 -07:00
Frederic Junod 7bc2081138 Update closure-util to v1.2.0 2014-12-09 11:55:09 +01:00
Tim Schaub 4785001548 Parse examples and build external modules on install 2014-10-23 15:57:10 -06:00
Tim Schaub 01b64bc655 General purpose task for building external modules 2014-10-23 13:40:31 -06:00
Tim Schaub 26006418a8 Package metadata 2014-10-14 14:32:58 -06:00
Tim Schaub dd665c7e9e New package name and updated dependencies 2014-10-14 14:32:58 -06:00
Tim Schaub edb28d6a47 A tiny bit more deterministic 2014-10-13 23:02:46 -06:00
Frederic Junod 04e7a81b1e Update closure-util to version 1.0.0 2014-10-06 13:42:34 +02:00
Tim Schaub c868e4bbdd Allow package to be published in npm registry
I've contacted the maintainer of the https://www.npmjs.org/package/openlayers package to see if we can take over ownership.  Until then, we can publish packages under the name 'ol'.
2014-09-29 22:27:27 -06:00
Frederic Junod 2eb9a4b72e Upgrade closure-library and closure-util version 2014-09-09 15:03:18 +02:00
Frederic Junod ad8cc3c1e0 Revert "snapshot"
This reverts commit 47fd7d8626.
2014-09-02 16:13:34 +02:00
Frederic Junod 47fd7d8626 snapshot 2014-09-02 16:11:31 +02:00
Tim Schaub bdfceaad06 Run closure-util install script after install
This needs to be run whenever our closure-util.json config changes.  It is harmless to run multiple times.
2014-08-08 11:08:37 -07:00
Tim Schaub 4de2520109 Add packages required to build the library to dependencies
This allows other packages to depend on the ol3 package and get the build tools (devDependencies are not installed when they are transitive dependencies).  The justification here is that the ol3 package becomes useful to other packages when you are able to run the build.js task.  For this task to run all of its dependencies must be available.
2014-07-14 14:19:24 -06:00
Tim Schaub 3e23da7c83 Minify CSS 2014-07-11 21:25:21 -06:00
Andreas Hocevar 90c745006d Update to use the documented Proj4js 2.2.x API 2014-07-09 15:33:12 +02:00
Andreas Hocevar 20e903f8d9 Add proj4 to package.json 2014-07-09 15:32:54 +02:00
Andreas Hocevar 3a0d0c7290 Remove transient jsdoc dependencies
alpha9 has the dependencies fixed again, so no need to keep taffydb and
underscore around.
2014-07-08 21:38:16 +02:00