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

New binary tool (aka. fix makews.js) #18

Open
martinheidegger opened this issue Nov 4, 2015 · 0 comments
Open

New binary tool (aka. fix makews.js) #18

martinheidegger opened this issue Nov 4, 2015 · 0 comments

Comments

@martinheidegger
Copy link
Contributor

@khalifenizar kindly provided makews.js a long time ago that creates a stub of a workshopper.
It would be good to update this and create a proper workshopper-adventure binary.

npm i workshopper-adventure -g
workshopper-adventure new learnyoufancyframework

should

  1. check if learnyoufancyframework is taken in npm (and abort if it is)
  2. create a new folder learnyoufancyframework
  3. create a package.json that has a dependency workshopper-adventure with the namelearnyoufancyframework the version 1.0.0
  4. create a index.js file that references and specify it as main in the package.json
  5. create an executable bin/learnyoufancyframework file that references index and add it as bin to the package.json
  6. add a dev-dependency to workshopper-adventure-test and add the test to the scripts.test of the package.json
  7. add node_modules to .gitignore
  8. Add readme.md with stubs.
  9. run git init

(optionally)

  1. use the github api to create a learnyoufancyframework project under the current user.
  2. use the github api to add information (email, name, repository) to the package.json
  3. add git remote and push to origin

Discussion If this is added to workshopper-adventure then then this will make workshopper-adventure heavier. Maybe its better to put it into wa-gen or alike npm package.

@martinheidegger martinheidegger changed the title Fix makews.js New binary tool (aka. fix makews.js) Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant