@verdaccio/cli 6.0.0-6-next.66 → 6.0.0-6-next.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @verdaccio/cli
2
2
 
3
+ ## 6.0.0-6-next.68
4
+
5
+ ### Patch Changes
6
+
7
+ - @verdaccio/node-api@6.0.0-6-next.68
8
+ - @verdaccio/core@6.0.0-6-next.68
9
+ - @verdaccio/config@6.0.0-6-next.68
10
+ - @verdaccio/logger@6.0.0-6-next.36
11
+
12
+ ## 6.0.0-6-next.67
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [16e38df8]
17
+ - @verdaccio/config@6.0.0-6-next.67
18
+ - @verdaccio/core@6.0.0-6-next.67
19
+ - @verdaccio/node-api@6.0.0-6-next.67
20
+ - @verdaccio/logger@6.0.0-6-next.35
21
+
3
22
  ## 6.0.0-6-next.66
4
23
 
5
24
  ### Patch Changes
package/build/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","names":["process","getuid","warningUtils","emit","Codes","VERWAR001","isVersionValid","version","Error","MIN_NODE_VERSION","node","app","args","argv","cli","Cli","binaryLabel","binaryName","binaryVersion","require","register","InfoCommand","InitCommand","VersionCommand","runExit","defaultContext","on","err","console","error","stack","exit"],"sources":["../src/cli.ts"],"sourcesContent":["import { Cli } from 'clipanion';\n\nimport { warningUtils } from '@verdaccio/core';\n\nimport { InfoCommand } from './commands/info';\nimport { InitCommand } from './commands/init';\nimport { VersionCommand } from './commands/version';\nimport { MIN_NODE_VERSION, isVersionValid } from './utils';\n\nif (process.getuid && process.getuid() === 0) {\n warningUtils.emit(warningUtils.Codes.VERWAR001);\n}\n\nif (!isVersionValid(process.version)) {\n throw new Error(\n `Verdaccio requires at least Node.js v${MIN_NODE_VERSION} or higher and you have installed ${process.version}, \n please upgrade your Node.js distribution`\n );\n}\n\nconst [node, app, ...args] = process.argv;\n\nconst cli = new Cli({\n binaryLabel: `verdaccio`,\n binaryName: `${node} ${app}`,\n binaryVersion: require('../package.json').version,\n});\n\ncli.register(InfoCommand);\ncli.register(InitCommand);\ncli.register(VersionCommand);\ncli.runExit(args, Cli.defaultContext);\n\nprocess.on('uncaughtException', function (err) {\n console.error(\n // eslint-disable-next-line max-len\n `uncaught exception, please report (https://github.com/verdaccio/verdaccio/issues) this: \\n${err.stack}`\n );\n process.exit(1);\n});\n"],"mappings":";;AAAA;AAEA;AAEA;AACA;AACA;AACA;AAEA,IAAIA,OAAO,CAACC,MAAM,IAAID,OAAO,CAACC,MAAM,EAAE,KAAK,CAAC,EAAE;EAC5CC,kBAAY,CAACC,IAAI,CAACD,kBAAY,CAACE,KAAK,CAACC,SAAS,CAAC;AACjD;AAEA,IAAI,CAAC,IAAAC,qBAAc,EAACN,OAAO,CAACO,OAAO,CAAC,EAAE;EACpC,MAAM,IAAIC,KAAK,CACZ,wCAAuCC,uBAAiB,qCAAoCT,OAAO,CAACO,OAAQ;AACjH,6CAA6C,CAC1C;AACH;AAEA,MAAM,CAACG,IAAI,EAAEC,GAAG,EAAE,GAAGC,IAAI,CAAC,GAAGZ,OAAO,CAACa,IAAI;AAEzC,MAAMC,GAAG,GAAG,IAAIC,cAAG,CAAC;EAClBC,WAAW,EAAG,WAAU;EACxBC,UAAU,EAAG,GAAEP,IAAK,IAAGC,GAAI,EAAC;EAC5BO,aAAa,EAAEC,OAAO,CAAC,iBAAiB,CAAC,CAACZ;AAC5C,CAAC,CAAC;AAEFO,GAAG,CAACM,QAAQ,CAACC,iBAAW,CAAC;AACzBP,GAAG,CAACM,QAAQ,CAACE,iBAAW,CAAC;AACzBR,GAAG,CAACM,QAAQ,CAACG,uBAAc,CAAC;AAC5BT,GAAG,CAACU,OAAO,CAACZ,IAAI,EAAEG,cAAG,CAACU,cAAc,CAAC;AAErCzB,OAAO,CAAC0B,EAAE,CAAC,mBAAmB,EAAE,UAAUC,GAAG,EAAE;EAC7CC,OAAO,CAACC,KAAK;EACX;EACC,6FAA4FF,GAAG,CAACG,KAAM,EAAC,CACzG;EACD9B,OAAO,CAAC+B,IAAI,CAAC,CAAC,CAAC;AACjB,CAAC,CAAC"}
1
+ {"version":3,"file":"cli.js","names":["_clipanion","require","_core","_info","_init","_version","_utils","process","getuid","warningUtils","emit","Codes","VERWAR001","isVersionValid","version","Error","MIN_NODE_VERSION","node","app","args","argv","cli","Cli","binaryLabel","binaryName","binaryVersion","register","InfoCommand","InitCommand","VersionCommand","runExit","defaultContext","on","err","console","error","stack","exit"],"sources":["../src/cli.ts"],"sourcesContent":["import { Cli } from 'clipanion';\n\nimport { warningUtils } from '@verdaccio/core';\n\nimport { InfoCommand } from './commands/info';\nimport { InitCommand } from './commands/init';\nimport { VersionCommand } from './commands/version';\nimport { MIN_NODE_VERSION, isVersionValid } from './utils';\n\nif (process.getuid && process.getuid() === 0) {\n warningUtils.emit(warningUtils.Codes.VERWAR001);\n}\n\nif (!isVersionValid(process.version)) {\n throw new Error(\n `Verdaccio requires at least Node.js v${MIN_NODE_VERSION} or higher and you have installed ${process.version}, \n please upgrade your Node.js distribution`\n );\n}\n\nconst [node, app, ...args] = process.argv;\n\nconst cli = new Cli({\n binaryLabel: `verdaccio`,\n binaryName: `${node} ${app}`,\n binaryVersion: require('../package.json').version,\n});\n\ncli.register(InfoCommand);\ncli.register(InitCommand);\ncli.register(VersionCommand);\ncli.runExit(args, Cli.defaultContext);\n\nprocess.on('uncaughtException', function (err) {\n console.error(\n // eslint-disable-next-line max-len\n `uncaught exception, please report (https://github.com/verdaccio/verdaccio/issues) this: \\n${err.stack}`\n );\n process.exit(1);\n});\n"],"mappings":";;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AAEA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAEA,IAAIM,OAAO,CAACC,MAAM,IAAID,OAAO,CAACC,MAAM,EAAE,KAAK,CAAC,EAAE;EAC5CC,kBAAY,CAACC,IAAI,CAACD,kBAAY,CAACE,KAAK,CAACC,SAAS,CAAC;AACjD;AAEA,IAAI,CAAC,IAAAC,qBAAc,EAACN,OAAO,CAACO,OAAO,CAAC,EAAE;EACpC,MAAM,IAAIC,KAAK,CACZ,wCAAuCC,uBAAiB,qCAAoCT,OAAO,CAACO,OAAQ;AACjH,6CAA6C,CAC1C;AACH;AAEA,MAAM,CAACG,IAAI,EAAEC,GAAG,EAAE,GAAGC,IAAI,CAAC,GAAGZ,OAAO,CAACa,IAAI;AAEzC,MAAMC,GAAG,GAAG,IAAIC,cAAG,CAAC;EAClBC,WAAW,EAAG,WAAU;EACxBC,UAAU,EAAG,GAAEP,IAAK,IAAGC,GAAI,EAAC;EAC5BO,aAAa,EAAExB,OAAO,CAAC,iBAAiB,CAAC,CAACa;AAC5C,CAAC,CAAC;AAEFO,GAAG,CAACK,QAAQ,CAACC,iBAAW,CAAC;AACzBN,GAAG,CAACK,QAAQ,CAACE,iBAAW,CAAC;AACzBP,GAAG,CAACK,QAAQ,CAACG,uBAAc,CAAC;AAC5BR,GAAG,CAACS,OAAO,CAACX,IAAI,EAAEG,cAAG,CAACS,cAAc,CAAC;AAErCxB,OAAO,CAACyB,EAAE,CAAC,mBAAmB,EAAE,UAAUC,GAAG,EAAE;EAC7CC,OAAO,CAACC,KAAK;EACX;EACC,6FAA4FF,GAAG,CAACG,KAAM,EAAC,CACzG;EACD7B,OAAO,CAAC8B,IAAI,CAAC,CAAC,CAAC;AACjB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"info.js","names":["InfoCommand","Command","paths","execute","context","stdout","write","data","envinfo","run","System","Binaries","Virtualization","Browsers","npmGlobalPackages","process","exit"],"sources":["../../src/commands/info.ts"],"sourcesContent":["import { Command } from 'clipanion';\nimport envinfo from 'envinfo';\n\nexport class InfoCommand extends Command {\n public static paths = [[`--info`], [`-i`]];\n\n public async execute(): Promise<void> {\n this.context.stdout.write('\\nEnvironment Info:');\n const data = await envinfo.run({\n System: ['OS', 'CPU'],\n Binaries: ['node', 'yarn', 'npm', 'pnpm'],\n Virtualization: ['Docker'],\n Browsers: ['Chrome', 'Edge', 'Firefox', 'Safari'],\n npmGlobalPackages: ['verdaccio'],\n });\n\n this.context.stdout.write(data);\n process.exit(0);\n }\n}\n"],"mappings":";;;;;;AAAA;AACA;AAA8B;AAEvB,MAAMA,WAAW,SAASC,kBAAO,CAAC;EACvC,OAAcC,KAAK,GAAG,CAAC,CAAE,QAAO,CAAC,EAAE,CAAE,IAAG,CAAC,CAAC;EAE1C,MAAaC,OAAO,GAAkB;IACpC,IAAI,CAACC,OAAO,CAACC,MAAM,CAACC,KAAK,CAAC,qBAAqB,CAAC;IAChD,MAAMC,IAAI,GAAG,MAAMC,gBAAO,CAACC,GAAG,CAAC;MAC7BC,MAAM,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;MACrBC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC;MACzCC,cAAc,EAAE,CAAC,QAAQ,CAAC;MAC1BC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC;MACjDC,iBAAiB,EAAE,CAAC,WAAW;IACjC,CAAC,CAAC;IAEF,IAAI,CAACV,OAAO,CAACC,MAAM,CAACC,KAAK,CAACC,IAAI,CAAC;IAC/BQ,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;EACjB;AACF;AAAC"}
1
+ {"version":3,"file":"info.js","names":["_clipanion","require","_envinfo","_interopRequireDefault","obj","__esModule","default","InfoCommand","Command","paths","execute","context","stdout","write","data","envinfo","run","System","Binaries","Virtualization","Browsers","npmGlobalPackages","process","exit","exports"],"sources":["../../src/commands/info.ts"],"sourcesContent":["import { Command } from 'clipanion';\nimport envinfo from 'envinfo';\n\nexport class InfoCommand extends Command {\n public static paths = [[`--info`], [`-i`]];\n\n public async execute(): Promise<void> {\n this.context.stdout.write('\\nEnvironment Info:');\n const data = await envinfo.run({\n System: ['OS', 'CPU'],\n Binaries: ['node', 'yarn', 'npm', 'pnpm'],\n Virtualization: ['Docker'],\n Browsers: ['Chrome', 'Edge', 'Firefox', 'Safari'],\n npmGlobalPackages: ['verdaccio'],\n });\n\n this.context.stdout.write(data);\n process.exit(0);\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AAA8B,SAAAE,uBAAAC,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEvB,MAAMG,WAAW,SAASC,kBAAO,CAAC;EACvC,OAAcC,KAAK,GAAG,CAAC,CAAE,QAAO,CAAC,EAAE,CAAE,IAAG,CAAC,CAAC;EAE1C,MAAaC,OAAOA,CAAA,EAAkB;IACpC,IAAI,CAACC,OAAO,CAACC,MAAM,CAACC,KAAK,CAAC,qBAAqB,CAAC;IAChD,MAAMC,IAAI,GAAG,MAAMC,gBAAO,CAACC,GAAG,CAAC;MAC7BC,MAAM,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;MACrBC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC;MACzCC,cAAc,EAAE,CAAC,QAAQ,CAAC;MAC1BC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC;MACjDC,iBAAiB,EAAE,CAAC,WAAW;IACjC,CAAC,CAAC;IAEF,IAAI,CAACV,OAAO,CAACC,MAAM,CAACC,KAAK,CAACC,IAAI,CAAC;IAC/BQ,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;EACjB;AACF;AAACC,OAAA,CAAAjB,WAAA,GAAAA,WAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"init.js","names":["DEFAULT_PROCESS_NAME","InitCommand","Command","paths","Default","port","Option","String","description","usage","Usage","details","examples","config","initLogger","logConfig","logs","log","warningUtils","emit","Codes","VERWAR002","setup","execute","configPathLocation","findConfigFile","configParsed","parseConfigFile","web","process","title","version","name","require","initServer","logger","info","err","console","error","exit"],"sources":["../../src/commands/init.ts"],"sourcesContent":["import { Command, Option } from 'clipanion';\n\nimport { findConfigFile, parseConfigFile } from '@verdaccio/config';\nimport { warningUtils } from '@verdaccio/core';\nimport { logger, setup } from '@verdaccio/logger';\nimport { initServer } from '@verdaccio/node-api';\nimport { ConfigYaml, LoggerConfigItem } from '@verdaccio/types';\n\nexport const DEFAULT_PROCESS_NAME: string = 'verdaccio';\n\nexport class InitCommand extends Command {\n public static paths = [Command.Default];\n\n private port = Option.String('-l,-p,--listen,--port', {\n description: 'host:port number to listen on (default: localhost:4873)',\n });\n\n // eslint-disable-next-line\n static usage = Command.Usage({\n description: `launch the server`,\n details: `\n This start the registry in the default port.\n\n When used without arguments, it:\n\n - bootstrap the server at the port \\`4873\\`\n\n The optional arguments are:\n\n - \\`-l | --listen | -p | --port\\` to switch the default server port,\n - \\`-c | --config\\` to define a different configuration path location,\n\n `,\n examples: [\n [`Runs the server with the default configuration`, `verdaccio`],\n [`Runs the server in the port 5000`, `verdaccio --listen 5000`],\n [\n `Runs the server by using a different absolute location of the configuration file`,\n `verdaccio --config /home/user/verdaccio/config.yaml`,\n ],\n ],\n });\n\n private config = Option.String('-c,--config', {\n description: 'use this configuration file (default: ./config.yaml)',\n });\n\n private initLogger(logConfig: ConfigYaml) {\n if (logConfig.logs) {\n logConfig.log = logConfig.logs;\n warningUtils.emit(warningUtils.Codes.VERWAR002);\n }\n setup(logConfig.log as LoggerConfigItem);\n }\n\n public async execute() {\n try {\n const configPathLocation = findConfigFile(this.config as string);\n const configParsed = parseConfigFile(configPathLocation);\n this.initLogger(configParsed);\n const { web } = configParsed;\n\n process.title = web?.title || DEFAULT_PROCESS_NAME;\n\n const { version, name } = require('../../package.json');\n\n await initServer(configParsed, this.port as string, version, name);\n logger.info('server started');\n } catch (err: any) {\n console.error(err);\n process.exit(1);\n }\n }\n}\n"],"mappings":";;;;;;AAAA;AAEA;AACA;AACA;AACA;AAGO,MAAMA,oBAA4B,GAAG,WAAW;AAAC;AAEjD,MAAMC,WAAW,SAASC,kBAAO,CAAC;EACvC,OAAcC,KAAK,GAAG,CAACD,kBAAO,CAACE,OAAO,CAAC;EAE/BC,IAAI,GAAGC,iBAAM,CAACC,MAAM,CAAC,uBAAuB,EAAE;IACpDC,WAAW,EAAE;EACf,CAAC,CAAC;;EAEF;EACA,OAAOC,KAAK,GAAGP,kBAAO,CAACQ,KAAK,CAAC;IAC3BF,WAAW,EAAG,mBAAkB;IAChCG,OAAO,EAAG;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;IACDC,QAAQ,EAAE,CACR,CAAE,gDAA+C,EAAG,WAAU,CAAC,EAC/D,CAAE,kCAAiC,EAAG,yBAAwB,CAAC,EAC/D,CACG,kFAAiF,EACjF,qDAAoD,CACtD;EAEL,CAAC,CAAC;EAEMC,MAAM,GAAGP,iBAAM,CAACC,MAAM,CAAC,aAAa,EAAE;IAC5CC,WAAW,EAAE;EACf,CAAC,CAAC;EAEMM,UAAU,CAACC,SAAqB,EAAE;IACxC,IAAIA,SAAS,CAACC,IAAI,EAAE;MAClBD,SAAS,CAACE,GAAG,GAAGF,SAAS,CAACC,IAAI;MAC9BE,kBAAY,CAACC,IAAI,CAACD,kBAAY,CAACE,KAAK,CAACC,SAAS,CAAC;IACjD;IACA,IAAAC,aAAK,EAACP,SAAS,CAACE,GAAG,CAAqB;EAC1C;EAEA,MAAaM,OAAO,GAAG;IACrB,IAAI;MACF,MAAMC,kBAAkB,GAAG,IAAAC,sBAAc,EAAC,IAAI,CAACZ,MAAM,CAAW;MAChE,MAAMa,YAAY,GAAG,IAAAC,uBAAe,EAACH,kBAAkB,CAAC;MACxD,IAAI,CAACV,UAAU,CAACY,YAAY,CAAC;MAC7B,MAAM;QAAEE;MAAI,CAAC,GAAGF,YAAY;MAE5BG,OAAO,CAACC,KAAK,GAAG,CAAAF,GAAG,aAAHA,GAAG,uBAAHA,GAAG,CAAEE,KAAK,KAAI9B,oBAAoB;MAElD,MAAM;QAAE+B,OAAO;QAAEC;MAAK,CAAC,GAAGC,OAAO,CAAC,oBAAoB,CAAC;MAEvD,MAAM,IAAAC,mBAAU,EAACR,YAAY,EAAE,IAAI,CAACrB,IAAI,EAAY0B,OAAO,EAAEC,IAAI,CAAC;MAClEG,cAAM,CAACC,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC,CAAC,OAAOC,GAAQ,EAAE;MACjBC,OAAO,CAACC,KAAK,CAACF,GAAG,CAAC;MAClBR,OAAO,CAACW,IAAI,CAAC,CAAC,CAAC;IACjB;EACF;AACF;AAAC"}
1
+ {"version":3,"file":"init.js","names":["_clipanion","require","_config","_core","_logger","_nodeApi","DEFAULT_PROCESS_NAME","exports","InitCommand","Command","paths","Default","port","Option","String","description","usage","Usage","details","examples","config","initLogger","logConfig","logs","log","warningUtils","emit","Codes","VERWAR002","setup","execute","configPathLocation","findConfigFile","configParsed","parseConfigFile","web","process","title","version","name","initServer","logger","info","err","console","error","exit"],"sources":["../../src/commands/init.ts"],"sourcesContent":["import { Command, Option } from 'clipanion';\n\nimport { findConfigFile, parseConfigFile } from '@verdaccio/config';\nimport { warningUtils } from '@verdaccio/core';\nimport { logger, setup } from '@verdaccio/logger';\nimport { initServer } from '@verdaccio/node-api';\nimport { ConfigYaml, LoggerConfigItem } from '@verdaccio/types';\n\nexport const DEFAULT_PROCESS_NAME: string = 'verdaccio';\n\nexport class InitCommand extends Command {\n public static paths = [Command.Default];\n\n private port = Option.String('-l,-p,--listen,--port', {\n description: 'host:port number to listen on (default: localhost:4873)',\n });\n\n // eslint-disable-next-line\n static usage = Command.Usage({\n description: `launch the server`,\n details: `\n This start the registry in the default port.\n\n When used without arguments, it:\n\n - bootstrap the server at the port \\`4873\\`\n\n The optional arguments are:\n\n - \\`-l | --listen | -p | --port\\` to switch the default server port,\n - \\`-c | --config\\` to define a different configuration path location,\n\n `,\n examples: [\n [`Runs the server with the default configuration`, `verdaccio`],\n [`Runs the server in the port 5000`, `verdaccio --listen 5000`],\n [\n `Runs the server by using a different absolute location of the configuration file`,\n `verdaccio --config /home/user/verdaccio/config.yaml`,\n ],\n ],\n });\n\n private config = Option.String('-c,--config', {\n description: 'use this configuration file (default: ./config.yaml)',\n });\n\n private initLogger(logConfig: ConfigYaml) {\n if (logConfig.logs) {\n logConfig.log = logConfig.logs;\n warningUtils.emit(warningUtils.Codes.VERWAR002);\n }\n setup(logConfig.log as LoggerConfigItem);\n }\n\n public async execute() {\n try {\n const configPathLocation = findConfigFile(this.config as string);\n const configParsed = parseConfigFile(configPathLocation);\n this.initLogger(configParsed);\n const { web } = configParsed;\n\n process.title = web?.title || DEFAULT_PROCESS_NAME;\n\n const { version, name } = require('../../package.json');\n\n await initServer(configParsed, this.port as string, version, name);\n logger.info('server started');\n } catch (err: any) {\n console.error(err);\n process.exit(1);\n }\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAGO,MAAMK,oBAA4B,GAAG,WAAW;AAACC,OAAA,CAAAD,oBAAA,GAAAA,oBAAA;AAEjD,MAAME,WAAW,SAASC,kBAAO,CAAC;EACvC,OAAcC,KAAK,GAAG,CAACD,kBAAO,CAACE,OAAO,CAAC;EAE/BC,IAAI,GAAGC,iBAAM,CAACC,MAAM,CAAC,uBAAuB,EAAE;IACpDC,WAAW,EAAE;EACf,CAAC,CAAC;;EAEF;EACA,OAAOC,KAAK,GAAGP,kBAAO,CAACQ,KAAK,CAAC;IAC3BF,WAAW,EAAG,mBAAkB;IAChCG,OAAO,EAAG;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;IACDC,QAAQ,EAAE,CACR,CAAE,gDAA+C,EAAG,WAAU,CAAC,EAC/D,CAAE,kCAAiC,EAAG,yBAAwB,CAAC,EAC/D,CACG,kFAAiF,EACjF,qDAAoD,CACtD;EAEL,CAAC,CAAC;EAEMC,MAAM,GAAGP,iBAAM,CAACC,MAAM,CAAC,aAAa,EAAE;IAC5CC,WAAW,EAAE;EACf,CAAC,CAAC;EAEMM,UAAUA,CAACC,SAAqB,EAAE;IACxC,IAAIA,SAAS,CAACC,IAAI,EAAE;MAClBD,SAAS,CAACE,GAAG,GAAGF,SAAS,CAACC,IAAI;MAC9BE,kBAAY,CAACC,IAAI,CAACD,kBAAY,CAACE,KAAK,CAACC,SAAS,CAAC;IACjD;IACA,IAAAC,aAAK,EAACP,SAAS,CAACE,GAAG,CAAqB;EAC1C;EAEA,MAAaM,OAAOA,CAAA,EAAG;IACrB,IAAI;MACF,MAAMC,kBAAkB,GAAG,IAAAC,sBAAc,EAAC,IAAI,CAACZ,MAAM,CAAW;MAChE,MAAMa,YAAY,GAAG,IAAAC,uBAAe,EAACH,kBAAkB,CAAC;MACxD,IAAI,CAACV,UAAU,CAACY,YAAY,CAAC;MAC7B,MAAM;QAAEE;MAAI,CAAC,GAAGF,YAAY;MAE5BG,OAAO,CAACC,KAAK,GAAG,CAAAF,GAAG,aAAHA,GAAG,uBAAHA,GAAG,CAAEE,KAAK,KAAI/B,oBAAoB;MAElD,MAAM;QAAEgC,OAAO;QAAEC;MAAK,CAAC,GAAGtC,OAAO,CAAC,oBAAoB,CAAC;MAEvD,MAAM,IAAAuC,mBAAU,EAACP,YAAY,EAAE,IAAI,CAACrB,IAAI,EAAY0B,OAAO,EAAEC,IAAI,CAAC;MAClEE,cAAM,CAACC,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC,CAAC,OAAOC,GAAQ,EAAE;MACjBC,OAAO,CAACC,KAAK,CAACF,GAAG,CAAC;MAClBP,OAAO,CAACU,IAAI,CAAC,CAAC,CAAC;IACjB;EACF;AACF;AAACvC,OAAA,CAAAC,WAAA,GAAAA,WAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","names":["VersionCommand","Command","paths","execute","version","require","context","stdout","write","process","exit"],"sources":["../../src/commands/version.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-member-accessibility */\nimport { Command } from 'clipanion';\n\nexport class VersionCommand extends Command {\n static paths = [[`--version`], [`-v`]];\n\n async execute() {\n const version = require('../../package.json').version;\n this.context.stdout.write(`v${version}\\n`);\n process.exit(0);\n }\n}\n"],"mappings":";;;;;;AACA;AADA;;AAGO,MAAMA,cAAc,SAASC,kBAAO,CAAC;EAC1C,OAAOC,KAAK,GAAG,CAAC,CAAE,WAAU,CAAC,EAAE,CAAE,IAAG,CAAC,CAAC;EAEtC,MAAMC,OAAO,GAAG;IACd,MAAMC,OAAO,GAAGC,OAAO,CAAC,oBAAoB,CAAC,CAACD,OAAO;IACrD,IAAI,CAACE,OAAO,CAACC,MAAM,CAACC,KAAK,CAAE,IAAGJ,OAAQ,IAAG,CAAC;IAC1CK,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;EACjB;AACF;AAAC"}
1
+ {"version":3,"file":"version.js","names":["_clipanion","require","VersionCommand","Command","paths","execute","version","context","stdout","write","process","exit","exports"],"sources":["../../src/commands/version.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-member-accessibility */\nimport { Command } from 'clipanion';\n\nexport class VersionCommand extends Command {\n static paths = [[`--version`], [`-v`]];\n\n async execute() {\n const version = require('../../package.json').version;\n this.context.stdout.write(`v${version}\\n`);\n process.exit(0);\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,UAAA,GAAAC,OAAA;AADA;;AAGO,MAAMC,cAAc,SAASC,kBAAO,CAAC;EAC1C,OAAOC,KAAK,GAAG,CAAC,CAAE,WAAU,CAAC,EAAE,CAAE,IAAG,CAAC,CAAC;EAEtC,MAAMC,OAAOA,CAAA,EAAG;IACd,MAAMC,OAAO,GAAGL,OAAO,CAAC,oBAAoB,CAAC,CAACK,OAAO;IACrD,IAAI,CAACC,OAAO,CAACC,MAAM,CAACC,KAAK,CAAE,IAAGH,OAAQ,IAAG,CAAC;IAC1CI,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;EACjB;AACF;AAACC,OAAA,CAAAV,cAAA,GAAAA,cAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","names":["MIN_NODE_VERSION","isVersionValid","processVersion","version","slice","semver","satisfies"],"sources":["../src/utils.ts"],"sourcesContent":["import semver from 'semver';\n\nexport const MIN_NODE_VERSION = '14.0.0';\n\nexport function isVersionValid(processVersion) {\n const version = processVersion.slice(1);\n return semver.satisfies(version, `>=${MIN_NODE_VERSION}`);\n}\n"],"mappings":";;;;;;;AAAA;AAA4B;AAErB,MAAMA,gBAAgB,GAAG,QAAQ;AAAC;AAElC,SAASC,cAAc,CAACC,cAAc,EAAE;EAC7C,MAAMC,OAAO,GAAGD,cAAc,CAACE,KAAK,CAAC,CAAC,CAAC;EACvC,OAAOC,eAAM,CAACC,SAAS,CAACH,OAAO,EAAG,KAAIH,gBAAiB,EAAC,CAAC;AAC3D"}
1
+ {"version":3,"file":"utils.js","names":["_semver","_interopRequireDefault","require","obj","__esModule","default","MIN_NODE_VERSION","exports","isVersionValid","processVersion","version","slice","semver","satisfies"],"sources":["../src/utils.ts"],"sourcesContent":["import semver from 'semver';\n\nexport const MIN_NODE_VERSION = '14.0.0';\n\nexport function isVersionValid(processVersion) {\n const version = processVersion.slice(1);\n return semver.satisfies(version, `>=${MIN_NODE_VERSION}`);\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA4B,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAErB,MAAMG,gBAAgB,GAAG,QAAQ;AAACC,OAAA,CAAAD,gBAAA,GAAAA,gBAAA;AAElC,SAASE,cAAcA,CAACC,cAAc,EAAE;EAC7C,MAAMC,OAAO,GAAGD,cAAc,CAACE,KAAK,CAAC,CAAC,CAAC;EACvC,OAAOC,eAAM,CAACC,SAAS,CAACH,OAAO,EAAG,KAAIJ,gBAAiB,EAAC,CAAC;AAC3D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/cli",
3
- "version": "6.0.0-6-next.66",
3
+ "version": "6.0.0-6-next.68",
4
4
  "author": {
5
5
  "name": "Juan Picado",
6
6
  "email": "juanpicado19@gmail.com"
@@ -34,10 +34,10 @@
34
34
  "main": "./build/index.js",
35
35
  "types": "build/index.d.ts",
36
36
  "dependencies": {
37
- "@verdaccio/core": "6.0.0-6-next.66",
38
- "@verdaccio/config": "6.0.0-6-next.66",
39
- "@verdaccio/logger": "6.0.0-6-next.34",
40
- "@verdaccio/node-api": "6.0.0-6-next.66",
37
+ "@verdaccio/core": "6.0.0-6-next.68",
38
+ "@verdaccio/config": "6.0.0-6-next.68",
39
+ "@verdaccio/logger": "6.0.0-6-next.36",
40
+ "@verdaccio/node-api": "6.0.0-6-next.68",
41
41
  "clipanion": "3.2.0",
42
42
  "envinfo": "7.8.1",
43
43
  "kleur": "3.0.3",
@@ -59,6 +59,5 @@
59
59
  "watch": "pnpm build:js --F --watch",
60
60
  "build": "pnpm run build:js && pnpm run build:types",
61
61
  "start": "ts-node src/index.ts"
62
- },
63
- "readme": "# @verdaccio/cli\n\n[![backers](https://opencollective.com/verdaccio/tiers/backer/badge.svg?label=Backer&color=brightgreen)](https://opencollective.com/verdaccio)\n[![stackshare](https://img.shields.io/badge/Follow%20on-StackShare-blue.svg?logo=stackshare&style=flat)](https://stackshare.io/verdaccio)\n[![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)\n[![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)\n[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)\n\n[![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)\n[![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)\n\n## Donations\n\nVerdaccio is run by **volunteers**; nobody is working full-time on it. If you find this project to be useful and would like to support its development, consider making a donation - **your logo might end up in this readme.** 😉\n\n**[Donate](https://opencollective.com/verdaccio)** 💵👍🏻 starting from _\\$1/month_ or just one single contribution.\n\n## Report a vulnerability\n\nIf you want to report a security vulnerability, please follow the steps which we have defined for you in our [security policy](https://github.com/verdaccio/verdaccio/security/policy).\n\n## Open Collective Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/verdaccio#sponsor)]\n\n[![sponsor](https://opencollective.com/verdaccio/sponsor/0/avatar.svg)](https://opencollective.com/verdaccio/sponsor/0/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/1/avatar.svg)](https://opencollective.com/verdaccio/sponsor/1/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/2/avatar.svg)](https://opencollective.com/verdaccio/sponsor/2/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/3/avatar.svg)](https://opencollective.com/verdaccio/sponsor/3/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/4/avatar.svg)](https://opencollective.com/verdaccio/sponsor/4/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/5/avatar.svg)](https://opencollective.com/verdaccio/sponsor/5/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/6/avatar.svg)](https://opencollective.com/verdaccio/sponsor/6/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/7/avatar.svg)](https://opencollective.com/verdaccio/sponsor/7/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/8/avatar.svg)](https://opencollective.com/verdaccio/sponsor/8/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/9/avatar.svg)](https://opencollective.com/verdaccio/sponsor/9/website)\n\n## Open Collective Backers\n\nThank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/verdaccio#backer)]\n\n[![backers](https://opencollective.com/verdaccio/backers.svg?width=890)](https://opencollective.com/verdaccio#backers)\n\n## Special Thanks\n\nThanks to the following companies to help us to achieve our goals providing free open source licenses.\n\n[![jetbrain](assets/thanks/jetbrains/logo.png)](https://www.jetbrains.com/)\n[![crowdin](assets/thanks/crowdin/logo.png)](https://crowdin.com/)\n[![balsamiq](assets/thanks/balsamiq/logo.jpg)](https://balsamiq.com/)\n\n## Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].\n\n[![contributors](https://opencollective.com/verdaccio/contributors.svg?width=890&button=true)](../../graphs/contributors)\n\n### FAQ / Contact / Troubleshoot\n\nIf you have any issue you can try the following options, do no desist to ask or check our issues database, perhaps someone has asked already what you are looking for.\n\n- [Blog](https://verdaccio.org/blog/)\n- [Donations](https://opencollective.com/verdaccio)\n- [Reporting an issue](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#reporting-a-bug)\n- [Running discussions](https://github.com/verdaccio/verdaccio/issues?q=is%3Aissue+is%3Aopen+label%3Adiscuss)\n- [Chat](http://chat.verdaccio.org/)\n- [Logos](https://verdaccio.org/docs/en/logo)\n- [Docker Examples](https://github.com/verdaccio/docker-examples)\n- [FAQ](https://github.com/verdaccio/verdaccio/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Aquestion%20)\n\n### License\n\nVerdaccio is [MIT licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)\n\nThe Verdaccio documentation and logos (excluding /thanks, e.g., .md, .png, .sketch) files within the /assets folder) is\n[Creative Commons licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE-docs).\n"
62
+ }
64
63
  }