Code Monkey home page Code Monkey logo

Comments (13)

vladikoff avatar vladikoff commented on August 29, 2024

Updated the title of this, if anyone wants to work on this comment on this issue. Marked as "needs PR".

from grunt-init.

jrrickard avatar jrrickard commented on August 29, 2024

I have some time to work on this.

from grunt-init.

vladikoff avatar vladikoff commented on August 29, 2024

@jrrickard Awesome! Let us know if you need any details or help for the pull request :)

from grunt-init.

jrrickard avatar jrrickard commented on August 29, 2024

I think I've got it, I'll summarize and you can tell me if I am wrong :)

The officially supported init templates should all get contribution guidelines added so users end up with a contributing.md file. Looks like the jquery template has it?

https://github.com/gruntjs/grunt-init-jquery/blob/master/root/CONTRIBUTING.md

I forked all the repos and added a file to root/updated the README template for everything else (jquery already had it). I'll make a PR if that's right.

from grunt-init.

vladikoff avatar vladikoff commented on August 29, 2024

@jrrickard seems right. // @tkellen any feedback regarding this?

from grunt-init.

shama avatar shama commented on August 29, 2024

Some of the guidelines would need to be a little different. Such as only grunt-init-jquery uses phantomjs. grunt-init-node and grunt-init-commonjs generate a lib/ folder (instead of a src and dist). grunt-init-gruntplugin generates a tasks/ folder.

This line:

Open test/*.html unit test file(s) in actual browser to ensure tests pass everywhere.

Would only apply to grunt-init-jquery as well.

Thanks!

from grunt-init.

jrrickard avatar jrrickard commented on August 29, 2024

@shama Yeah, I reworded them a little bit so they were slightly more generic, since they are all pretty similar (except the lib vs tasks directory generation). the run grunt-init node line is actually different for each of the templates. Let me know if this is good and I'll make the PR.

Contributing

Contribution Guide

See the wiki for the complete contribution guide.

Code style

Regarding code style like indentation and whitespace, follow the conventions you see used in the source already.

Modifying the code

First, ensure that you have the latest Node.js and npm installed.

Test that Grunt's CLI is installed by running grunt --version. If the command isn't found, run npm install -g grunt-cli. For more information about installing Grunt, see the getting started guide.

Submitting pull requests

  1. Create a new branch, please don't work in your master branch directly.
  2. Clone the repo into ~./grunt-init
  3. Fix stuff.
  4. Run grunt-init node on a new directory
  5. Run npm install to install all dependencies
  6. Run grunt to grunt the new template code
  7. Repeat until no errors.
  8. Update the documentation to reflect any changes.
  9. Push to your fork and submit a pull request.

from grunt-init.

shama avatar shama commented on August 29, 2024

Nice Jeremy, looks good. Except I don't know if steps 2, 4 and the wording in 6 will apply to the contributing guide here. As they are intended as a starting point for new projects as opposed to contributing guidelines for the grunt-init projects.

from grunt-init.

vladikoff avatar vladikoff commented on August 29, 2024

@jrrickard could that be updated and sent as a pull request?

from grunt-init.

jrrickard avatar jrrickard commented on August 29, 2024

@vladikoff yep, sorry for the delay. I got pretty sick before Christmas. Working on the PR now.

from grunt-init.

vladikoff avatar vladikoff commented on August 29, 2024

@jrrickard ah no worries, Hope all is well now! 🎉

from grunt-init.

auscaster avatar auscaster commented on August 29, 2024

@jrrickard are you still working on this?

from grunt-init.

imjacobclark avatar imjacobclark commented on August 29, 2024

Implemented this change in PR #89, feedback? 😄

from grunt-init.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.