-
Notifications
You must be signed in to change notification settings - Fork 43
Create a new Repository on GitHub
NOTE This is an internal document for setting up a new repository as part of the Dojo organisation.
In most cases you should be copying the HEAD of master of dojo/dojo2-package-template. This contains the scaffold of what should go in the repo. Be kind, and if you find an issue with the template, raise an issue or a PR so others can learn from your sage wisdom.
Once you have it cloned, it is best to reset the repo so none of the commit history of the template comes over to the new repo:
$ cp -r dojo2-package-template my-awesome-package
$ cd my-awesome-package
$ rm -rf .git
$ git init .
$ git add .You should ensure that the new package name is reflected in the following files:
/package.json/README.md/tests/intern.ts
Once you have edited the package.json you should be able to do an npm install which should add the appropriate package tooling. Then grunt, grunt test and grunt dist should work.