@stoker-platform/web-app 0.5.8 → 0.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @stoker-platform/web-app
2
2
 
3
+ ## 0.5.9
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: improve Windows support
8
+ - Updated dependencies
9
+ - @stoker-platform/node-client@0.5.8
10
+
3
11
  ## 0.5.8
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-app",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
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.7",
54
+ "@stoker-platform/node-client": "0.5.8",
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",
package/vite.config.ts CHANGED
@@ -2,12 +2,15 @@ import { defineConfig } from "vite"
2
2
  import react from "@vitejs/plugin-react"
3
3
  import eslint from "vite-plugin-eslint"
4
4
  import { join, resolve } from "node:path"
5
+ import { pathToFileURL } from "node:url"
5
6
  import { VitePWA } from "vite-plugin-pwa"
6
7
  import { tryPromise } from "@stoker-platform/node-client"
7
8
  import { watch } from "fs"
8
9
 
9
10
  export default defineConfig(async () => {
10
- const globalConfigModule = await import(join(process.cwd(), "src", "assets", "system-custom", "main.js"))
11
+ const path = join(process.cwd(), "src", "assets", "system-custom", "main.js")
12
+ const url = pathToFileURL(path).href
13
+ const globalConfigModule = await import(url)
11
14
  const globalConfig = globalConfigModule.default("node")
12
15
  const appName = await tryPromise(globalConfig.appName)
13
16
  const description = await tryPromise(globalConfig.admin?.meta?.description)