@equinor/fusion-framework-app 13.0.3-next.1 → 13.1.0
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 +48 -14
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +12 -12
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,55 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 13.0
|
|
3
|
+
## 13.1.0
|
|
4
4
|
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [53d5e4c]
|
|
8
|
-
- @equinor/fusion-framework-module-msal@11.0.0-next.1
|
|
9
|
-
- @equinor/fusion-framework@8.1.0-next.2
|
|
10
|
-
|
|
11
|
-
## 13.0.3-next.0
|
|
12
|
-
|
|
13
|
-
### Patch Changes
|
|
5
|
+
### Minor Changes
|
|
14
6
|
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
- f663b46: `enableAppManifestMock` accepts an optional third `assetUri` argument, overriding the base URI a loaded app's script is imported from — useful for tests that dynamically import a real fixture script. `env.config` is now optional; when omitted, a trivial `AppConfig` is used so `App.initialize()` can still resolve.
|
|
8
|
+
- f663b46: Add a `./mock` entry point: `mockAppModules` runs an application's real module pipeline — the real `event`/`http`/`msal` modules, the real `AppConfigurator` configuration pipeline and real lifecycle — against a mocked parent Fusion instance, so a test exercises the wiring an application actually depends on instead of a reimplementation of it.
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
import { mockAppModules } from '@equinor/fusion-framework-app/mock';
|
|
12
|
+
|
|
13
|
+
const manifest = { appKey: 'my-app', displayName: 'My App', description: 'My app', type: 'standalone' } as const;
|
|
14
|
+
const modules = await mockAppModules(undefined, { manifest });
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
`enableAppManifestMock` registers the `app` module on a parent `mockFramework` configurator, serving an app's own manifest and config while delegating every other request to whatever service discovery (or a pre-configured http client) would really resolve. `mockAppModules` uses it to build its zero-configuration default parent; call it directly when a test needs to customize `serviceDiscovery` first.
|
|
18
|
+
|
|
19
|
+
Restructured `README.md` into an entry point pointing at `docs/http-clients.md`, `docs/bookmarks.md` and `docs/testing.md`, matching the convention already used by `@equinor/fusion-framework-module-http` and `@equinor/fusion-framework-module-msal`.
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [f663b46]
|
|
24
|
+
- Updated dependencies [f663b46]
|
|
25
|
+
- Updated dependencies [f663b46]
|
|
26
|
+
- Updated dependencies [f663b46]
|
|
27
|
+
- Updated dependencies [f663b46]
|
|
28
|
+
- Updated dependencies [f663b46]
|
|
29
|
+
- Updated dependencies [f663b46]
|
|
30
|
+
- Updated dependencies [f663b46]
|
|
31
|
+
- Updated dependencies [f663b46]
|
|
32
|
+
- Updated dependencies [f663b46]
|
|
33
|
+
- Updated dependencies [f663b46]
|
|
34
|
+
- Updated dependencies [f663b46]
|
|
35
|
+
- Updated dependencies [f663b46]
|
|
36
|
+
- Updated dependencies [f663b46]
|
|
37
|
+
- Updated dependencies [f663b46]
|
|
38
|
+
- Updated dependencies [f663b46]
|
|
39
|
+
- @equinor/fusion-framework@8.1.0
|
|
40
|
+
- @equinor/fusion-framework-module-msal@11.0.0
|
|
41
|
+
- @equinor/fusion-framework-module-app@8.1.0
|
|
42
|
+
- @equinor/fusion-framework-module-event@6.1.0
|
|
43
|
+
- @equinor/fusion-framework-module-http@8.1.0
|
|
44
|
+
- @equinor/fusion-framework-module-telemetry@7.1.0
|
|
45
|
+
- @equinor/fusion-framework-module@6.1.3
|
|
46
|
+
|
|
47
|
+
## 13.0.3
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- @equinor/fusion-framework-module-telemetry@7.0.3
|
|
52
|
+
- @equinor/fusion-framework@8.0.16
|
|
19
53
|
|
|
20
54
|
## 13.0.2
|
|
21
55
|
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}
|