@antfu/ni
Advanced tools
Comparing version 0.11.1 to 0.12.0
@@ -74,3 +74,4 @@ declare const AGENTS: { | ||
declare function cmdExists(cmd: string): boolean; | ||
declare function getVoltaPrefix(): string; | ||
export { DetectOptions, Runner, RunnerContext, cmdExists, detect, exclude, getCommand, getConfig, getDefaultAgent, getGlobalAgent, parseNi, parseNr, parseNrm, parseNu, parseNx, remove, run, runCli }; | ||
export { DetectOptions, Runner, RunnerContext, cmdExists, detect, exclude, getCommand, getConfig, getDefaultAgent, getGlobalAgent, getVoltaPrefix, parseNi, parseNr, parseNrm, parseNu, parseNx, remove, run, runCli }; |
@@ -17,4 +17,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
var _chunkGM2VR4AOjs = require('./chunk-GM2VR4AO.js'); | ||
@@ -35,2 +35,4 @@ | ||
exports.cmdExists = _chunkQA3G2Q5Cjs.cmdExists; exports.detect = _chunkQA3G2Q5Cjs.detect; exports.exclude = _chunkQA3G2Q5Cjs.exclude; exports.getCommand = _chunkQA3G2Q5Cjs.getCommand; exports.getConfig = _chunkQA3G2Q5Cjs.getConfig; exports.getDefaultAgent = _chunkQA3G2Q5Cjs.getDefaultAgent; exports.getGlobalAgent = _chunkQA3G2Q5Cjs.getGlobalAgent; exports.parseNi = _chunkQA3G2Q5Cjs.parseNi; exports.parseNr = _chunkQA3G2Q5Cjs.parseNr; exports.parseNrm = _chunkQA3G2Q5Cjs.parseNrm; exports.parseNu = _chunkQA3G2Q5Cjs.parseNu; exports.parseNx = _chunkQA3G2Q5Cjs.parseNx; exports.remove = _chunkQA3G2Q5Cjs.remove; exports.run = _chunkQA3G2Q5Cjs.run; exports.runCli = _chunkQA3G2Q5Cjs.runCli; | ||
exports.cmdExists = _chunkGM2VR4AOjs.cmdExists; exports.detect = _chunkGM2VR4AOjs.detect; exports.exclude = _chunkGM2VR4AOjs.exclude; exports.getCommand = _chunkGM2VR4AOjs.getCommand; exports.getConfig = _chunkGM2VR4AOjs.getConfig; exports.getDefaultAgent = _chunkGM2VR4AOjs.getDefaultAgent; exports.getGlobalAgent = _chunkGM2VR4AOjs.getGlobalAgent; exports.getVoltaPrefix = _chunkGM2VR4AOjs.getVoltaPrefix; exports.parseNi = _chunkGM2VR4AOjs.parseNi; exports.parseNr = _chunkGM2VR4AOjs.parseNr; exports.parseNrm = _chunkGM2VR4AOjs.parseNrm; exports.parseNu = _chunkGM2VR4AOjs.parseNu; exports.parseNx = _chunkGM2VR4AOjs.parseNx; exports.remove = _chunkGM2VR4AOjs.remove; exports.run = _chunkGM2VR4AOjs.run; exports.runCli = _chunkGM2VR4AOjs.runCli; |
"use strict"; | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
var _chunkGM2VR4AOjs = require('./chunk-GM2VR4AO.js'); | ||
// src/nci.ts | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, (agent, _, hasLock) => _chunkQA3G2Q5Cjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), { autoInstall: true }); | ||
_chunkGM2VR4AOjs.runCli.call(void 0, (agent, _, hasLock) => _chunkGM2VR4AOjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), { autoInstall: true }); |
"use strict"; | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
var _chunkGM2VR4AOjs = require('./chunk-GM2VR4AO.js'); | ||
// src/ni.ts | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, _chunkQA3G2Q5Cjs.parseNi); | ||
_chunkGM2VR4AOjs.runCli.call(void 0, _chunkGM2VR4AOjs.parseNi); |
@@ -6,6 +6,6 @@ "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
var _chunkGM2VR4AOjs = require('./chunk-GM2VR4AO.js'); | ||
// src/nr.ts | ||
var import_prompts = _chunkQA3G2Q5Cjs.__toModule.call(void 0, _chunkQA3G2Q5Cjs.require_prompts.call(void 0, )); | ||
var import_prompts = _chunkGM2VR4AOjs.__toModule.call(void 0, _chunkGM2VR4AOjs.require_prompts.call(void 0, )); | ||
@@ -50,3 +50,3 @@ // src/storage.ts | ||
// src/nr.ts | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, async (agent, args, ctx) => { | ||
_chunkGM2VR4AOjs.runCli.call(void 0, async (agent, args, ctx) => { | ||
const storage2 = await load(); | ||
@@ -95,3 +95,3 @@ if (args[0] === "-") { | ||
} | ||
return _chunkQA3G2Q5Cjs.parseNr.call(void 0, agent, args); | ||
return _chunkGM2VR4AOjs.parseNr.call(void 0, agent, args); | ||
}); |
"use strict"; | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
var _chunkGM2VR4AOjs = require('./chunk-GM2VR4AO.js'); | ||
// src/nu.ts | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, _chunkQA3G2Q5Cjs.parseNu); | ||
_chunkGM2VR4AOjs.runCli.call(void 0, _chunkGM2VR4AOjs.parseNu); |
"use strict"; | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
var _chunkGM2VR4AOjs = require('./chunk-GM2VR4AO.js'); | ||
// src/nx.ts | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, _chunkQA3G2Q5Cjs.parseNx); | ||
_chunkGM2VR4AOjs.runCli.call(void 0, _chunkGM2VR4AOjs.parseNx); |
{ | ||
"name": "@antfu/ni", | ||
"version": "0.11.1", | ||
"version": "0.12.0", | ||
"description": "Use the right package manager", | ||
@@ -50,2 +50,3 @@ "license": "MIT", | ||
"@types/prompts": "^2.4.0", | ||
"@types/which": "^2.0.1", | ||
"ava": "^3.15.0", | ||
@@ -64,3 +65,4 @@ "c8": "^7.8.0", | ||
"tsup": "^4.14.0", | ||
"typescript": "^4.4.2" | ||
"typescript": "^4.4.2", | ||
"which": "^2.0.2" | ||
}, | ||
@@ -67,0 +69,0 @@ "eslintConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
542312
16174
20