@thangnv-dev/graphql-common 0.0.2 → 0.0.6

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 +40 -0
  2. package/package.json +6 -7
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # @thangnv-dev/graphql-common
2
+
3
+ Reusable library package in this monorepo.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @thangnv-dev/graphql-common
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import * as api from '@thangnv-dev/graphql-common'
15
+ ```
16
+
17
+ ## Public API
18
+
19
+ This package exports the following API surface from `src/index.ts`:
20
+
21
+ ```ts
22
+ export {
23
+ GraphQLBinary,
24
+ GraphQLDuration,
25
+ GraphQLInstant,
26
+ GraphQLInt64,
27
+ GraphQLPlainDate,
28
+ GraphQLPlainDateTime,
29
+ GraphQLPlainTime,
30
+ GraphQLZonedDateTime,
31
+ } from './scalars.js'
32
+
33
+ ```
34
+
35
+ ## Development
36
+
37
+ ```bash
38
+ yarn workspace @thangnv-dev/graphql-common build
39
+ yarn workspace @thangnv-dev/graphql-common test
40
+ ```
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@thangnv-dev/graphql-common",
3
- "version": "0.0.2",
4
- "private": false,
3
+ "version": "0.0.6",
5
4
  "publishConfig": {
6
5
  "access": "public"
7
6
  },
@@ -24,12 +23,12 @@
24
23
  "test": "vitest run"
25
24
  },
26
25
  "dependencies": {
27
- "@thangnv-dev/data-common": "workspace:^"
26
+ "@thangnv-dev/data-common": "^0.0.6"
28
27
  },
29
28
  "devDependencies": {
30
- "@typescript-eslint/eslint-plugin": "^8.56.0",
31
- "@typescript-eslint/parser": "^8.56.0",
32
- "eslint": "^10.0.0",
29
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
30
+ "@typescript-eslint/parser": "^8.56.1",
31
+ "eslint": "^10.0.2",
33
32
  "graphql": "^16.12.0",
34
33
  "temporal-polyfill": "^0.3.0",
35
34
  "typescript": "^5.9.3",
@@ -39,4 +38,4 @@
39
38
  "graphql": "^16.0.0",
40
39
  "temporal-polyfill": "*"
41
40
  }
42
- }
41
+ }