@platelet-app/graphql 1.1.1 → 1.1.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platelet-app/graphql",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "GraphQL operations for the platelet.app project",
|
|
5
5
|
"homepage": "https://platelet.app",
|
|
6
6
|
"bugs": {
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"main": "dist/graphql/index.js",
|
|
17
17
|
"types": "dist/graphql/index.d.ts",
|
|
18
18
|
"scripts": {
|
|
19
|
-
"
|
|
19
|
+
"sedQueries": "sed -i 's:import \\* as APITypes from \"../API\";:import \\* as APITypes from \"../API.js\";:g' ../../src/graphql/queries.ts ../../src/graphql/mutations.ts ../../src/graphql/subscriptions.ts",
|
|
20
|
+
"build": "cd ../.. && amplify api gql-compile && amplify codegen && npm run sedQueries --workspace @platelet-app/graphql && cd packages/graphql && tsc --project tsconfig.json",
|
|
20
21
|
"prepublishOnly": "npm run build && npm version patch"
|
|
21
22
|
}
|
|
22
23
|
}
|