mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Update contributing.md
Fixed it to include link to CLI tools in contrib repo. In total changes include: (1) fixed links to templates, (2) references to CLI tools `npm run new`, (3) contextualized link to developer documentation on site, (4) and some description of the different application for each template.
This commit is contained in:
parent
0534763cb7
commit
81beca4c3a
@ -37,7 +37,11 @@ If you are developing a new plugin or extension there are two different reposito
|
||||
|
||||
The main `jspsych` repository is open to new plugins and extensions that are likely to be widely used. We require that contributions to main repository are well documented and tested before they are merged. Contributions to the main repository must use TypeScript. We limit contributions to this repository because once a plugin or extension is in the main codebase we are generally committed to providing updates as we develop new versions of jsPsych. Each new plugin and extension potentially increases the amount of development work that we will need to do in the future, so we are somewhat selective about what we will merge. If you have an idea that you'd like to discuss please [open a discussion thread](https://github.com/jspsych/jsPsych/discussions/new) and we'd love to chat about it!
|
||||
|
||||
The `jspsych-contrib` repository is open to any contributions that are complete and working code. There are some minimal guidelines in place about basic documentation that should be provided. Contributors can choose whether to develop their plugin or extension using our [TypeScript template](https://github.com/jspsych/jspsych-contrib/tree/main/packages/plugin-template-ts) or using our [JavaScript template](https://github.com/jspsych/jspsych-contrib/tree/main/packages/plugin-template). Contributions to `jspsych-contrib` are not evaluated for general usefulness in the same way that contributions to the main repository are. We also periodically consider whether to move contributions into the main repository from `jspsych-contrib` based on their popularity and completeness (documentation and testing).
|
||||
The `jspsych-contrib` repository is open to any contributions that are complete and working code. There are some minimal guidelines in place about basic documentation that should be provided. Contributors can choose whether to develop their plugin or extension using our [TypeScript template](https://github.com/jspsych/jspsych-contrib/blob/main/templates/plugin-template-ts/src/index.ts) or using our [JavaScript template](https://github.com/jspsych/jspsych-contrib/blob/main/templates/plugin-template-js/src/index.js).
|
||||
|
||||
Our [`README.md` in the `jspsych-contrib` repository](https://github.com/jspsych/jspsych-contrib) offers more detailed information for each approach, alongside the CLI tools needed to get started. For example, those relying on the Typescript template can use the `npm run build` command to compile their `index.ts` code into Javascript files. Those templating already in Javascript can meanwhile run their trial code directly using the `trial()` method, as detailed in our [plugin developer documentation](github.com/jspsych/jspsych-contrib).
|
||||
|
||||
Contributions to `jspsych-contrib` are not evaluated for general usefulness in the same way that contributions to the main repository are. We also periodically consider whether to move contributions into the main repository from `jspsych-contrib` based on their popularity and completeness (documentation and testing).
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user