docs(plugin-manager): give the README installer example its colour option
This commit is contained in:
1 parent
080e22ee03
commit
5953d2920c
3 files changed
+4
-2
No files matched your search
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write packages/boot/plugin-manager/README.md
|
||||
README.md: 0666043f69619fab042228d5f298d63eeeada87b
|
||||
README.zh.md: 2c659f51e41b366a793f36ab8865bea2a68e0b65
|
||||
README.md: e1fcb8ad8b2db2b676963d9e55a4acb50f17719c
|
||||
README.zh.md: 5411496d1e7975542f95a0632e6b67a45e21430c
|
||||
@@ -41,6 +41,7 @@ const installer = new PluginInstaller({
|
||||
loadProfile: () => loadProfile('dsh', 'web', installAnchor, undefined, { userLayer: false }),
|
||||
config: { pnpmCommand: 'pnpm', installTimeoutMs: 600_000, probeTimeoutMs: 20_000, installLogTailBytes: 16_384 },
|
||||
installLog: (chunk) => process.stdout.write(chunk.text),
|
||||
color: process.stdout.isTTY,
|
||||
})
|
||||
const outcome = await installer.add('@acme/dsh-sql-tool')
|
||||
console.log(outcome.installed, outcome.removed)
|
||||
|
||||
@@ -41,6 +41,7 @@ const installer = new PluginInstaller({
|
||||
loadProfile: () => loadProfile('dsh', 'web', installAnchor, undefined, { userLayer: false }),
|
||||
config: { pnpmCommand: 'pnpm', installTimeoutMs: 600_000, probeTimeoutMs: 20_000, installLogTailBytes: 16_384 },
|
||||
installLog: (chunk) => process.stdout.write(chunk.text),
|
||||
color: process.stdout.isTTY,
|
||||
})
|
||||
const outcome = await installer.add('@acme/dsh-sql-tool')
|
||||
console.log(outcome.installed, outcome.removed)
|
||||
|
||||
Reference in new issue
Block a user