@typed-assistant/builder 0.0.79 → 0.0.81

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @typed-assistant/builder
2
2
 
3
+ ## 0.0.81
4
+
5
+ ### Patch Changes
6
+
7
+ - Pin Elysia to 1.1.x.
8
+
3
9
  ## 0.0.79
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed-assistant/builder",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "exports": {
5
5
  "./appProcess": "./src/appProcess.tsx",
6
6
  "./bunInstall": "./src/bunInstall.tsx",
@@ -13,7 +13,7 @@
13
13
  "@types/react-dom": "^18.3.1",
14
14
  "ansi-to-html": "^0.7.2",
15
15
  "debounce": "^2.0.0",
16
- "elysia": "^1.1.25",
16
+ "elysia": "~1.1.25",
17
17
  "ignore": "^5.3.0",
18
18
  "react": "^18",
19
19
  "react-dom": "^18",
@@ -29,8 +29,8 @@
29
29
  "ts-toolbelt": "^9.6.0",
30
30
  "typescript": "^5.4.0",
31
31
  "@typed-assistant/eslint-config": "0.0.10",
32
- "@typed-assistant/typescript-config": "0.0.10",
33
32
  "@typed-assistant/logger": "0.0.22",
33
+ "@typed-assistant/typescript-config": "0.0.10",
34
34
  "@typed-assistant/utils": "0.0.19"
35
35
  },
36
36
  "publishConfig": {
@@ -297,7 +297,15 @@ export const startWebappServer = async ({
297
297
  })
298
298
 
299
299
  const watchLogFileSize = async () => {
300
- if (Bun.file("./log.txt").size > 3 * ONE_MEGABYTE) {
300
+ const logFileSize = Bun.file("./log.txt").size
301
+ const limit = 3 * ONE_MEGABYTE
302
+
303
+ logger.debug(
304
+ { emoji: "🗒️" },
305
+ `log.txt size: ${logFileSize}. Limit is ${limit}.`,
306
+ )
307
+
308
+ if (logFileSize > limit) {
301
309
  logger.debug(
302
310
  { emoji: "🗑️" },
303
311
  "log.txt is too big, deleting old log.txt and renaming new log.txt to old log.txt",