@kengic/vue 0.32.18 → 0.32.20
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/postinstall.mjs +4 -4
- package/bin/preinstall.mjs +2 -2
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +201 -188
- package/dist/src/component/KgTable/KgTable.event.d.ts +12 -3
- package/dist/src/component/KgTable/KgTable.hooks.d.ts +7 -1
- package/dist/src/component/KgTable/KgTable.model.d.ts +1 -3
- package/package.json +14 -31
package/bin/postinstall.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import chalk from 'chalk';
|
|
|
11
11
|
* @param message 日志消息.
|
|
12
12
|
*/
|
|
13
13
|
function logI(message) {
|
|
14
|
-
console.log(chalk.
|
|
14
|
+
console.log(chalk.bgBlueBright(`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] POST-INSTALL | ${message}`));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -20,7 +20,7 @@ function logI(message) {
|
|
|
20
20
|
* @param message 日志消息.
|
|
21
21
|
*/
|
|
22
22
|
function logS(message) {
|
|
23
|
-
console.log(chalk.
|
|
23
|
+
console.log(chalk.bgGreenBright(`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] POST-INSTALL | ${message}`));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -29,7 +29,7 @@ function logS(message) {
|
|
|
29
29
|
* @param message 日志消息.
|
|
30
30
|
*/
|
|
31
31
|
function logW(message) {
|
|
32
|
-
console.log(chalk.
|
|
32
|
+
console.log(chalk.bgYellowBright(`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] POST-INSTALL | ${message}`));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -38,7 +38,7 @@ function logW(message) {
|
|
|
38
38
|
* @param message 日志消息.
|
|
39
39
|
*/
|
|
40
40
|
function logE(message) {
|
|
41
|
-
console.log(chalk.
|
|
41
|
+
console.log(chalk.bgRedBright(`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] POST-INSTALL | ${message}`));
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|
package/bin/preinstall.mjs
CHANGED
|
@@ -4,7 +4,7 @@ const REQUIRED_NODE_VERSION = '24.14.1';
|
|
|
4
4
|
const REQUIRED_PNPM_VERSION = '10.33.0';
|
|
5
5
|
|
|
6
6
|
console.log(
|
|
7
|
-
chalk.
|
|
7
|
+
chalk.bgBlueBright(
|
|
8
8
|
`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] PRE-INSTALL | 期望的环境版本为: node@${REQUIRED_NODE_VERSION.padEnd(8, ' ')} 和 pnpm@${REQUIRED_PNPM_VERSION.padEnd(8, ' ')}`,
|
|
9
9
|
),
|
|
10
10
|
);
|
|
@@ -13,7 +13,7 @@ const CURRENT_NODE_VERSION = process.versions.node;
|
|
|
13
13
|
const CURRENT_PNPM_VERSION = /^pnpm\/(\S+)\s/.exec(process.env.npm_config_user_agent ?? '')?.[1] ?? '';
|
|
14
14
|
|
|
15
15
|
console.log(
|
|
16
|
-
chalk.
|
|
16
|
+
chalk.bgBlueBright(
|
|
17
17
|
`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] PRE-INSTALL | 当前的环境版本为: node@${CURRENT_NODE_VERSION.padEnd(8, ' ')} 和 pnpm@${CURRENT_PNPM_VERSION.padEnd(8, ' ')}`,
|
|
18
18
|
),
|
|
19
19
|
);
|