Skip to content
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 34 commits into from
Sep 15, 2022
Merged

Initial port of color-java #1

merged 34 commits into from
Sep 15, 2022

Conversation

gillandk
Copy link
Contributor

This is the port of the classes in color-java.

@gillandk gillandk merged commit c24a098 into develop Sep 15, 2022
@gillandk gillandk deleted the color-js-setup branch September 15, 2022 16:46
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant