Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

v1 #82

Closed
wants to merge 58 commits into from
Closed

v1 #82

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
bba4a8f
chore: repo's moved
enisdenjo Feb 18, 2023
c857eaa
WIP
enisdenjo Feb 18, 2023
b94defc
use yarn bundle it and clean up
enisdenjo Feb 18, 2023
20e77f1
more cleanup and add vitest yes sir
enisdenjo Feb 18, 2023
ba90bdb
build
enisdenjo Feb 18, 2023
f090ad2
nocheck (for now of course)
enisdenjo Feb 18, 2023
c69dfa9
WIP
enisdenjo Feb 18, 2023
6b5dd8a
begin with tests, refactor, drop .js extensions in imports, stuff
enisdenjo Feb 18, 2023
fa1ccc3
ignore tsconfig build info
enisdenjo Feb 18, 2023
9ae1b97
no empty file
enisdenjo Feb 18, 2023
20396b5
not a module
enisdenjo Feb 18, 2023
3b8dd6e
emitDecoratorMetadata for nestjs
enisdenjo Feb 18, 2023
14d56b3
unplugin-swc for testing nestjs
enisdenjo Feb 18, 2023
e587260
init's not really necessary
enisdenjo Feb 18, 2023
3794722
type check scripts too
enisdenjo Feb 18, 2023
be0730f
heavy cleanup, better types and refactor
enisdenjo Feb 18, 2023
19cdcfc
simplify subscriptions
enisdenjo Feb 18, 2023
b8f1b4f
all methods on fastify
enisdenjo Feb 18, 2023
437851c
fastify logger and explain
enisdenjo Feb 18, 2023
73df6ea
breaking changes in pr
enisdenjo Feb 18, 2023
e65520a
reset CI
enisdenjo Feb 18, 2023
c04c733
mention nodejs version
enisdenjo Feb 18, 2023
325226e
no-undef is for ts
enisdenjo Feb 18, 2023
972d9bf
eslint ignore
enisdenjo Feb 18, 2023
b42b414
set up node.js
enisdenjo Feb 18, 2023
727b30b
create generator
enisdenjo Feb 22, 2023
4b9e664
subscriptions test
enisdenjo Feb 22, 2023
8c42df2
abortcontroller from whatwg
enisdenjo Feb 22, 2023
59c962c
greetings for testing
enisdenjo Feb 23, 2023
f6115c4
app module for root
enisdenjo Feb 23, 2023
293fd43
use greetings
enisdenjo Feb 23, 2023
5082989
test graphql-ws
enisdenjo Feb 23, 2023
ab7c906
subscriptions transport ws
enisdenjo Feb 23, 2023
4d058b4
close client
enisdenjo Feb 23, 2023
ca1d36e
typescript love
enisdenjo Feb 23, 2023
0d96d95
audits
enisdenjo Feb 23, 2023
392b9c4
unnecessary
enisdenjo Feb 23, 2023
ecaf600
no need to provide dir to vitest
enisdenjo Feb 23, 2023
7bf3392
produce
enisdenjo Feb 23, 2023
9890054
refresh readme
enisdenjo Feb 23, 2023
8cfc78a
nobreakspace
enisdenjo Feb 23, 2023
8730a7f
h2
enisdenjo Feb 23, 2023
ae1dba4
dot
enisdenjo Feb 23, 2023
167ec5d
documentation
enisdenjo Feb 23, 2023
5cf2ddc
reprhrase
enisdenjo Feb 23, 2023
5c252c2
apollo federation
enisdenjo Feb 23, 2023
c1ab1aa
shorter
enisdenjo Feb 23, 2023
b85e628
workspaces, adjustments and tsconfig
enisdenjo Feb 23, 2023
84bb56e
check all ts and stuff
enisdenjo Feb 23, 2023
458d274
drop png
enisdenjo Feb 23, 2023
3368750
move federation examples to tests
enisdenjo Feb 23, 2023
00afca3
import nestjs graphql
enisdenjo Feb 23, 2023
e29da81
from src
enisdenjo Feb 23, 2023
41d82f3
no federation ref
enisdenjo Feb 23, 2023
ffdf18e
subgraph an lock
enisdenjo Feb 23, 2023
b4a3dab
WIP
enisdenjo Feb 23, 2023
0bc48db
gen fed 2
enisdenjo Feb 23, 2023
64079d3
test
enisdenjo Feb 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
node_modules/
dist/
yarn.lock
.bob/
.changeset/
node_modules
.changeset
lib

# auto-generated
examples/code-first/schema.gql
Expand Down
8 changes: 7 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
/**
* @type {import('eslint').Linter.Config}
*/
const config = {
extends: ['@theguild'],
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
Expand All @@ -8,5 +11,8 @@ module.exports = {
'no-empty': 'off',
'unicorn/prefer-node-protocol': 'off',
'import/extensions': 'off',
'import/no-default-export': 'off',
'no-undef': 'off', // this is typescripts responsibility
},
};
module.exports = config;
94 changes: 0 additions & 94 deletions .github/workflows/canary.yml

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: CI

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
branches:
- master

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install
run: yarn install --immutable
- name: Lint
run: yarn lint

type-check:
name: Type check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install
run: yarn install --immutable
- name: Type check
run: yarn type-check

test:
name: Test (Node.js v${{ matrix.node_version }})
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [14, 16, 18]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: yarn
- name: Install
run: yarn install --immutable
- name: Test
run: yarn test
59 changes: 0 additions & 59 deletions .github/workflows/main.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/release.yml

This file was deleted.

18 changes: 7 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
.DS_Store/
.idea/
node_modules/
coverage/
dist/
public/
*.map
out.txt
.now
.bob/
yarn-error.log
.DS_Store
node_modules
lib
.vscode
.yarn/*
!.yarn/releases
!.yarn/plugins
tsconfig.tsbuildinfo
1 change: 1 addition & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// TODO: type check
module.exports = require('@theguild/prettier-config');
Loading