Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@eddeee888/nx-graphql-code-generator
Advanced tools
The Nx Plugin to integrate graphql-code-generator with Nx projects
This Nx plugin can be used to add graphql-code-generator config and packages to an Nx project.
You can use this generator to wire up codegen config to an Nx project.
$ nx generate @eddeee888/nx-graphql-code-generator --project=<existing project name>
Options | Required | Description |
---|---|---|
project | Yes | Nx project to add codegen config to |
schema | Yes | Maps to codegen's schema field |
output | No | Output path for the generated path. Relative from project root. More can be added manually later. Default: graphql/generated.ts |
document | No | Maps to codegen's documents field |
pluginPreset | No | Common codegen plugins presets depending on project language, use cases and libraries |
config | No | Name of codegen config file. Default: graphql-codegen.ts |
You can use this executor to run codegen CLI. Note that the add
generator automatically adds this to the project config. Your project config should look like this:
// libs/<project name>/project.json
{
// ...
"targets": {
// ...
"graphql-codegen": {
"executor": "@eddeee888/nx-graphql-code-generator:codegen",
"options": {
"configFile": "libs/<project name>/codegen.yml"
}
}
}
}
You can run the executor like you woud other targets:
$ nx graphql-codegen <project name>
Options | Required | Description |
---|---|---|
configFile | Yes | Path to the project's codegen config file |
watch | No | Run codegen in watch mode |
FAQs
The Nx Plugin to integrate graphql-code-generator with Nx projects
The npm package @eddeee888/nx-graphql-code-generator receives a total of 80 weekly downloads. As such, @eddeee888/nx-graphql-code-generator popularity was classified as not popular.
We found that @eddeee888/nx-graphql-code-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.