@mouse_484/eslint-config 5.4.2 → 5.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +3 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -24,6 +24,7 @@ function logger(message) {
|
|
|
24
24
|
*/
|
|
25
25
|
function runAgentCommand(agent, command_, args_) {
|
|
26
26
|
const { command, args } = resolveCommand(agent, command_, args_)
|
|
27
|
+
console.info(`Running command: ${command} ${args.join(' ')}`)
|
|
27
28
|
return new Promise((resolve, reject) => {
|
|
28
29
|
const child = spawn(
|
|
29
30
|
command,
|
|
@@ -62,7 +63,7 @@ async function main() {
|
|
|
62
63
|
await runAgentCommand(
|
|
63
64
|
packageManager.agent,
|
|
64
65
|
'execute',
|
|
65
|
-
[PACKAGE_NAME.BASE],
|
|
66
|
+
['-y', `${PACKAGE_NAME.BASE}@latest`],
|
|
66
67
|
)
|
|
67
68
|
logger('Modifying base config to custom config')
|
|
68
69
|
|
|
@@ -110,5 +111,6 @@ export default mouse()
|
|
|
110
111
|
})
|
|
111
112
|
}
|
|
112
113
|
|
|
114
|
+
console.info('---------------- Setting up @mouse_484/eslint-config ----------------')
|
|
113
115
|
await main()
|
|
114
116
|
console.info('---------------- Setup Complete ----------------')
|