@yorha2b-lab/autodev 5.3.0 → 5.3.1
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/autodev.js
CHANGED
|
@@ -7,7 +7,7 @@ const { program } = require('commander')
|
|
|
7
7
|
const { local, matrixEffect, bootSequence } = require('../src/utils/ux')
|
|
8
8
|
|
|
9
9
|
const dialogs = require('../src/bootstrap/registry')({ dir: path.join(__dirname, '../src/dialogs') })
|
|
10
|
-
const dialog = dialogs[local]
|
|
10
|
+
const dialog = dialogs[local] ?? dialogs['EN-US']
|
|
11
11
|
|
|
12
12
|
program
|
|
13
13
|
.version(pkg.version)
|
package/package.json
CHANGED
package/src/dialogs/EN-US.js
CHANGED
|
@@ -31,9 +31,9 @@ module.exports = {
|
|
|
31
31
|
bridgeProtocolComplete: (count, time) => `Semantic bridge protocol complete. Corrected ${count} field deviations. Elapsed: ${time}s`,
|
|
32
32
|
},
|
|
33
33
|
bunker: {
|
|
34
|
-
exit: 'Signal Lost',
|
|
35
|
-
envCopy: '.env storage complete',
|
|
34
|
+
exit: 'Signal Lost...',
|
|
36
35
|
envCheck: '.env already exists',
|
|
36
|
+
envCopy: '.env storage complete',
|
|
37
37
|
systemStandby: 'System is STANDBY',
|
|
38
38
|
configCheck: 'config.js already exists',
|
|
39
39
|
configCopy: 'config.js storage complete',
|
package/src/dialogs/ZH-CN.js
CHANGED
|
@@ -38,9 +38,9 @@ const onTabChange = key => {
|
|
|
38
38
|
{{#if hasExpandable}}
|
|
39
39
|
const onExpand = async (expanded, record) => {
|
|
40
40
|
if (expanded) {
|
|
41
|
-
setExpandedRowKeys(prev=>[...prev, record
|
|
41
|
+
setExpandedRowKeys(prev=>[...prev, record[rowKey])
|
|
42
42
|
} else {
|
|
43
|
-
setExpandedRowKeys(prev=>prev.filter(item => item !== record
|
|
43
|
+
setExpandedRowKeys(prev=>prev.filter(item => item !== record[rowKey]))
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
package/src/utils/ux.js
CHANGED
|
@@ -90,7 +90,7 @@ const matrixEffect = async (duration = 1500, dialog) => {
|
|
|
90
90
|
console.log(chalk.yellow(dialog.bunker.isLegendary(isLegendary, currentTotal, threshold)))
|
|
91
91
|
}
|
|
92
92
|
console.log(chalk.cyan(dialog.bunker.star))
|
|
93
|
-
console.log(chalk.
|
|
93
|
+
console.log(chalk.gray(dialog.bunker.exit))
|
|
94
94
|
process.exit(0)
|
|
95
95
|
return
|
|
96
96
|
}
|