-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: use tsc for build, remove scripts * chore(create-ponder): use paths * chore(graphql): use paths * chore: rename and update eslintrc * chore: add changesets, update root scripts * chore: test changeset * chore: fix lint step * chore: add api key to test action * chore: add release action * chore: fix matrix config
- Loading branch information
Showing
21 changed files
with
872 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": ["@changesets/changelog-github", { "repo": "0xOlias/ponder" }], | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ponder/graphql": patch | ||
--- | ||
|
||
Fixed port resolution to honor PORT env var |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,13 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: [16] | ||
pnpm-version: [7] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- name: Set up Node ${{ matrix.node-version }} | ||
version: ${{ matrix.pnpm-version }} | ||
- name: Set up node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: "pnpm" | ||
|
@@ -44,7 +45,7 @@ jobs: | |
packages/**/node_modules | ||
packages/**/dist | ||
key: modules-${{ hashFiles('pnpm-lock.yaml') }} | ||
- name: Install Dependencies | ||
- name: Install dependencies | ||
if: steps.cache-node-modules.outputs.cache-hit != 'true' | ||
run: pnpm i | ||
|
||
|
@@ -55,12 +56,13 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: [16] | ||
pnpm-version: [7] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- name: Set up Node ${{ matrix.node-version }} | ||
version: ${{ matrix.pnpm-version }} | ||
- name: Set up node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: "pnpm" | ||
|
@@ -75,10 +77,8 @@ jobs: | |
packages/**/node_modules | ||
packages/**/dist | ||
key: modules-${{ hashFiles('pnpm-lock.yaml') }} | ||
- name: Build core | ||
run: pnpm --filter "@ponder/core" prerelease | ||
- name: Build dependents | ||
run: pnpm --filter \!"@ponder/core" prerelease | ||
- name: Build | ||
run: pnpm build | ||
- name: Typecheck | ||
run: pnpm typecheck | ||
- name: Lint | ||
|
@@ -91,12 +91,13 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: [16] | ||
pnpm-version: [7] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- name: Set up Node ${{ matrix.node-version }} | ||
version: ${{ matrix.pnpm-version }} | ||
- name: Set up node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: "pnpm" | ||
|
@@ -115,3 +116,5 @@ jobs: | |
run: pnpm build | ||
- name: Test | ||
run: pnpm test | ||
env: | ||
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16] | ||
pnpm-version: [7] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | ||
fetch-depth: 0 | ||
submodules: true | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: ${{ matrix.pnpm-version }} | ||
- name: Set up node ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: "pnpm" | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install dependencies | ||
run: pnpm i | ||
- name: Create release pull request or publish to npm | ||
id: changesets | ||
uses: changesets/[email protected] | ||
with: | ||
title: "chore: version packages" | ||
commit: "chore: version packages" | ||
version: pnpm changeset:version | ||
publish: pnpm changeset:release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
|
||
.vercel | ||
.DS_Store | ||
.eslintcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
79b9582
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ponder-docs – ./
ponder-docs-git-main-0xolias.vercel.app
ponder-docs.vercel.app
ponder.sh
ponder-docs-0xolias.vercel.app
www.ponder.sh