@thangnv-dev/graphql-nest 0.0.1 → 0.0.3

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.
Files changed (2) hide show
  1. package/README.md +46 -0
  2. package/package.json +7 -8
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # @thangnv-dev/graphql-nest
2
+
3
+ Reusable library package in this monorepo.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @thangnv-dev/graphql-nest
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import * as api from '@thangnv-dev/graphql-nest'
15
+ ```
16
+
17
+ ## Public API
18
+
19
+ This package exports the following API surface from `src/index.ts`:
20
+
21
+ ```ts
22
+ export {
23
+ PageInfo,
24
+ Connection,
25
+ createConnectionType,
26
+ ConnectionArgs,
27
+ ConnectionPageMode,
28
+ } from './connection.js'
29
+ export type {
30
+ ConnectionNode,
31
+ ConnectionPageInfo,
32
+ ConnectionLazyValue,
33
+ ConnectionResult,
34
+ ConnectionArgsShape,
35
+ } from './connection.js'
36
+ export { GqlModule } from './graphql.module.js'
37
+ export { applyUdtDirective, UDT_DIRECTIVE_DEFINITION } from './udt.directive.js'
38
+
39
+ ```
40
+
41
+ ## Development
42
+
43
+ ```bash
44
+ yarn workspace @thangnv-dev/graphql-nest build
45
+ yarn workspace @thangnv-dev/graphql-nest test
46
+ ```
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@thangnv-dev/graphql-nest",
3
- "version": "0.0.1",
4
- "private": false,
3
+ "version": "0.0.3",
5
4
  "publishConfig": {
6
5
  "access": "public"
7
6
  },
@@ -29,17 +28,17 @@
29
28
  "@nestjs/apollo": "^13.2.4",
30
29
  "@nestjs/config": "^4.0.3",
31
30
  "@nestjs/graphql": "^13.2.4",
32
- "@thangnv-dev/data-common": "workspace:^",
33
- "@thangnv-dev/data-nest": "workspace:^",
34
- "@thangnv-dev/graphql-common": "workspace:^",
31
+ "@thangnv-dev/data-common": "^0.0.3",
32
+ "@thangnv-dev/data-nest": "^0.0.3",
33
+ "@thangnv-dev/graphql-common": "^0.0.3",
35
34
  "graphql": "^16.12.0"
36
35
  },
37
36
  "devDependencies": {
38
37
  "@nestjs/common": "^11.1.14",
39
38
  "@nestjs/core": "^11.1.14",
40
- "@typescript-eslint/eslint-plugin": "^8.56.0",
41
- "@typescript-eslint/parser": "^8.56.0",
42
- "eslint": "^10.0.0",
39
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
40
+ "@typescript-eslint/parser": "^8.56.1",
41
+ "eslint": "^10.0.2",
43
42
  "reflect-metadata": "^0.2.2",
44
43
  "rxjs": "^7.8.2",
45
44
  "temporal-polyfill": "^0.3.0",