Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Readme File Updates #171

Closed
wants to merge 6 commits into from

Conversation

gaboesquivel
Copy link

@gaboesquivel gaboesquivel commented May 10, 2018

  • add a table of contents to readme file using doctoc.
  • update and rearrange readme file contents for a better organization.

@tyleryasaka
Copy link
Contributor

This looks good to me, although I feel like someone else should look at the documentation changes before approving. Can you take a look @micahalcorn ?

@tyleryasaka tyleryasaka requested a review from micahalcorn May 10, 2018 20:28
.node-version Outdated
@@ -0,0 +1 @@
v9.11.1
Copy link
Contributor

@nick nick May 10, 2018

Choose a reason for hiding this comment

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

Is this something that can go in package.json instead? I think we should avoid too many dotfiles unless absolutely necessary

Copy link
Member

Choose a reason for hiding this comment

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

And is 9.11.1 the appropriate number? I think I'm still running 8.5.0 just fine.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, and right now we're not even instructing users to use nvm. I'll mention that there is an engines section in package.json, but this is not enforced unless the user has set their own engine-strict flag, which is false by default.

Copy link
Member

Choose a reason for hiding this comment

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

@tyleryasaka I actually use n when I'm not using rvm. 😂

Copy link
Author

Choose a reason for hiding this comment

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

Hey @nick, there's only one project that does automatic node version switching based on engines from package.json Kikobeats/nodengine , but it doesn't really work well. avn can be used with both nvm and n. AVN works with .node-version wbyoung/avn

Copy link
Author

@gaboesquivel gaboesquivel May 12, 2018

Choose a reason for hiding this comment

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

sure, I will remove it. I do find it very useful though. If you are working on different projects and contributing to different open source packages, automatic node version switching is great, that way you just cd the project dir and boom! you get the right version, no need to read each project's readme file and manually change it.

Copy link
Author

Choose a reason for hiding this comment

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

removed @nick

Copy link
Author

Choose a reason for hiding this comment

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

Just FYI, they are still working reading from engines.node of the package.json nvm-sh/nvm#1535. N efforts to support this feature are staled tj/n#192. That's why the .node-version files is still required. weird right, not sure why it's taking so long. ¯_(ツ)_/¯

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks. You can always use .node-version in your own environment by adding to .git/info/exclude

Copy link
Author

Choose a reason for hiding this comment

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

yeah. just found another package that's handy too.
https://www.npmjs.com/package/check-engine

➜  origin-js git:(develop) check-engine
Checking versions...

✘ node version is incorrect! Expected 9.11.1 but was v8.9.3.

 Environment is invalid!

@micahalcorn
Copy link
Member

I like the TOC but I think @wanderingstan needs to be the one to review the copy edits.

@micahalcorn micahalcorn requested a review from wanderingstan May 10, 2018 20:32
wanderingstan and others added 2 commits May 10, 2018 18:47
quick fix of some things that immediately caught my eye
@wanderingstan wanderingstan self-assigned this May 11, 2018
@wanderingstan
Copy link
Contributor

@gaboesquivel thanks for this. There's an ongoing effort to improve the readmes and this is a big step forward.

Give me a little while to ensure that all the things promised here are actually true. (E.g. the raw js <script src="origin.js"> use is currently broken on npm, though fixed on develop.)

@gaboesquivel gaboesquivel changed the title Readme File Updates / Support AVN/NVM Readme File Updates May 12, 2018
@gaboesquivel
Copy link
Author

This is not longer mergeable due to conflicts with 6537a97

I can incorporate those changes to this PR if necessary.
It seems we want to:

  • simplify the contributing section by removing invitation to the call and pointers to the dev notes
  • simplify the local development section by refering to DApp readme and docs site instead.
  • update wording of the introduction section and other couple lines

@tyleryasaka
Copy link
Contributor

Closing as this is appears stale. Fee free to reopen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants