Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

netlify-onegraph-internal

Package Overview
Dependencies
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netlify-onegraph-internal

Internal tools for use by Netlify

  • 0.10.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
21K
increased by9.77%
Maintainers
2
Weekly downloads
 
Created
Source

Netlify internal helpers for OneGraph

Install

npm install netlify-onegraph-internal

Example

import { OneGraphClient } from "netlify-onegraph-internal";

console.log(OneGraphClient);

Developing

  • While the multi-file branch in the CLI isn't ready:
  1. Update the GraphQL schema with:
$ npx get-graphql-schema "https://graph.netlify.com/graphql?app_id=NETLIFY_SITE_ID"
  1. Add a new .graphql file under ./netlify/functions/netlifyGraph/operations
  2. Don't forget to add a @netlify(id: SOME_UUID) directive to the operation
  3. run cat ./netlify/functions/netlifyGraph/operations/* > operations.graphql` to bundle all the operations into a single file
  4. run ntl graph:library

FAQs

Package last updated on 16 Sep 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc