-
Notifications
You must be signed in to change notification settings - Fork 64
Propose mirgration of codebase from JS to TS #11
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
Conversation
Migration of codebase from JS to TS BREAKING CHANGE: Use of TS
.travis.yml
Outdated
| @@ -0,0 +1,19 @@ | |||
| language: node_js | |||
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.
Why travis? Other Iroha projects are using circle-ci2.
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.
Sorry, i didn't know you already use circle-ci2. I would try to change it to be like other one.
package.json
Outdated
| "bugs": { | ||
| "url": "https://github.com/soramitsu/iroha-javascript/issues" | ||
| }, | ||
| "homepage": "https://github.com/soramitsu/iroha-javascript#readme", |
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.
https://github.com/hyperledger/iroha-javascript#readme might be better
package.json
Outdated
| "author": "", | ||
| "license": "Apache-2.0", | ||
| "bugs": { | ||
| "url": "https://github.com/soramitsu/iroha-javascript/issues" |
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.
https://github.com/hyperledger/iroha-javascript/issues might be better
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.
οκ
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/soramitsu/iroha-javascript.git" |
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.
→ "url": "git+https://github.com/hyperledger/iroha-javascript.git"
|
Thank you for your contribution!! Overall, this looks okay. I guess there is just the question on whether we want to switch to typescript from JS. I think more people than me should comment on this, so let's see what people think. |
d5f4f22 to
0c664da
Compare
|
In this article you could find reasons why it's good idea to adopt Typescript https://medium.freecodecamp.com/when-should-i-use-typescript-311cb5fe801b#.xxvrfzoa6 |
|
I personally like Typescript. I think we can have a decision today. |
Hi,
Project Iroha is very interesting thus I want to contribute my coding skill in yours javascript library.
I migrate your project to Typescript I use the latest trends on library development with Typescript as they are proposed here