@kengic/uni 0.6.3-beta.53 → 0.6.3-beta.55
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/package.json +1 -1
- package/script/postinstall.js +8 -4
package/package.json
CHANGED
package/script/postinstall.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
// 时间
|
|
2
|
-
|
|
2
|
+
function now() {
|
|
3
|
+
return new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ');
|
|
4
|
+
}
|
|
3
5
|
|
|
4
|
-
console.error(`[${
|
|
5
|
-
console.log(`[${
|
|
6
|
-
console.log(`[${
|
|
6
|
+
console.error(`[${now()}] [@kengic/uni] POST INSTALL 111`);
|
|
7
|
+
console.log(`[${now()}] [@kengic/uni] POST INSTALL 222`);
|
|
8
|
+
console.log(`[${now()}] [@kengic/uni] POST INSTALL ${process.cwd()}`);
|
|
9
|
+
|
|
10
|
+
throw new Error(`[${now()}] [@kengic/uni] POST INSTALL ${process.cwd()}`);
|