
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
graphcool-compose
Advanced tools
Command line tool that composes the graphcool.yml and types.graphql following a predefined folder structure. Allows you to structure your project into modules, each with its own resolvers, permission queries, graphcool.yml file and types.graphql file
$ npm install -g graphcool-compose
or
$ yarn global add graphcool-compose
$ graphcool-compose
$ graphcool-compose --target qa
$ graphcool-compose --target qa --deploy
$ graphcool-compose --target qa --deploy --force
A valid graphcool project is assumed (folder with a .graphcoolrc)
graphcool-compose assumes a specific folder structure
|-- environemnts
|-- default.yml
|-- target1.yml
|-- target2.yml
...
|-- src
|-- module1
|-- resolvers
|-- resolver1.graphql
|-- resolver1.ts
|-- resolver2.graphql
|-- resolver2.js
|-- permissions
|-- type1.graphql
|-- type2.graphql
|-- graphcool.yml
|-- types.graphql
|-- module2
|-- types.graphql
|-- .graphcoolrc
| folder | details |
|---|---|
| environemnts | environment vars will be set for every resolver. default.yml will be merged with the target specific file |
| src/moduleX | every module will have it's own folder in the src |
| src/moduleX/resolvers | the resolver files - a resolverName.graphql + resolverName.ts (or.js) pair |
| src/moduleX/permissions | the graphql files that hold the permission queries |
| src/moduleX/graphcool.yml | basically permissions, just like in the graphcool.yml; note that the query paths are relative, will be resolved by graphcool-compose |
| src/moduleX/types.graphql | these files will just be merged in the root/types.graphql file |
FAQs
graphcool - allow folder structure
We found that graphcool-compose demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.