@xyd-js/apidocs-demo 0.0.0-build-36fd048-20250813165310 → 0.0.0-build-97dcdfe-20250813172954

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,25 +1,25 @@
1
1
  # @xyd-js/apidocs-demo
2
2
 
3
- ## 0.0.0-build-36fd048-20250813165310
3
+ ## 0.0.0-build-97dcdfe-20250813172954
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @xyd-js/atlas@0.0.0-build-36fd048-20250813165310
9
- - @xyd-js/components@0.0.0-build-36fd048-20250813165310
10
- - @xyd-js/core@0.0.0-build-36fd048-20250813165310
11
- - @xyd-js/framework@0.0.0-build-36fd048-20250813165310
12
- - @xyd-js/gql@0.0.0-build-36fd048-20250813165310
13
- - @xyd-js/openapi@0.0.0-build-36fd048-20250813165310
14
- - @xyd-js/theme-cosmo@0.0.0-build-36fd048-20250813165310
15
- - @xyd-js/theme-gusto@0.0.0-build-36fd048-20250813165310
16
- - @xyd-js/theme-opener@0.0.0-build-36fd048-20250813165310
17
- - @xyd-js/theme-picasso@0.0.0-build-36fd048-20250813165310
18
- - @xyd-js/theme-poetry@0.0.0-build-36fd048-20250813165310
19
- - @xyd-js/theme-solar@0.0.0-build-36fd048-20250813165310
20
- - @xyd-js/themes@0.0.0-build-36fd048-20250813165310
21
- - @xyd-js/ui@0.0.0-build-36fd048-20250813165310
22
- - @xyd-js/uniform@0.0.0-build-36fd048-20250813165310
8
+ - @xyd-js/atlas@0.0.0-build-97dcdfe-20250813172954
9
+ - @xyd-js/components@0.0.0-build-97dcdfe-20250813172954
10
+ - @xyd-js/core@0.0.0-build-97dcdfe-20250813172954
11
+ - @xyd-js/framework@0.0.0-build-97dcdfe-20250813172954
12
+ - @xyd-js/gql@0.0.0-build-97dcdfe-20250813172954
13
+ - @xyd-js/openapi@0.0.0-build-97dcdfe-20250813172954
14
+ - @xyd-js/theme-cosmo@0.0.0-build-97dcdfe-20250813172954
15
+ - @xyd-js/theme-gusto@0.0.0-build-97dcdfe-20250813172954
16
+ - @xyd-js/theme-opener@0.0.0-build-97dcdfe-20250813172954
17
+ - @xyd-js/theme-picasso@0.0.0-build-97dcdfe-20250813172954
18
+ - @xyd-js/theme-poetry@0.0.0-build-97dcdfe-20250813172954
19
+ - @xyd-js/theme-solar@0.0.0-build-97dcdfe-20250813172954
20
+ - @xyd-js/themes@0.0.0-build-97dcdfe-20250813172954
21
+ - @xyd-js/ui@0.0.0-build-97dcdfe-20250813172954
22
+ - @xyd-js/uniform@0.0.0-build-97dcdfe-20250813172954
23
23
 
24
24
  ## 0.0.0-true-20250812233459
25
25
 
@@ -142,7 +142,7 @@ export async function loader() {
142
142
  defaultExample: await toUniform(
143
143
  "/docs/api",
144
144
  // "https://raw.githubusercontent.com/livesession/livesession-openapi/master/openapi.yaml",
145
- `${import.meta.env.APP_URL || 'http://localhost:5173'}/livesession-openapi.yaml`,
145
+ `${import.meta.env.APP_URL || 'https://apidocs-demo.xyd.dev'}/livesession-openapi.yaml`,
146
146
  "",
147
147
  ""
148
148
  ),
@@ -473,7 +473,7 @@ function SelectPredefinedUniformURL({
473
473
  // },
474
474
  livesession: {
475
475
  value: "livesession",
476
- url: `${import.meta.env.APP_URL || 'http://localhost:5173'}/livesession-openapi.yaml`,
476
+ url: `${import.meta.env.APP_URL || 'https://apidocs-demo.xyd.dev'}/livesession-openapi.yaml`,
477
477
  label: "Livesession",
478
478
  type: "openapi"
479
479
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xyd-js/apidocs-demo",
3
3
  "type": "module",
4
- "version": "0.0.0-build-36fd048-20250813165310",
4
+ "version": "0.0.0-build-97dcdfe-20250813172954",
5
5
  "dependencies": {
6
6
  "@netlify/vite-plugin-react-router": "^1.0.1",
7
7
  "@primer/primitives": "^10.7.0",
@@ -14,21 +14,21 @@
14
14
  "react-dom": "^19.1.0",
15
15
  "react-router": "^7.7.1",
16
16
  "styled-components": "^6.1.18",
17
- "@xyd-js/atlas": "0.0.0-build-36fd048-20250813165310",
18
- "@xyd-js/components": "0.0.0-build-36fd048-20250813165310",
19
- "@xyd-js/core": "0.0.0-build-36fd048-20250813165310",
20
- "@xyd-js/framework": "0.0.0-build-36fd048-20250813165310",
21
- "@xyd-js/gql": "0.0.0-build-36fd048-20250813165310",
22
- "@xyd-js/openapi": "0.0.0-build-36fd048-20250813165310",
23
- "@xyd-js/theme-cosmo": "0.0.0-build-36fd048-20250813165310",
24
- "@xyd-js/theme-opener": "0.0.0-build-36fd048-20250813165310",
25
- "@xyd-js/theme-picasso": "0.0.0-build-36fd048-20250813165310",
26
- "@xyd-js/theme-poetry": "0.0.0-build-36fd048-20250813165310",
27
- "@xyd-js/theme-gusto": "0.0.0-build-36fd048-20250813165310",
28
- "@xyd-js/theme-solar": "0.0.0-build-36fd048-20250813165310",
29
- "@xyd-js/themes": "0.0.0-build-36fd048-20250813165310",
30
- "@xyd-js/ui": "0.0.0-build-36fd048-20250813165310",
31
- "@xyd-js/uniform": "0.0.0-build-36fd048-20250813165310"
17
+ "@xyd-js/atlas": "0.0.0-build-97dcdfe-20250813172954",
18
+ "@xyd-js/components": "0.0.0-build-97dcdfe-20250813172954",
19
+ "@xyd-js/core": "0.0.0-build-97dcdfe-20250813172954",
20
+ "@xyd-js/framework": "0.0.0-build-97dcdfe-20250813172954",
21
+ "@xyd-js/gql": "0.0.0-build-97dcdfe-20250813172954",
22
+ "@xyd-js/openapi": "0.0.0-build-97dcdfe-20250813172954",
23
+ "@xyd-js/theme-cosmo": "0.0.0-build-97dcdfe-20250813172954",
24
+ "@xyd-js/theme-opener": "0.0.0-build-97dcdfe-20250813172954",
25
+ "@xyd-js/theme-picasso": "0.0.0-build-97dcdfe-20250813172954",
26
+ "@xyd-js/theme-poetry": "0.0.0-build-97dcdfe-20250813172954",
27
+ "@xyd-js/theme-gusto": "0.0.0-build-97dcdfe-20250813172954",
28
+ "@xyd-js/theme-solar": "0.0.0-build-97dcdfe-20250813172954",
29
+ "@xyd-js/themes": "0.0.0-build-97dcdfe-20250813172954",
30
+ "@xyd-js/ui": "0.0.0-build-97dcdfe-20250813172954",
31
+ "@xyd-js/uniform": "0.0.0-build-97dcdfe-20250813172954"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@react-router/dev": "^7.7.1",
@@ -44,7 +44,7 @@
44
44
  "scripts": {
45
45
  "build": "react-router build",
46
46
  "dev": "react-router dev",
47
- "start": "react-router-serve ./build/server/index.js",
47
+ "start": "react-router-serve build/server/server.js",
48
48
  "typecheck": "react-router typegen && tsc"
49
49
  }
50
50
  }
package/vite-env.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ /// <reference types="vite/client" />
2
+
3
+ interface ImportMetaEnv {
4
+ readonly APP_URL: string
5
+ // Add other env variables here
6
+ }
7
+
8
+ interface ImportMeta {
9
+ readonly env: ImportMetaEnv
10
+ }
package/vite.config.ts CHANGED
@@ -15,6 +15,9 @@ export default defineConfig({
15
15
  ],
16
16
  ssr: {
17
17
  external: ["@xyd-js/framework/hydration", "fs"]
18
+ },
19
+ define: {
20
+ 'import.meta.env.APP_URL': JSON.stringify(process.env.APP_URL || 'https://apidocs-demo.xyd.dev')
18
21
  }
19
22
  });
20
23