* Substituted PhantomJS for headless Chromium for unit testing
* Added Firefox headless as a browser for unit testing
* Removed pupeteer dev dependency to rely on local installs of Chrome and Firefox. Temporarily commented out tests that now fail.
* Eliminated superfluous newline from karma.conf.js
* remove whitespace
* Updated npm packages related to tasking and unit testing to latest versions
* Updated grunt-jsdoc to latest version
* Removed unused 'dependencies' bracket from package.json
* Updated npm packages
* Updated es6-promise to 4.2.8 and libtess to 1.2.2
* Updated jszip to 3.2.2 and proj4-src to 2.6.0
* Added charset tag and note on 3rd party libraries to HTML files that lacked them
* Commented out a debugging console.log message that returns the GetCapabilities document
* Updated README for v0.10.0 RC. Updated npm packages.
* 0.10.0
* Corrected typo.
* Updated npm packages with 'npm audit fix'
* Added validation for when the KML file doesn't specify altitudeMode
- Resolves issue of KmlPolygon not creating SurfacePolygon when KML file does not specify altitudeMode.
- As per KML's 2.2 specification, if altitudeMode is not specified, it should be interpreted as CLAMP_TO_GROUND. This commit ensures this behavior.
- Added method for validation of altitudeMode existence in KML file, imitating WWJ's KMLPlacemark behavior.
* Temporarily changed data source used in KML example to test a KML file with no altitudeMode specified
* Added KML file with no altitudeMode specified
- Downloaded from here:
https://opendata.hayward-ca.gov/datasets/hayward-general-plan-land-use?geometry=-122.322%2C37.590%2C-121.845%2C37.685
* tests for kmlInnerBoundary glitch
* Returned KML example to its previous test file source
* Added TODO comment regarding boundary graphic glitches
* Changed isValidAltitudeMode to use WorldWind constants.
- Ran code formatter on the file
Co-authored-by: Mark Peterson <markpet@yahoo.com>
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.
* 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
- 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
* 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
* Add initial file upload capability
* Refactor function naming and structure
* Add checksum validation and deployment of assets
- Deploys via checksum and on asset not being found reverts to normal file deployment
* Change to production repository target
* Refactor to remove deploy by checksum and remove async tasks
* Add windows path separator conversion to unix style in options object
- Refactor documentation and ordering
* Combine and refactor functions to reduce complexity
* Add deployment to a "latest" version on the server
* Change deployment repository to production name "web"
* Utilize TRAVIS_TAG for deployment path
- Remove limitation for it to be tagged version (starts with v)
* Fix travis environment variable name
* Refactor asset generation and deployment to different functions
* Change to predefined asset deployment directory
- File naming updates to describe functionality
- Add new predefined directories to .gitignore
* Remove extra carriage return
* Add Artifactory deployment assets to npmignore
* Remove unused npm development package
* Remove unused npm package declaration
* Refactor script naming
* Change Artifactory api key environment variable name
* Refactor initialize function inline and function ordering
* Refactor failure modes and logging
* Update documentation
* Refactor travis commands to script
* Rename scripts
* Refactor deployment function to be more generic
- Closes#244
- Changes input arguments to be more generic
- Adds protections for resolving the target path name given any source directory format (e.g. ./assetsToPath or assetsToPath/ or full path)
* Clean up command options and path formats
* Capture npm pack filename output for use in tarball extraction
* Change to join vs normalize for path construction
* Fix join syntax
* Remove attempted Windows path fix
- Update package.json to reflect this is a public project as required by Travis CI
- Add CHANGELOG generation script
- Add travis npm publishing task
- Add travis CHANGELOG generation task
- Add travis CHANGELOG publishing to GitHub task
- 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.
- 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.
- Testing with the scoped package is producing errors within
https://github.com/Beak-man/worldwind-react
- Unscoped version is working, except that local image files
are not loading.
* 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.