@equinor/fusion-framework-cli 15.1.8 → 15.2.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 +18 -0
- package/bin/build/bin.mjs +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/bin/app-manifest.d.ts +1 -1
- package/dist/types/bin/app-pack.d.ts +1 -1
- package/dist/types/bin/portal-build.d.ts +5 -5
- package/dist/types/bin/portal-manifest.d.ts +5 -5
- package/dist/types/bin/portal-pack.d.ts +5 -5
- package/dist/types/cli/commands/app/pack.d.ts +1 -1
- package/dist/types/cli/commands/index.d.ts +2 -2
- package/dist/types/lib/app/app-package.d.ts +1 -1
- package/dist/types/lib/legacy.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +6 -6
package/dist/esm/version.js
CHANGED
|
@@ -44,7 +44,7 @@ export type ResolveAppManifestOptions = {
|
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
46
|
export declare const loadAppManifest: (options: ResolveAppManifestOptions) => Promise<{
|
|
47
|
-
manifest: import("node_modules/@equinor/fusion-framework-module-app/
|
|
47
|
+
manifest: import("node_modules/@equinor/fusion-framework-module-app/src/types.js").AppManifest;
|
|
48
48
|
pkg: import("@equinor/fusion-framework-cli/lib").ResolvedPackage;
|
|
49
49
|
env: RuntimeEnv;
|
|
50
50
|
}>;
|
|
@@ -42,5 +42,5 @@ export type BundleAppOptions = {
|
|
|
42
42
|
*/
|
|
43
43
|
export declare const bundleApp: (options: BundleAppOptions) => Promise<{
|
|
44
44
|
archive: import("node_modules/adm-zip/types.js");
|
|
45
|
-
manifest: import("node_modules/@equinor/fusion-framework-module-app/
|
|
45
|
+
manifest: import("node_modules/@equinor/fusion-framework-module-app/src/types.js").AppManifest;
|
|
46
46
|
}>;
|
|
@@ -32,24 +32,24 @@ export declare const buildPortal: (opt?: BuildApplicationOptions) => Promise<{
|
|
|
32
32
|
pkg: import("../lib/index.js").ResolvedPackage;
|
|
33
33
|
manifest: {
|
|
34
34
|
name: string;
|
|
35
|
+
displayName?: string | undefined;
|
|
36
|
+
description?: string | undefined;
|
|
35
37
|
build: {
|
|
36
38
|
templateEntry: string;
|
|
37
39
|
schemaEntry: string;
|
|
40
|
+
assetPath?: string | undefined;
|
|
41
|
+
githubRepo?: string | undefined;
|
|
38
42
|
version: string;
|
|
39
43
|
timestamp: string;
|
|
40
44
|
commitSha: string;
|
|
41
45
|
annotations: {
|
|
42
46
|
[k: string]: string | null | undefined;
|
|
43
47
|
} | undefined;
|
|
44
|
-
allowedExtensions: string[];
|
|
45
|
-
assetPath?: string | undefined;
|
|
46
|
-
githubRepo?: string | undefined;
|
|
47
48
|
projectPage?: string | undefined;
|
|
49
|
+
allowedExtensions: string[];
|
|
48
50
|
schema?: Record<string, unknown> | undefined;
|
|
49
51
|
config?: Record<string, unknown> | undefined;
|
|
50
52
|
};
|
|
51
|
-
displayName?: string | undefined;
|
|
52
|
-
description?: string | undefined;
|
|
53
53
|
};
|
|
54
54
|
outDir: any;
|
|
55
55
|
}>;
|
|
@@ -37,24 +37,24 @@ export type ResolvePortalManifestOptions = {
|
|
|
37
37
|
export declare const loadPortalManifest: (options: ResolvePortalManifestOptions) => Promise<{
|
|
38
38
|
manifest: {
|
|
39
39
|
name: string;
|
|
40
|
+
displayName?: string | undefined;
|
|
41
|
+
description?: string | undefined;
|
|
40
42
|
build: {
|
|
41
43
|
templateEntry: string;
|
|
42
44
|
schemaEntry: string;
|
|
45
|
+
assetPath?: string | undefined;
|
|
46
|
+
githubRepo?: string | undefined;
|
|
43
47
|
version: string;
|
|
44
48
|
timestamp: string;
|
|
45
49
|
commitSha: string;
|
|
46
50
|
annotations: {
|
|
47
51
|
[k: string]: string | null | undefined;
|
|
48
52
|
} | undefined;
|
|
49
|
-
allowedExtensions: string[];
|
|
50
|
-
assetPath?: string | undefined;
|
|
51
|
-
githubRepo?: string | undefined;
|
|
52
53
|
projectPage?: string | undefined;
|
|
54
|
+
allowedExtensions: string[];
|
|
53
55
|
schema?: Record<string, unknown> | undefined;
|
|
54
56
|
config?: Record<string, unknown> | undefined;
|
|
55
57
|
};
|
|
56
|
-
displayName?: string | undefined;
|
|
57
|
-
description?: string | undefined;
|
|
58
58
|
};
|
|
59
59
|
pkg: import("@equinor/fusion-framework-cli/lib").ResolvedPackage;
|
|
60
60
|
env: RuntimeEnv;
|
|
@@ -33,24 +33,24 @@ export declare const bundlePortal: (options: BundlePortalOptions) => Promise<{
|
|
|
33
33
|
archive: import("node_modules/adm-zip/types.js");
|
|
34
34
|
manifest: {
|
|
35
35
|
name: string;
|
|
36
|
+
displayName?: string | undefined;
|
|
37
|
+
description?: string | undefined;
|
|
36
38
|
build: {
|
|
37
39
|
templateEntry: string;
|
|
38
40
|
schemaEntry: string;
|
|
41
|
+
assetPath?: string | undefined;
|
|
42
|
+
githubRepo?: string | undefined;
|
|
39
43
|
version: string;
|
|
40
44
|
timestamp: string;
|
|
41
45
|
commitSha: string;
|
|
42
46
|
annotations: {
|
|
43
47
|
[k: string]: string | null | undefined;
|
|
44
48
|
} | undefined;
|
|
45
|
-
allowedExtensions: string[];
|
|
46
|
-
assetPath?: string | undefined;
|
|
47
|
-
githubRepo?: string | undefined;
|
|
48
49
|
projectPage?: string | undefined;
|
|
50
|
+
allowedExtensions: string[];
|
|
49
51
|
schema?: Record<string, unknown> | undefined;
|
|
50
52
|
config?: Record<string, unknown> | undefined;
|
|
51
53
|
};
|
|
52
|
-
displayName?: string | undefined;
|
|
53
|
-
description?: string | undefined;
|
|
54
54
|
};
|
|
55
55
|
schema: import("@equinor/fusion-framework-cli/portal").PortalSchema;
|
|
56
56
|
}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Command } from 'commander';
|
|
2
|
+
export default _default;
|
|
2
3
|
/**
|
|
3
4
|
* Registers all built-in CLI commands and optional plugins on the Commander program.
|
|
4
5
|
*
|
|
@@ -8,5 +9,4 @@ import type { Command } from 'commander';
|
|
|
8
9
|
*
|
|
9
10
|
* @param program - The Commander program instance to register commands on.
|
|
10
11
|
*/
|
|
11
|
-
declare
|
|
12
|
-
export default _default;
|
|
12
|
+
declare function _default(program: Command): Promise<void>;
|
|
@@ -52,7 +52,7 @@ export declare const resolveEntryPoint: (packageJson: PackageJson, pkgPath?: str
|
|
|
52
52
|
* @returns The resolved application key, which is the package name with any leading '@' or scope removed.
|
|
53
53
|
* @throws Will throw an error if the 'name' property is not present in the packageJson.
|
|
54
54
|
*/
|
|
55
|
-
export declare const resolveAppKey: (packageJson: Pick<PackageJson,
|
|
55
|
+
export declare const resolveAppKey: (packageJson: Pick<PackageJson, 'name'>) => string;
|
|
56
56
|
/**
|
|
57
57
|
* Asserts the validity of a given package by resolving its application key and entry point.
|
|
58
58
|
*
|
|
@@ -21,4 +21,4 @@ export declare const defineAppConfig: (...args: Parameters<typeof _defineConfig>
|
|
|
21
21
|
*
|
|
22
22
|
* @param args - Arguments passed to the new defineAppManifest function.
|
|
23
23
|
*/
|
|
24
|
-
export declare const defineAppManifest: (...args: Parameters<typeof _defineManifest>) => import("./app/app-manifest.js").AppManifestFn<import("node_modules/@equinor/fusion-framework-module-app/
|
|
24
|
+
export declare const defineAppManifest: (...args: Parameters<typeof _defineManifest>) => import("./app/app-manifest.js").AppManifestFn<import("node_modules/@equinor/fusion-framework-module-app/src/types.js").AppManifest>;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "15.
|
|
1
|
+
export declare const version = "15.2.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-cli",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.2.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"Fusion",
|
|
6
6
|
"Fusion Framework",
|
|
@@ -112,10 +112,10 @@
|
|
|
112
112
|
"vite-tsconfig-paths": "^6.0.4",
|
|
113
113
|
"zod": "^4.4.3",
|
|
114
114
|
"@equinor/fusion-framework-dev-portal": "8.0.0",
|
|
115
|
-
"@equinor/fusion-framework-vite-plugin-raw-imports": "2.0.0",
|
|
116
115
|
"@equinor/fusion-imports": "2.0.0",
|
|
117
116
|
"@equinor/fusion-framework-module-azure-identity": "0.2.1",
|
|
118
|
-
"@equinor/fusion-framework-dev-server": "2.0.14"
|
|
117
|
+
"@equinor/fusion-framework-dev-server": "2.0.14",
|
|
118
|
+
"@equinor/fusion-framework-vite-plugin-raw-imports": "2.0.0"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
121
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
@@ -136,13 +136,13 @@
|
|
|
136
136
|
"rollup": "^4.59.0",
|
|
137
137
|
"rxjs": "^7.8.1",
|
|
138
138
|
"type-fest": "^5.0.0",
|
|
139
|
-
"typescript": "^
|
|
139
|
+
"typescript": "^7.0.2",
|
|
140
140
|
"vitest": "^4.1.0",
|
|
141
141
|
"@equinor/fusion-framework-module": "6.1.0",
|
|
142
142
|
"@equinor/fusion-framework-module-app": "8.0.2",
|
|
143
|
-
"@equinor/fusion-framework-module-http": "8.0.3",
|
|
144
143
|
"@equinor/fusion-framework-module-service-discovery": "10.0.1",
|
|
145
|
-
"@equinor/fusion-framework-
|
|
144
|
+
"@equinor/fusion-framework-module-http": "8.0.3",
|
|
145
|
+
"@equinor/fusion-framework-react-router": "2.3.0"
|
|
146
146
|
},
|
|
147
147
|
"peerDependenciesMeta": {
|
|
148
148
|
"typescript": {
|