@moostjs/vite 0.6.1 → 0.6.2
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/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@ const PLUGIN_NAME = "moost-vite";
|
|
|
41
41
|
if (moduleNode.importers) for (const importer of moduleNode.importers) gatherAllImporters(importer, visited);
|
|
42
42
|
return visited;
|
|
43
43
|
}
|
|
44
|
-
const logger =
|
|
44
|
+
const logger = (0, moost.createLogger)({ level: 99 }).createTopic("\x1B[2m\x1B[36m" + PLUGIN_NAME);
|
|
45
45
|
function getLogger() {
|
|
46
46
|
return logger;
|
|
47
47
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import MagicString from "magic-string";
|
|
2
2
|
import { readFileSync } from "node:fs";
|
|
3
3
|
import { builtinModules } from "node:module";
|
|
4
|
-
import {
|
|
4
|
+
import { Moost, clearGlobalWooks, createLogger, getMoostInfact, getMoostMate } from "moost";
|
|
5
5
|
|
|
6
6
|
//#region packages/vite/src/utils.ts
|
|
7
7
|
const PLUGIN_NAME = "moost-vite";
|
|
@@ -18,7 +18,7 @@ const PLUGIN_NAME = "moost-vite";
|
|
|
18
18
|
if (moduleNode.importers) for (const importer of moduleNode.importers) gatherAllImporters(importer, visited);
|
|
19
19
|
return visited;
|
|
20
20
|
}
|
|
21
|
-
const logger =
|
|
21
|
+
const logger = createLogger({ level: 99 }).createTopic("\x1B[2m\x1B[36m" + PLUGIN_NAME);
|
|
22
22
|
function getLogger() {
|
|
23
23
|
return logger;
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moostjs/vite",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Vite Dev plugin for moostjs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"composables",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"vite": "^7.0.0",
|
|
49
|
-
"@moostjs/event-http": "^0.6.
|
|
50
|
-
"moost": "^0.6.
|
|
49
|
+
"@moostjs/event-http": "^0.6.2",
|
|
50
|
+
"moost": "^0.6.2"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"pub": "pnpm publish --access public",
|