-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: port of mgrs-java 2.1 (#1) * chore: port of GridLine.java and GridType.java * chore: port of Grid.java * chore: port of GridLabel.java * chore: port of GridLabeler.java * chore: port of Grids.java * chore: port of MGRSLabeler.java * chore: port of ZoomGrids.java * chore: port of BandLetterRange.java * chore: port of GridRange.java minus the iterator * chore: port of GridZone.java * chore: port of GridZones.java * chore: port of GZDLabeler.java * chore: port of LatitudeBand.java * chore: port of LongitudinalString.java * chore: port of ZoneNumberRange.java * chore: port of MGRSProperties.java * chore: port of UTM.java * chore: port of MGRS.java * chore: port of MGRSConstants.ts * chore: port of MGRSUtils.java * fix: correct majority of build errors * chore: port of mgrs.properties * fix: dropping decimal parts * fix: dropping decimal part * fix: using toFixed(2) in place of javas decimalformatter * fix: fixing compile error on longest line of code known to ever exist * fix: fixing more simple compile errors * revert: removing temp changes to tsconfig.json * fix: more compiler fixes * fix: handling case where no easting intersection * fix: fixing compile errors for regexp * fix: removing locale from getEastingAndNorthing (need to resolve) * refactor: results of npm run format * test: adding mocha config and 1 test * chore: port of GridTypeTest.java * fix: correcting enum ordinal calculation * refactor: fixing lint errors * chore: port of BandLetterRangeTest.java * chore: port of testZoneNumbers in GridZonesTest.java * chore: port of testBandLetters from GridZonesTest.java * fix: fixing char math * chore: port of MGRSTest.java. not compiling. * fix: adding checks for null/not null, and fails * fix: fixing all compile errors. still failing. * fix: fixing passing row for column value in constructor * fix: properly removing all spaces from a string in MGRS * fix: fixing toString to passing METER GridType * feat: using decimal-format to more closely mirror java * fix: correcting string equality with case ignored * fix: removing decimal from easting and northing * feat: bump of grid-js * fix: Correct null check on a number and fixing tests * lint: fixing all lint errors * chore: adding exports to index * chore: code formatting * feat: bump to rc.0 of grid * ci: moving prettier to a lint action * feat: bump to version 1.1.0 of grid-js * doc: updating README * test: skipping test draw tile of Readme.spec.ts due to timeout. Need to fix * feat: bump to version 1.2.0 of grid-js * test: add GridLine test * lint: fixing lint errors * test: adding Grid test * test: adding Grids test * chore: implementing iterator of GridRange * test: adding GridRange test * test: add ZoneNumberRange test * lint: fixing lint errors * test: adding UTM test * lint: fixing lint errors * ci: Removing prettier, which is captured in lint run * test: adding MGRSUtils test * test: adding MGRSUtils test * fix: adding comparable interface to Grid for proper sorting * lint: fixing linter * lint: fix lint errors * test: adding compare tests * doc: adding remote dependencies * doc: replacing java with javascript * doc: fixing spelling error * doc: renaming color to mgrs * test: adding isUTM test * lint: fixing lint which I constantly forget to do * test: adding final tests * doc: removing @author * feat: bump to 2.0.0 grid-js * fix: correcting issues with newer version of grid * doc: moving build status to top of readme * chore: cleaning up bad comments * test: adding more grid tests * feat: bump to 2.1 of grid-js * lint: fixing lint errors * 1.0.0
- Loading branch information
Showing
42 changed files
with
990 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
- name: Checkout Repository | ||
uses: actions/checkout@v1 | ||
|
||
- name: Install | ||
- name: Install Dependencies | ||
run: npm ci | ||
|
||
- name: Build | ||
|
@@ -26,17 +26,9 @@ jobs: | |
- name: Coverage | ||
run: npm run coverage | ||
|
||
- name: Coveralls | ||
- name: Upload Coverage | ||
uses: coverallsapp/github-action@master | ||
if: github.ref_name == 'master' | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: ./docs/coverage/lcov.info | ||
|
||
- name: Prettify code | ||
uses: creyD/[email protected] | ||
if: github.ref_name == 'master' | ||
with: | ||
prettier_options: --write \"lib/**/*.ts\" \"test/**/*.ts\"" | ||
only_changed: True | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: ./docs/coverage/lcov.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.