
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
nuxt-codegen
Advanced tools
nuxt-codegenThis module integrates GraphQL Code Generator in your development flow.
nuxt-codegen dependency to your project# Using yarn
yarn add nuxt-codegen -D
# Using npm
npm install nuxt-codegen -D
# Using pnpm
pnpm add nuxt-codegen -D
nuxt-codegen to the modules section of nuxt.config.tsexport default defineNuxtConfig({
modules: ['nuxt-codegen']
})
Note you also need graphql, and the plugins you want to use.
codegen.ts configuration file in the project's rootDir or use the Initialization WizardThe code generator will now be executed before each build or after any changes made to your graphql documents.
export default defineNuxtConfig({
modules: ["nuxt-codegen", {
/**
* @default true
* Only run codegen in development mode
*/
devOnly: boolean;
/**
* @default ['.graphql', '.gql']
* Which file extensions to watch for changes.
*/
extensions: string[];
/**
* @default codegen.ts
* Path to the config file (e.g. ./configs/codegen.config.ts)
*/
configFile: string
}],
});
pnpm installpnpm dev:preparepnpm devFAQs
GraphQL Code Generator module for Nuxt 3
The npm package nuxt-codegen receives a total of 26 weekly downloads. As such, nuxt-codegen popularity was classified as not popular.
We found that nuxt-codegen 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.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.