@equinor/fusion-framework-cli 15.0.0 → 15.0.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/bin/build/bin.mjs +1 -1
  3. package/bin/build/cli.mjs +3 -3
  4. package/dist/esm/version.js +1 -1
  5. package/dist/types/bin/app-dev.d.ts +1 -1
  6. package/dist/types/bin/app-manifest.d.ts +1 -1
  7. package/dist/types/bin/app-pack.d.ts +2 -2
  8. package/dist/types/bin/app-serve.d.ts +1 -1
  9. package/dist/types/bin/portal-dev.d.ts +1 -1
  10. package/dist/types/bin/portal-pack.d.ts +1 -1
  11. package/dist/types/bin/portal-serve.d.ts +1 -1
  12. package/dist/types/bin/utils/create-dev-server.d.ts +1 -1
  13. package/dist/types/cli/commands/app/build.d.ts +1 -1
  14. package/dist/types/cli/commands/app/check.d.ts +1 -1
  15. package/dist/types/cli/commands/app/config.d.ts +1 -1
  16. package/dist/types/cli/commands/app/dev.d.ts +1 -1
  17. package/dist/types/cli/commands/app/index.d.ts +1 -1
  18. package/dist/types/cli/commands/app/manifest.d.ts +1 -1
  19. package/dist/types/cli/commands/app/pack.d.ts +1 -1
  20. package/dist/types/cli/commands/app/publish.d.ts +1 -1
  21. package/dist/types/cli/commands/app/serve.d.ts +1 -1
  22. package/dist/types/cli/commands/app/tag.d.ts +1 -1
  23. package/dist/types/cli/commands/app/upload.d.ts +1 -1
  24. package/dist/types/cli/commands/auth/login.d.ts +1 -1
  25. package/dist/types/cli/commands/auth/logout.d.ts +1 -1
  26. package/dist/types/cli/commands/auth/token.d.ts +1 -1
  27. package/dist/types/cli/commands/create/app.d.ts +1 -1
  28. package/dist/types/cli/commands/create/index.d.ts +1 -1
  29. package/dist/types/cli/commands/disco/index.d.ts +1 -1
  30. package/dist/types/cli/commands/disco/resolve.d.ts +1 -1
  31. package/dist/types/cli/commands/portal/build.d.ts +1 -1
  32. package/dist/types/cli/commands/portal/config.d.ts +1 -1
  33. package/dist/types/cli/commands/portal/dev.d.ts +1 -1
  34. package/dist/types/cli/commands/portal/index.d.ts +1 -1
  35. package/dist/types/cli/commands/portal/manifest.d.ts +1 -1
  36. package/dist/types/cli/commands/portal/pack.d.ts +1 -1
  37. package/dist/types/cli/commands/portal/publish.d.ts +1 -1
  38. package/dist/types/cli/commands/portal/schema.d.ts +1 -1
  39. package/dist/types/cli/commands/portal/serve.d.ts +1 -1
  40. package/dist/types/cli/commands/portal/tag.d.ts +1 -1
  41. package/dist/types/cli/commands/portal/upload.d.ts +1 -1
  42. package/dist/types/cli/options/auth.d.ts +4 -4
  43. package/dist/types/cli/options/env.d.ts +2 -2
  44. package/dist/types/version.d.ts +1 -1
  45. package/package.json +11 -11
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '15.0.0';
2
+ export const version = '15.0.2';
3
3
  //# sourceMappingURL=version.js.map
@@ -46,4 +46,4 @@ export interface StartAppDevServerOptions {
46
46
  * @returns A promise that resolves when the dev server has started.
47
47
  * @public
48
48
  */
49
- export declare const startAppDevServer: (options?: StartAppDevServerOptions) => Promise<import("vite").ViteDevServer>;
49
+ export declare const startAppDevServer: (options?: StartAppDevServerOptions) => Promise<import("node_modules/vite/dist/node/index.js").ViteDevServer>;
@@ -44,7 +44,7 @@ export type ResolveAppManifestOptions = {
44
44
  * @public
45
45
  */
46
46
  export declare const loadAppManifest: (options: ResolveAppManifestOptions) => Promise<{
47
- manifest: import("@equinor/fusion-framework-module-app").AppManifest;
47
+ manifest: import("node_modules/@equinor/fusion-framework-module-app/dist/types/types.js").AppManifest;
48
48
  pkg: import("@equinor/fusion-framework-cli/lib").ResolvedPackage;
49
49
  env: RuntimeEnv;
50
50
  }>;
@@ -41,6 +41,6 @@ export type BundleAppOptions = {
41
41
  * @public
42
42
  */
43
43
  export declare const bundleApp: (options: BundleAppOptions) => Promise<{
44
- archive: import("adm-zip");
45
- manifest: import("@equinor/fusion-framework-module-app").AppManifest;
44
+ archive: import("node_modules/@types/adm-zip/index.js");
45
+ manifest: import("node_modules/@equinor/fusion-framework-module-app/dist/types/types.js").AppManifest;
46
46
  }>;
@@ -45,5 +45,5 @@ export interface ServeApplicationOptions {
45
45
  * @throws Will throw if the build directory doesn't exist or if serving fails.
46
46
  * @public
47
47
  */
48
- export declare const serveApplication: (options?: ServeApplicationOptions) => Promise<import("vite").ViteDevServer>;
48
+ export declare const serveApplication: (options?: ServeApplicationOptions) => Promise<import("node_modules/vite/dist/node/index.js").ViteDevServer>;
49
49
  export default serveApplication;
@@ -34,4 +34,4 @@ export declare const startPortalDevServer: (options?: {
34
34
  server?: {
35
35
  port?: number;
36
36
  };
37
- }) => Promise<import("vite").ViteDevServer>;
37
+ }) => Promise<import("node_modules/vite/dist/node/index.js").ViteDevServer>;
@@ -30,7 +30,7 @@ export type BundlePortalOptions = {
30
30
  * @public
31
31
  */
32
32
  export declare const bundlePortal: (options: BundlePortalOptions) => Promise<{
33
- archive: import("adm-zip");
33
+ archive: import("node_modules/@types/adm-zip/index.js");
34
34
  manifest: {
35
35
  name: string;
36
36
  build: {
@@ -45,4 +45,4 @@ export interface ServePortalOptions {
45
45
  * @throws Will throw if the build directory doesn't exist or if serving fails.
46
46
  * @public
47
47
  */
48
- export declare const servePortal: (options?: ServePortalOptions) => Promise<import("vite").ViteDevServer>;
48
+ export declare const servePortal: (options?: ServePortalOptions) => Promise<import("node_modules/vite/dist/node/index.js").ViteDevServer>;
@@ -49,5 +49,5 @@ export declare const createDevServerConfig: (options: CreateDevServerOptions) =>
49
49
  export declare const createDevServer: (env: RuntimeEnv, options: CreateDevServerOptions, args?: {
50
50
  overrides?: UserConfig;
51
51
  log?: ConsoleLogger | null;
52
- }) => Promise<import("vite").ViteDevServer>;
52
+ }) => Promise<import("node_modules/vite/dist/node/index.js").ViteDevServer>;
53
53
  export {};
@@ -23,5 +23,5 @@
23
23
  *
24
24
  * @see buildApplication for build implementation details
25
25
  */
26
- export declare const command: import("commander").Command;
26
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
27
27
  export default command;
@@ -22,5 +22,5 @@
22
22
  *
23
23
  * @see checkApp for implementation details
24
24
  */
25
- export declare const command: import("commander").Command;
25
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
26
26
  export default command;
@@ -30,5 +30,5 @@
30
30
  *
31
31
  * @see generateApplicationConfig, publishAppConfig for implementation details
32
32
  */
33
- export declare const command: import("commander").Command;
33
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
34
34
  export default command;
@@ -33,5 +33,5 @@
33
33
  * @see startAppDevServer for implementation details
34
34
  * @see dev-server-config.md for configuration options
35
35
  */
36
- export declare const command: import("commander").Command;
36
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
37
37
  export default command;
@@ -1,3 +1,3 @@
1
1
  import './alias.js';
2
- export declare const command: import("commander").Command;
2
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
3
3
  export default command;
@@ -26,5 +26,5 @@
26
26
  *
27
27
  * @see loadAppManifest for implementation details
28
28
  */
29
- export declare const command: import("commander").Command;
29
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
30
30
  export default command;
@@ -33,5 +33,5 @@ export declare const DEFAULT_ARCHIVE: "app-bundle.zip";
33
33
  *
34
34
  * @see bundleApp for implementation details
35
35
  */
36
- export declare const command: import("commander").Command;
36
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
37
37
  export default command;
@@ -34,5 +34,5 @@
34
34
  *
35
35
  * @see uploadApplication, tagApplication for implementation details
36
36
  */
37
- export declare const command: import("commander").Command;
37
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
38
38
  export default command;
@@ -30,5 +30,5 @@
30
30
  *
31
31
  * @see serveApplication for implementation details
32
32
  */
33
- export declare const command: import("commander").Command;
33
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
34
34
  export default command;
@@ -29,5 +29,5 @@
29
29
  *
30
30
  * @see tagApplication for implementation details
31
31
  */
32
- export declare const command: import("commander").Command;
32
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
33
33
  export default command;
@@ -25,5 +25,5 @@
25
25
  *
26
26
  * @see uploadApplication for implementation details
27
27
  */
28
- export declare const command: import("commander").Command;
28
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
29
29
  export default command;
@@ -12,5 +12,5 @@
12
12
  * $ ffc auth login
13
13
  * $ ffc auth login --tenant my-tenant --client my-client-id --scope api://my-app/.default
14
14
  */
15
- export declare const command: import("commander").Command;
15
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
16
16
  export default command;
@@ -14,5 +14,5 @@
14
14
  * $ ffc auth logout
15
15
  * $ ffc auth logout --tenant my-tenant --client my-client-id
16
16
  */
17
- export declare const command: import("commander").Command;
17
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
18
18
  export default command;
@@ -18,5 +18,5 @@
18
18
  *
19
19
  * @see acquireAccessToken for token acquisition implementation details
20
20
  */
21
- export declare const command: import("commander").Command;
21
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
22
22
  export default command;
@@ -27,5 +27,5 @@
27
27
  * ffc create app my-app --template basic --git-protocol https --no-cleanup --no-open
28
28
  * ```
29
29
  */
30
- export declare const createAppCommand: (name: string) => import("commander").Command;
30
+ export declare const createAppCommand: (name: string) => import("node_modules/commander/typings/index.js").Command;
31
31
  export default createAppCommand;
@@ -1,2 +1,2 @@
1
- export declare const command: import("commander").Command;
1
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
2
2
  export default command;
@@ -1,2 +1,2 @@
1
- declare const command: import("commander").Command;
1
+ declare const command: import("node_modules/commander/typings/index.js").Command;
2
2
  export default command;
@@ -14,5 +14,5 @@
14
14
  * @option {string} --clientId - Client ID for authentication.
15
15
  * @returns {Promise<void>} Prints the resolved service details to the console.
16
16
  */
17
- declare const command: import("commander").Command;
17
+ declare const command: import("node_modules/commander/typings/index.js").Command;
18
18
  export default command;
@@ -23,5 +23,5 @@
23
23
  *
24
24
  * @see buildPortal for build implementation details
25
25
  */
26
- export declare const command: import("commander").Command;
26
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
27
27
  export default command;
@@ -28,5 +28,5 @@
28
28
  *
29
29
  * @see generatePortalConfig, publishPortalConfig for implementation details
30
30
  */
31
- export declare const command: import("commander").Command;
31
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
32
32
  export default command;
@@ -29,5 +29,5 @@
29
29
  * @see startPortalDevServer for implementation details
30
30
  * @see dev-server-config.md for configuration options
31
31
  */
32
- export declare const command: import("commander").Command;
32
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
33
33
  export default command;
@@ -1,2 +1,2 @@
1
- export declare const command: import("commander").Command;
1
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
2
2
  export default command;
@@ -26,5 +26,5 @@
26
26
  *
27
27
  * @see loadPortalManifest for implementation details
28
28
  */
29
- export declare const command: import("commander").Command;
29
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
30
30
  export default command;
@@ -22,5 +22,5 @@
22
22
  *
23
23
  * @see bundlePortal for build implementation details
24
24
  */
25
- export declare const command: import("commander").Command;
25
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
26
26
  export default command;
@@ -25,5 +25,5 @@
25
25
  *
26
26
  * @see uploadPortalBundle, tagPortal for implementation details
27
27
  */
28
- export declare const command: import("commander").Command;
28
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
29
29
  export default command;
@@ -25,5 +25,5 @@
25
25
  *
26
26
  * @see loadPortalSchema for implementation details
27
27
  */
28
- export declare const command: import("commander").Command;
28
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
29
29
  export default command;
@@ -29,5 +29,5 @@
29
29
  *
30
30
  * @see servePortal for implementation details
31
31
  */
32
- export declare const command: import("commander").Command;
32
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
33
33
  export default command;
@@ -27,5 +27,5 @@
27
27
  *
28
28
  * @see tagPortal for implementation details
29
29
  */
30
- export declare const command: import("commander").Command;
30
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
31
31
  export default command;
@@ -23,5 +23,5 @@
23
23
  *
24
24
  * @see uploadPortalBundle for implementation details
25
25
  */
26
- export declare const command: import("commander").Command;
26
+ export declare const command: import("node_modules/commander/typings/index.js").Command;
27
27
  export default command;
@@ -3,22 +3,22 @@ import { type Command } from 'commander';
3
3
  * Option for specifying the Azure Active Directory tenant ID.
4
4
  * Defaults to Equinor's Fusion tenant if not provided.
5
5
  */
6
- export declare const tenantOption: import("commander").Option;
6
+ export declare const tenantOption: import("node_modules/commander/typings/index.js").Option;
7
7
  /**
8
8
  * Option for specifying the Azure AD application client ID.
9
9
  * Defaults to the Fusion CLI client if not provided.
10
10
  */
11
- export declare const clientOption: import("commander").Option;
11
+ export declare const clientOption: import("node_modules/commander/typings/index.js").Option;
12
12
  /**
13
13
  * Option for providing an Azure AD access token directly.
14
14
  * If set, tenant and client options are ignored.
15
15
  */
16
- export declare const tokenOption: import("commander").Option;
16
+ export declare const tokenOption: import("node_modules/commander/typings/index.js").Option;
17
17
  /**
18
18
  * Option for specifying Azure audience scopes.
19
19
  * Defaults to Fusion API scope with /.default.
20
20
  */
21
- export declare const scopeOption: import("commander").Option;
21
+ export declare const scopeOption: import("node_modules/commander/typings/index.js").Option;
22
22
  /**
23
23
  * Enhances a given command with authentication-related options.
24
24
  *
@@ -10,9 +10,9 @@ import { FusionEnv } from '@equinor/fusion-framework-cli/bin';
10
10
  export declare const createEnvOption: (options: {
11
11
  default?: FusionEnv;
12
12
  allowDev: boolean;
13
- }) => import("commander").Option;
13
+ }) => import("node_modules/commander/typings/index.js").Option;
14
14
  /**
15
15
  * Default environment option that allows the development environment.
16
16
  */
17
- export declare const envOption: import("commander").Option;
17
+ export declare const envOption: import("node_modules/commander/typings/index.js").Option;
18
18
  export default envOption;
@@ -1 +1 @@
1
- export declare const version = "15.0.0";
1
+ export declare const version = "15.0.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-cli",
3
- "version": "15.0.0",
3
+ "version": "15.0.2",
4
4
  "keywords": [
5
5
  "Fusion",
6
6
  "Fusion Framework",
@@ -110,12 +110,12 @@
110
110
  "simple-git": "^3.32.3",
111
111
  "vite": "^8.0.0",
112
112
  "vite-tsconfig-paths": "^6.0.4",
113
- "zod": "^4.3.6",
114
- "@equinor/fusion-framework-dev-portal": "5.1.7",
115
- "@equinor/fusion-framework-dev-server": "2.0.4",
113
+ "zod": "^4.4.3",
114
+ "@equinor/fusion-framework-dev-portal": "5.1.9",
116
115
  "@equinor/fusion-framework-module-azure-identity": "0.2.0",
117
- "@equinor/fusion-framework-vite-plugin-raw-imports": "2.0.0",
118
- "@equinor/fusion-imports": "2.0.0"
116
+ "@equinor/fusion-framework-dev-server": "2.0.6",
117
+ "@equinor/fusion-imports": "2.0.0",
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": "^5.9.3",
139
+ "typescript": "^6.0.3",
140
140
  "vitest": "^4.1.0",
141
141
  "@equinor/fusion-framework-module": "6.0.0",
142
- "@equinor/fusion-framework-module-app": "8.0.1",
143
- "@equinor/fusion-framework-module-http": "8.0.0",
144
- "@equinor/fusion-framework-module-service-discovery": "10.0.0",
145
- "@equinor/fusion-framework-react-router": "2.0.1"
142
+ "@equinor/fusion-framework-module-app": "8.0.2",
143
+ "@equinor/fusion-framework-module-http": "8.0.1",
144
+ "@equinor/fusion-framework-module-service-discovery": "10.0.1",
145
+ "@equinor/fusion-framework-react-router": "2.0.2"
146
146
  },
147
147
  "peerDependenciesMeta": {
148
148
  "typescript": {