Skip to content

Commit

Permalink
chore: version packages (#60)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 13, 2023
1 parent 3f358dd commit fe4b8bd
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 91 deletions.
53 changes: 0 additions & 53 deletions .changeset/sixty-days-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twenty-pillows-matter.md

This file was deleted.

54 changes: 54 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# @ponder/core

## 0.0.23

### Patch Changes

- [#57](https://github.com/0xOlias/ponder/pull/57) [`3f358dd`](https://github.com/0xOlias/ponder/commit/3f358dddbcb4c0f7dfe427a9db847bd2388be019) Thanks [@0xOlias](https://github.com/0xOlias)! - BREAKING! Updated ponder config to support typescript and to be called `ponder.ts` by default. `ponder.ts` must export a variable named `config` that is of the type `import { PonderConfig } from "@ponder/core"`. The `database` field in ponder config is now optional. By default, it uses `SQLite` with a filename of `./.ponder/cache.db`. If the environment variable `DATABASE_URL` is detected, it uses `Postgres` with that value as the `connectionString`.

New sample `ponder.ts` file:

```ts
// ponder.ts

import type { PonderConfig } from "@ponder/core";
import { graphqlPlugin } from "@ponder/graphql";

export const config: PonderConfig = {
networks: [
{
name: "mainnet",
chainId: 1,
rpcUrl: process.env.PONDER_RPC_URL_1,
},
],
sources: [
{
name: "ArtGobblers",
network: "mainnet",
abi: "./abis/ArtGobblers.json",
address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
startBlock: 15863321,
},
],
plugins: [graphqlPlugin()],
};
```

The exported value can also be a function, and it can return a Promise:

```ts
// ponder.ts
import type { PonderConfig } from "@ponder/core";
export const config: PonderConfig = async () => {
return {
networks: [
/* ... */
],
sources: [
/* ... */
],
};
};
```

## 0.0.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ponder/core",
"version": "0.0.22",
"version": "0.0.23",
"description": "API builder for blockchain apps",
"license": "MIT",
"author": "olias.eth",
Expand Down
6 changes: 6 additions & 0 deletions packages/create-ponder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# create-ponder

## 0.0.12

### Patch Changes

- [#57](https://github.com/0xOlias/ponder/pull/57) [`3f358dd`](https://github.com/0xOlias/ponder/commit/3f358dddbcb4c0f7dfe427a9db847bd2388be019) Thanks [@0xOlias](https://github.com/0xOlias)! - Generate ponder.ts according to new format from @ponder/core

## 0.0.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-ponder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-ponder",
"version": "0.0.11",
"version": "0.0.12",
"description": "Tool to bootstrap a Ponder project",
"license": "MIT",
"author": "olias.eth",
Expand Down
7 changes: 7 additions & 0 deletions packages/graphql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @ponder/graphql

## 0.0.16

### Patch Changes

- Updated dependencies [[`3f358dd`](https://github.com/0xOlias/ponder/commit/3f358dddbcb4c0f7dfe427a9db847bd2388be019)]:
- @ponder/core@0.0.23

## 0.0.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ponder/graphql",
"version": "0.0.15",
"version": "0.0.16",
"description": "API builder for blockchain apps",
"license": "MIT",
"author": "olias.eth",
Expand Down
30 changes: 0 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit fe4b8bd

@vercel
Copy link

@vercel vercel bot commented on fe4b8bd Jan 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.