-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial port of color-java #1
Merged
Merged
Conversation
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
gillandk
added a commit
that referenced
this pull request
Sep 16, 2022
* 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
gillandk
added a commit
that referenced
this pull request
Sep 16, 2022
* 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 * ci: Adding docs directory
gillandk
added a commit
that referenced
this pull request
Sep 16, 2022
* 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 * ci: Adding docs directory * ci: Removing references to color-java in docs
gillandk
added a commit
that referenced
this pull request
Sep 19, 2022
* 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 * ci: Adding docs directory * ci: Removing references to color-java in docs * ci: Adding coveralls (#6) * ci: Adding coverall action * ci: Adding coverage and coveralls * ci: Trying coveralls again * ci: Adding test step before coverage * ci: Calling test:rrun from coverage
gillandk
added a commit
that referenced
this pull request
Sep 22, 2022
* 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 * ci: Adding docs directory * ci: Removing references to color-java in docs * ci: Adding coveralls (#6) * ci: Adding coverall action * ci: Adding coverage and coveralls * ci: Trying coveralls again * ci: Adding test step before coverage * ci: Calling test:rrun from coverage * fix: Adding index.ts to fix importing of the color library (#8) * doc: bump version to 1.1.0-beta.0 * ci: attempt to fix import of library (#9) * ci: Updating build * ci: Adding types to package.json * ci: Adding prettier and lint * fix: Changing lib to dist for exports * ci: Adding types to package.json * refactor: moving source to src instead of lib * ci: Removing copying of node_modules into the test-lib area * ci: Adding prepare script * ci: Adding coverage and lint steps * ci: Removed build workflow and breaking out individual steps * fix: Fixing test step that only did a build * ci: Adding if check on coveralls for master branch * fix: Correcting removing rreferences to dist that was missed * refactor: Cleaning up tsconfigs * fix: Fixing linter errors * fix: Correcting issue with alpha * ci: Removing npm-run-all and ts-node from dependencies * ci: Adding module script * ci: removing files from package.json * ci: adding .npmignore * ci: cleanup of build * test: changing mocha to look in dist * ci: adding more files to .npmignore * ci: removing typings * ci: more cleanup of build * refactor: moving index.js * ci: adding index.js to package.json * fix: Moving index.js back to src * ci: chainging main entry point yet again * fix: trying to get entry point setup * ci: removing test from package * fix: changing main to index.js instead of index.ts * fix: updating typings * 2.0.0 * feat: bump to version 2.0.0 * 2.0.1-beta.0 * ci: Correcting dist * 2.0.1-beta.1 * ci: Getting dist directory cleaned up and removing prerelease * ci: more dist cleanup * 2.0.1-beta.2 * feat: bump to 2.0.1
gillandk
added a commit
that referenced
this pull request
Sep 28, 2022
* 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 * ci: Adding docs directory * ci: Removing references to color-java in docs * ci: Adding coveralls (#6) * ci: Adding coverall action * ci: Adding coverage and coveralls * ci: Trying coveralls again * ci: Adding test step before coverage * ci: Calling test:rrun from coverage * fix: Adding index.ts to fix importing of the color library (#8) * doc: bump version to 1.1.0-beta.0 * ci: attempt to fix import of library (#9) * ci: Updating build * ci: Adding types to package.json * ci: Adding prettier and lint * fix: Changing lib to dist for exports * ci: Adding types to package.json * refactor: moving source to src instead of lib * ci: Removing copying of node_modules into the test-lib area * ci: Adding prepare script * ci: Adding coverage and lint steps * ci: Removed build workflow and breaking out individual steps * fix: Fixing test step that only did a build * ci: Adding if check on coveralls for master branch * fix: Correcting removing rreferences to dist that was missed * refactor: Cleaning up tsconfigs * fix: Fixing linter errors * fix: Correcting issue with alpha * ci: Removing npm-run-all and ts-node from dependencies * ci: Adding module script * ci: removing files from package.json * ci: adding .npmignore * ci: cleanup of build * test: changing mocha to look in dist * ci: adding more files to .npmignore * ci: removing typings * ci: more cleanup of build * refactor: moving index.js * ci: adding index.js to package.json * fix: Moving index.js back to src * ci: chainging main entry point yet again * fix: trying to get entry point setup * ci: removing test from package * fix: changing main to index.js instead of index.ts * fix: updating typings * 2.0.0 * feat: bump to version 2.0.0 * 2.0.1-beta.0 * ci: Correcting dist * 2.0.1-beta.1 * ci: Getting dist directory cleaned up and removing prerelease * ci: more dist cleanup * 2.0.1-beta.2 * feat: bump to 2.0.1 * refactor: repackaging into lib (#11) * 2.1.0 * fix: removing ts-node call to dist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the port of the classes in color-java.