@faststore/api 2.2.79 → 2.2.80

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.
@@ -26,7 +26,7 @@
26
26
  "dev": "concurrently \"yarn generate -w\" \"tsc --watch\" \"yarn dev:graphql\"",
27
27
  "dev:graphql": "nodemon --watch src --ext graphql --exec \"copyfiles \"src/**/*.graphql\" dist/esm\"",
28
28
  "dev:server": "tsx --no-cache ./local/server.ts",
29
- "build": "graphql-codegen --config codegen.yml && (yarn build:cjs & yarn build:esm)",
29
+ "build": "graphql-codegen --config codegen.yml && (yarn build:cjs && yarn build:esm)",
30
30
  "build:cjs": "tsc --module commonjs --moduleResolution node10 --outDir dist/cjs && copyfiles \"src/**/*.graphql\" dist/cjs",
31
31
  "build:esm": "tsc && copyfiles \"src/**/*.graphql\" dist/esm",
32
32
  "lint": "eslint src/**/*.ts",
@@ -42,6 +42,7 @@
42
42
  "@opentelemetry/sdk-logs": "^0.39.1",
43
43
  "@opentelemetry/sdk-trace-base": "^1.13.0",
44
44
  "@rollup/plugin-graphql": "^1.0.0",
45
+ "cross-inspect": "^1.0.1",
45
46
  "dataloader": "^2.1.0",
46
47
  "fast-deep-equal": "^3.1.3",
47
48
  "isomorphic-unfetch": "^3.1.0",
@@ -4,7 +4,7 @@ exports.typeDefs = void 0;
4
4
  const graphql_1 = require("graphql");
5
5
  const load_files_1 = require("@graphql-tools/load-files");
6
6
  // Empty string ('') is interpreted as the current dir. Referencing it as './' won't work.
7
- exports.typeDefs = (0, load_files_1.loadFilesSync)('', { extensions: ['.graphql'] })
7
+ exports.typeDefs = (0, load_files_1.loadFilesSync)(__dirname, { extensions: ['.graphql'] })
8
8
  .map(graphql_1.print)
9
9
  .join('\n');
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typeDefs/index.ts"],"names":[],"mappings":";;;AAAA,qCAA+B;AAE/B,0DAAyD;AAEzD,0FAA0F;AAC7E,QAAA,QAAQ,GAAG,IAAA,0BAAa,EAAC,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;KACpE,GAAG,CAAC,eAAK,CAAC;KACV,IAAI,CAAC,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typeDefs/index.ts"],"names":[],"mappings":";;;AAAA,qCAA+B;AAE/B,0DAAyD;AAEzD,0FAA0F;AAC7E,QAAA,QAAQ,GAAG,IAAA,0BAAa,EAAC,SAAS,EAAE,EAAE,UAAU,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;KAC3E,GAAG,CAAC,eAAK,CAAC;KACV,IAAI,CAAC,IAAI,CAAC,CAAA"}
@@ -26,7 +26,7 @@
26
26
  "dev": "concurrently \"yarn generate -w\" \"tsc --watch\" \"yarn dev:graphql\"",
27
27
  "dev:graphql": "nodemon --watch src --ext graphql --exec \"copyfiles \"src/**/*.graphql\" dist/esm\"",
28
28
  "dev:server": "tsx --no-cache ./local/server.ts",
29
- "build": "graphql-codegen --config codegen.yml && (yarn build:cjs & yarn build:esm)",
29
+ "build": "graphql-codegen --config codegen.yml && (yarn build:cjs && yarn build:esm)",
30
30
  "build:cjs": "tsc --module commonjs --moduleResolution node10 --outDir dist/cjs && copyfiles \"src/**/*.graphql\" dist/cjs",
31
31
  "build:esm": "tsc && copyfiles \"src/**/*.graphql\" dist/esm",
32
32
  "lint": "eslint src/**/*.ts",
@@ -42,6 +42,7 @@
42
42
  "@opentelemetry/sdk-logs": "^0.39.1",
43
43
  "@opentelemetry/sdk-trace-base": "^1.13.0",
44
44
  "@rollup/plugin-graphql": "^1.0.0",
45
+ "cross-inspect": "^1.0.1",
45
46
  "dataloader": "^2.1.0",
46
47
  "fast-deep-equal": "^3.1.3",
47
48
  "isomorphic-unfetch": "^3.1.0",
@@ -1,7 +1,7 @@
1
1
  import { print } from 'graphql';
2
2
  import { loadFilesSync } from '@graphql-tools/load-files';
3
3
  // Empty string ('') is interpreted as the current dir. Referencing it as './' won't work.
4
- export const typeDefs = loadFilesSync('', { extensions: ['.graphql'] })
4
+ export const typeDefs = loadFilesSync(__dirname, { extensions: ['.graphql'] })
5
5
  .map(print)
6
6
  .join('\n');
7
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typeDefs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,0FAA0F;AAC1F,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;KACpE,GAAG,CAAC,KAAK,CAAC;KACV,IAAI,CAAC,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typeDefs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,0FAA0F;AAC1F,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,SAAS,EAAE,EAAE,UAAU,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;KAC3E,GAAG,CAAC,KAAK,CAAC;KACV,IAAI,CAAC,IAAI,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/api",
3
- "version": "2.2.79",
3
+ "version": "2.2.80",
4
4
  "license": "MIT",
5
5
  "main": "dist/cjs/src/index.js",
6
6
  "typings": "dist/esm/src/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "dev": "concurrently \"yarn generate -w\" \"tsc --watch\" \"yarn dev:graphql\"",
27
27
  "dev:graphql": "nodemon --watch src --ext graphql --exec \"copyfiles \"src/**/*.graphql\" dist/esm\"",
28
28
  "dev:server": "tsx --no-cache ./local/server.ts",
29
- "build": "graphql-codegen --config codegen.yml && (yarn build:cjs & yarn build:esm)",
29
+ "build": "graphql-codegen --config codegen.yml && (yarn build:cjs && yarn build:esm)",
30
30
  "build:cjs": "tsc --module commonjs --moduleResolution node10 --outDir dist/cjs && copyfiles \"src/**/*.graphql\" dist/cjs",
31
31
  "build:esm": "tsc && copyfiles \"src/**/*.graphql\" dist/esm",
32
32
  "lint": "eslint src/**/*.ts",
@@ -42,6 +42,7 @@
42
42
  "@opentelemetry/sdk-logs": "^0.39.1",
43
43
  "@opentelemetry/sdk-trace-base": "^1.13.0",
44
44
  "@rollup/plugin-graphql": "^1.0.0",
45
+ "cross-inspect": "^1.0.1",
45
46
  "dataloader": "^2.1.0",
46
47
  "fast-deep-equal": "^3.1.3",
47
48
  "isomorphic-unfetch": "^3.1.0",
@@ -3,6 +3,6 @@ import { print } from 'graphql'
3
3
  import { loadFilesSync } from '@graphql-tools/load-files'
4
4
 
5
5
  // Empty string ('') is interpreted as the current dir. Referencing it as './' won't work.
6
- export const typeDefs = loadFilesSync('', { extensions: ['.graphql'] })
6
+ export const typeDefs = loadFilesSync(__dirname, { extensions: ['.graphql'] })
7
7
  .map(print)
8
8
  .join('\n')