0.1.0 • Published 4 years ago

gridsome-plugin-jammery v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

gridsome-plugin-jammery

Jammery Helper plugin for Gridsome

This plugin intends to provide a 'normalization' service, ensuring that different sources can be used with a single starter by transforming nodes into a common schema structure.

Usage (development)

To use this package while it is in development, follow the steps below:

git clone git@github.com:jammeryhq/gridsome-plugin-jammery.git
cd gridsome-plugin-jammery
yarn install
yarn build
yarn link

yarn link will make the local version of the package available for use in other projects. Navigate to the project where you want to use this package, and run the following command:

cd some-project
yarn link gridsome-plugin-jammery

Now the local dev version of the package is symlinked to the current project. To remove it, and use a version from NPM, do the following:

yarn unlink gridsome-plugin-jammery
yarn install --force

And things will be back to normal.

Development

This package is written using ES6, and is compiled using rollup.js. To that end, use the below commands while developing this package:

yarn # install dependencies
yarn link # optional - link this package to be made available to other projects
yarn develop # run rollup in watch mode - any changes you make to source files will make rollup re-compile
yarn build # build a production ready file, ready for publishing