@equinor/fusion-framework-cli 11.1.3 → 11.2.0
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 +44 -0
- package/README.md +1 -0
- package/bin/build/bin.mjs +1 -1
- package/bin/build/cli.mjs +6 -6
- package/dist/esm/lib/utils/resolve-package.js +12 -3
- package/dist/esm/lib/utils/resolve-package.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/version.d.ts +1 -1
- package/docs/dev-server.md +367 -0
- package/docs/migration-v10-to-v11.md +13 -0
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#3362](https://github.com/equinor/fusion-framework/pull/3362) [`6151ff4`](https://github.com/equinor/fusion-framework/commit/6151ff429fc5dc221a4cb43f11362cf39c2a3136) Thanks [@odinr](https://github.com/odinr)! - Added comprehensive dev-server documentation with architecture overview and configuration guide.
|
|
8
|
+
|
|
9
|
+
- Added new `docs/dev-server.md` with complete dev-server documentation
|
|
10
|
+
- Updated README.md to include dev-server documentation link
|
|
11
|
+
- Covers dev-server features, architecture, configuration, and troubleshooting
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#3345](https://github.com/equinor/fusion-framework/pull/3345) [`0b53fa8`](https://github.com/equinor/fusion-framework/commit/0b53fa8dcd31b0b333a172bfcc15b342c5548bf9) Thanks [@odinr](https://github.com/odinr)! - Documented missing breaking change for Vite configuration file naming in CLI v11 migration guide and changelog.
|
|
16
|
+
|
|
17
|
+
- Added detailed explanation of `app.vite.config.ts` → `vite.config.ts` file naming change
|
|
18
|
+
- Emphasized that `vite.config.ts` should be a last resort for custom setups
|
|
19
|
+
- Recommended using `dev-server.config.js` instead to avoid unexpected behavior
|
|
20
|
+
- Updated migration checklist to include the file rename requirement
|
|
21
|
+
- Enhanced v11.0.0 changelog with the breaking change documentation
|
|
22
|
+
|
|
23
|
+
This addresses the undocumented breaking change that could cause time-consuming debugging for developers upgrading from v10 to v11.
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`1f629b5`](https://github.com/equinor/fusion-framework/commit/1f629b556c4e26170b1eb6ad8823c082cb2ac59d)]:
|
|
26
|
+
- @equinor/fusion-framework-module-msal-node@1.0.3
|
|
27
|
+
|
|
28
|
+
## 11.1.4
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- [#3356](https://github.com/equinor/fusion-framework/pull/3356) [`2e47652`](https://github.com/equinor/fusion-framework/commit/2e47652aba8ab14dea62307953666d8f136d7ca0) Thanks [@odinr](https://github.com/odinr)! - Fix SemVer 2.0 compliance issue where build metadata was stripped from package versions.
|
|
33
|
+
|
|
34
|
+
- Disabled built-in normalization in `read-package-up` to preserve version build metadata
|
|
35
|
+
- Added manual package data normalization using `normalize-package-data` library
|
|
36
|
+
- Preserves original version with build metadata (e.g., `11.8.0+commit`) in app manifests
|
|
37
|
+
- Maintains backward compatibility with existing version formats
|
|
38
|
+
- Resolves issue where `+` build metadata was being stripped from versions in `app-manifest.json`
|
|
39
|
+
|
|
40
|
+
This fix enables proper SemVer 2.0 compliant versioning for applications built with the CLI.
|
|
41
|
+
|
|
42
|
+
Fixes https://github.com/equinor/fusion/issues/657
|
|
43
|
+
|
|
44
|
+
Thanks to [@v3gard](https://github.com/v3gard) for identifying and reporting this SemVer compliance issue.
|
|
45
|
+
|
|
3
46
|
## 11.1.3
|
|
4
47
|
|
|
5
48
|
### Patch Changes
|
|
@@ -195,6 +238,7 @@
|
|
|
195
238
|
- **Dev Portal Modularization:** The dev portal has been moved to a separate package `@equinor/fusion-framework-dev-server`, enabling modular architecture and independent updates. The dev portal can be configured via `dev-server.config.js` and supports live preview and API mocking.
|
|
196
239
|
- **Command Structure:** CLI is now divided into three main groups: `bin` (executable functions), `commands` (CLI commands), and `lib` (for consumers, config, and utilities). This improves organization and modularity.
|
|
197
240
|
- **BREAKING:** The `--service` flag has been removed. The CLI now uses service discovery via Fusion environment variables. All `app -build-???` commands are deprecated and will be removed in the next major version.
|
|
241
|
+
- **BREAKING:** Vite configuration file naming has changed to follow Vite's standard convention. Rename `app.vite.config.ts` to `vite.config.ts` to ensure your Vite configurations are applied correctly. Note: Using `vite.config.ts` should be a last resort for custom setups - prefer dev-server configuration to avoid unexpected behavior.
|
|
198
242
|
|
|
199
243
|
- **Dev Server Abstraction:** Vite configuration and dev server functionality has been abstracted into the `@equinor/fusion-framework-dev-server` package. The CLI now provides a higher-level API that handles Vite configuration internally, eliminating the need for users to manage Vite configuration directly while still allowing for customization through configuration options.
|
|
200
244
|
|
package/README.md
CHANGED
|
@@ -122,6 +122,7 @@ A minimal example for a Fusion Framework app:
|
|
|
122
122
|
**Getting Started**
|
|
123
123
|
- [Developing Apps](docs/application.md): Complete guide to building, configuring, and deploying Fusion applications
|
|
124
124
|
- [Developing Portals](docs/portal.md): Guide to building, configuring, and publishing portal templates
|
|
125
|
+
- [Dev Server](docs/dev-server.md): Understanding how the development server works, including architecture and configuration
|
|
125
126
|
|
|
126
127
|
**Setup & Configuration**
|
|
127
128
|
- [Authentication](docs/auth.md): Setting up authentication for local development and CI/CD environments
|