-
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.
* Initial port of color-java (#1) * ci: Fixing typo in readme, and adding initial stubs for github actions. * doc: Updating build-test action link. * ci: Adding initial build files * test: Adding test stub configs * chore: Porting classes from color-java project. * chore: Porrting Color from color-java * refactor: Moving functions around to be next to overloaded functions. * refactor: Changing type any to (number | string) * fix: Fixing compile errors in ColorUtils.ts * fix: Removed most helper methods from color since typescript sucks. * chore: Port from color-java/ColorUtilsTest, with tests disabled. * ci: Getting tests running * test: uncommenting out tests for 'test valid' * fix: Allowing for null on isValidHex calls * fix: Correcting porting errors. * test: uncommenting out most of 'test utils' * fix: Correcting porting errors in toHSL * chore: Port if ColorTest from color-java. All commented out. * test: uncommenting out and fixing helper methods * test: Uncommenting out test color creation * fix: Fixing recursion on setRed, setBule, setGreen * fix: Trying to handle floating points at 0 and at 1 * test: Uncommenting out color hex constants test. * test: Uncommenting test hex integers test. * test: Uncommenting out alpha integer test * test: Uncommenting RGB test * test: uncommenting hex integers test * test: uncommenting arithmetic test * test: uncommenting hex singles test * test: uncommenting color hsl test * test: commenting out color with alpha check. Fixing TODO's * test: fixing last remaing TODOs * ci: Porting over ReadmeTest from color-java * doc: Updating readme from ReadmeTest.ts * Preparing for release (#2) * doc: Correcting spacing in README usage * chore: Removing unused index.ts file * doc: Removing node as an engine * doc: Updating readme * ci: Trying new github action * ci: Fixing github actions * ci: Removing coveralls step * ci: More github action fixing * doc: Removing link to ngagoint.github.io
- Loading branch information
Showing
20 changed files
with
11,912 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
name: Bug report | ||
about: Report an issue | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
Please fill out as much known and relevant information as possible. | ||
|
||
#### Version Information: | ||
|
||
* Color Javascript Version: | ||
* Color Javascript Source: (e.g. Central Repository, Release, Source Code Build) | ||
* IDE Name & Version: | ||
* NPM Version: (npm --version) | ||
* Node Version: (node --version) | ||
* Platform & OS: | ||
* Other Relevant Libraries: | ||
|
||
#### Expected Results: | ||
|
||
* What did you expect to happen? | ||
|
||
#### Observed Results: | ||
|
||
* What happened instead? | ||
* How often does this occur? | ||
|
||
#### Output: | ||
|
||
* Any logs, errors, or output messages? | ||
|
||
#### Steps to Reproduce: | ||
|
||
1. Step One | ||
2. Step Two | ||
3. ... | ||
|
||
#### Relevant Code: | ||
|
||
```javascript | ||
// Code to reproduce the problem? | ||
``` | ||
|
||
#### Test Files: | ||
|
||
* Links to any files needed for testing? | ||
|
||
#### Additional Information: | ||
|
||
* Any additional configuration, data, or information that might help with the issue? |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Discussions | ||
url: https://github.com/ngageoint/color-js/discussions | ||
about: Questions, Feature Requests, Feedback, Conversations |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Documentation report | ||
about: Report a documentation issue | ||
title: '' | ||
labels: documentation | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the documentation issue** | ||
A clear and concise description of what the issue is. | ||
|
||
**Additional context** | ||
Add any other context about the issue here. |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Build & Test | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v1 | ||
- name: Build & Test | ||
run: | | ||
npm install | ||
npm run build --if-present | ||
npm test | ||
env: | ||
CI: true |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Build | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v1 | ||
- name: Build | ||
run: | | ||
npm install | ||
npm run build --if-present | ||
env: | ||
CI: true | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
spec: 'test-dist/**/*.js', | ||
ignore: 'test-dist/node_modules/**', | ||
import: [ | ||
], | ||
}; |
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.