Compare commits
No commits in common. "c89436bfb3ad36dc6a56efd5de55275f127bfd1a" and "c2153699739d1bc2f5a83afd3b11fab3c51e3718" have entirely different histories.
c89436bfb3
...
c215369973
24
.github/workflows/ci.yaml
vendored
24
.github/workflows/ci.yaml
vendored
@ -1,24 +0,0 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{github.workflow}}-${{github.head_ref}}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build_test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 'lts/*'
|
||||
cache: 'npm'
|
||||
|
||||
- run: npm ci
|
||||
|
||||
- run: npm test
|
@ -3,6 +3,7 @@ import {
|
||||
cors,
|
||||
EnvironmentVariable,
|
||||
introspect,
|
||||
templates,
|
||||
} from "@wundergraph/sdk";
|
||||
import server from "./wundergraph.server";
|
||||
import operations from "./wundergraph.operations";
|
||||
@ -17,6 +18,13 @@ configureWunderGraphApplication({
|
||||
apis: [spacex],
|
||||
server,
|
||||
operations,
|
||||
codeGenerators: [
|
||||
{
|
||||
templates: [
|
||||
...templates.typescript.all,
|
||||
],
|
||||
},
|
||||
],
|
||||
cors: {
|
||||
...cors.allowAll,
|
||||
allowedOrigins:
|
||||
@ -29,5 +37,8 @@ configureWunderGraphApplication({
|
||||
"http://localhost:3000",
|
||||
new EnvironmentVariable("WG_ALLOWED_ORIGIN"),
|
||||
],
|
||||
}
|
||||
},
|
||||
dotGraphQLConfig: {
|
||||
hasDotWunderGraphDirectory: false,
|
||||
},
|
||||
});
|
||||
|
@ -1,7 +1,5 @@
|
||||
# WunderGraph Cloud Starter
|
||||
|
||||
[![CI](https://github.com/wundergraph/cloud-starter/actions/workflows/ci.yaml/badge.svg)](https://github.com/wundergraph/cloud-starter/actions/workflows/ci.yaml)
|
||||
|
||||
A simple starter that consumes the [GraphQL SpaceX API](https://spacex-api.fly.dev/graphql/)
|
||||
|
||||
### Getting started locally
|
||||
|
16553
package-lock.json
generated
16553
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,15 +3,15 @@
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"start": "wunderctl up",
|
||||
"build": "wunderctl generate",
|
||||
"start": "wunderctl up --debug",
|
||||
"build": "wunderctl generate --debug",
|
||||
"check": "tsc --noEmit",
|
||||
"test": "npm run build && jest"
|
||||
"test": "jest"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@wundergraph/sdk": "^0.163.3"
|
||||
"@wundergraph/sdk": "0.139.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^29.4.3",
|
||||
|
8123
pnpm-lock.yaml
8123
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user