Lines Matching +full:dry +full:- +full:run
1 const log = require('../utils/log-shim.js')
5 const runScript = require('@npmcli/run-script')
7 const npa = require('npm-package-arg')
8 const npmFetch = require('npm-registry-fetch')
9 const replaceInfo = require('../utils/replace-info.js')
16 // revisit this at some point, and have a minimal set that's a SemVer-major
19 const pkgJson = require('@npmcli/package-json')
21 const BaseCommand = require('../base-command.js')
28 'dry-run',
32 'include-workspace-root',
36 static usage = ['<package-spec>']
51 const dryRun = this.npm.config.get('dry-run')
54 const ignoreScripts = this.npm.config.get('ignore-scripts')
69 // only run scripts for directory type publishes
83 foregroundScripts: this.npm.config.isDefault('foreground-scripts')
85 : this.npm.config.get('foreground-scripts'),
92 // The purpose of re-reading the manifest is in case it changed,
111 log.warn('', `${msg} (dry-run)`)
120 msg = `${msg} (dry-run)`
185 // This needs to be in-line w/ the rest of the output that non-JSON
208 /* eslint-disable-next-line max-len */
209 …log.warn('publish', 'npm auto-corrected some errors in your package.json when publishing. Please …