
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
@focus-reactive/graphql-content-layer
Advanced tools
[](https://badge.fury.io/js/%40focus-reactive%2Fgraphql-content-layer) # GitNation GraphQL Content Layer
package for fetching conference content from GraphCMS
it's published on NPM as
@focus-reactive/graphql-content-layer
This package is intended for:
GraphCMS connection should be configured via env variables: CMS_ENDPOINT and CMS_TOKEN
The package exposes getContent async function for generating content layer
Usage:
const { getContent } = require('@focus-reactive/graphql-content-layer');
const content = await getContent(conferenceSettings);
see conferenceSettings for details
to use it:
// story.js
const {
passConferenceSettings,
} = require('@focus-reactive/graphql-content-layer/dist/content.stories');
passConferenceSettings(conferenceSettings);
Pass conferenceSettings with conference specific ("hardcoded") data
I should contain:
tagColors - colors settings for "tech" badges, tags, labels
speakerAvatar = {
dimensions: {
avatarWidth: 500,
avatarHeight: 500,
}
}
yarn dev to start watching and compiling the code
yarn storybook to launch Storybook
yarn tdd - Jest tests in watching mode
yarn start - starts dev, storybook and tests (each in independent watch mode)
yarn update-schema for updating GraphQL introspection schema
For publishing to NPM:
npm publish
it will transpile the code and publish the package
FAQs
[](https://badge.fury.io/js/%40focus-reactive%2Fgraphql-content-layer) # GitNation GraphQL Content Layer
The npm package @focus-reactive/graphql-content-layer receives a total of 151 weekly downloads. As such, @focus-reactive/graphql-content-layer popularity was classified as not popular.
We found that @focus-reactive/graphql-content-layer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.