25 Commits

Author SHA1 Message Date
David Collins
6d24882634 Updated obsolete links in package.json and README.md 2017-11-08 12:12:44 -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
f378ef97a0 NPM package content whitelisting (#247) 2017-10-24 16:51:02 -07:00
Zach Glueckert
b35c51bc12 Publish npm assets to Artifactory (#237)
* 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
2017-10-24 11:31:53 -07:00
Zach Glueckert
216bc0786d Add npm publishing capability (#215)
- 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
2017-09-08 12:10:09 -07:00
Miguel Del Castillo
cfb251c9cc Shim file entry reference removed since 'worldwind.min.js' works now. (#212) 2017-09-01 17:10:32 -07: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
b2fc3e35e2 Added reference to ESA in search keywords 2017-08-08 14:12:50 -05:00
Miguel Del Castillo
f0153886ec Modified search keywords
- Added search terms to get them more in line with the project's
    GitHub.
  - Corrected version number in package-lock.json
2017-08-08 07:31:10 -05:00
Miguel Del Castillo
739d1dca71 Removed empty dependencies object from package.json 2017-08-04 17:40:08 -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
0bf638b70b Changed package.json name in order to reflect official naming. 2017-08-03 11:48:47 -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
4c53672c0d Changed package.json name for npm scoped package generation
- 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.
2017-07-17 09:30:52 -07:00
Miguel Del Castillo
36d7ab954a 0.1.0 2017-07-16 17:04:16 -07:00
Beak-man
71eeea8d05 Change order of precedence in UMD interaces for jszip and proj4-src
- AMD inteface now takes precedence before CommonJS-like one.
2017-07-07 11:20:53 -05:00
Beak-man
7e658a8b68 Added modifications for npm packaging and publishing 2017-07-06 11:02:32 -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
carla-orru
96b75eed8f Converted tests from the jsTestDriver format to the Jasmine format 2016-05-26 15:53:35 +02:00
yvoumard
d0e8a088c5 Add HTML reporter for automated tests 2016-02-25 16:36:47 +01:00
nfaerber
c1b63cb023 remove deprecated package 2016-02-05 09:47:57 +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