@equinor/fusion-framework-vitest-plugin-react-app 1.0.0-next.4 → 1.0.0-next.6

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,47 @@
1
1
  # @equinor/fusion-framework-vitest-plugin-react-app
2
2
 
3
+ ## 1.0.0-next.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [09a9bcc]
8
+ - Updated dependencies [09a9bcc]
9
+ - Updated dependencies [09a9bcc]
10
+ - @equinor/fusion-framework-cli@15.3.0-next.1
11
+ - @equinor/fusion-framework-module-feature-flag@2.1.0-next.1
12
+ - @equinor/fusion-imports@2.0.3-next.1
13
+ - @equinor/fusion-framework-app@13.0.3-next.1
14
+ - @equinor/fusion-framework@8.1.0-next.2
15
+
16
+ ## 1.0.0-next.5
17
+
18
+ ### Minor Changes
19
+
20
+ - 1813f8a: `resolveFusion` (and both the `/test` fixtures and `testApp`) now enable the feature-flag
21
+ mock by default, with no flags enabled, so `useFeature` needs no `localStorage` or URL
22
+ seeding in tests.
23
+
24
+ `@equinor/fusion-framework-module-feature-flag` is an optional peer dependency: the mock is
25
+ only wired up when the package is actually installed, so apps that don't use feature flags
26
+ aren't forced to add it. Install it to get the default mock; call `enableFeatureFlagMock`
27
+ again inside `configureFusion` to seed specific flags.
28
+
29
+ ### Patch Changes
30
+
31
+ - 1813f8a: Exclude `.d.ts` files from the default `server.warmup.clientFiles` and `optimizeDeps.entries`
32
+ globs in `defineProject`. Previously, an app shipping a CJS-style declaration file (for example
33
+ one using `export =`) failed the Vite warmup scan, since it was loaded as ESM.
34
+ - 1813f8a: Revert the mocked framework's default navigation history from browser history back to in-memory
35
+ history. Browser history leaked URL/history state between tests; `configureFusion`/`enableNavigation`
36
+ can still opt back into browser history for a test that specifically needs it.
37
+ - Updated dependencies [c8008e3]
38
+ - @equinor/fusion-framework-app@13.0.3-next.0
39
+ - @equinor/fusion-framework-cli@15.2.11-next.0
40
+ - @equinor/fusion-framework-module-app@8.0.6-next.0
41
+ - @equinor/fusion-framework-module-navigation@7.0.9-next.0
42
+ - @equinor/fusion-framework-react@9.0.0-next.0
43
+ - @equinor/fusion-framework-module-feature-flag@2.1.0-next.0
44
+
3
45
  ## 1.0.0-next.4
4
46
 
5
47
  ### Major Changes
package/README.md CHANGED
@@ -302,8 +302,12 @@ Seed a module for every test in a suite:
302
302
 
303
303
  ```tsx
304
304
  describe('with a seeded context module', () => {
305
- const test = testApp.extend('configureApp', { injected: true }, () =>
306
- (configurator) => enableContextMock(configurator, (mock) => mock.setCurrentContext(projectA)),
305
+ const test = testApp.extend(
306
+ 'configureApp',
307
+ { injected: true },
308
+ (): AppMockConfigureFn =>
309
+ (configurator) =>
310
+ enableContextMock(configurator, (mock) => mock.setCurrentContext(projectA)),
307
311
  );
308
312
 
309
313
  test('starts on the seeded context', async ({ render }) => {
@@ -53,13 +53,15 @@ export const defineProject = (override) => {
53
53
  // pre-transforms all source up front so deps only reached via lazy/code-split imports
54
54
  // (e.g. route components) are discovered before the first test request, not mid-run —
55
55
  // the latter forces Vite to reload the page and fails the in-flight test file import
56
- server: { warmup: { clientFiles: ['src/**/*.{ts,tsx}'] } },
56
+ // `.d.ts` files are excluded: a CJS-style declaration file (e.g. one using `export =`)
57
+ // fails the warmup scan when loaded as ESM
58
+ server: { warmup: { clientFiles: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts'] } },
57
59
  // same reasoning as `server.warmup` above, but for the esbuild dep scanner: without this,
58
60
  // its default entry detection can miss code-split route files entirely, so a package only
59
61
  // ever imported from one of those (e.g. react-router's own deps) is discovered mid-run
60
62
  // instead of up front — statically crawling every source file (which esbuild's scanner
61
63
  // follows through dynamic imports too) avoids that with no per-package name needed
62
- optimizeDeps: { entries: ['src/**/*.{ts,tsx}'] },
64
+ optimizeDeps: { entries: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts'] },
63
65
  };
64
66
  // a function replaces the config outright; a plain object deep-merges onto it via Vite's own mergeConfig
65
67
  const resolved = typeof override === 'function'
@@ -1 +1 @@
1
- {"version":3,"file":"define-project.js","sourceRoot":"","sources":["../../src/define-project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EACL,aAAa,IAAI,mBAAmB,EACpC,WAAW,GAEZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAW/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,QAAgC,EAAuB,EAAE;IACrF,MAAM,QAAQ,GAAwB;QACpC,OAAO,EAAE,CAAC,iBAAiB,EAAE,CAAC;QAC9B,IAAI,EAAE;YACJ,OAAO,EAAE,CAAC,+BAA+B,CAAC;YAC1C,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,UAAU,EAAE;gBACtB,QAAQ,EAAE,IAAI;gBACd,iFAAiF;gBACjF,2FAA2F;gBAC3F,QAAQ,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE;gBACtC,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;aACrC;SACF;QACD,sFAAsF;QACtF,sFAAsF;QACtF,qFAAqF;QACrF,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,CAAC,mBAAmB,CAAC,EAAE,EAAE;QAC1D,0FAA0F;QAC1F,0FAA0F;QAC1F,uFAAuF;QACvF,uFAAuF;QACvF,mFAAmF;QACnF,YAAY,EAAE,EAAE,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE;KACjD,CAAC;IACF,yGAAyG;IACzG,MAAM,QAAQ,GACZ,OAAO,QAAQ,KAAK,UAAU;QAC5B,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACpB,CAAC,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OAAO,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,EAAE;KACnE,CAAC;IACF,yGAAyG;IACzG,MAAM,QAAQ,GACZ,OAAO,QAAQ,KAAK,UAAU;QAC5B,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACpB,CAAC,CAAC,QAAQ;YACR,CAAC,CAAE,WAAW,CAAC,QAAQ,EAAE,QAAQ,CAAyB;YAC1D,CAAC,CAAC,QAAQ,CAAC;IACjB,OAAO,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AACvC,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,18 +1,41 @@
1
- import { mockFramework } from '@equinor/fusion-framework/mock';
1
+ import { mockFramework, } from '@equinor/fusion-framework/mock';
2
2
  import { enableAppManifestMock } from '@equinor/fusion-framework-app/mock';
3
3
  import { enableNavigation, createHistory } from '@equinor/fusion-framework-module-navigation';
4
4
  import { defaultAppEnv } from './default-app-env';
5
+ /**
6
+ * Enables the feature-flag mock only when `@equinor/fusion-framework-module-feature-flag` — an
7
+ * optional peer dependency — is actually installed, so apps that don't use feature flags aren't
8
+ * forced to install a module they never reference.
9
+ */
10
+ async function enableFeatureFlagMockIfAvailable(configurator) {
11
+ try {
12
+ const { enableFeatureFlagMock } = await import('@equinor/fusion-framework-module-feature-flag/mock');
13
+ enableFeatureFlagMock(configurator);
14
+ }
15
+ catch (error) {
16
+ // re-throw anything other than the optional peer being missing, so a real
17
+ // registration failure isn't silently swallowed
18
+ if (error instanceof Error &&
19
+ (error.message.includes('Cannot find module') || error.message.includes('MODULE_NOT_FOUND'))) {
20
+ return;
21
+ }
22
+ throw error;
23
+ }
24
+ }
5
25
  /**
6
26
  * Resolves the parent Fusion instance backing an application module scope, building a
7
27
  * fresh {@link mockFramework} instance with this app's own manifest served when none is
8
28
  * given.
9
29
  *
10
30
  * @template TEnv - The application environment descriptor.
11
- * @param options - `env` seeds the built-in app manifest mock; navigation defaults to real
12
- * browser history, matching Browser Mode. `configure` runs afterwards on the same
13
- * configurator e.g. call `enableNavigation` again to override the history, or register
14
- * extra modules and service discovery entries. `fusion`, an already-built parent instance,
15
- * is reused as-is and skips `configure` entirely.
31
+ * @param options - `env` seeds the built-in app manifest mock; navigation defaults to in-memory
32
+ * history, so tests don't leak URL/history state between runs. Feature flags default to the
33
+ * in-memory feature-flag mock, with none enabled, when the optional
34
+ * `@equinor/fusion-framework-module-feature-flag` peer dependency is installed. `configure`
35
+ * runs afterwards on the same configurator — e.g. call `enableNavigation` or
36
+ * `enableFeatureFlagMock` again to override either, or register extra modules and service
37
+ * discovery entries. `fusion`, an already-built parent instance, is reused as-is and skips
38
+ * `configure` entirely.
16
39
  * @returns The given `fusion`, or a fresh mocked parent Fusion instance.
17
40
  */
18
41
  export async function resolveFusion(options) {
@@ -21,8 +44,9 @@ export async function resolveFusion(options) {
21
44
  mockFramework(async (configurator) => {
22
45
  enableAppManifestMock(configurator, env ?? defaultAppEnv);
23
46
  enableNavigation(configurator, {
24
- configure: (config) => config.setHistory(createHistory('browser')),
47
+ configure: (config) => config.setHistory(createHistory('memory')),
25
48
  });
49
+ await enableFeatureFlagMockIfAvailable(configurator);
26
50
  await configure?.(configurator);
27
51
  }));
28
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-fusion.js","sourceRoot":"","sources":["../../../src/scope/resolve-fusion.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAiC,MAAM,gCAAgC,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAG9F,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAA+B,OAIjE;IACC,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,IAAI,EAAE,CAA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AAU,aAAa,CAA+B,OAIjE;IACC,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,IAAI,EAAE,CAAC;IACjD,OAAO,CACL,MAAM;QACN,aAAa,CAAgC,KAAK,EAAE,YAAY,EAAE,EAAE;YAClE,qBAAqB,CAAC,YAAY,EAAE,GAAG,IAAK,aAAsB,CAAC,CAAC;YACpE,gBAAgB,CAAC,YAAY,EAAE;gBAC7B,SAAS,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;aAClE,CAAC,CAAC;YACH,MAAM,gCAAgC,CAAC,YAAY,CAAC,CAAC;YACrD,MAAM,SAAS,EAAE,CAAC,YAAY,CAAC,CAAC;QAClC,CAAC,CAAC,CACH,CAAC;AACJ,CAAC"}
@@ -42,8 +42,12 @@ import { defaultAppEnv, resolveFusion, createAppScopeWrapper } from './scope';
42
42
  * @example Seed a module for every test in a suite
43
43
  * ```tsx
44
44
  * describe('with a seeded context module', () => {
45
- * const test = testApp.extend('configureApp', { injected: true }, () =>
46
- * (configurator) => enableContextMock(configurator, (mock) => mock.setCurrentContext(projectA)),
45
+ * const test = testApp.extend(
46
+ * 'configureApp',
47
+ * { injected: true },
48
+ * (): AppMockConfigureFn =>
49
+ * (configurator) =>
50
+ * enableContextMock(configurator, (mock) => mock.setCurrentContext(projectA)),
47
51
  * );
48
52
  *
49
53
  * test('starts on the seeded context', async ({ render }) => {
@@ -53,16 +57,46 @@ import { defaultAppEnv, resolveFusion, createAppScopeWrapper } from './scope';
53
57
  * });
54
58
  * ```
55
59
  *
60
+ * @example Type `app`'s registered modules for consumers
61
+ * ```tsx
62
+ * // `configureApp`'s `TModules` generic only types that callback's own `configurator` parameter.
63
+ * // `app`'s type was already fixed (to `unknown`) when the base `testApp` chain defined it, so a
64
+ * // later `configureApp` override does not retroactively change what `app` is typed as. Re-extend
65
+ * // `app` too, with the same `TModules`, to get a typed `app.navigation` in tests.
66
+ * const test = testApp
67
+ * .extend(
68
+ * 'configureApp',
69
+ * { injected: true },
70
+ * ({ configureApp }): AppMockConfigureFn<[NavigationModule]> =>
71
+ * async (configurator, args) => {
72
+ * await configureApp?.(configurator, args);
73
+ * enableNavigation(configurator, '/app');
74
+ * },
75
+ * )
76
+ * .extend('app', ({ configureApp, appEnv, fusion }) =>
77
+ * mockAppModules<[NavigationModule], AppEnv>(configureApp, appEnv as AppEnv, fusion),
78
+ * );
79
+ *
80
+ * test('exposes the navigation module', async ({ app }) => {
81
+ * expect(app.navigation).toBeDefined();
82
+ * });
83
+ * ```
84
+ *
56
85
  * @example Extend the parent framework mock with an application module
57
86
  * ```tsx
58
- * const test = testApp.extend('configureFusion', { injected: true }, () =>
59
- * (configurator) => {
60
- * enableFeatureFlagMock(configurator);
61
- * configurator.serviceDiscovery.addServices([
62
- * { key: 'people', uri: baseUrl('people') },
63
- * { key: 'context', uri: baseUrl('context') },
64
- * ]);
65
- * },
87
+ * const test = testApp.extend(
88
+ * 'configureFusion',
89
+ * { injected: true },
90
+ * (): FrameworkMockConfigureFn<[AppModule, NavigationModule]> =>
91
+ * (configurator) => {
92
+ * // seed a specific flag rather than merely enabling the mock — that's already the
93
+ * // default when the optional feature-flag peer dependency is installed
94
+ * enableFeatureFlagMock(configurator, (mock) => mock.addFeature({ key: 'new-search', enabled: true }));
95
+ * configurator.serviceDiscovery.addServices([
96
+ * { key: 'people', uri: baseUrl('people') },
97
+ * { key: 'context', uri: baseUrl('context') },
98
+ * ]);
99
+ * },
66
100
  * );
67
101
  * ```
68
102
  */
@@ -71,9 +105,9 @@ export const testApp = baseTest
71
105
  // `test.extend`'s plain-`value` overload rejects function types (ambiguous with the
72
106
  // resolver-`fn` overload), so a function-typed fixture default must go through `fn` instead.
73
107
  .extend('configureApp', { injected: true }, () => undefined)
74
- // Runs after the built-in app manifest/navigation setup, so a test can register extra
75
- // framework modules, service discovery entries, or call `enableNavigation` again to
76
- // override the history, without reimplementing the base setup.
108
+ // Runs after the built-in app manifest/navigation/feature-flag setup, so a test can register
109
+ // extra framework modules, service discovery entries, or call `enableNavigation`/
110
+ // `enableFeatureFlagMock` again to override either, without reimplementing the base setup.
77
111
  .extend('configureFusion', { injected: true }, () => undefined)
78
112
  // IMPORTANT: `.override('fusion', ...)` replaces this resolver entirely, so `configureFusion`
79
113
  // is never called — reach for `configureFusion` to extend the base mock, `fusion` only to
@@ -1 +1 @@
1
- {"version":3,"file":"test-app.js","sourceRoot":"","sources":["../../src/test-app.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAG1D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAOpE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ;KAC5B,MAAM,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,aAAa,CAAC;IACpD,oFAAoF;IACpF,6FAA6F;KAC5F,MAAM,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,CAAC,SAA2C,CAAC;IAC9F,sFAAsF;IACtF,oFAAoF;IACpF,+DAA+D;KAC9D,MAAM,CACL,iBAAiB,EACjB,EAAE,QAAQ,EAAE,IAAI,EAAE,EAClB,GAAG,EAAE,CAAC,SAAgF,CACvF;IACD,8FAA8F;IAC9F,0FAA0F;IAC1F,yEAAyE;KACxE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,EAAE,CACtD,aAAa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AAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE;IACxC,MAAM,OAAO,GAAG,qBAAqB,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;IAClE,OAAO,CACL,EAAoC,EACpC,OAAmD,EACnD,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEL,eAAe,OAAO,CAAC"}
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '1.0.0-next.4';
2
+ export const version = '1.0.0-next.6';
3
3
  //# sourceMappingURL=version.js.map