@equinor/fusion-framework-cli 13.0.1 → 13.1.1
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 +67 -0
- package/README.md +25 -0
- package/bin/build/bin.mjs +1 -1
- package/bin/build/cli.mjs +3 -3
- package/dist/esm/lib/app/create-app-manifest.js +5 -2
- package/dist/esm/lib/app/create-app-manifest.js.map +1 -1
- package/dist/esm/lib/utils/index.js +1 -0
- package/dist/esm/lib/utils/index.js.map +1 -1
- package/dist/esm/lib/utils/snapshot.js +40 -0
- package/dist/esm/lib/utils/snapshot.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/bin/app-build.d.ts +5 -1
- package/dist/types/bin/app-manifest.d.ts +10 -1
- package/dist/types/bin/app-pack.d.ts +11 -3
- package/dist/types/bin/app-tag.d.ts +3 -16
- package/dist/types/bin/helpers/resolve-app-manifest.d.ts +1 -0
- package/dist/types/bin/index.d.ts +1 -1
- package/dist/types/cli/commands/app/pack.d.ts +6 -0
- package/dist/types/cli/commands/app/publish.d.ts +7 -1
- package/dist/types/cli/commands/app/tag.d.ts +2 -1
- package/dist/types/cli/commands/portal/publish.d.ts +2 -1
- package/dist/types/cli/commands/portal/tag.d.ts +1 -1
- package/dist/types/lib/app/create-app-manifest.d.ts +3 -1
- package/dist/types/lib/utils/index.d.ts +1 -0
- package/dist/types/lib/utils/snapshot.d.ts +26 -0
- package/dist/types/version.d.ts +1 -1
- package/docs/ai-commands.md +2 -2
- package/docs/dev-server-config.md +10 -0
- package/package.json +17 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,72 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 13.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3922](https://github.com/equinor/fusion-framework/pull/3922) [`d34ebd8`](https://github.com/equinor/fusion-framework/commit/d34ebd82c93acabc88f88e44a725f084af3af5ec) Thanks [@odinr](https://github.com/odinr)! - Enable AG Grid Enterprise license injection for the dev-portal by setting a global window key produced from the SPA template environment. The portal reads `window.FUSION_AG_GRID_KEY` to configure the AG Grid module and silence license warnings when a valid key is present. CLI docs now mention the license key setup.
|
|
8
|
+
|
|
9
|
+
**Usage:**
|
|
10
|
+
|
|
11
|
+
- In your SPA environment file, set `FUSION_SPA_AG_GRID_KEY=your-license-key-here`.
|
|
12
|
+
- The SPA HTML template injects `window.FUSION_AG_GRID_KEY` before bootstrap runs, and the dev-portal picks it up automatically.
|
|
13
|
+
|
|
14
|
+
Closes: https://github.com/equinor/fusion-core-tasks/issues/93
|
|
15
|
+
Resolves: https://github.com/equinor/fusion-core-tasks/issues/92
|
|
16
|
+
Solves: https://github.com/equinor/fusion/issues/732
|
|
17
|
+
|
|
18
|
+
- [#3953](https://github.com/equinor/fusion-framework/pull/3953) [`37f63d5`](https://github.com/equinor/fusion-framework/commit/37f63d5b9646d0b19c98041e0897d6e1abf69dcf) Thanks [@odinr](https://github.com/odinr)! - Use semver coercion when generating snapshot versions so pre-release package versions are stripped to their base release before appending the snapshot suffix.
|
|
19
|
+
|
|
20
|
+
- [#3866](https://github.com/equinor/fusion-framework/pull/3866) [`f70d66f`](https://github.com/equinor/fusion-framework/commit/f70d66f1bc826e614140adb2c6ee052f98e3b3da) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: Dedupe zod dependency to 4.3.5
|
|
21
|
+
|
|
22
|
+
Deduplicated zod dependency to version 4.3.5 across all packages using `pnpm dedupe`. This aligns all packages (AI plugins upgraded from v3.25.76, other packages consolidated from v4.1.8/v4.1.11) to use the same latest stable version, improving consistency and reducing bundle size. All builds, tests, and linting pass successfully.
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [[`d34ebd8`](https://github.com/equinor/fusion-framework/commit/d34ebd82c93acabc88f88e44a725f084af3af5ec), [`5a25a5e`](https://github.com/equinor/fusion-framework/commit/5a25a5e6fefc660131b77f58e667b1a05dca0d6b)]:
|
|
25
|
+
- @equinor/fusion-framework-dev-portal@1.4.0
|
|
26
|
+
- @equinor/fusion-imports@1.1.10
|
|
27
|
+
- @equinor/fusion-framework-dev-server@1.1.20
|
|
28
|
+
|
|
29
|
+
## 13.1.0
|
|
30
|
+
|
|
31
|
+
### Minor Changes
|
|
32
|
+
|
|
33
|
+
- [#3923](https://github.com/equinor/fusion-framework/pull/3923) [`f382399`](https://github.com/equinor/fusion-framework/commit/f38239914070dce4f5701c09f6c28336ad5ed73a) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Add support for custom tags when publishing apps and portals, expanding beyond
|
|
34
|
+
the previous `latest` and `preview` options.
|
|
35
|
+
|
|
36
|
+
Tags can now use any combination of alphanumeric characters, dots, and hyphens
|
|
37
|
+
(`a–z`, `A–Z`, `0–9`, `.`, `-`), for example `latest`, `preview` or `pr-1234`.
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- [#3904](https://github.com/equinor/fusion-framework/pull/3904) [`4eae807`](https://github.com/equinor/fusion-framework/commit/4eae8070c1ad48eaa7d83a9aecfe5588c6aec41c) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: bump inquirer from 13.1.0 to 13.2.0; adds new optional features for search default option and rawlist description support, no public API changes.
|
|
42
|
+
|
|
43
|
+
- [#3766](https://github.com/equinor/fusion-framework/pull/3766) [`19ee28f`](https://github.com/equinor/fusion-framework/commit/19ee28fc0f6108fc59f0098b449a511221d2d860) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: upgrade `open` from 10.2.0 to 11.0.0 (requires Node.js ≥20). New features include improved WSL/PowerShell support, better error handling with AggregateError, and Linux chromium fallback.
|
|
44
|
+
|
|
45
|
+
- [#3902](https://github.com/equinor/fusion-framework/pull/3902) [`8796e99`](https://github.com/equinor/fusion-framework/commit/8796e994173ff1757b557d096a7a95915785dcc1) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: bump vite-tsconfig-paths from 5.1.4 to 6.0.4 for improved TypeScript path resolution and Windows compatibility.
|
|
46
|
+
|
|
47
|
+
- [#3744](https://github.com/equinor/fusion-framework/pull/3744) [`b8ab0b7`](https://github.com/equinor/fusion-framework/commit/b8ab0b72d422996d38fae3e6d82cecfa77686487) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: bump read-package-up to 12.0.0 to align with upstream Node 20 requirement.
|
|
48
|
+
|
|
49
|
+
- [#3899](https://github.com/equinor/fusion-framework/pull/3899) [`9fff06a`](https://github.com/equinor/fusion-framework/commit/9fff06a2327fe569a62418eb2b65a0ec9e2e69f5) Thanks [@odinr](https://github.com/odinr)! - Update recommended Node.js version from 22.x to 24.x (LTS).
|
|
50
|
+
|
|
51
|
+
The CLI now recommends Node.js 24.x as the LTS version for best compatibility. This change updates the version check warning, build configuration, Dockerfile, and documentation examples to reflect Node.js 24 as the recommended version.
|
|
52
|
+
|
|
53
|
+
- [#3932](https://github.com/equinor/fusion-framework/pull/3932) [`15aaa87`](https://github.com/equinor/fusion-framework/commit/15aaa87e6a8b391c0672db0dcdca4c1cac3b50a7) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: update rollup build dependency from 4.52.5 to 4.55.2.
|
|
54
|
+
|
|
55
|
+
This update includes:
|
|
56
|
+
|
|
57
|
+
- Improved circular dependency handling for manual chunks
|
|
58
|
+
- Enhanced tree-shaking for Symbol properties
|
|
59
|
+
- Performance improvements via variable name caching
|
|
60
|
+
- Multiple bug fixes for build edge cases
|
|
61
|
+
|
|
62
|
+
No changes to CLI or plugin functionality or public APIs.
|
|
63
|
+
|
|
64
|
+
- Updated dependencies [[`19ee28f`](https://github.com/equinor/fusion-framework/commit/19ee28fc0f6108fc59f0098b449a511221d2d860), [`b8ab0b7`](https://github.com/equinor/fusion-framework/commit/b8ab0b72d422996d38fae3e6d82cecfa77686487)]:
|
|
65
|
+
- @equinor/fusion-framework-module-msal-node@2.0.3
|
|
66
|
+
- @equinor/fusion-imports@1.1.9
|
|
67
|
+
- @equinor/fusion-framework-dev-portal@1.3.0
|
|
68
|
+
- @equinor/fusion-framework-dev-server@1.1.19
|
|
69
|
+
|
|
3
70
|
## 13.0.1
|
|
4
71
|
|
|
5
72
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -84,6 +84,31 @@ pnpm fusion-framework-cli auth login
|
|
|
84
84
|
pnpm fusion-framework-cli publish --env <environment>
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
+
**Build or publish snapshot artifacts**
|
|
88
|
+
|
|
89
|
+
> [!CAUTION]
|
|
90
|
+
> Snapshot versions are designed for **preview and testing purposes only** (e.g., pull requests, CI/CD test deployments). The snapshot version **only affects the manifest build metadata** — your `package.json` and source files remain unchanged.
|
|
91
|
+
|
|
92
|
+
- Use `--snapshot` to emit timestamped snapshot versions
|
|
93
|
+
- Default: `--snapshot` → `{version}-snapshot.{unix_timestamp}`
|
|
94
|
+
- Optional identifier: `--snapshot pr-123` → `{version}-pr-123.{unix_timestamp}`
|
|
95
|
+
- Semver coercion strips any pre-release suffix first, e.g. `1.2.3-beta.1` → `1.2.3-snapshot.{unix_timestamp}`
|
|
96
|
+
|
|
97
|
+
**Common use cases:**
|
|
98
|
+
- Pull request previews: `--snapshot pr-456`
|
|
99
|
+
- Nightly builds: `--snapshot nightly`
|
|
100
|
+
- Feature branch testing: `--snapshot feature-xyz`
|
|
101
|
+
|
|
102
|
+
```sh
|
|
103
|
+
# Package an app with a snapshot version
|
|
104
|
+
pnpm fusion-framework-cli app pack --snapshot
|
|
105
|
+
pnpm fusion-framework-cli app pack --snapshot pr-123
|
|
106
|
+
|
|
107
|
+
# Publish with a snapshot version
|
|
108
|
+
pnpm fusion-framework-cli app publish --snapshot
|
|
109
|
+
pnpm fusion-framework-cli app publish --snapshot nightly
|
|
110
|
+
```
|
|
111
|
+
|
|
87
112
|
**Upload configuration**
|
|
88
113
|
|
|
89
114
|
```sh
|