@redocly/redoc 0.131.0-next.4 → 0.131.0-next.5

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,17 @@
1
1
  # @redocly/redoc
2
2
 
3
+ ## 0.131.0-next.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 5ef75a3b5d: Fixed an issue where the **Copy for LLM** and **View as Markdown** page actions ignored the respective path prefix for the root page.
8
+ - Updated dependencies [5ef75a3b5d]
9
+ - @redocly/theme@0.63.0-next.3
10
+ - @redocly/asyncapi-docs@1.8.0-next.3
11
+ - @redocly/graphql-docs@1.8.0-next.3
12
+ - @redocly/openapi-docs@3.19.0-next.3
13
+ - @redocly/portal-plugin-mock-server@0.16.0-next.3
14
+
3
15
  ## 0.131.0-next.4
4
16
 
5
17
  ### Minor Changes
@@ -1 +1 @@
1
- import{readEnvVariable as u}from"../utils/envs/read-env-variable.js";import{envSchema as c}from"./env-schema.js";function o(){const n=Object.fromEntries(Object.keys(process.env).map(e=>[e,u(e)]));return c.parse(n)}function r(){return o().REDOCLY_ENV??"development"}function i(){const n=process.env.REDOCLY_EXECUTION_MODE;return n==="build"||n==="develop"||n==="runtime"?n:"develop"}function s(){const e=o().REDOCLY_INTERNAL_DEV;return e==="true"||e==="1"}function v(n){switch(n){case"redoclyEnv":return r();case"executionMode":return i();case"isProductionEnv":return r()==="production";case"isPreviewEnv":return r()==="preview";case"isReunite":{const e=r(),t=s();return e==="production"||e==="preview"||e==="development"&&!t}case"isBuildMode":return i()==="build";case"isDevelopMode":return i()==="develop";case"isRuntimeMode":return i()==="runtime";default:return n}}const d=new Set(["redoclyEnv","executionMode","isProductionEnv","isPreviewEnv","isReunite","isBuildMode","isDevelopMode","isRuntimeMode"]),E=Object.freeze(new Proxy({},{get(n,e){if(typeof e!="string")return;const t=e;return d.has(t)?v(t):o()[e]}}));export{E as envConfig};
1
+ import{readEnvVariable as u}from"../utils/envs/read-env-variable.js";import{envSchema as c}from"./env-schema.js";function i(){const n=Object.fromEntries(Object.keys(process.env).map(e=>[e,u(e)]));return n.REDOCLY_PORTAL_VERSION=process.env.REDOCLY_PORTAL_VERSION,c.parse(n)}function r(){return i().REDOCLY_ENV??"development"}function o(){const n=process.env.REDOCLY_EXECUTION_MODE;return n==="build"||n==="develop"||n==="runtime"?n:"develop"}function s(){const e=i().REDOCLY_INTERNAL_DEV;return e==="true"||e==="1"}function v(n){switch(n){case"redoclyEnv":return r();case"executionMode":return o();case"isProductionEnv":return r()==="production";case"isPreviewEnv":return r()==="preview";case"isReunite":{const e=r(),t=s();return e==="production"||e==="preview"||e==="development"&&!t}case"isBuildMode":return o()==="build";case"isDevelopMode":return o()==="develop";case"isRuntimeMode":return o()==="runtime";default:return n}}const d=new Set(["redoclyEnv","executionMode","isProductionEnv","isPreviewEnv","isReunite","isBuildMode","isDevelopMode","isRuntimeMode"]),l=Object.freeze(new Proxy({},{get(n,e){if(typeof e!="string")return;const t=e;return d.has(t)?v(t):i()[e]}}));export{l as envConfig};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/redoc",
3
- "version": "0.131.0-next.4",
3
+ "version": "0.131.0-next.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "bin": {
@@ -91,14 +91,14 @@
91
91
  "xpath": "0.0.34",
92
92
  "yaml-ast-parser": "0.0.43",
93
93
  "zod": "^3.25.76",
94
- "@redocly/asyncapi-docs": "1.8.0-next.2",
94
+ "@redocly/asyncapi-docs": "1.8.0-next.3",
95
95
  "@redocly/config": "0.43.0",
96
- "@redocly/graphql-docs": "1.8.0-next.2",
97
- "@redocly/openapi-docs": "3.19.0-next.2",
96
+ "@redocly/graphql-docs": "1.8.0-next.3",
97
+ "@redocly/openapi-docs": "3.19.0-next.3",
98
98
  "@redocly/portal-legacy-ui": "0.14.0-next.0",
99
- "@redocly/portal-plugin-mock-server": "0.16.0-next.2",
99
+ "@redocly/portal-plugin-mock-server": "0.16.0-next.3",
100
100
  "@redocly/realm-asyncapi-sdk": "0.9.0-next.1",
101
- "@redocly/theme": "0.63.0-next.2"
101
+ "@redocly/theme": "0.63.0-next.3"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "react": "^19.2.4",