@graphql-codegen/time 3.1.1-alpha-e04750ad3.0 → 3.1.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.
Files changed (2) hide show
  1. package/config.d.ts +8 -8
  2. package/package.json +4 -3
package/config.d.ts CHANGED
@@ -6,10 +6,10 @@ export interface TimePluginConfig {
6
6
  * @exampleMarkdown
7
7
  * ```yml
8
8
  * generates:
9
- * path/to/file.ts:
10
- * plugins:
11
- * - time:
12
- * format: DD.MM.YY
9
+ * path/to/file.ts:
10
+ * plugins:
11
+ * - time:
12
+ * format: DD.MM.YY
13
13
  * ```
14
14
  */
15
15
  format?: string;
@@ -20,10 +20,10 @@ export interface TimePluginConfig {
20
20
  * @exampleMarkdown
21
21
  * ```yml
22
22
  * generates:
23
- * path/to/file.ts:
24
- * plugins:
25
- * - time:
26
- * message: "The file generated on: "
23
+ * path/to/file.ts:
24
+ * plugins:
25
+ * - time:
26
+ * message: 'The file generated on: '
27
27
  * ```
28
28
  */
29
29
  message?: string;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-codegen/time",
3
- "version": "3.1.1-alpha-e04750ad3.0",
3
+ "version": "3.1.1",
4
4
  "description": "GraphQL Code Generator plugin for adding the current time for an output file",
5
5
  "peerDependencies": {
6
- "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
6
+ "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
7
7
  },
8
8
  "dependencies": {
9
- "@graphql-codegen/plugin-helpers": "2.2.0-alpha-e04750ad3.0",
9
+ "@graphql-codegen/plugin-helpers": "^2.3.2",
10
10
  "moment": "~2.29.1"
11
11
  },
12
12
  "repository": {
@@ -22,6 +22,7 @@
22
22
  "definition": "index.d.ts"
23
23
  },
24
24
  "exports": {
25
+ "./package.json": "./package.json",
25
26
  ".": {
26
27
  "require": "./index.js",
27
28
  "import": "./index.mjs"