@equinor/fusion-framework-cli 5.1.9 → 5.1.12
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
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.1.12](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@5.1.11...@equinor/fusion-framework-cli@5.1.12) (2023-03-31)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- force build of cli ([3fdff80](https://github.com/equinor/fusion-framework/commit/3fdff80c69c769d789d00f7cec5895a080be3ccf))
|
|
11
|
+
|
|
12
|
+
## [5.1.11](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@5.1.9...@equinor/fusion-framework-cli@5.1.11) (2023-03-31)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **cli:** contextSearch shows current context in selector ([52b4cc4](https://github.com/equinor/fusion-framework/commit/52b4cc4f2ade64e4f2722e16a2d27358d0121c05))
|
|
17
|
+
- **cli:** moved vite-plugin-enviornment from dev-dependencie to dependecies ([1c42889](https://github.com/equinor/fusion-framework/commit/1c428894503cdd95c5bfc2b60c0148860491f305))
|
|
18
|
+
- **cli:** update deps ([86cc317](https://github.com/equinor/fusion-framework/commit/86cc31728ce6d78ebd198eadc0ccddcaf16df55e))
|
|
19
|
+
|
|
20
|
+
## [5.1.10](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@5.1.9...@equinor/fusion-framework-cli@5.1.10) (2023-03-31)
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
- **cli:** contextSearch shows current context in selector ([52b4cc4](https://github.com/equinor/fusion-framework/commit/52b4cc4f2ade64e4f2722e16a2d27358d0121c05))
|
|
25
|
+
- **cli:** moved vite-plugin-enviornment from dev-dependencie to dependecies ([1c42889](https://github.com/equinor/fusion-framework/commit/1c428894503cdd95c5bfc2b60c0148860491f305))
|
|
26
|
+
- **cli:** update deps ([86cc317](https://github.com/equinor/fusion-framework/commit/86cc31728ce6d78ebd198eadc0ccddcaf16df55e))
|
|
27
|
+
|
|
6
28
|
## [5.1.9](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@5.1.8...@equinor/fusion-framework-cli@5.1.9) (2023-03-28)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @equinor/fusion-framework-cli
|
package/bin/app-config.js
CHANGED
|
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import path from 'path';
|
|
11
11
|
import fs from 'fs';
|
|
12
|
+
import url from 'url';
|
|
12
13
|
import { findUpSync } from 'find-up';
|
|
13
14
|
const supportedTypes = ['js', 'json'];
|
|
14
15
|
export const resolvePackageRoot = () => {
|
|
@@ -30,7 +31,8 @@ export const getConfigType = (root) => {
|
|
|
30
31
|
.find((x) => fs.existsSync(x.file) && fs.statSync(x.file).isFile());
|
|
31
32
|
};
|
|
32
33
|
const loadConfigFromJavascript = (file) => __awaiter(void 0, void 0, void 0, function* () {
|
|
33
|
-
|
|
34
|
+
const path = url.pathToFileURL(file).href;
|
|
35
|
+
return (yield import(path)).default();
|
|
34
36
|
});
|
|
35
37
|
const loadConfigFromJson = (file) => __awaiter(void 0, void 0, void 0, function* () {
|
|
36
38
|
return JSON.parse(fs.readFileSync(file, 'utf-8'));
|