@graphcommerce/cli 9.0.4-canary.1 → 9.0.4-canary.10
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 +18 -0
- package/dist/bin/mesh.js +8 -1
- package/dist/index.js +1 -0
- package/package.json +16 -10
- package/src/bin/mesh.ts +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @graphcommerce/cli
|
|
2
2
|
|
|
3
|
+
## 9.0.4-canary.10
|
|
4
|
+
|
|
5
|
+
## 9.0.4-canary.9
|
|
6
|
+
|
|
7
|
+
## 9.0.4-canary.8
|
|
8
|
+
|
|
9
|
+
## 9.0.4-canary.7
|
|
10
|
+
|
|
11
|
+
## 9.0.4-canary.6
|
|
12
|
+
|
|
13
|
+
## 9.0.4-canary.5
|
|
14
|
+
|
|
15
|
+
## 9.0.4-canary.4
|
|
16
|
+
|
|
17
|
+
## 9.0.4-canary.3
|
|
18
|
+
|
|
19
|
+
## 9.0.4-canary.2
|
|
20
|
+
|
|
3
21
|
## 9.0.4-canary.1
|
|
4
22
|
|
|
5
23
|
## 9.0.4-canary.0
|
package/dist/bin/mesh.js
CHANGED
|
@@ -169,7 +169,14 @@ const main = async () => {
|
|
|
169
169
|
await promises.writeFile(tmpMeshLocation, yamlString);
|
|
170
170
|
await promises.writeFile(
|
|
171
171
|
`${meshDir}/.mesh.ts`,
|
|
172
|
-
`export * from '${relativePath.split(path$1.sep).join("/")}.mesh'
|
|
172
|
+
`export type * from '${relativePath.split(path$1.sep).join("/")}.mesh'
|
|
173
|
+
export {
|
|
174
|
+
getBuiltMesh as getBuiltMeshBase,
|
|
175
|
+
execute,
|
|
176
|
+
subscribe,
|
|
177
|
+
createBuiltMeshHTTPHandler as createBuiltMeshHTTPHandlerBase,
|
|
178
|
+
rawServeConfig,
|
|
179
|
+
} from '${relativePath.split(path$1.sep).join("/")}.mesh'`,
|
|
173
180
|
{ encoding: "utf8" }
|
|
174
181
|
);
|
|
175
182
|
await graphqlMesh({ ...cliParams, configName: tmpMesh });
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
CHANGED
|
@@ -2,13 +2,19 @@
|
|
|
2
2
|
"name": "@graphcommerce/cli",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.4-canary.
|
|
5
|
+
"version": "9.0.4-canary.10",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dev": "pkgroll --watch",
|
|
8
|
-
"build": "pkgroll",
|
|
9
|
-
"prepack": "pkgroll"
|
|
7
|
+
"dev": "pkgroll --clean-dist --watch",
|
|
8
|
+
"build": "pkgroll --clean-dist",
|
|
9
|
+
"prepack": "pkgroll --clean-dist"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
|
+
"types": "./src/index.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
12
18
|
"bin": {
|
|
13
19
|
"gc-gql-codegen": "dist/bin/codegen.js",
|
|
14
20
|
"gc-mesh": "dist/bin/mesh.js",
|
|
@@ -29,12 +35,12 @@
|
|
|
29
35
|
"yaml": "2.6.1"
|
|
30
36
|
},
|
|
31
37
|
"peerDependencies": {
|
|
32
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.4-canary.
|
|
33
|
-
"@graphcommerce/graphql-mesh": "^9.0.4-canary.
|
|
34
|
-
"@graphcommerce/hygraph-cli": "^9.0.4-canary.
|
|
35
|
-
"@graphcommerce/next-config": "^9.0.4-canary.
|
|
36
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.4-canary.
|
|
37
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.4-canary.
|
|
38
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.4-canary.10",
|
|
39
|
+
"@graphcommerce/graphql-mesh": "^9.0.4-canary.10",
|
|
40
|
+
"@graphcommerce/hygraph-cli": "^9.0.4-canary.10",
|
|
41
|
+
"@graphcommerce/next-config": "^9.0.4-canary.10",
|
|
42
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.4-canary.10",
|
|
43
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.4-canary.10",
|
|
38
44
|
"@graphql-mesh/cli": "*",
|
|
39
45
|
"@graphql-mesh/types": "*",
|
|
40
46
|
"@graphql-mesh/utils": "*",
|
package/src/bin/mesh.ts
CHANGED
|
@@ -165,7 +165,14 @@ const main = async () => {
|
|
|
165
165
|
// Reexport the mesh to is can be used by packages
|
|
166
166
|
await fs.writeFile(
|
|
167
167
|
`${meshDir}/.mesh.ts`,
|
|
168
|
-
`export * from '${relativePath.split(path.sep).join('/')}.mesh'
|
|
168
|
+
`export type * from '${relativePath.split(path.sep).join('/')}.mesh'
|
|
169
|
+
export {
|
|
170
|
+
getBuiltMesh as getBuiltMeshBase,
|
|
171
|
+
execute,
|
|
172
|
+
subscribe,
|
|
173
|
+
createBuiltMeshHTTPHandler as createBuiltMeshHTTPHandlerBase,
|
|
174
|
+
rawServeConfig,
|
|
175
|
+
} from '${relativePath.split(path.sep).join('/')}.mesh'`,
|
|
169
176
|
{ encoding: 'utf8' },
|
|
170
177
|
)
|
|
171
178
|
|