Closed greatwitenorth closed 1 year ago
Hey @greatwitenorth
not sure if you have tried but from my experience a lot of the newer features are usually on different branches and not the master/main
branch.
For the SMUI part, that worked doing that.
@ReeceM Thanks for the reply. I did try the aa/gatsby branch, but still saw the same error messages. I'm not sure if it's something to do with my local setup. Seems like Jest isn't able to process the typescript files maybe? I don't have a ton of experience with javascript package development. So I was just hoping there would be a step-by-step to get you started with building the project (without errors).
hi @greatwitenorth it looks like you're trying to build the core?
setup and install everything with (we version our upstream branches)
git clone https://github.com/prismicio/slice-machine -b v0.2.0
cd slice-machine
npm install
From there it really depends on what you want to do, if you want to build the project but usually the core will need to be built first. so cd packages/core && npm run build
Is your feature request related to a problem? Please describe.
I would like to start contributing to the project (specifically the Gatsby work). I've cloned the repository and done
yarn
andyarn run build
but I'm met with a lot of errors and failed tests (on master branch), the first being:Not too sure where to go from here.
Describe the solution you'd like
It'd be great to have some documentation about how to get up and running for development. Instructions on how to develop locally and use the locally built slice machine in your projects would be great.