25 Commits

Author SHA1 Message Date
Mark Peterson
07db0fcc0a
License update (#830) 2020-08-12 17:28:51 -05:00
David Collins
6bf7ad3cf8
Update WebWorldWind build dependencies (#804)
Updated the WebWorldWind npm project's build dependencies to ensure compatibility with the latest version of Node.js, Grunt, Karma, and Jasmine.

While changes like this are always worthwhile, I'm making it now to ensure that the original WebWorldWind source and its accompanying npm project will continue to operate for as long as possible after the [WorldWind project's suspension on April 5, 2019](https://worldwind.arc.nasa.gov/news/2019-03-08-suspension-notice).  Secondary goals are eliminating all npm audit warnings from old versions of libraries used to build WebWorldWind (i.e. the devDependencies) and ensuring that unit tests continue to operate.

Summary of changes:

- WebWorldWind now builds with Node.js 10.15.3 LTS and 11.12.0. The README file and the Travis CI configuration file reflect that.

- All npm devDependencies, used for building the WorldWind project, are updated to the latest version available as of this pull request.

- All npm security audit vulnerabilities are addressed.

- Subtle errors in unit tests fixed. WorldWind's geometric unit tests erroneously modified global variables, such as Location.ZERO. These values shouldn't be encoded as global variables, but solving that is out of scope here. Previous versions of Jasmine concealed this problem but these unit tests fail with Jasmine 3.x, likely due to a change in the Jasmine interpreter lifecycle between tests.
2019-03-26 12:01:56 -07:00
Patrick Hogan
09c81f862e Update 2018-06-21 19:03:59 -07:00
Patrick Hogan
44a32a6501 Update 2018-06-21 18:45:33 -07:00
David Collins
81580ac753 Adjusted Gruntfile.js to compensate for the LICENSE filename change 2017-11-20 20:40:01 -08:00
Patrick Hogan
6ebc542db8 Updated. 2017-11-20 14:06:30 -08:00
David Collins
523a0d14c6 Removed obsolete Subversion @version keywords from all files 2017-11-17 13:33:59 -08:00
Zach Glueckert
4f01ec1ab1 Publish dist folder contents to GitHub releases (#288)
* Add creation and deployment task of a zipped dist folder for GitHub releases

* Add comment describing script functionality

* Fix indentation

* Change compression task to use grunt plugin instead of bash script

* Add build folder to store all assets generated during build process
- Redirect test output to build folder
- Redirect dist folder output to build folder
- Redirect dist archive generation to build folder
- Add version name to dist archive
- Update WebStorm directory exclusion

* Fix api docs path in deployment task

* Fix untar operation to remove extra `build` directory

* Fix file location of CHANGELOG
2017-11-09 14:01:30 -08:00
David Collins
6a6593e732 Cleanup for the upcoming release
- Moved HowToBuildWebWW.md to a new Building section in README.md

- Moved HowToCreateAndRunUnitTests.md to test/README.md

- Ordered npm build scripts to group testing commands

- Moved and renamed JSDoc configuration files to clarify their purpose

- Removed design-notes with the expecation of re-establishing developer focused documentation on the website or wiki.

- Closes #258
2017-11-08 10:25:23 -08:00
Zach Glueckert
d7f8171690 Create distribution folder for generated assets (#281)
* Modify build script to write build artifacts to distribution directory
- Deposit other client consumable assets in the distribution directory
- See #280

* Remove unnecessary escape on file match

* Add clean task

* Simplify task structure

* Fix Artifactory deployment path

* Remove asset publishing directory from clean task

* Add npm clean task

* WebStorm configuration change to ignore distribution folder

* Add test-results folder as a clean target
2017-11-08 10:11:32 -08:00
Zach Glueckert
41c0c83ea1 Add images.zip asset generation (#181)
- This supports #170 in facilitating image asset packaging for flexible deployment options
2017-08-09 14:08:22 -07:00
Zach Glueckert
e39863c995 Remove scoped npm shim changes 2017-08-09 14:20:29 -05:00
Miguel Del Castillo
5ba4fd0463 First attempt to make a shim for npm packaging 2017-08-08 14:29:37 -05:00
Miguel Del Castillo
15f0ebebfd Reverted some package.json changes that were produced by npm tool
- Removed README.md and package.json from .npmignore.
  - Added interlining to .npmignore to maintain consistency with
    how we format .gitignore.
  - Change order of npm tasks in Gruntfile in order to have a more
    cohesive pattern.
2017-08-04 17:38:29 -05:00
Miguel Del Castillo
887838e2b6 Corrected typo in Gruntfile.js. File copy is successfull. 2017-08-03 11:46:27 -05:00
Miguel Del Castillo
9ae29a2f0a Change npm package entry file from "worldwind.min.js" to "index.js"
- The aforementioned is done in order to make the npm package
   to work with scoping. Normally npm is able to work with whatever
   file stated in the "main:" section of package.json, but with
   scoping it only works with "index.js", which is the default.
2017-08-03 11:10:06 -05:00
Miguel Del Castillo
123415de3e Feature/build suggestions (#153)
* Extend package.json with additional metadata
Add command scripts in package.json
Update the dev dependencies
Update GruntSetup.txt, which should be moved to README.md eventually

* Remove unused third party libraries

* Remove build.js use ‘npm run build’ or ‘grunt’ instead

* Start cleaning the root folder (test-main.js)

* Updated markdown build guide to reflect the new streamlined build process

 - Added package-lock.json file generated by npm. It is suggested to
   commit it into the repository.
   See: https://docs.npmjs.com/files/package-lock.json

 - Removed build.js from Gruntfile.js. It's unnecessary now thanks to the
   new build process.

 - package.json had spaces in "type" and "url" declarations that
   were automatically removed in build process.

 - Added .idea/ folder to .gitignore. Consider removing the folder from
   the repository altogether.

* Removed zip file compress task from build process.

* Removed grunt-contrib-compress node module from package.json

 - The module is an unused dependency now, since we're not going to
   backup the whole codebase + artifacts in a zip file anymore.

* Removed .idea/ folder mistakenly added to .gitignore.

 - Only files that are unrelated to run configurations are added to
   gitignore.

* Further corrections to .gitignore. Removed WebWorldWind.zip reference.

* Further corrections to .gitignore. Removed WebWorldWind.zip reference.

* .gitignore cleanup. .iml file correction.
2017-06-30 10:53:30 -07:00
yvoumard
6698f2bdff Renamed worldwindlib.js into worldwind.min.js in the build output
Added a debug (unminified) version under the name worldwind.js in the build output
See #36 for more information
2016-11-16 20:45:32 +01:00
yvoumard
8e165f970d Add missing tests that weren't ported yet and mark some to be ported 2016-07-21 13:14:23 +02:00
yvoumard
3e8be44fb9 Some more clean up 2016-07-21 12:35:46 +02:00
yvoumard
ae8cdfa911 Clean up the workspace configuration 2016-07-21 12:32:17 +02:00
carla-orru
034f188de4 Deleted old tests and updated the file 'HowToCreateAndRunUnitTests.txt' 2016-07-19 14:01:59 +02:00
yvoumard
d0e8a088c5 Add HTML reporter for automated tests 2016-02-25 16:36:47 +01:00
Nicolas Faerber
d4743db6c8 Added continuous integration test environment using karma and jasmine 2016-02-04 16:01:08 +01:00
Tom Gaskins
9d2f7daa0e Initial checkin. 2015-08-28 17:13:35 -07:00