conductor-node 9.1.2 → 9.1.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.
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conductor-node",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.3",
|
|
4
4
|
"description": "Easily integrate with the entire QuickBooks Desktop API with fully-typed async TypeScript",
|
|
5
5
|
"author": "Danny Nemer <hi@DannyNemer.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"dist/package.json"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"prepack": "yarn tsc && yarn delete-compiled-
|
|
16
|
-
"delete-compiled-
|
|
15
|
+
"prepack": "yarn tsc && yarn delete-compiled-dev-files && yarn tsc-alias --verbose",
|
|
16
|
+
"delete-compiled-dev-files": "rm -rf `find ./dist -type d -name __tests__` ./dist/src/utils/testing.* ./dist/src/graphql/codegenConfig.*",
|
|
17
17
|
"postpack": "rm -rf dist",
|
|
18
18
|
"clean": "rm -rf dist package conductor-node-*.tgz tsconfig.tsbuildinfo",
|
|
19
19
|
"gen:graphql": "yarn graphql-codegen --config=./src/graphql/codegenConfig.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conductor-node",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.3",
|
|
4
4
|
"description": "Easily integrate with the entire QuickBooks Desktop API with fully-typed async TypeScript",
|
|
5
5
|
"author": "Danny Nemer <hi@DannyNemer.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"dist/package.json"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"prepack": "yarn tsc && yarn delete-compiled-
|
|
16
|
-
"delete-compiled-
|
|
15
|
+
"prepack": "yarn tsc && yarn delete-compiled-dev-files && yarn tsc-alias --verbose",
|
|
16
|
+
"delete-compiled-dev-files": "rm -rf `find ./dist -type d -name __tests__` ./dist/src/utils/testing.* ./dist/src/graphql/codegenConfig.*",
|
|
17
17
|
"postpack": "rm -rf dist",
|
|
18
18
|
"clean": "rm -rf dist package conductor-node-*.tgz tsconfig.tsbuildinfo",
|
|
19
19
|
"gen:graphql": "yarn graphql-codegen --config=./src/graphql/codegenConfig.ts",
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const codegenConfig = {
|
|
4
|
-
schema: "../server/src/graphql/__generated__/schema.graphql",
|
|
5
|
-
hooks: { afterOneFileWrite: ["yarn prettier --write"] },
|
|
6
|
-
documents: ["./src/graphql/operations.graphql"],
|
|
7
|
-
ignoreNoDocuments: true,
|
|
8
|
-
generates: {
|
|
9
|
-
"./src/graphql/__generated__/operationTypes.ts": {
|
|
10
|
-
plugins: [
|
|
11
|
-
"typescript",
|
|
12
|
-
"typescript-operations",
|
|
13
|
-
"typescript-graphql-request",
|
|
14
|
-
{
|
|
15
|
-
add: {
|
|
16
|
-
content: [
|
|
17
|
-
"/* eslint-disable eslint-comments/no-unlimited-disable -- Auto-generated */",
|
|
18
|
-
"/* eslint-disable -- Auto-generated */",
|
|
19
|
-
].join("\n"),
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
config: {
|
|
24
|
-
// Avoid including `__typename` in objects we return to dev-users.
|
|
25
|
-
skipTypename: true,
|
|
26
|
-
// Use `import type {}` rather than `import {}`.
|
|
27
|
-
useTypeImports: true,
|
|
28
|
-
// Only emit types used in `operations.graphql`. This avoids confusion
|
|
29
|
-
// by creating types with more fields than the client actually returns
|
|
30
|
-
// (e.g. `IntegrationConnection` vs. `IntegrationConnectionFragment`)).
|
|
31
|
-
onlyOperationTypes: true,
|
|
32
|
-
avoidOptionals: true,
|
|
33
|
-
typesPrefix: "Graphql",
|
|
34
|
-
// Avoid adding `graphql-tag` as a client dependency.
|
|
35
|
-
documentMode: "string",
|
|
36
|
-
scalars: {
|
|
37
|
-
DateTime: "Date",
|
|
38
|
-
JSONObject: "object",
|
|
39
|
-
},
|
|
40
|
-
strictScalars: true,
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
exports.default = codegenConfig;
|