Skip to content

Commit

Permalink
fix: some things
Browse files Browse the repository at this point in the history
- move jest to be a package level dep like eslint
- make example excluded from monorepo setup
- clean up some files
  • Loading branch information
rvcas committed May 5, 2024
1 parent ab69d68 commit b1f5e37
Show file tree
Hide file tree
Showing 11 changed files with 4,747 additions and 3,062 deletions.
14 changes: 14 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Examples

This is where we keep examples as independent npm projects not managed along with the rest of the monorepo but instead individually. These are not to be published but perhaps they can serve as templates for a blaze-create command.

## Adding an example

Basically just create any javascript project within a directory in this folder.
When adding/installing dependencies please use `pnpm` like so:

```bash
pnpm --ignore-workspace install @blaze-cardano/sdk
```

> Note: `--ignore-workspace` is important to avoid the monorepo setup.
File renamed without changes.
13 changes: 13 additions & 0 deletions examples/send-lovelace/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "send-lovelace",
"version": "0.1.0",
"description": "Send lovelace from one address to another",
"main": "index.js",
"type": "module",
"scripts": {
"send": "node index.js"
},
"dependencies": {
"@blaze-cardano/sdk": "^0.0.1"
}
}
Loading

0 comments on commit b1f5e37

Please sign in to comment.