@antfu/ni
Advanced tools
Comparing version 0.10.2 to 0.11.0
@@ -17,3 +17,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkYLBIKGWLjs = require('./chunk-YLBIKGWL.js'); | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
@@ -35,2 +35,2 @@ | ||
exports.cmdExists = _chunkYLBIKGWLjs.cmdExists; exports.detect = _chunkYLBIKGWLjs.detect; exports.exclude = _chunkYLBIKGWLjs.exclude; exports.getCommand = _chunkYLBIKGWLjs.getCommand; exports.getConfig = _chunkYLBIKGWLjs.getConfig; exports.getDefaultAgent = _chunkYLBIKGWLjs.getDefaultAgent; exports.getGlobalAgent = _chunkYLBIKGWLjs.getGlobalAgent; exports.parseNi = _chunkYLBIKGWLjs.parseNi; exports.parseNr = _chunkYLBIKGWLjs.parseNr; exports.parseNrm = _chunkYLBIKGWLjs.parseNrm; exports.parseNu = _chunkYLBIKGWLjs.parseNu; exports.parseNx = _chunkYLBIKGWLjs.parseNx; exports.remove = _chunkYLBIKGWLjs.remove; exports.run = _chunkYLBIKGWLjs.run; exports.runCli = _chunkYLBIKGWLjs.runCli; | ||
exports.cmdExists = _chunkDRFU2ZKCjs.cmdExists; exports.detect = _chunkDRFU2ZKCjs.detect; exports.exclude = _chunkDRFU2ZKCjs.exclude; exports.getCommand = _chunkDRFU2ZKCjs.getCommand; exports.getConfig = _chunkDRFU2ZKCjs.getConfig; exports.getDefaultAgent = _chunkDRFU2ZKCjs.getDefaultAgent; exports.getGlobalAgent = _chunkDRFU2ZKCjs.getGlobalAgent; exports.parseNi = _chunkDRFU2ZKCjs.parseNi; exports.parseNr = _chunkDRFU2ZKCjs.parseNr; exports.parseNrm = _chunkDRFU2ZKCjs.parseNrm; exports.parseNu = _chunkDRFU2ZKCjs.parseNu; exports.parseNx = _chunkDRFU2ZKCjs.parseNx; exports.remove = _chunkDRFU2ZKCjs.remove; exports.run = _chunkDRFU2ZKCjs.run; exports.runCli = _chunkDRFU2ZKCjs.runCli; |
"use strict"; | ||
var _chunkYLBIKGWLjs = require('./chunk-YLBIKGWL.js'); | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
// src/nci.ts | ||
_chunkYLBIKGWLjs.runCli.call(void 0, (agent, _, hasLock) => _chunkYLBIKGWLjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), { autoInstall: true }); | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, (agent, _, hasLock) => _chunkDRFU2ZKCjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), { autoInstall: true }); |
"use strict"; | ||
var _chunkYLBIKGWLjs = require('./chunk-YLBIKGWL.js'); | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
// src/ni.ts | ||
_chunkYLBIKGWLjs.runCli.call(void 0, _chunkYLBIKGWLjs.parseNi); | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, _chunkDRFU2ZKCjs.parseNi); |
@@ -6,6 +6,6 @@ "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _chunkYLBIKGWLjs = require('./chunk-YLBIKGWL.js'); | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
// src/nr.ts | ||
var import_prompts = _chunkYLBIKGWLjs.__toModule.call(void 0, _chunkYLBIKGWLjs.require_prompts.call(void 0, )); | ||
var import_prompts = _chunkDRFU2ZKCjs.__toModule.call(void 0, _chunkDRFU2ZKCjs.require_prompts.call(void 0, )); | ||
@@ -50,3 +50,3 @@ // src/storage.ts | ||
// src/nr.ts | ||
_chunkYLBIKGWLjs.runCli.call(void 0, async (agent, args, ctx) => { | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, async (agent, args, ctx) => { | ||
const storage2 = await load(); | ||
@@ -95,3 +95,3 @@ if (args[0] === "-") { | ||
} | ||
return _chunkYLBIKGWLjs.parseNr.call(void 0, agent, args); | ||
return _chunkDRFU2ZKCjs.parseNr.call(void 0, agent, args); | ||
}); |
"use strict"; | ||
var _chunkYLBIKGWLjs = require('./chunk-YLBIKGWL.js'); | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
// src/nu.ts | ||
_chunkYLBIKGWLjs.runCli.call(void 0, _chunkYLBIKGWLjs.parseNu); | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, _chunkDRFU2ZKCjs.parseNu); |
"use strict"; | ||
var _chunkYLBIKGWLjs = require('./chunk-YLBIKGWL.js'); | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
// src/nx.ts | ||
_chunkYLBIKGWLjs.runCli.call(void 0, _chunkYLBIKGWLjs.parseNx); | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, _chunkDRFU2ZKCjs.parseNx); |
{ | ||
"name": "@antfu/ni", | ||
"version": "0.10.2", | ||
"version": "0.11.0", | ||
"description": "Use the right package manager", | ||
@@ -23,4 +23,3 @@ "license": "MIT", | ||
"nu": "bin/nu.js", | ||
"nx": "bin/nx.js", | ||
"nrm": "bin/nrm.js" | ||
"nx": "bin/nx.js" | ||
}, | ||
@@ -40,5 +39,4 @@ "bugs": { | ||
"nx": "esno src/nx.ts", | ||
"nrm": "esno src/nrm.ts", | ||
"dev": "esno src/ni.ts", | ||
"build": "rimraf dist && tsup src/ni.ts src/nci.ts src/nr.ts src/nu.ts src/nx.ts src/nrm.ts src/index.ts --format cjs,esm --dts", | ||
"build": "rimraf dist && tsup src/ni.ts src/nci.ts src/nr.ts src/nu.ts src/nx.ts src/index.ts --format cjs,esm --dts", | ||
"release": "npx bumpp --commit --push --tag", | ||
@@ -45,0 +43,0 @@ "lint": "eslint \"**/*.ts\"", |
@@ -138,32 +138,2 @@ # ni | ||
### `nrm` - remove | ||
```bash | ||
nrm axios | ||
# npm uninstall axios | ||
# yarn remove axios | ||
# pnpm remove axios | ||
``` | ||
```bash | ||
nrm @types/node -D | ||
# npm uninstall @types/node -D | ||
# yarn remove @types/node -D | ||
# pnpm remove @types/node -D | ||
``` | ||
```bash | ||
nrm -g iroiro | ||
# npm uninstall -g iroiro | ||
# yarn global remove iroiro | ||
# pnpm remove -g iroiro | ||
# this uses default agent, regardless your current working directory | ||
``` | ||
<br> | ||
### Change Directory | ||
@@ -170,0 +140,0 @@ |
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
540103
28
16132
173