@graphql-markdown/diff 1.1.13 → 1.1.14
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.
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -0
- package/package.json +22 -13
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const getSchemaHash: (schema: GraphQLSchema) => string;
|
|
|
36
36
|
* @param schemaOldLocation - File path to the old schema
|
|
37
37
|
* @returns A promise resolving to an array of schema changes
|
|
38
38
|
*/
|
|
39
|
-
export declare const getDiff: (schemaNew: GraphQLSchema, schemaOldLocation: string) => Promise<Change[]>;
|
|
39
|
+
export declare const getDiff: (schemaNew: GraphQLSchema, schemaOldLocation: string) => Promise<Change<any>[]>;
|
|
40
40
|
/**
|
|
41
41
|
* Checks if a schema has changed compared to a previous version.
|
|
42
42
|
* Uses either diff or hash-based comparison methods based on the method parameter.
|
|
@@ -47,3 +47,4 @@ export declare const getDiff: (schemaNew: GraphQLSchema, schemaOldLocation: stri
|
|
|
47
47
|
* @returns A promise resolving to a boolean indicating whether the schema has changed
|
|
48
48
|
*/
|
|
49
49
|
export declare const checkSchemaChanges: FunctionCheckSchemaChanges;
|
|
50
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG5D,OAAO,KAAK,EAEV,0BAA0B,EAC1B,aAAa,EACd,MAAM,yBAAyB,CAAC;AAMjC,wCAAwC;AACxC,eAAO,MAAM,gBAAgB,WAAqB,CAAC;AACnD,6CAA6C;AAC7C,eAAO,MAAM,UAAU,kBAA4B,CAAC;AAEpD;;GAEG;AACH,oBAAY,aAAa;IACvB,6CAA6C;IAC7C,IAAI,gBAAgB;IACpB,+CAA+C;IAC/C,IAAI,gBAAgB;IACpB,+CAA+C;IAC/C,KAAK,UAAU;IACf,4CAA4C;IAC5C,IAAI,SAAS;CACd;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,mCAGzB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,iFAQnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,0BA0BhC,CAAC"}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/graphql-markdown/graphql-markdown/issues"
|
|
7
7
|
},
|
|
8
|
-
"version": "1.1.
|
|
8
|
+
"version": "1.1.14",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -49,21 +49,31 @@
|
|
|
49
49
|
"./package.json": "./package.json"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
|
-
"prepack": "pinst --disable",
|
|
53
|
-
"postpack": "pinst --enable",
|
|
54
52
|
"stryker": "stryker run",
|
|
55
|
-
"clean": "rm -rf ./dist",
|
|
56
|
-
"docs": "typedoc"
|
|
53
|
+
"clean": "tsgo --build --clean && rm -rf ./dist",
|
|
54
|
+
"docs": "typedoc --options typedoc.config.mjs",
|
|
55
|
+
"build": "tsgo --build",
|
|
56
|
+
"lint": "eslint --config ../../packages/tooling-config/eslint/config.ts \"{src,tests}/**/*.{ts,js,json,gql}\"",
|
|
57
|
+
"lint:fix": "eslint --config ../../packages/tooling-config/eslint/config.ts \"{src,tests}/**/*.{ts,js,json,gql}\" --fix",
|
|
58
|
+
"prettier": "prettier \"{src,tests,assets}/**/*.{ts,js,json,md,gql}\" --check",
|
|
59
|
+
"prettier:fix": "prettier \"{src,tests,assets}/**/*.{ts,js,json,md,gql}\" --write",
|
|
60
|
+
"ts:check": "tsgo --noEmit",
|
|
61
|
+
"test": "jest",
|
|
62
|
+
"test:unit": "jest --passWithNoTests --testPathPatterns=tests/unit",
|
|
63
|
+
"test:integration": "jest --passWithNoTests --testPathPatterns=tests/integration",
|
|
64
|
+
"test:ci": "jest --passWithNoTests --ci --silent --randomize --runInBand",
|
|
65
|
+
"test:watch": "jest --watch"
|
|
57
66
|
},
|
|
58
67
|
"dependencies": {
|
|
59
|
-
"@graphql-inspector/core": "^
|
|
60
|
-
"@graphql-markdown/graphql": "^1.1
|
|
61
|
-
"@graphql-markdown/
|
|
62
|
-
"@graphql-
|
|
63
|
-
"@graphql-tools/
|
|
68
|
+
"@graphql-inspector/core": "^7.1.1",
|
|
69
|
+
"@graphql-markdown/graphql": "^1.2.1",
|
|
70
|
+
"@graphql-markdown/types": "^1.12.0",
|
|
71
|
+
"@graphql-markdown/utils": "^1.11.0",
|
|
72
|
+
"@graphql-tools/graphql-file-loader": "8.0.22",
|
|
73
|
+
"@graphql-tools/load": "8.1.8"
|
|
64
74
|
},
|
|
65
75
|
"devDependencies": {
|
|
66
|
-
"@graphql-markdown/
|
|
76
|
+
"@graphql-markdown/tooling-config": "^1.0.0"
|
|
67
77
|
},
|
|
68
78
|
"resolutions": {
|
|
69
79
|
"braces": "3.0.3"
|
|
@@ -72,10 +82,9 @@
|
|
|
72
82
|
"test": "tests"
|
|
73
83
|
},
|
|
74
84
|
"engines": {
|
|
75
|
-
"node": ">=
|
|
85
|
+
"node": ">=20"
|
|
76
86
|
},
|
|
77
87
|
"publishConfig": {
|
|
78
|
-
"directory": "dist",
|
|
79
88
|
"access": "public"
|
|
80
89
|
},
|
|
81
90
|
"typescript": {
|