@tsed/typegraphql 6.102.7 → 6.102.8-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
2
  import { Configuration, Inject, InjectorService, Module } from "@tsed/di";
3
- import { TypeGraphQLService } from "./services/TypeGraphQLService";
3
+ import { TypeGraphQLService } from "./services/TypeGraphQLService.js";
4
4
  /**
5
5
  * @ignore
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import { Injectable, ProviderScope } from "@tsed/di";
2
- import { PROVIDER_TYPE_DATASOURCE_SERVICE } from "../constants";
2
+ import { PROVIDER_TYPE_DATASOURCE_SERVICE } from "../constants.js";
3
3
  /**
4
4
  * Create a new DataSource binded with Tsed DI.
5
5
  *
@@ -1,7 +1,7 @@
1
1
  import { useDecorators } from "@tsed/core";
2
2
  import { Injectable } from "@tsed/di";
3
3
  import { Resolver } from "type-graphql";
4
- import { PROVIDER_TYPE_RESOLVER_SERVICE } from "../constants";
4
+ import { PROVIDER_TYPE_RESOLVER_SERVICE } from "../constants.js";
5
5
  export function ResolverService(...args) {
6
6
  return useDecorators(Resolver(...args), Injectable({
7
7
  type: PROVIDER_TYPE_RESOLVER_SERVICE
package/lib/esm/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export * from "./interfaces";
2
- export * from "./decorators/resolverService";
3
- export * from "./decorators/dataSourceService";
4
- export * from "./services/TypeGraphQLService";
5
- export * from "./constants";
6
- export * from "./TypeGraphQLModule";
1
+ export * from "./interfaces.js";
2
+ export * from "./decorators/resolverService.js";
3
+ export * from "./decorators/dataSourceService.js";
4
+ export * from "./services/TypeGraphQLService.js";
5
+ export * from "./constants.js";
6
+ export * from "./TypeGraphQLModule.js";
7
7
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export * from "./TypeGraphQLSettings";
1
+ export * from "./TypeGraphQLSettings.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -4,7 +4,7 @@ import { Inject, Injectable, InjectorService } from "@tsed/di";
4
4
  import { Logger } from "@tsed/logger";
5
5
  import * as TypeGraphql from "type-graphql";
6
6
  import { buildSchema } from "type-graphql";
7
- import { PROVIDER_TYPE_DATASOURCE_SERVICE, PROVIDER_TYPE_RESOLVER_SERVICE } from "../constants";
7
+ import { PROVIDER_TYPE_DATASOURCE_SERVICE, PROVIDER_TYPE_RESOLVER_SERVICE } from "../constants.js";
8
8
  const getKey = (id) => `typegraphql-${id}`;
9
9
  let TypeGraphQLService = class TypeGraphQLService {
10
10
  /**
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@tsed/typegraphql",
3
- "version": "6.102.7",
3
+ "version": "6.102.8-rc.1",
4
4
  "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/cjs/index.js",
8
+ "module": "./lib/esm/index.js",
8
9
  "typings": "./lib/types/index.d.ts",
9
10
  "exports": {
10
11
  "types": "./lib/types/index.d.ts",
@@ -20,12 +21,12 @@
20
21
  "test": "cross-env NODE_ENV=test nyc mocha"
21
22
  },
22
23
  "dependencies": {
23
- "@tsed/apollo": "6.102.7",
24
+ "@tsed/apollo": "6.102.8-rc.1",
24
25
  "tslib": "2.2.0"
25
26
  },
26
27
  "devDependencies": {
27
- "@tsed/common": "6.102.7",
28
- "@tsed/core": "6.102.7",
28
+ "@tsed/common": "6.102.8-rc.1",
29
+ "@tsed/core": "6.102.8-rc.1",
29
30
  "@types/graphql": "^14.5.0",
30
31
  "class-validator": "~0.13.1",
31
32
  "graphql-passport": "0.6.3",
@@ -42,7 +43,7 @@
42
43
  "bugs": {
43
44
  "url": "https://github.com/tsedio/tsed/issues"
44
45
  },
45
- "homepage": "https://github.com/tsedio/tsed/tree/production/packages/graphql/typegraphql",
46
+ "homepage": "https://github.com/tsedio/tsed/tree/rc/packages/graphql/typegraphql",
46
47
  "author": "Romain Lenzotti",
47
48
  "license": "MIT"
48
49
  }