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

Node package and schema tests #15

Merged
merged 7 commits into from
Feb 11, 2019
Merged

Conversation

NellWaliczek
Copy link
Member

This PR replaces #4 and scopes the content down for ease of CR. It now only does two things: turns the repo into a node package and adds tests to validate the schema. It does not contain tests to validate the mapping files yet. That will come in a subsequent PR.
Ignore the changes to README.md; my next step is to fix up that file as part of PR #2 and I'll rebase on top once that's done.

@NellWaliczek
Copy link
Member Author

Fixes #7

@NellWaliczek
Copy link
Member Author

Fixes #9

@NellWaliczek NellWaliczek force-pushed the node-package-and-schema-tests branch 3 times, most recently from 1bd77c1 to 23736fb Compare February 11, 2019 06:32
@NellWaliczek NellWaliczek changed the base branch from schema-definition to master February 11, 2019 23:37
Copy link
Member

@toji toji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with two questions.

package.json Outdated
@@ -0,0 +1,20 @@
{
"name": "gamepad-mappings",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color me surprised that this doesn't already exist, but even still I think something along the lines of "xr-gamepad-mappings" might be more appropriate?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense.... does that mean the repo name should be xr-gamepad-mappings?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what npm etiquette is regarding that kind of thing, but probably?

package.json Outdated
@@ -0,0 +1,20 @@
{
"name": "gamepad-mappings",
"version": "1.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this at a functional-enough state to be considered version 1.0.0? Don't really care what the version is, honestly, but people tend to think that "1.0" is a statement of stability/release-worthiness.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah typo. I'll fix it. I meant to say 0.1.0

@NellWaliczek NellWaliczek merged commit 17b244a into master Feb 11, 2019
@NellWaliczek NellWaliczek deleted the node-package-and-schema-tests branch February 26, 2019 21:39
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.

None yet

2 participants