
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@genesisx/graphql
Advanced tools
This is a generator for generating graphql subgraphs and federation services created by the Genesis project.
Install the package in your nx workspace, please run one of these commands
npm i @genesisx/graphql
or
yarn add @genesisx/graphql
Select Generator tool from the NX console as shown in the image in your visual studio Navigate to NX console > Generate > @ @genesisx/graphql
And fill in the form as follows;
- appName
Service name that will be under apps folder of your project
-portNumber
Port Number to be changed in file called .env
-templateName
chose if you want to generate a subgraph or federation service from the dropdown.
Click on Run after filling the details.
Serve your graphql service created through NX console > Serve > <your_project_name>
npm install -g nxnx generate @genesisx/graphql:templates <AppName> <PortNumber> --templateName=<TemplateName> --no-interactivenx generate @genesisx/graphql:templatesRun nx lint graphql to execute the lint checks on this package.
Run nx build graphql to build this package.
Run nx test graphql to execute the unit tests via Jest.
To publish the package you must first be logged into NPM (npm login) then run this command from the root of the project.
npm publish dist/packages/graphql --access public
If you're going to locally developm and run/test this package you need to build it and copy into node_modules with every change. You can simply do this by running a bash command below:
yarn nx run graphql:build && cp -R dist/packages/graphql/ <new_wsp>/node_modules/@genesisx
FAQs
Generator package for generating graphql subgraphs and federations.
We found that @genesisx/graphql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.