@equinor/fusion-framework 7.2.1 → 7.2.2
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 +58 -0
- package/dist/esm/FrameworkConfigurator.js +5 -0
- package/dist/esm/FrameworkConfigurator.js.map +1 -1
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/init.js +9 -0
- package/dist/esm/init.js.map +1 -1
- package/dist/esm/version.js +2 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/FrameworkConfigurator.d.ts +5 -0
- package/dist/types/index.d.ts +5 -1
- package/dist/types/init.d.ts +10 -1
- package/dist/types/types.d.ts +9 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +9 -9
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2333](https://github.com/equinor/fusion-framework/pull/2333) [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1) Thanks [@odinr](https://github.com/odinr)! - Updated `TypeScript` to 5.5.3
|
|
8
|
+
|
|
9
|
+
- [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
|
|
10
|
+
|
|
11
|
+
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
12
|
+
|
|
13
|
+
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
14
|
+
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
15
|
+
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
16
|
+
|
|
17
|
+
No action is required from consumers of the library. This change affects the build process and doesn't introduce any breaking changes or new features.
|
|
18
|
+
|
|
19
|
+
Before:
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"compilerOptions": {
|
|
24
|
+
"module": "ES2022",
|
|
25
|
+
"target": "ES6",
|
|
26
|
+
"incremental": true,
|
|
27
|
+
"removeComments": true,
|
|
28
|
+
"preserveConstEnums": true,
|
|
29
|
+
"sourceMap": true,
|
|
30
|
+
"moduleResolution": "node"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
After:
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"compilerOptions": {
|
|
40
|
+
"module": "ES2022",
|
|
41
|
+
"target": "ES6",
|
|
42
|
+
"incremental": true,
|
|
43
|
+
"preserveConstEnums": true,
|
|
44
|
+
"sourceMap": true,
|
|
45
|
+
"moduleResolution": "node"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [[`2f74edc`](https://github.com/equinor/fusion-framework/commit/2f74edcd4a3ea2b87d69f0fd63492145c3c01663), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`b628e90`](https://github.com/equinor/fusion-framework/commit/b628e90500b62e0185c09eb665ce31025bc9b541), [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee)]:
|
|
53
|
+
- @equinor/fusion-framework-module@4.3.2
|
|
54
|
+
- @equinor/fusion-framework-module-http@6.0.1
|
|
55
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.10
|
|
56
|
+
- @equinor/fusion-framework-module-services@4.1.1
|
|
57
|
+
- @equinor/fusion-framework-module-context@5.0.8
|
|
58
|
+
- @equinor/fusion-framework-module-event@4.2.0
|
|
59
|
+
- @equinor/fusion-framework-module-msal@3.1.2
|
|
60
|
+
|
|
3
61
|
## 7.2.1
|
|
4
62
|
|
|
5
63
|
### Patch Changes
|
|
@@ -5,6 +5,11 @@ import auth, { configureMsal } from '@equinor/fusion-framework-module-msal';
|
|
|
5
5
|
import context from '@equinor/fusion-framework-module-context';
|
|
6
6
|
import disco from '@equinor/fusion-framework-module-service-discovery';
|
|
7
7
|
import services from '@equinor/fusion-framework-module-services';
|
|
8
|
+
/**
|
|
9
|
+
* Module configurator for Framework modules
|
|
10
|
+
* @template TModules - Addition modules
|
|
11
|
+
* @template TRef - usually undefined, optional references
|
|
12
|
+
*/
|
|
8
13
|
export class FrameworkConfigurator extends ModulesConfigurator {
|
|
9
14
|
constructor() {
|
|
10
15
|
super([event, auth, http, disco, services, context]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrameworkConfigurator.js","sourceRoot":"","sources":["../../src/FrameworkConfigurator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,MAAM,wCAAwC,CAAC;AAE3D,OAAO,IAAI,EAAE,EACT,mBAAmB,EACnB,aAAa,GAEhB,MAAM,uCAAuC,CAAC;AAG/C,OAAO,IAAI,EAAE,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAE5E,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAE/D,OAAO,KA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,CAAC;IAC/D,CAAC;CACJ;AAED,eAAe,qBAAqB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
export { FrameworkConfigurator,
|
|
1
|
+
export { FrameworkConfigurator,
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated use FrameworkConfigurator
|
|
4
|
+
*/
|
|
5
|
+
FrameworkConfigurator as FusionConfigurator, } from './FrameworkConfigurator';
|
|
2
6
|
export * from './types';
|
|
3
7
|
export { default, init } from './init';
|
|
4
8
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,EACH,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,EACH,qBAAqB;AACrB;;GAEG;AACH,qBAAqB,IAAI,kBAAkB,GAC9C,MAAM,yBAAyB,CAAC;AAEjC,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
package/dist/esm/init.js
CHANGED
|
@@ -7,6 +7,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @template TModules addition modules
|
|
13
|
+
* @template TRef optional reference
|
|
14
|
+
*
|
|
15
|
+
* @param configurator config builder instance
|
|
16
|
+
* @param ref optional references
|
|
17
|
+
* @returns instance of framework modules
|
|
18
|
+
*/
|
|
10
19
|
export const init = (configurator, ref) => __awaiter(void 0, void 0, void 0, function* () {
|
|
11
20
|
const modules = yield configurator.initialize(ref);
|
|
12
21
|
const fusion = {
|
package/dist/esm/init.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/init.ts"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/init.ts"],"names":[],"mappings":";;;;;;;;;AAKA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAChB,YAA6C,EAC7C,GAAU,EACe,EAAE;IAC3B,MAAM,OAAO,GAAG,MAAM,YAAY,CAAC,UAAU,CAAgB,GAAG,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG;QACX,OAAO;KACV,CAAC;IACF,MAAM,CAAC,MAAM,GAAG,MAA2B,CAAC;IAC5C,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAErE,OAAO,MAAqC,CAAC;AACjD,CAAC,CAAA,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
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":"
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
|