Skip to content

Commit

Permalink
Add local testing and linking guide
Browse files Browse the repository at this point in the history
  • Loading branch information
fritx committed Jan 15, 2024
1 parent e8a1f9b commit bb827b0
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,27 @@ Please try to use the original style in the codebase. Do not introduce new rules
Nue is not using Prettier or ESLint because they will increase the project size to 40MB. The `.prettierrc.csj` file on the root directory does the job well enough.





### Testing

```sh
# if using bun
bun install
bun test
# if using node
npm install
npm install --global jest
node --experimental-vm-modules $(which jest)
```


### Linking

```sh
# node only
npm install
cd packages/nuekit
npm link
cd create-nue/simple-crm
node $(which nue)
node $(which nue) build --production
```

0 comments on commit bb827b0

Please sign in to comment.