@equinor/fusion-framework-cli 11.0.0-next.5 → 11.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 +31 -0
- package/bin/build/bin.js +7 -7
- package/bin/build/cli.js +426 -188
- package/bin/build/{portal-pack-qpEBTWNW.js → portal-config-publish-OZ7Ocme4.js} +219 -22
- package/dist/esm/bin/helpers/resolve-portal-config.js +46 -0
- package/dist/esm/bin/helpers/resolve-portal-config.js.map +1 -0
- package/dist/esm/bin/index.js +2 -0
- package/dist/esm/bin/index.js.map +1 -1
- package/dist/esm/bin/portal-config-publish.js +74 -0
- package/dist/esm/bin/portal-config-publish.js.map +1 -0
- package/dist/esm/bin/portal-config.js +48 -0
- package/dist/esm/bin/portal-config.js.map +1 -0
- package/dist/esm/bin/portal-dev.js +3 -4
- package/dist/esm/bin/portal-dev.js.map +1 -1
- package/dist/esm/cli/commands/app/alias.js +4 -4
- package/dist/esm/cli/commands/app/alias.js.map +1 -1
- package/dist/esm/cli/commands/app/build.js +10 -3
- package/dist/esm/cli/commands/app/build.js.map +1 -1
- package/dist/esm/cli/commands/app/check.js +15 -5
- package/dist/esm/cli/commands/app/check.js.map +1 -1
- package/dist/esm/cli/commands/app/config.js +20 -8
- package/dist/esm/cli/commands/app/config.js.map +1 -1
- package/dist/esm/cli/commands/app/dev.js +10 -4
- package/dist/esm/cli/commands/app/dev.js.map +1 -1
- package/dist/esm/cli/commands/app/index.js +18 -1
- package/dist/esm/cli/commands/app/index.js.map +1 -1
- package/dist/esm/cli/commands/app/manifest.js +12 -3
- package/dist/esm/cli/commands/app/manifest.js.map +1 -1
- package/dist/esm/cli/commands/app/pack.js +16 -9
- package/dist/esm/cli/commands/app/pack.js.map +1 -1
- package/dist/esm/cli/commands/app/publish.js +15 -4
- package/dist/esm/cli/commands/app/publish.js.map +1 -1
- package/dist/esm/cli/commands/app/tag.js +16 -4
- package/dist/esm/cli/commands/app/tag.js.map +1 -1
- package/dist/esm/cli/commands/app/upload.js +13 -8
- package/dist/esm/cli/commands/app/upload.js.map +1 -1
- package/dist/esm/cli/commands/auth/index.js +13 -1
- package/dist/esm/cli/commands/auth/index.js.map +1 -1
- package/dist/esm/cli/commands/auth/login.js +11 -7
- package/dist/esm/cli/commands/auth/login.js.map +1 -1
- package/dist/esm/cli/commands/auth/logout.js +10 -7
- package/dist/esm/cli/commands/auth/logout.js.map +1 -1
- package/dist/esm/cli/commands/auth/token.js +13 -9
- package/dist/esm/cli/commands/auth/token.js.map +1 -1
- package/dist/esm/cli/commands/disco/resolve.js +13 -16
- package/dist/esm/cli/commands/disco/resolve.js.map +1 -1
- package/dist/esm/cli/commands/portal/build.js +12 -7
- package/dist/esm/cli/commands/portal/build.js.map +1 -1
- package/dist/esm/cli/commands/portal/config.js +101 -0
- package/dist/esm/cli/commands/portal/config.js.map +1 -0
- package/dist/esm/cli/commands/portal/dev.js +9 -6
- package/dist/esm/cli/commands/portal/dev.js.map +1 -1
- package/dist/esm/cli/commands/portal/index.js +3 -1
- package/dist/esm/cli/commands/portal/index.js.map +1 -1
- package/dist/esm/cli/commands/portal/manifest.js +11 -8
- package/dist/esm/cli/commands/portal/manifest.js.map +1 -1
- package/dist/esm/cli/commands/portal/pack.js +13 -8
- package/dist/esm/cli/commands/portal/pack.js.map +1 -1
- package/dist/esm/cli/commands/portal/publish.js +11 -8
- package/dist/esm/cli/commands/portal/publish.js.map +1 -1
- package/dist/esm/cli/commands/portal/schema.js +10 -8
- package/dist/esm/cli/commands/portal/schema.js.map +1 -1
- package/dist/esm/cli/commands/portal/tag.js +12 -8
- package/dist/esm/cli/commands/portal/tag.js.map +1 -1
- package/dist/esm/cli/commands/portal/upload.js +8 -7
- package/dist/esm/cli/commands/portal/upload.js.map +1 -1
- package/dist/esm/lib/portal/index.js +2 -0
- package/dist/esm/lib/portal/index.js.map +1 -1
- package/dist/esm/lib/portal/load-portal-config.js +49 -0
- package/dist/esm/lib/portal/load-portal-config.js.map +1 -0
- package/dist/esm/lib/portal/portal-config.js +23 -0
- package/dist/esm/lib/portal/portal-config.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/bin/helpers/resolve-portal-config.d.ts +18 -0
- package/dist/types/bin/index.d.ts +2 -0
- package/dist/types/bin/portal-config-publish.d.ts +26 -0
- package/dist/types/bin/portal-config.d.ts +46 -0
- package/dist/types/cli/commands/app/config.d.ts +3 -3
- package/dist/types/cli/commands/app/pack.d.ts +1 -1
- package/dist/types/cli/commands/auth/logout.d.ts +0 -4
- package/dist/types/cli/commands/auth/token.d.ts +0 -5
- package/dist/types/cli/commands/disco/resolve.d.ts +0 -7
- package/dist/types/cli/commands/portal/config.d.ts +32 -0
- package/dist/types/lib/portal/index.d.ts +2 -0
- package/dist/types/lib/portal/load-portal-config.d.ts +83 -0
- package/dist/types/lib/portal/portal-config.d.ts +69 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.0-next.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @equinor/fusion-framework-dev-portal@1.0.0-next.2
|
|
9
|
+
- @equinor/fusion-framework-dev-server@1.0.0-next.4
|
|
10
|
+
|
|
11
|
+
## 11.0.0-next.6
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`87bfb21`](https://github.com/equinor/fusion-framework/commit/87bfb21c588a434b574b8cd408bb5dc2642f0974) Thanks [@odinr](https://github.com/odinr)! - improve help output for all commands
|
|
16
|
+
|
|
17
|
+
- All CLI commands now provide more detailed and consistent help output, including arguments, options, and usage examples.
|
|
18
|
+
- Updated descriptions and help text for all app, portal, and auth commands to improve discoverability and onboarding.
|
|
19
|
+
|
|
20
|
+
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`c4cb2f7`](https://github.com/equinor/fusion-framework/commit/c4cb2f798d9804438bc216096cf4089097b3d31c) Thanks [@odinr](https://github.com/odinr)! - cli: add portal config support
|
|
21
|
+
|
|
22
|
+
- Added support for loading and resolving portal configuration files via `loadPortalConfig` and `resolvePortalConfig` helpers.
|
|
23
|
+
- Introduced `PortalConfig`, `PortalConfigFn`, and `definePortalConfig` types/utilities for authoring static or dynamic portal configs.
|
|
24
|
+
- Updated dev server logic to use resolved portal config.
|
|
25
|
+
- Exposed new config utilities from `lib/portal` index.
|
|
26
|
+
|
|
27
|
+
This enables flexible, type-safe portal configuration for local development and deployment scenarios.
|
|
28
|
+
|
|
29
|
+
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`b8ed76f`](https://github.com/equinor/fusion-framework/commit/b8ed76f3a6d89b89315c58ec7743f5b0b7303371) Thanks [@odinr](https://github.com/odinr)! - Added alias for fusion-framework-cli to ffc
|
|
30
|
+
|
|
31
|
+
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`7b8aca4`](https://github.com/equinor/fusion-framework/commit/7b8aca443197791053da20f3b43784ec69f3f4b7) Thanks [@odinr](https://github.com/odinr)! - - Added a new command to the CLI for managing portal configuration.
|
|
32
|
+
- This update introduces enhanced support for portal config operations via the `@equinor/fusion-framework-cli` package.
|
|
33
|
+
|
|
3
34
|
## 11.0.0-next.5
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/bin/build/bin.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
export { b as buildApplication, c as buildPortal, a as bundleApp, d as bundlePortal, g as generateApplicationConfig, l as loadPortalManifest,
|
|
1
|
+
export { b as buildApplication, c as buildPortal, a as bundleApp, d as bundlePortal, g as generateApplicationConfig, e as generatePortalConfig, l as loadPortalManifest, h as pack, p as publishAppConfig, f as publishPortalConfig, s as startAppDevServer } from './portal-config-publish-OZ7Ocme4.js';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import 'chalk';
|
|
4
|
-
import '@azure/msal-node';
|
|
5
|
-
import 'open';
|
|
6
|
-
import 'node:http';
|
|
7
|
-
import 'node:url';
|
|
8
|
-
import 'zod';
|
|
9
|
-
import 'is-ci';
|
|
10
4
|
import '@equinor/fusion-imports';
|
|
11
5
|
import 'lodash.mergewith';
|
|
12
6
|
import '@equinor/fusion-framework-dev-server';
|
|
@@ -14,8 +8,14 @@ import 'node:fs';
|
|
|
14
8
|
import 'node:fs/promises';
|
|
15
9
|
import 'node:path';
|
|
16
10
|
import 'read-package-up';
|
|
11
|
+
import 'node:url';
|
|
17
12
|
import 'node:assert';
|
|
18
13
|
import 'node:child_process';
|
|
14
|
+
import 'zod';
|
|
19
15
|
import 'adm-zip';
|
|
20
16
|
import 'pretty-bytes';
|
|
17
|
+
import '@azure/msal-node';
|
|
18
|
+
import 'open';
|
|
19
|
+
import 'node:http';
|
|
20
|
+
import 'is-ci';
|
|
21
21
|
import 'ora';
|