Options
All
  • Public
  • Public/Protected
  • All
Menu

Package plugin-file

@yarnpkg/plugin-file

This plugin adds support for the file: protocol.

Install

This plugin is included by default in Yarn.

Variables

Const FILE_REGEXP

FILE_REGEXP: RegExp = /^(?:[a-zA-Z]:[\\\/]|\.{0,2}\/)/

Const PROTOCOL

PROTOCOL: "file:" = `file:`

Const TARBALL_REGEXP

TARBALL_REGEXP: RegExp = /^[^?]*\.(?:tar\.gz|tgz)(?:::.*)?$/

Object literals

Const plugin

plugin: object

fetchers

fetchers: (TarballFileFetcher | FileFetcher)[] = [TarballFileFetcher,FileFetcher,]

resolvers

resolvers: TarballFileResolver[] = [TarballFileResolver,FileResolver,]

Generated using TypeDoc