verdaccio
Version:
A lightweight private npm proxy registry
1 lines • 1.01 kB
Source Map (JSON)
{"version":3,"file":"cli.mjs","names":[],"sources":["../../../src/lib/cli.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { runCli } from '@verdaccio/cli';\n\nimport { startServer } from './run-server';\nimport { getPackageVersion } from './utils';\n\nconst pkgVersion = getPackageVersion();\n\nif (pkgVersion.includes('canary')) {\n console.warn(\n '\\n' +\n '⚠️ WARNING: You are running a CANARY build of Verdaccio (v' +\n pkgVersion +\n ').\\n' +\n ' This is an unstable pre-release version meant for testing only.\\n' +\n ' Do not use in production. For stable releases: npm install -g verdaccio\\n'\n );\n}\n\n// Reuse @verdaccio/cli's command set, but inject 7.x's server factory so the\n// registry boots with the legacy-callback-capable Storage.\nrunCli({ startServer, version: pkgVersion, pkgName: 'verdaccio' });\n"],"mappings":";;;;;AAMA,IAAM,aAAa,kBAAkB;AAErC,IAAI,WAAW,SAAS,QAAQ,GAC9B,QAAQ,KACN,kEAEE,aACA,sJAGJ;AAKF,OAAO;CAAE;CAAa,SAAS;CAAY,SAAS;AAAY,CAAC"}