@nxtedition/lib 23.3.8 → 23.3.9

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.
Files changed (2) hide show
  1. package/app.js +3 -0
  2. package/package.json +1 -1
package/app.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as inspector from 'node:inspector'
2
+ import fs from 'node:fs'
2
3
  import os from 'node:os'
3
4
  import http from 'node:http'
4
5
  import net from 'node:net'
@@ -64,6 +65,8 @@ export function makeApp(appConfig, onTerminate) {
64
65
  const isProduction = process.env.NODE_ENV === 'production'
65
66
  const ac = new AbortController()
66
67
 
68
+ fs.mkdirSync('./.nxt', { recursive: true })
69
+
67
70
  // Crash on unhandledRejection
68
71
  process.on('unhandledRejection', (err) => {
69
72
  throw err
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.3.8",
3
+ "version": "23.3.9",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",