Skip to content

shalu-tulsyan/pixel-dust

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel-Dust

Netlify Status

Contribution

If you are interested in contributing to this repository, follow the steps to set things up locally.
We are making use of a monorepo setup in order to maintain the base library, the bindings and the website.

1. Yarn

Contrary to our policy of not using anything that has a default alternative, yarn was mandatory shift from npm. This is because of the fact that yarn has better support from workspaces and npm is yet to catch up with all the features.

If npm does catch up to yarn as far as workspaces are concerned, we will happily get rid of yarn

To install yarn:

npm install -g yarn

2. Lerna

We are using lerna for the following:

  • Single point command execution for multiple package. (clean, dev, build)
  • Publishing
  • CI/CD
  • Initial bootstrapping is done using lerna commands but it is not mandatory and you can get away with yarn install.

If you don't have lerna installed globally, then you can keep using npx to execute it from the registry or from your local installation (which ever it finds first).

Go ahead and execute the following from the project root:

yarn install

Note: The project is configured to make use of yarn workspaces, so you can install node modules without worrying too much about hoisting. Also, installing modules in the respective packages is the right way to go as it keeps dependencies explicit.

Starting development

Once all the needed packages are installed, all you have to do is run the following from the project root:

yarn dev

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 95.2%
  • HTML 2.4%
  • CSS 1.6%
  • JavaScript 0.8%