-
Notifications
You must be signed in to change notification settings - Fork 13
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
add documentation #14
Conversation
README.md
Outdated
|
||
__Browser compatibility__: This library uses ES6 features (namely, fetch). Ensure that your runtime environment supports ES6 features. | ||
conjure-typescript-client leverages [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) to provide a | ||
simple interface for making HTTP requests. Its intended usage is as a conveniences library to simplify code generated by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change the intended usage bit pls - don't really like the implication that the conjure-typescript generated code needs simplifying!!
README.md
Outdated
} | ||
}) | ||
|
||
bridge.callEndpoint({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a little comment to say conjure-typescript generates this code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want that. This is a standalone library, and we're describing how to use it as such.
@@ -6,7 +6,7 @@ | |||
"main": "lib/index.js", | |||
"typings": "lib/index.d.ts", | |||
"scripts": { | |||
"build": "npm-run-all clean lint compile", | |||
"build": "npm-run-all clean lint compile test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂
Before this PR
Very little documentation
After this PR
Fleshed out README and CONTRIBUTING documents