Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
psirenny authored May 23, 2024
1 parent 721eaba commit d1e85e6
Show file tree
Hide file tree
Showing 25 changed files with 38 additions and 14 deletions.
7 changes: 7 additions & 0 deletions .changeset/slimy-turkeys-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@spear-ai/example-postgraphile-api": patch
"@spear-ai/grafserv-next-server": patch
"@spear-ai/graphile-sort-schema-plugin": patch
---

Fixed release.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,18 @@ jobs:
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Install Poetry
run: pipx install poetry
- name: Setup Node.js
uses: actions/[email protected]
with:
cache: yarn
node-version-file: .node-version
- name: Setup Python
uses: actions/[email protected]
with:
cache: poetry
python-version-file: .python-version
- name: Install Node.js dependencies
run: yarn install
- name: Build packages
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"publish-packages:custom": "yarn workspaces foreach -A run publish-package",
"publish-packages:github": "npm_config_registry=https://npm.pkg.github.com changeset publish --no-git-tag",
"publish-packages:npm": "changeset publish --no-git-tag",
"sqlfluff:check": "poetry run sqlfluff lint packages/example-postgraphile-server/src/**/*.sql",
"sqlfluff:fix": "poetry run sqlfluff fix packages/example-postgraphile-server/src/**/*.sql --force",
"sqlfluff:check": "poetry run sqlfluff lint packages/example-postgraphile-api/src/**/*.sql",
"sqlfluff:fix": "poetry run sqlfluff fix packages/example-postgraphile-api/src/**/*.sql --force",
"typescript:check": "tsc --noEmit"
},
"workspaces": [
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const graphileMigrateConfig = {
connectionString: "postgresql://postgres:postgres@localhost:5432/postgres",
connectionString: process.env.POSTGRES_URL,
migrationsFolder: "src/migrations",
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @spear-ai/example-postgraphile-server
# @spear-ai/example-postgraphile-api

An example [PostGraphile](https://postgraphile.org) server to test against custom plugins.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: forerunner-database
name: example-postgraphile-api
services:
postgresql:
container_name: postgraphile-postgresql
container_name: example-postgraphile-api-postgresql
environment:
PGHOST: /var/run/postgresql
POSTGRES_DB: postgres
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ const nextConfig = {
],
},
poweredByHeader: false,
redirects() {
return [
{
destination: "/api/graphiql",
permanent: false,
source: "/",
},
];
},
typescript: {
ignoreBuildErrors: true,
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@spear-ai/example-postgraphile-server",
"name": "@spear-ai/example-postgraphile-api",
"version": "1.0.0",
"description": "Example PostGraphile server",
"description": "Example PostGraphile API",
"author": {
"name": "Spear AI",
"email": "[email protected]",
Expand Down Expand Up @@ -44,7 +44,7 @@
"private": true,
"repository": {
"type": "git",
"directory": "packages/example-postgraphile-server",
"directory": "packages/example-postgraphile-api",
"url": "https://github.com/spear-ai/api.git"
},
"scripts": {
Expand All @@ -65,6 +65,7 @@
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"squawk:check": "squawk --assume-in-transaction src/migrations/current/*.sql",
"start": "next start",
"typescript:check": "tsc --noEmit"
}
}
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build": {
"dependsOn": ["^build"],
"dotEnv": [".env", ".env.local", ".env.production", ".env.production.local"],
"outputs": ["build/**", "dist/**"]
"outputs": ["build/**", "dist/**", ".next"]
},
"check": {
"dependsOn": [
Expand Down
4 changes: 2 additions & 2 deletions workspace.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"path": "packages/graphile-sort-schema-plugin",
},
{
"name": "spear-ai/example-postgraphile-server",
"path": "packages/example-postgraphile-server",
"name": "spear-ai/example-postgraphile-api",
"path": "packages/example-postgraphile-api",
},
],
"settings": {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1837,9 +1837,9 @@ __metadata:
languageName: node
linkType: hard

"@spear-ai/example-postgraphile-server@workspace:packages/example-postgraphile-server":
"@spear-ai/example-postgraphile-api@workspace:packages/example-postgraphile-api":
version: 0.0.0-use.local
resolution: "@spear-ai/example-postgraphile-server@workspace:packages/example-postgraphile-server"
resolution: "@spear-ai/example-postgraphile-api@workspace:packages/example-postgraphile-api"
dependencies:
"@dataplan/pg": "npm:0.0.1-beta.22"
"@dotenv-run/cli": "npm:1.3.5"
Expand Down

0 comments on commit d1e85e6

Please sign in to comment.