graphql-codegen-persisted-query-ids
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "graphql-codegen-persisted-query-ids", | ||
"description": "Generate persisted query ids", | ||
"version": "0.0.2", | ||
"license": "MIT", | ||
"esnext": "dist-src/index.js", | ||
"main": "dist-node/index.js", | ||
"types": "dist-types/index.d.ts", | ||
"pika": true, | ||
"sideEffects": false, | ||
"files": [ | ||
"dist-*/", | ||
"assets/", | ||
"bin/" | ||
], | ||
"repository": { | ||
"url": "https://github.com/epeli/graphql-codegen-persisted-query-ids" | ||
}, | ||
"dependencies": { | ||
"graphql": "^14.1.1", | ||
"graphql-codegen-core": "^0.17.0" | ||
}, | ||
"devDependencies": { | ||
"@pika/pack": "^0.3.3", | ||
"@pika/plugin-build-node": "^0.3.12", | ||
"@pika/plugin-build-types": "^0.3.12", | ||
"@pika/plugin-standard-pkg": "^0.3.12", | ||
"@types/graphql": "^14.0.7", | ||
"@types/node": "^11.9.5", | ||
"prettier": "^1.16.4" | ||
} | ||
"name": "graphql-codegen-persisted-query-ids", | ||
"version": "0.0.3", | ||
"description": "Generate persisted query ids", | ||
"main": "lib/index.js", | ||
"repository": { | ||
"url": "https://github.com/epeli/graphql-codegen-persisted-query-ids" | ||
}, | ||
"scripts": { | ||
"test": "echo todo", | ||
"build": "tsc --project tsconfig.build.json && rm -rf lib && mv build lib && rm -rf build", | ||
"clean": "rm -rf lib build", | ||
"dtslint": "tslint --project tsconfig.dtslint.json", | ||
"prepublishOnly": "npm run test && npm run build" | ||
}, | ||
"devDependencies": { | ||
"@types/graphql": "^14.0.7", | ||
"@types/node": "^11.9.5", | ||
"prettier": "^1.16.4", | ||
"typescript": "^3.3.3333" | ||
}, | ||
"dependencies": { | ||
"graphql": "^14.1.1", | ||
"graphql-codegen-core": "^0.17.0" | ||
} | ||
} |
@@ -5,2 +5,4 @@ # Generate Persisted Query IDs | ||
## Install | ||
Install graphql-code-generator and this plugin | ||
@@ -10,2 +12,4 @@ | ||
## Usage | ||
Create codegen.yml | ||
@@ -23,3 +27,9 @@ | ||
- graphql-codegen-persisted-query-ids: | ||
addTypeName: true # required if using apollo-client | ||
output: server | ||
``` | ||
Run the generator | ||
mkdir persisted-query-ids | ||
./node_modules/.bin/gql-gen --overwrite |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
15854
4
14
279
1
33
1