PATH: //lib/node_modules/npm/node_modules/@npmcli/arborist/bin
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 actual.js
↓
X
📄 audit.js
↓
X
📄 funding.js
↓
X
📄 ideal.js
↓
X
📄 index.js
↓
X
📁 lib/
X
📄 license.js
↓
X
📄 prune.js
↓
X
📄 reify.js
↓
X
📄 shrinkwrap.js
↓
X
📄 virtual.js
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: actual.js
const Arborist = require('../') const printTree = require('./lib/print-tree.js') module.exports = (options, time) => new Arborist(options) .loadActual(options) .then(time) .then(async ({ timing, result: tree }) => { printTree(tree) if (options.save) { await tree.meta.save() } if (options.saveHidden) { tree.meta.hiddenLockfile = true tree.meta.filename = options.path + '/node_modules/.package-lock.json' await tree.meta.save() } return `read ${tree.inventory.size} deps in ${timing.ms}` })
SIMPAN PERUBAHAN