![]() ![]() Configuring babel babel (a JS compiler).Configuring flow flow (for type checking).Configuring eslint eslint (for checking code conventions).This will install the necessary npm dependencies and initialize your plugin working directory, including: Run the following 3 commands from the root of your local GitHub repository for NotePlan/plugins. ![]() Step 3: Initialize Local Development Environment Make sure you have a recent version of node and npm installed (if you need to install node, brew install is the quickest method, you can follow instructions on node website). There is a searchable index of the helper code that can be accessed by running this command in a terminal: It would be good to familiarize yourself with that code by browsing it. Speaking of which, there is a /helpers directory at the root of the repository that contains a lot of useful functions built upon the NotePlan APIs and will speed up your development. This will give you a wealth of material to learn from and borrow from. When you have cloned this repository, you will not only have the tooling, but you will have the actual source code for every publicly-available NotePlan plugin. You might want to consult this good modern JavaScript tutorial. ![]() If you are a developer and want to contribute and build your plugins, see the plugin writing documentation and discuss this with other developers on Discord #plugin-dev channel. If you have an idea for a plugin, submit them here or inquire in the NotePlan Discord community's #plugin channel. NotePlan Plugin API has been tested using Node.js range, any version outside of this range may lead to unexpected issues Plugin Information
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |