Socket
Socket
Sign inDemoInstall

@vercel/experimental-nft-next-plugin

Package Overview
Dependencies
113
Maintainers
197
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @vercel/experimental-nft-next-plugin

## Installation


Version published
Weekly downloads
296
increased by21.81%
Maintainers
197
Created
Weekly downloads
 

Readme

Source

@vercel/experimental-nft-next-plugin

Installation

  • yarn add -D @vercel/experimental-nft-next-plugin
  • npm install -D @vercel/experimental-nft-next-plugin
  • pnpm install -D @vercel/experimental-nft-next-plugin

Usage

// next.config.js

const { createNodeFileTrace } = require("@vercel/experimental-nft-next-plugin");

const withNodeFileTrace = createNodeFileTrace({
    // experimental nft options
    log: {
        all: true,
    },
});

module.exports = withNodeFileTrace({
    // next config
});

experimental nft options

Note

The default options should work fine.

Warn

The experimental nft does not support pnpm yet.

  • cwd?: string, default is process.cwd(), you can override it to specify another directory to run experimental nft.
  • contextDirectory?: string, relative to cwd, default is .. It must be the directory where the node_modules directory is located. If you are in the monorepo, you should set it to the root directory of the monorepo. For yarn2+/npm workspaces, the default value will respect the PROJECT_CWD and npm_config_local_prefix environment variables injected by yarn/npm client. If the default value doesn't work, you can override it to specify the root directory of the monorepo.
  • path?: string, additional path which will be appended into the PATH environment variable.
  • log?.all?: boolean, default is false, whether to show all logs.
  • log?.level?: string, default is error, the log level.
  • log?.detail?: boolean, default is false, whether to expand the log details.

FAQs

Last updated on 22 Sep 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc