@equinor/fusion-framework-dev-server 1.1.2 → 1.1.4
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 +25 -0
- package/README.md +448 -68
- package/dist/esm/create-dev-server-config.js +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/create-dev-server-config.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -5
- package/src/create-dev-server-config.ts +1 -1
- package/src/types.ts +1 -1
- package/src/version.ts +1 -1
|
@@ -5,7 +5,7 @@ import type { DevServerOptions, TemplateEnv } from './types.js';
|
|
|
5
5
|
*
|
|
6
6
|
* @template TEnv - A type extending `Partial<TemplateEnv>` that represents the environment variables for the template.
|
|
7
7
|
* @param options - The options for configuring the development server.
|
|
8
|
-
* @param options.spa -
|
|
8
|
+
* @param options.spa - Optional configuration for the Single Page Application (SPA), including template environment settings.
|
|
9
9
|
* @param options.api - Configuration for the API, including service discovery URL, routes, and service processing logic.
|
|
10
10
|
*
|
|
11
11
|
* @returns A `UserConfig` object that defines the Vite development server configuration.
|
package/dist/types/types.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { UserConfig as DevServerOverrides } from 'vite';
|
|
|
13
13
|
*
|
|
14
14
|
* @template TEnv - The type of the environment variables, extending Partial<FusionTemplateEnv>.
|
|
15
15
|
*
|
|
16
|
-
* @property spa - Single Page Application (SPA) specific options.
|
|
16
|
+
* @property spa - Optional Single Page Application (SPA) specific options.
|
|
17
17
|
* @property spa.templateEnv - The template environment configuration or a function returning it.
|
|
18
18
|
*
|
|
19
19
|
* @property api - API proxy configuration options.
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.1.
|
|
1
|
+
export declare const version = "1.1.4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-dev-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Package for running a development server for fusion-framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@vitejs/plugin-react": "^5.0.2",
|
|
33
|
-
"@equinor/fusion-framework-vite-plugin-api-service": "
|
|
34
|
-
"@equinor/fusion-framework-vite-plugin-spa": "
|
|
35
|
-
"@equinor/fusion-log": "
|
|
33
|
+
"@equinor/fusion-framework-vite-plugin-api-service": "1.2.2",
|
|
34
|
+
"@equinor/fusion-framework-vite-plugin-spa": "1.1.4",
|
|
35
|
+
"@equinor/fusion-log": "1.1.7"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "^5.8.2",
|
|
39
|
-
"vite": "^7.1.
|
|
39
|
+
"vite": "^7.1.9",
|
|
40
40
|
"vitest": "^3.2.4"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -24,7 +24,7 @@ const createDefaultLogger = (lvl: LogLevel = LogLevel.Info, title = 'dev-server'
|
|
|
24
24
|
*
|
|
25
25
|
* @template TEnv - A type extending `Partial<TemplateEnv>` that represents the environment variables for the template.
|
|
26
26
|
* @param options - The options for configuring the development server.
|
|
27
|
-
* @param options.spa -
|
|
27
|
+
* @param options.spa - Optional configuration for the Single Page Application (SPA), including template environment settings.
|
|
28
28
|
* @param options.api - Configuration for the API, including service discovery URL, routes, and service processing logic.
|
|
29
29
|
*
|
|
30
30
|
* @returns A `UserConfig` object that defines the Vite development server configuration.
|
package/src/types.ts
CHANGED
|
@@ -20,7 +20,7 @@ export { UserConfig as DevServerOverrides } from 'vite';
|
|
|
20
20
|
*
|
|
21
21
|
* @template TEnv - The type of the environment variables, extending Partial<FusionTemplateEnv>.
|
|
22
22
|
*
|
|
23
|
-
* @property spa - Single Page Application (SPA) specific options.
|
|
23
|
+
* @property spa - Optional Single Page Application (SPA) specific options.
|
|
24
24
|
* @property spa.templateEnv - The template environment configuration or a function returning it.
|
|
25
25
|
*
|
|
26
26
|
* @property api - API proxy configuration options.
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.1.
|
|
2
|
+
export const version = '1.1.4';
|