@playcademy/vite-plugin 0.1.21 → 0.1.22
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.js +11 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -100152,6 +100152,9 @@ var isDevelopment = () => {
|
|
|
100152
100152
|
var isInteractiveTTY = () => {
|
|
100153
100153
|
return typeof process !== "undefined" && Boolean(process.stdout && process.stdout.isTTY);
|
|
100154
100154
|
};
|
|
100155
|
+
var isSilent = () => {
|
|
100156
|
+
return typeof process !== "undefined" && process.env.LOG_SILENT === "true";
|
|
100157
|
+
};
|
|
100155
100158
|
var detectOutputFormat = () => {
|
|
100156
100159
|
if (isBrowser()) {
|
|
100157
100160
|
return "browser";
|
|
@@ -100259,6 +100262,8 @@ var getMinimumLogLevel = () => {
|
|
|
100259
100262
|
return isProduction() ? "info" : "debug";
|
|
100260
100263
|
};
|
|
100261
100264
|
var shouldLog = (level) => {
|
|
100265
|
+
if (isSilent())
|
|
100266
|
+
return false;
|
|
100262
100267
|
const minLevel = getMinimumLogLevel();
|
|
100263
100268
|
return levelPriority[level] >= levelPriority[minLevel];
|
|
100264
100269
|
};
|
|
@@ -160042,7 +160047,7 @@ var logger2 = (fn = console.log) => {
|
|
|
160042
160047
|
};
|
|
160043
160048
|
var package_default = {
|
|
160044
160049
|
name: "@playcademy/sandbox",
|
|
160045
|
-
version: "0.1.
|
|
160050
|
+
version: "0.1.8",
|
|
160046
160051
|
description: "Local development server for Playcademy game development",
|
|
160047
160052
|
type: "module",
|
|
160048
160053
|
exports: {
|
|
@@ -166524,6 +166529,9 @@ var isDevelopment2 = () => {
|
|
|
166524
166529
|
var isInteractiveTTY2 = () => {
|
|
166525
166530
|
return typeof process !== "undefined" && Boolean(process.stdout && process.stdout.isTTY);
|
|
166526
166531
|
};
|
|
166532
|
+
var isSilent2 = () => {
|
|
166533
|
+
return typeof process !== "undefined" && process.env.LOG_SILENT === "true";
|
|
166534
|
+
};
|
|
166527
166535
|
var detectOutputFormat2 = () => {
|
|
166528
166536
|
if (isBrowser2()) {
|
|
166529
166537
|
return "browser";
|
|
@@ -166644,6 +166652,8 @@ var getMinimumLogLevel2 = () => {
|
|
|
166644
166652
|
return isProduction2() ? "info" : "debug";
|
|
166645
166653
|
};
|
|
166646
166654
|
var shouldLog2 = (level) => {
|
|
166655
|
+
if (isSilent2())
|
|
166656
|
+
return false;
|
|
166647
166657
|
const minLevel = getMinimumLogLevel2();
|
|
166648
166658
|
return levelPriority2[level] >= levelPriority2[minLevel];
|
|
166649
166659
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playcademy/vite-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"archiver": "^7.0.1",
|
|
27
27
|
"picocolors": "^1.1.1",
|
|
28
|
-
"playcademy": "0.13.
|
|
28
|
+
"playcademy": "0.13.23"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@inquirer/prompts": "^7.8.6",
|
|
32
|
-
"@playcademy/sandbox": "0.1.
|
|
32
|
+
"@playcademy/sandbox": "0.1.8",
|
|
33
33
|
"@types/archiver": "^6.0.3",
|
|
34
34
|
"@types/bun": "latest",
|
|
35
35
|
"yocto-spinner": "^0.2.2"
|