@equinor/fusion-framework-cli 13.1.0 → 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 +26 -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/helpers/resolve-app-manifest.d.ts +1 -0
- package/dist/types/cli/commands/app/pack.d.ts +6 -0
- package/dist/types/cli/commands/app/publish.d.ts +6 -0
- 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/dev-server-config.md +10 -0
- package/package.json +13 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
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
|
+
|
|
3
29
|
## 13.1.0
|
|
4
30
|
|
|
5
31
|
### Minor 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
|