First off, thank you for considering contributing to wpackio
. It's people like you that make wpackio
such a great tool.
Prerequisites:
- Familiarity with pull requests and issues.
- Knowledge of JavaScript, Typescript, webpack and WordPress API.
- Concepts of monorepo and lerna.
- A strong passion π₯.
Now let's dive in.
We use plopjs to automate boilerplate package generation.
Use it to create a new package.
yarn plop
Now go through the questions and a new package will be created for you.
yarn test
Run all tests through jest.
We use typescript to write code in this repository. It helps avoid many runtime bugs and a better type system goes a long way to maintain a project.
So please edit files under src
of every package. For editor, I would suggest
using πCode.
We don't use tsc
to compile, we use babel 7
.
`yarn lerna publish
This will bump version and publish. Make sure you have access to @wpackio
npm org
or ask a maintainer.