@equinor/fusion-framework-cli 11.1.2 → 11.1.3
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 +64 -0
- package/README.md +3 -2
- package/bin/build/cli.mjs +3 -3
- package/dist/esm/version.js +1 -1
- package/dist/types/cli/commands/app/build.d.ts +1 -1
- package/dist/types/cli/commands/app/check.d.ts +3 -3
- package/dist/types/cli/commands/app/config.d.ts +4 -4
- package/dist/types/cli/commands/app/dev.d.ts +4 -4
- package/dist/types/cli/commands/app/manifest.d.ts +4 -4
- package/dist/types/cli/commands/app/pack.d.ts +3 -3
- package/dist/types/cli/commands/app/publish.d.ts +4 -4
- package/dist/types/cli/commands/app/tag.d.ts +10 -11
- package/dist/types/cli/commands/app/upload.d.ts +4 -4
- package/dist/types/cli/commands/auth/login.d.ts +14 -0
- package/dist/types/cli/commands/auth/logout.d.ts +13 -3
- package/dist/types/cli/commands/auth/token.d.ts +15 -1
- package/dist/types/cli/commands/portal/build.d.ts +25 -0
- package/dist/types/cli/commands/portal/config.d.ts +4 -4
- package/dist/types/cli/commands/portal/dev.d.ts +25 -0
- package/dist/types/cli/commands/portal/manifest.d.ts +28 -0
- package/dist/types/cli/commands/portal/pack.d.ts +24 -0
- package/dist/types/cli/commands/portal/publish.d.ts +29 -0
- package/dist/types/cli/commands/portal/schema.d.ts +27 -0
- package/dist/types/cli/commands/portal/tag.d.ts +29 -0
- package/dist/types/cli/commands/portal/upload.d.ts +25 -0
- package/dist/types/cli/options/auth.d.ts +16 -0
- package/dist/types/version.d.ts +1 -1
- package/docs/application.md +5 -6
- package/docs/auth.md +7 -0
- package/docs/portal.md +4 -4
- package/package.json +6 -6
- package/docs/libsecret.md +0 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,69 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Added `--silent` option to the `disco resolve` command to disable CLI logger output and only output structured JSON results for piping.
|
|
8
|
+
|
|
9
|
+
- Added `--silent` flag that completely disables the CLI logger and all logging output
|
|
10
|
+
- Only outputs the resolved service details as JSON when silent mode is enabled
|
|
11
|
+
- Enables piping the command output to other tools (e.g., `jq`, `grep`, etc.)
|
|
12
|
+
- Modified logging calls to use optional chaining for silent mode compatibility
|
|
13
|
+
- Cleaned up debug console.log statements
|
|
14
|
+
|
|
15
|
+
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Aligned portal dev command options with app dev command for consistency.
|
|
16
|
+
|
|
17
|
+
- Standardized option format from short flags to long flags (--debug, --port)
|
|
18
|
+
- Added --env option support for runtime environment configuration
|
|
19
|
+
- Updated logging message to be portal-specific ("Starting portal in development mode...")
|
|
20
|
+
- Enhanced startPortalDevServer function call to include env parameter
|
|
21
|
+
|
|
22
|
+
- [#3343](https://github.com/equinor/fusion-framework/pull/3343) [`33054ac`](https://github.com/equinor/fusion-framework/commit/33054ac27b309e9d0301dd1f1d63639dac27f00b) Thanks [@odinr](https://github.com/odinr)! - Reorganized authentication documentation to improve maintainability and user experience.
|
|
23
|
+
|
|
24
|
+
- Removed local `libsecret.md` documentation file
|
|
25
|
+
- Updated all libsecret references to point to centralized MSAL Node module documentation
|
|
26
|
+
- Enhanced authentication guide with cross-references to underlying module documentation
|
|
27
|
+
- Improved documentation structure by consolidating authentication docs in the appropriate module packages
|
|
28
|
+
|
|
29
|
+
**Migration Notes:**
|
|
30
|
+
|
|
31
|
+
- libsecret installation guide is now available at: https://equinor.github.io/fusion-framework/modules/auth/msal-node/docs/libsecret.html
|
|
32
|
+
- All authentication-related documentation is now centralized in the MSAL Node module package
|
|
33
|
+
|
|
34
|
+
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Fixed missing `env` parameter in `buildApplication` call within `bundleApp` function.
|
|
35
|
+
|
|
36
|
+
- Added the required `env` parameter to the `buildApplication` function call in `packages/cli/src/bin/app-pack.ts`
|
|
37
|
+
- This ensures the build process receives the correct runtime environment configuration
|
|
38
|
+
|
|
39
|
+
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Fixed stdout concatenation issues in CLI commands that output JSON to stdout.
|
|
40
|
+
|
|
41
|
+
- Replaced `stdout.write()` with `console.log()` for proper newline handling in:
|
|
42
|
+
- `ffc app manifest` command
|
|
43
|
+
- `ffc app config` command
|
|
44
|
+
- `ffc portal manifest` command
|
|
45
|
+
- `ffc portal config` command
|
|
46
|
+
- Removed unused `stdout` imports
|
|
47
|
+
- Improved output consistency and piping compatibility
|
|
48
|
+
|
|
49
|
+
These changes ensure that shell prompts no longer concatenate to JSON output, making the commands safe to pipe to tools like `jq`.
|
|
50
|
+
|
|
51
|
+
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Enhanced CLI command documentation and help text across all commands.
|
|
52
|
+
|
|
53
|
+
- Updated command examples to use `ffc` (alias) instead of `fusion-framework-cli`
|
|
54
|
+
- Improved TSDoc comments with comprehensive descriptions and examples
|
|
55
|
+
- Streamlined help text by removing redundant information and improving formatting
|
|
56
|
+
- Added proper @example and @remarks tags for better IntelliSense support
|
|
57
|
+
- Enhanced option descriptions for clarity and consistency
|
|
58
|
+
|
|
59
|
+
These changes improve the developer experience when using the CLI by providing clearer documentation and more accurate examples.
|
|
60
|
+
|
|
61
|
+
Thanks to [@estoksam](https://github.com/estoksam) for reporting the CLI command help text issues in [fusion#651](https://github.com/equinor/fusion/issues/651).
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [[`8c88574`](https://github.com/equinor/fusion-framework/commit/8c885745ee345cd7ef219b2cc469fd19c8687467), [`c1cd89a`](https://github.com/equinor/fusion-framework/commit/c1cd89abad4ca8f232a497316232d1f5ac8c530a)]:
|
|
64
|
+
- @equinor/fusion-framework-dev-portal@1.0.2
|
|
65
|
+
- @equinor/fusion-framework-module-msal-node@1.0.2
|
|
66
|
+
|
|
3
67
|
## 11.1.2
|
|
4
68
|
|
|
5
69
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -82,6 +82,7 @@ pnpm fusion-framework-cli app config --publish --env <environment>
|
|
|
82
82
|
| `pnpm fusion-framework-cli auth ...` | Authenticate with Fusion |
|
|
83
83
|
| `pnpm fusion-framework-cli app ...` | Working with Fusion applications |
|
|
84
84
|
| `pnpm fusion-framework-cli portal ...` | Working with Fusion portal templates |
|
|
85
|
+
| `pnpm fusion-framework-cli disco ...` | Service discovery and resolution |
|
|
85
86
|
|
|
86
87
|
## Example: package.json
|
|
87
88
|
|
|
@@ -124,7 +125,7 @@ A minimal example for a Fusion Framework app:
|
|
|
124
125
|
|
|
125
126
|
**Setup & Configuration**
|
|
126
127
|
- [Authentication](docs/auth.md): Setting up authentication for local development and CI/CD environments
|
|
127
|
-
- [libsecret Installation](docs/libsecret.
|
|
128
|
+
- [libsecret Installation](https://equinor.github.io/fusion-framework/modules/auth/msal-node/docs/libsecret.html): Fix credential storage issues on Linux systems
|
|
128
129
|
|
|
129
130
|
**Migration & Updates**
|
|
130
131
|
- [Migration Guide: v10 to v11](docs/migration-v10-to-v11.md): Breaking changes, deprecated commands, and upgrade instructions
|
|
@@ -140,7 +141,7 @@ A minimal example for a Fusion Framework app:
|
|
|
140
141
|
|
|
141
142
|
**Authentication & Credentials**
|
|
142
143
|
- **Authentication issues?** See [Authentication Guide](docs/auth.md) for token setup and troubleshooting
|
|
143
|
-
- **libsecret errors on Linux?** Install libsecret using our [installation guide](
|
|
144
|
+
- **libsecret errors on Linux?** Install libsecret using our [installation guide](https://equinor.github.io/fusion-framework/modules/auth/msal-node/#troubleshooting)
|
|
144
145
|
|
|
145
146
|
**CLI & Commands**
|
|
146
147
|
- **Command not found?** Ensure `node_modules/.bin` is in your PATH or use `pnpm`/`npx`
|