@equinor/fusion-framework-vite-plugin-spa 1.0.0-next.5 → 1.0.0-next.7

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,30 @@
1
1
  # @equinor/fusion-framework-vite-plugin-spa
2
2
 
3
+ ## 1.0.0-next.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`23fdc8a`](https://github.com/equinor/fusion-framework/commit/23fdc8a80d21ff063b17d8c596c0afc0a891305f) Thanks [@odinr](https://github.com/odinr)! - Fix dependency and devDependency declarations for lodash.mergewith:
8
+
9
+ - Move "lodash.mergewith" to dependencies and ensure correct version for @types/lodash.mergewith in devDependencies.
10
+ - Remove duplicate and misplaced entries for lodash.mergewith and its types.
11
+ - Remove unused @equinor/fusion-framework-vite-plugin-api-service from devDependencies.
12
+ - Update lockfile to match package.json changes.
13
+
14
+ This ensures correct dependency management and resolves potential issues with type resolution and package installation.
15
+
16
+ ## 1.0.0-next.6
17
+
18
+ ### Patch Changes
19
+
20
+ - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`713cb15`](https://github.com/equinor/fusion-framework/commit/713cb15c5f1607e7f7285940a58165d97d8e41df) Thanks [@odinr](https://github.com/odinr)! - Refactor plugin internals for improved Vite compatibility and maintainability:
21
+
22
+ - Made `resolveId` and `config` hooks async to support dynamic import resolution for virtual modules.
23
+ - Improved resource alias resolution for `/@fusion-spa-bootstrap.js` and `/@fusion-spa-sw.js` using `import.meta.resolve` and `fileURLToPath`.
24
+ - Enhanced environment variable handling by merging plugin and loaded environments, and defining them on `config.define`.
25
+ - Ensured the Vite dev server allows access to the correct `../html` directory for SPA templates.
26
+ - Added more robust logging for environment configuration and plugin setup.
27
+
3
28
  ## 1.0.0-next.5
4
29
 
5
30
  ### Minor Changes
@@ -1,3 +1,4 @@
1
+ import { fileURLToPath } from 'node:url';
1
2
  import mergeWith from 'lodash.mergewith';
2
3
  import defaultTemplate from './html/index.html.js';
3
4
  import { objectToEnv } from './util/object-to-env.js';
@@ -15,16 +16,20 @@ export const plugin = (options) => {
15
16
  const log = options?.logger;
16
17
  return {
17
18
  name: 'fusion-framework-plugin-spa',
18
- resolveId(id) {
19
+ resolveId: async (id) => {
19
20
  // resolve resource aliases to the correct path
20
21
  switch (id) {
21
- case '/@fusion-spa-bootstrap.js':
22
- return new URL('./html/bootstrap.js', import.meta.url).pathname;
23
- case '/@fusion-spa-sw.js':
24
- return new URL('./html/sw.js', import.meta.url).pathname;
22
+ case '/@fusion-spa-bootstrap.js': {
23
+ const file = await import.meta.resolve('@equinor/fusion-framework-vite-plugin-spa/bootstrap.js');
24
+ return fileURLToPath(file);
25
+ }
26
+ case '/@fusion-spa-sw.js': {
27
+ const file = await import.meta.resolve('@equinor/fusion-framework-vite-plugin-spa/sw.js');
28
+ return fileURLToPath(file);
29
+ }
25
30
  }
26
31
  },
27
- config(config, configEnv) {
32
+ config: async (config, configEnv) => {
28
33
  const templateEnvPrefix = options?.templateEnvPrefix ?? 'FUSION_SPA_';
29
34
  // generate environment variables from plugin options
30
35
  const pluginEnvObj = { ...defaultEnv, ...options?.generateTemplateEnv?.(configEnv) };
@@ -43,8 +48,8 @@ export const plugin = (options) => {
43
48
  config.server ??= {};
44
49
  config.server.fs ??= {};
45
50
  config.server.fs.allow ??= [];
46
- // allow access to the template file
47
- config.server.fs.allow.push(new URL('./html', import.meta.url).pathname);
51
+ // allow access to the html directory
52
+ config.server.fs.allow.push(new URL('../html', import.meta.url).pathname);
48
53
  log?.info(`plugin configured for ${env.FUSION_SPA_PORTAL_ID}`);
49
54
  },
50
55
  configureServer(server) {
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAEzC,OAAO,eAAe,MAAM,sBAAsB,CAAC;AAEnD,OAAO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C;YACvB,CAAC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '1.0.0-next.5';
2
+ export const version = '1.0.0-next.7';
3
3
  //# sourceMappingURL=version.js.map
@@ -1,4 +1,6 @@
1
- import { g as getDefaultExportFromCjs } from '../_commonjsHelpers-BFTU3MAI.js';
1
+ function getDefaultExportFromCjs (x) {
2
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
3
+ }
2
4
 
3
5
  var re = {exports: {}};
4
6
 
@@ -9814,114 +9816,114 @@ const coerce = {
9814
9816
  const NEVER = INVALID;
9815
9817
 
9816
9818
  var z$1 = /*#__PURE__*/Object.freeze({
9817
- __proto__: null,
9818
- BRAND: BRAND,
9819
- DIRTY: DIRTY,
9820
- EMPTY_PATH: EMPTY_PATH,
9821
- INVALID: INVALID,
9822
- NEVER: NEVER,
9823
- OK: OK,
9824
- ParseStatus: ParseStatus,
9825
- Schema: ZodType,
9826
- ZodAny: ZodAny,
9827
- ZodArray: ZodArray,
9828
- ZodBigInt: ZodBigInt,
9829
- ZodBoolean: ZodBoolean,
9830
- ZodBranded: ZodBranded,
9831
- ZodCatch: ZodCatch,
9832
- ZodDate: ZodDate,
9833
- ZodDefault: ZodDefault,
9834
- ZodDiscriminatedUnion: ZodDiscriminatedUnion,
9835
- ZodEffects: ZodEffects,
9836
- ZodEnum: ZodEnum,
9837
- ZodError: ZodError,
9838
- get ZodFirstPartyTypeKind () { return ZodFirstPartyTypeKind; },
9839
- ZodFunction: ZodFunction,
9840
- ZodIntersection: ZodIntersection,
9841
- ZodIssueCode: ZodIssueCode,
9842
- ZodLazy: ZodLazy,
9843
- ZodLiteral: ZodLiteral,
9844
- ZodMap: ZodMap,
9845
- ZodNaN: ZodNaN,
9846
- ZodNativeEnum: ZodNativeEnum,
9847
- ZodNever: ZodNever,
9848
- ZodNull: ZodNull,
9849
- ZodNullable: ZodNullable,
9850
- ZodNumber: ZodNumber,
9851
- ZodObject: ZodObject,
9852
- ZodOptional: ZodOptional,
9853
- ZodParsedType: ZodParsedType,
9854
- ZodPipeline: ZodPipeline,
9855
- ZodPromise: ZodPromise,
9856
- ZodReadonly: ZodReadonly,
9857
- ZodRecord: ZodRecord,
9858
- ZodSchema: ZodType,
9859
- ZodSet: ZodSet,
9860
- ZodString: ZodString,
9861
- ZodSymbol: ZodSymbol,
9862
- ZodTransformer: ZodEffects,
9863
- ZodTuple: ZodTuple,
9864
- ZodType: ZodType,
9865
- ZodUndefined: ZodUndefined,
9866
- ZodUnion: ZodUnion,
9867
- ZodUnknown: ZodUnknown,
9868
- ZodVoid: ZodVoid,
9869
- addIssueToContext: addIssueToContext,
9870
- any: anyType,
9871
- array: arrayType,
9872
- bigint: bigIntType,
9873
- boolean: booleanType,
9874
- coerce: coerce,
9875
- custom: custom,
9876
- date: dateType,
9877
- datetimeRegex: datetimeRegex,
9878
- defaultErrorMap: errorMap,
9879
- discriminatedUnion: discriminatedUnionType,
9880
- effect: effectsType,
9881
- enum: enumType,
9882
- function: functionType,
9883
- getErrorMap: getErrorMap,
9884
- getParsedType: getParsedType,
9885
- instanceof: instanceOfType,
9886
- intersection: intersectionType,
9887
- isAborted: isAborted,
9888
- isAsync: isAsync,
9889
- isDirty: isDirty,
9890
- isValid: isValid,
9891
- late: late,
9892
- lazy: lazyType,
9893
- literal: literalType,
9894
- makeIssue: makeIssue,
9895
- map: mapType,
9896
- nan: nanType,
9897
- nativeEnum: nativeEnumType,
9898
- never: neverType,
9899
- null: nullType,
9900
- nullable: nullableType,
9901
- number: numberType,
9902
- object: objectType,
9903
- get objectUtil () { return objectUtil; },
9904
- oboolean: oboolean,
9905
- onumber: onumber,
9906
- optional: optionalType,
9907
- ostring: ostring,
9908
- pipeline: pipelineType,
9909
- preprocess: preprocessType,
9910
- promise: promiseType,
9911
- quotelessJson: quotelessJson,
9912
- record: recordType,
9913
- set: setType,
9914
- setErrorMap: setErrorMap,
9915
- strictObject: strictObjectType,
9916
- string: stringType,
9917
- symbol: symbolType,
9918
- transformer: effectsType,
9919
- tuple: tupleType,
9920
- undefined: undefinedType,
9921
- union: unionType,
9922
- unknown: unknownType,
9923
- get util () { return util; },
9924
- void: voidType
9819
+ __proto__: null,
9820
+ BRAND: BRAND,
9821
+ DIRTY: DIRTY,
9822
+ EMPTY_PATH: EMPTY_PATH,
9823
+ INVALID: INVALID,
9824
+ NEVER: NEVER,
9825
+ OK: OK,
9826
+ ParseStatus: ParseStatus,
9827
+ Schema: ZodType,
9828
+ ZodAny: ZodAny,
9829
+ ZodArray: ZodArray,
9830
+ ZodBigInt: ZodBigInt,
9831
+ ZodBoolean: ZodBoolean,
9832
+ ZodBranded: ZodBranded,
9833
+ ZodCatch: ZodCatch,
9834
+ ZodDate: ZodDate,
9835
+ ZodDefault: ZodDefault,
9836
+ ZodDiscriminatedUnion: ZodDiscriminatedUnion,
9837
+ ZodEffects: ZodEffects,
9838
+ ZodEnum: ZodEnum,
9839
+ ZodError: ZodError,
9840
+ get ZodFirstPartyTypeKind () { return ZodFirstPartyTypeKind; },
9841
+ ZodFunction: ZodFunction,
9842
+ ZodIntersection: ZodIntersection,
9843
+ ZodIssueCode: ZodIssueCode,
9844
+ ZodLazy: ZodLazy,
9845
+ ZodLiteral: ZodLiteral,
9846
+ ZodMap: ZodMap,
9847
+ ZodNaN: ZodNaN,
9848
+ ZodNativeEnum: ZodNativeEnum,
9849
+ ZodNever: ZodNever,
9850
+ ZodNull: ZodNull,
9851
+ ZodNullable: ZodNullable,
9852
+ ZodNumber: ZodNumber,
9853
+ ZodObject: ZodObject,
9854
+ ZodOptional: ZodOptional,
9855
+ ZodParsedType: ZodParsedType,
9856
+ ZodPipeline: ZodPipeline,
9857
+ ZodPromise: ZodPromise,
9858
+ ZodReadonly: ZodReadonly,
9859
+ ZodRecord: ZodRecord,
9860
+ ZodSchema: ZodType,
9861
+ ZodSet: ZodSet,
9862
+ ZodString: ZodString,
9863
+ ZodSymbol: ZodSymbol,
9864
+ ZodTransformer: ZodEffects,
9865
+ ZodTuple: ZodTuple,
9866
+ ZodType: ZodType,
9867
+ ZodUndefined: ZodUndefined,
9868
+ ZodUnion: ZodUnion,
9869
+ ZodUnknown: ZodUnknown,
9870
+ ZodVoid: ZodVoid,
9871
+ addIssueToContext: addIssueToContext,
9872
+ any: anyType,
9873
+ array: arrayType,
9874
+ bigint: bigIntType,
9875
+ boolean: booleanType,
9876
+ coerce: coerce,
9877
+ custom: custom,
9878
+ date: dateType,
9879
+ datetimeRegex: datetimeRegex,
9880
+ defaultErrorMap: errorMap,
9881
+ discriminatedUnion: discriminatedUnionType,
9882
+ effect: effectsType,
9883
+ enum: enumType,
9884
+ function: functionType,
9885
+ getErrorMap: getErrorMap,
9886
+ getParsedType: getParsedType,
9887
+ instanceof: instanceOfType,
9888
+ intersection: intersectionType,
9889
+ isAborted: isAborted,
9890
+ isAsync: isAsync,
9891
+ isDirty: isDirty,
9892
+ isValid: isValid,
9893
+ late: late,
9894
+ lazy: lazyType,
9895
+ literal: literalType,
9896
+ makeIssue: makeIssue,
9897
+ map: mapType,
9898
+ nan: nanType,
9899
+ nativeEnum: nativeEnumType,
9900
+ never: neverType,
9901
+ null: nullType,
9902
+ nullable: nullableType,
9903
+ number: numberType,
9904
+ object: objectType,
9905
+ get objectUtil () { return objectUtil; },
9906
+ oboolean: oboolean,
9907
+ onumber: onumber,
9908
+ optional: optionalType,
9909
+ ostring: ostring,
9910
+ pipeline: pipelineType,
9911
+ preprocess: preprocessType,
9912
+ promise: promiseType,
9913
+ quotelessJson: quotelessJson,
9914
+ record: recordType,
9915
+ set: setType,
9916
+ setErrorMap: setErrorMap,
9917
+ strictObject: strictObjectType,
9918
+ string: stringType,
9919
+ symbol: symbolType,
9920
+ transformer: effectsType,
9921
+ tuple: tupleType,
9922
+ undefined: undefinedType,
9923
+ union: unionType,
9924
+ unknown: unknownType,
9925
+ get util () { return util; },
9926
+ void: voidType
9925
9927
  });
9926
9928
 
9927
9929
  /**