Skip to content

Commit

Permalink
Remove esm example
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalLytek committed Jul 19, 2023
1 parent 8daf5d3 commit 84dea54
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 235 deletions.
2 changes: 0 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"./tsconfig.json",
"./benchmarks/tsconfig.json",
"./examples/tsconfig.json",
"./examples/esm/tsconfig.json",
"./scripts/tsconfig.json",
"./tests/tsconfig.json"
]
Expand All @@ -27,7 +26,6 @@
"./tsconfig.json",
"./benchmarks/tsconfig.json",
"./examples/tsconfig.json",
"./examples/esm/tsconfig.json",
"./scripts/tsconfig.json",
"./tests/tsconfig.json"
]
Expand Down
1 change: 0 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"automatic-validation",
"custom-validation",
"enums-and-unions",
// "esm", -- does not work with `ts-node/register`
"extensions",
"generic-types",
"graphql-scalars",
Expand Down
1 change: 0 additions & 1 deletion docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Each subdirectory contains a `examples.graphql` file with predefined GraphQL que
## Basics

- [Simple usage of fields, basic types and resolvers](https://github.com/MichalLytek/type-graphql/tree/master/examples/simple-usage)
- [ECMAScript modules (ESM)](https://github.com/MichalLytek/type-graphql/tree/master/examples/esm)

## Advanced

Expand Down
1 change: 0 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Each subdirectory contains a `examples.graphql` file with predefined GraphQL que
## Basics

- [Simple usage of fields, basic types and resolvers](./simple-usage)
- [ECMAScript modules (ESM)](./esm)

## Advanced

Expand Down
11 changes: 0 additions & 11 deletions examples/esm/.eslintrc

This file was deleted.

25 changes: 0 additions & 25 deletions examples/esm/examples.graphql

This file was deleted.

22 changes: 0 additions & 22 deletions examples/esm/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions examples/esm/package.json

This file was deleted.

28 changes: 0 additions & 28 deletions examples/esm/recipe.data.ts

This file was deleted.

11 changes: 0 additions & 11 deletions examples/esm/recipe.input.ts

This file was deleted.

41 changes: 0 additions & 41 deletions examples/esm/recipe.resolver.ts

This file was deleted.

35 changes: 0 additions & 35 deletions examples/esm/recipe.type.ts

This file was deleted.

44 changes: 0 additions & 44 deletions examples/esm/schema.graphql

This file was deleted.

4 changes: 0 additions & 4 deletions examples/esm/tsconfig.json

This file was deleted.

3 changes: 1 addition & 2 deletions examples/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"extends": "../tsconfig.cjs.json",
"include": ["../src", "./"],
"exclude": ["./esm"]
"include": ["../src", "./"]
}

0 comments on commit 84dea54

Please sign in to comment.