New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dgls-test-vercel-dev-builder

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dgls-test-vercel-dev-builder

Meta-builder for developing Vercel Builders

  • 0.0.8
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

Vercel Dev Builder (vercel-dev-builder)

This is a "passthrough-Builder" for Vercel that is meant for use within the repo of your custom Vercel Builder. It makes developing Builders easier by being able to deploy any change to the Builder without needing to publish the package to the npm registry.

All the Builder functions are very simple passthrough functions that require() the code at the root of the repository and then execute the Builder's implementation.

When deploying to Vercel, it runs npm install and the "build" script specified in the package.json file to build the Builder if necessary. This is done for compatibility with Git deployments (where the source code is not built), allowing every commit to the Builder repo to be deployed to Vercel without needing to publish the changes to the npm registry.

For development with the vercel dev command, it is assumed that you have the npm dependencies installed and have built the Builder if necessary.

Usage

Specify vercel-dev-builder in your vercel.json file:

{
	"version": 2,
	"functions": {
		"api/**/*.abc": { "runtime": "vercel-dev-builder@0.0.5" }
	}
}

Note: Be sure to place the vercel.json file in the root directory of your project.

For some real-world usage examples, see vercel-deno or vercel-bash.

Keywords

FAQs

Package last updated on 29 May 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc