@stoker-platform/web-app 0.5.9 → 0.5.11

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,19 @@
1
1
  # @stoker-platform/web-app
2
2
 
3
+ ## 0.5.11
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: improve Windows support
8
+ - Updated dependencies
9
+ - @stoker-platform/node-client@0.5.9
10
+
11
+ ## 0.5.10
12
+
13
+ ### Patch Changes
14
+
15
+ - fix: improve Windows support
16
+
3
17
  ## 0.5.9
4
18
 
5
19
  ### Patch Changes
package/bin/build.js CHANGED
@@ -1,11 +1,10 @@
1
1
  #!/usr/bin/env -S node --no-warnings
2
2
 
3
3
  import { runChildProcess, tryPromise } from "@stoker-platform/node-client"
4
- import { fileURLToPath } from "url"
4
+ import { fileURLToPath, pathToFileURL } from "url"
5
5
  import { dirname, join } from "path"
6
6
  import { cpSync, existsSync, rmSync, readFileSync, writeFileSync, readdirSync, statSync } from "fs"
7
7
  import { readFile, writeFile } from "fs/promises"
8
- import dotenv from "dotenv"
9
8
 
10
9
  try {
11
10
  const __filename = fileURLToPath(import.meta.url)
@@ -402,7 +401,9 @@ try {
402
401
  cpSync(join(process.cwd(), "icons", "logo-large.png"), join(__dirname, "..", "src", "assets", "logo-large.png"))
403
402
  await runChildProcess("npm", ["run", "generate-pwa-assets"], join(__dirname, ".."))
404
403
 
405
- const globalConfigModule = await import(join(process.cwd(), "lib", "main.js"))
404
+ const path = join(process.cwd(), "lib", "main.js")
405
+ const url = pathToFileURL(path).href
406
+ const globalConfigModule = await import(url)
406
407
  const globalConfig = globalConfigModule.default("node")
407
408
  const appName = await tryPromise(globalConfig.appName)
408
409
  const description = await tryPromise(globalConfig.admin?.meta?.description)
package/bin/deploy.js CHANGED
File without changes
package/bin/start.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-app",
3
- "version": "0.5.9",
3
+ "version": "0.5.11",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "scripts": {
@@ -51,7 +51,7 @@
51
51
  "@radix-ui/react-tooltip": "^1.2.8",
52
52
  "@react-google-maps/api": "^2.20.8",
53
53
  "@sentry/react": "^10.32.1",
54
- "@stoker-platform/node-client": "0.5.8",
54
+ "@stoker-platform/node-client": "0.5.9",
55
55
  "@stoker-platform/utils": "0.5.5",
56
56
  "@stoker-platform/web-client": "0.5.5",
57
57
  "@tanstack/react-table": "^8.21.3",