@baeta/plugin-graphql 0.0.9 → 0.0.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @baeta/plugin-graphql
2
2
 
3
+ ## 0.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f2429cd`](https://github.com/andreisergiu98/baeta/commit/f2429cdec7fe4522f7df0a90d582a06fcf792ef7) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - fix build, remove turborepo
8
+
9
+ - Updated dependencies [[`f2429cd`](https://github.com/andreisergiu98/baeta/commit/f2429cdec7fe4522f7df0a90d582a06fcf792ef7)]:
10
+ - @baeta/config@0.0.5
11
+ - @baeta/plugin@0.0.10
12
+
13
+ ## 0.0.10
14
+
15
+ ### Patch Changes
16
+
17
+ - [`a262a56`](https://github.com/andreisergiu98/baeta/commit/a262a56db0f5b08a9b256e0a8402e60cd1be7b51) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - fix type declarations
18
+
19
+ - Updated dependencies [[`a262a56`](https://github.com/andreisergiu98/baeta/commit/a262a56db0f5b08a9b256e0a8402e60cd1be7b51)]:
20
+ - @baeta/config@0.0.4
21
+ - @baeta/plugin@0.0.9
22
+
3
23
  ## 0.0.9
4
24
 
5
25
  ### Patch Changes
File without changes
File without changes
@@ -1077,7 +1077,7 @@ import { UrlLoader } from "@graphql-tools/url-loader";
1077
1077
  // utils/hash.ts
1078
1078
  import { getCachedDocumentNodeFromSchema as getCachedDocumentNodeFromSchema2 } from "@graphql-codegen/plugin-helpers";
1079
1079
  import { print } from "graphql";
1080
- import { createHash } from "crypto";
1080
+ import { createHash } from "node:crypto";
1081
1081
  function hashContent(content) {
1082
1082
  return createHash("sha256").update(content).digest("hex");
1083
1083
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baeta/plugin-graphql",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "license": "MIT",
5
5
  "author": "Andrei Pampu <pampu.andrei@pm.me>",
6
6
  "homepage": "https://github.com/andreisergiu98/baeta#readme",
@@ -15,11 +15,13 @@
15
15
  "type": "module",
16
16
  "scripts": {
17
17
  "build": "tsup",
18
- "types": "tsc --noEmit"
18
+ "types": "tsc --noEmit",
19
+ "prepack": "yarn prep --move dist",
20
+ "postpack": "yarn prep --clean"
19
21
  },
20
22
  "dependencies": {
21
- "@baeta/config": "^0.0.3",
22
- "@baeta/plugin": "^0.0.8",
23
+ "@baeta/config": "^0.0.5",
24
+ "@baeta/plugin": "^0.0.10",
23
25
  "@graphql-codegen/core": "^2.6.6",
24
26
  "@graphql-codegen/plugin-helpers": "^2.7.2",
25
27
  "@graphql-codegen/typescript": "^2.8.3",
@@ -41,34 +43,36 @@
41
43
  "tslib": "^2.4.1"
42
44
  },
43
45
  "devDependencies": {
46
+ "@baeta/prep": "^0.0.0",
44
47
  "@types/node": "^18.11.10",
45
48
  "@types/parse-filepath": "1.0.0",
46
49
  "graphql": "^16.6.0",
47
- "tsup": "^6.5.0",
48
50
  "typescript": "^4.9.3"
49
51
  },
50
52
  "peerDependencies": {
51
53
  "graphql": "^16.6.0"
52
54
  },
53
55
  "files": [
54
- "dist"
56
+ "*.js",
57
+ "*.cjs",
58
+ "*.d.ts"
55
59
  ],
56
60
  "publishConfig": {
57
61
  "access": "public",
58
62
  "directory": "dist",
59
63
  "exports": {
60
64
  ".": {
61
- "import": "./dist/index.js",
62
- "require": "./dist/index.cjs",
63
- "types": "./dist/index.d.ts"
65
+ "import": "./index.js",
66
+ "require": "./index.cjs",
67
+ "types": "./index.d.ts"
64
68
  }
65
69
  }
66
70
  },
67
71
  "exports": {
68
72
  ".": {
69
- "import": "./dist/index.js",
70
- "require": "./dist/index.cjs",
71
- "types": "./dist/index.d.ts"
73
+ "import": "./index.js",
74
+ "require": "./index.cjs",
75
+ "types": "./index.d.ts"
72
76
  }
73
77
  }
74
78
  }