Creates templates for Enpage.
⚠️ Important: the following steps work fornpm
but not forpnpm
- Clone this repository and run :
-
pnpm install
andpnpm build
at the root. -
pnpm pack:test
in thepackages/create-enpage
directory. - Create another directory named
test-create-enpage
outside the monorepo, like one level up. You should have the following structure:
- enpage (monorepo)
- packages
- create-enpage
- [...]
- [...]
- test-create-enpage
- Go to the newly created directory and test the package:
cd test-create-enpage
npx ../enpage/packages/create-enpage/create-enpage-test.tgz my-template