Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip - Pothos EdgeDB Plugin #539

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/plugin-edgedb/.gitignore
@@ -0,0 +1,4 @@
edgedb.toml
dbschema/edgeql-js/*
TODO.md
api-design.md
7 changes: 7 additions & 0 deletions packages/plugin-edgedb/.npmignore
@@ -0,0 +1,7 @@
dbschema
edgedb.toml
test
tests
.turbo
babel.config.js
tsconfig.tsbuildinfo
340 changes: 340 additions & 0 deletions packages/plugin-edgedb/CHANGELOG.md
@@ -0,0 +1,340 @@
# Change Log
Copy link
Owner

Choose a reason for hiding this comment

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

probably don't need this


## 3.4.0

### Minor Changes

- 3a7ff291: Refactor internal imports to remove import cycles

### Patch Changes

- 3a7ff291: Update dev dependencies

## 3.3.0

### Minor Changes

- ecb2714c: Add types entry to export map in package.json and update dev dependencies

This should fix compatibility with typescripts new `"moduleResolution": "node12"`

## 3.2.0

### Minor Changes

- 241a385f: Add peer dependency on @pothos/core

## 3.1.0

### Minor Changes

- 6279235f: Update build process to use swc and move type definitions to dts directory

### Patch Changes

- 21a2454e: update dev dependencies

## 3.0.2

### Patch Changes

- 03aecf76: update .npmignore

## 3.0.1

### Patch Changes

- 2d9b21cd: Use workspace:\* for dev dependencies on pothos packages

## 3.0.0

### Major Changes

- 4caad5e4: Rename GiraphQL to Pothos

## 2.11.0

### Minor Changes

- 9307635a: Migrate build process to use turborepo

## 2.10.1

### Patch Changes

- c6aa732: graphql@15 type compatibility fix

## 2.10.0

### Minor Changes

- 48e9fd8: Add missing exports field to package.json

## 2.9.1

### Patch Changes

- c85dc33: Add types entry in package.json

## 2.9.0

### Minor Changes

- aeef5e5: Update dependencies

## 2.8.0

### Minor Changes

- 9107f29: Update dependencies (includes graphql 16)

## 2.7.0

### Minor Changes

- 17db3bd: Make type refs extendable by plugins

## 2.6.2

### Patch Changes

- c976bfe: Update dependencies

## 2.6.1

### Patch Changes

- 4150f92: Fixed esm transformer for path-imports from dependencies

## 2.6.0

### Minor Changes

- dc87e68: update esm build process so extensions are added during build rather than in source

## 2.5.1

### Patch Changes

- b4b8381: Updrade deps (typescript 4.4)

## 2.5.0

### Minor Changes

- a4c87cf: Use ".js" extensions everywhere and add module and exports to package.json to better
support ems in node

## 2.4.2

### Patch Changes

- f13208c: bump to fix latest tag

## 2.4.1

### Patch Changes

- 9ab8fbc: re-release previous version due to build-process issue

## 2.4.0

### Minor Changes

- 3dd3ff14: Updated dev dependencies, switched to pnpm, and added changesets for releases

All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### 2.3.1 - 2021-08-03

**Note:** Version bump only for package @giraphql/plugin-example

### 2.3.1-alpha.0 - 2021-08-02

**Note:** Version bump only for package @giraphql/plugin-example

## 2.3.0 - 2021-07-30

#### 🚀 Updates

- add prisma plugin ([d427c82](https://github.com/hayes/giraphql/commit/d427c82))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.2.4 - 2021-07-23

**Note:** Version bump only for package @giraphql/plugin-example

### 2.2.4-alpha.0 - 2021-07-17

**Note:** Version bump only for package @giraphql/plugin-example

### 2.2.3 - 2021-07-10

**Note:** Version bump only for package @giraphql/plugin-example

### 2.2.2 - 2021-07-04

**Note:** Version bump only for package @giraphql/plugin-example

### 2.2.2-alpha.0 - 2021-07-04

#### 📦 Dependencies

- upgrade typescript ([675f6a2](https://github.com/hayes/giraphql/commit/675f6a2))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.2.1 - 2021-07-02

**Note:** Version bump only for package @giraphql/plugin-example

### 2.2.0 - 2021-06-28

**Note:** Version bump only for package @giraphql/plugin-example

### 2.2.0-alpha.1 - 2021-06-28

**Note:** Version bump only for package @giraphql/plugin-example

## 2.2.0-alpha.0 - 2021-06-28

#### 🚀 Updates

- add errors plugin ([88509b4](https://github.com/hayes/giraphql/commit/88509b4))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.1.7 - 2021-06-11

#### 📦 Dependencies

- update dev deps ([813d9d0](https://github.com/hayes/giraphql/commit/813d9d0))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.1.6 - 2021-06-10

**Note:** Version bump only for package @giraphql/plugin-example

### 2.1.6-alpha.0 - 2021-06-09

**Note:** Version bump only for package @giraphql/plugin-example

### 2.1.5 - 2021-05-18

**Note:** Version bump only for package @giraphql/plugin-example

### 2.1.4 - 2021-05-13

#### 📘 Docs

- add docs for loadableNode ([1ae01e8](https://github.com/hayes/giraphql/commit/1ae01e8))

#### 🛠 Internals

- add tests for loadableNode ([c1b49a0](https://github.com/hayes/giraphql/commit/c1b49a0))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.1.3 - 2021-05-12

#### 🛠 Internals

- udate dev deps ([3251227](https://github.com/hayes/giraphql/commit/3251227))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.1.2 - 2021-05-10

#### 🐞 Fixes

- update ci build command ([7e1d1d2](https://github.com/hayes/giraphql/commit/7e1d1d2))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.1.1 - 2021-05-10

#### 🐞 Fixes

- force new version to fix esm build issue
([25f1fd2](https://github.com/hayes/giraphql/commit/25f1fd2))

**Note:** Version bump only for package @giraphql/plugin-example

## 2.1.0 - 2021-05-10

#### 🚀 Updates

- add esm build for all packages ([d8bbdc9](https://github.com/hayes/giraphql/commit/d8bbdc9))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.8 - 2021-05-09

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.8-alpha.0 - 2021-05-08

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.7 - 2021-05-05

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.6 - 2021-05-05

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.6-alpha.0 - 2021-05-05

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.5 - 2021-05-02

#### 🛠 Internals

- force version bumps and update validation to 2.0 range
([07730b3](https://github.com/hayes/giraphql/commit/07730b3))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.4 - 2021-05-02

#### 🛠 Internals

- migrate to @beemo/dev for dev tool configs
([1da1283](https://github.com/hayes/giraphql/commit/1da1283))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.3 - 2021-04-16

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.3-alpha.0 - 2021-04-12

#### 📦 Dependencies

- update dev dependencies ([25a15d4](https://github.com/hayes/giraphql/commit/25a15d4))
- update dev deps ([cbfa0a4](https://github.com/hayes/giraphql/commit/cbfa0a4))

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.2 - 2021-03-16

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.1 - 2021-02-19

**Note:** Version bump only for package @giraphql/plugin-example

### 2.0.0 - 2021-02-16

#### 📘 Docs

- add more docs o writing plugins ([b996fc6](https://github.com/hayes/giraphql/commit/b996fc6))
- wip - plugin guide ([cf9c6ec](https://github.com/hayes/giraphql/commit/cf9c6ec))

**Note:** Version bump only for package @giraphql/plugin-example
6 changes: 6 additions & 0 deletions packages/plugin-edgedb/LICENSE
@@ -0,0 +1,6 @@
ISC License (ISC)
Copyright 2021 Michael Hayes

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.