@equinor/fusion-framework-cli 11.3.1 → 12.0.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 +121 -0
- package/bin/build/bin.mjs +1 -1
- package/bin/build/cli.mjs +3 -3
- package/dist/esm/lib/app/schemas.js +3 -3
- package/dist/esm/lib/app/schemas.js.map +1 -1
- package/dist/esm/lib/portal/load-portal-manifest.js +1 -1
- package/dist/esm/lib/portal/portal-manifest.schema.js +16 -63
- package/dist/esm/lib/portal/portal-manifest.schema.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/bin/helpers/project-templates.schema.d.ts +17 -209
- package/dist/types/bin/portal-build.d.ts +5 -5
- package/dist/types/bin/portal-manifest.d.ts +5 -5
- package/dist/types/bin/portal-pack.d.ts +5 -5
- package/dist/types/cli/commands/app/publish.d.ts +3 -2
- package/dist/types/cli/commands/portal/publish.d.ts +2 -5
- package/dist/types/lib/app/schemas.d.ts +3 -21
- package/dist/types/lib/portal/portal-manifest.schema.d.ts +5 -93
- package/dist/types/version.d.ts +1 -1
- package/docs/application.md +7 -3
- package/docs/portal.md +40 -0
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,126 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#3394](https://github.com/equinor/fusion-framework/pull/3394) [`c222c67`](https://github.com/equinor/fusion-framework/commit/c222c673bc7cdefff6eb0cd9436bfa3d1f185295) Thanks [@odinr](https://github.com/odinr)! - feat: migrate to zod v4
|
|
8
|
+
|
|
9
|
+
Updated source code to migrate from zod v3 to v4. Updated zod dependency from v3.25.76 to v4.1.8 and modified schema definitions in the CLI package to use explicit key and value types for records, updated error message format, and changed ZodError `.errors` property to `.issues` for zod v4 compatibility.
|
|
10
|
+
|
|
11
|
+
Key changes in source code:
|
|
12
|
+
|
|
13
|
+
- Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.any())`)
|
|
14
|
+
- Updated portal manifest schemas to use `message` instead of `description` for error messages
|
|
15
|
+
- Simplified error message options format (removed `required_error`, `invalid_type_error` from options object)
|
|
16
|
+
- Updated ZodError `.errors` property to `.issues` for zod v4 compatibility
|
|
17
|
+
- Enhanced `ApiAppConfigSchema` with proper record type definitions
|
|
18
|
+
|
|
19
|
+
Breaking changes: Record schemas must specify both key and value types explicitly. Error message format has changed from zod v3 to v4 format. Function schema definitions now require explicit typing.
|
|
20
|
+
|
|
21
|
+
Links:
|
|
22
|
+
|
|
23
|
+
- [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
|
|
24
|
+
- [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- [#3418](https://github.com/equinor/fusion-framework/pull/3418) [`6426d40`](https://github.com/equinor/fusion-framework/commit/6426d4051d153a01f2bc37ba7e7f4d0e85a82753) Thanks [@odinr](https://github.com/odinr)! - Improve publish command documentation clarity
|
|
29
|
+
|
|
30
|
+
- Update app publish command description to clearly explain conditional building behavior
|
|
31
|
+
- Add prominent note explaining when building occurs vs when it doesn't
|
|
32
|
+
- Add complete portal publish command documentation (was missing)
|
|
33
|
+
- Clarify differences between app and portal publish commands
|
|
34
|
+
- Update command overview to include portal publish command
|
|
35
|
+
- Fix CLI source code documentation to match actual behavior
|
|
36
|
+
- Remove incorrect bundle parameter from portal publish examples
|
|
37
|
+
|
|
38
|
+
Resolves #656
|
|
39
|
+
|
|
40
|
+
- Updated dependencies []:
|
|
41
|
+
- @equinor/fusion-framework-dev-portal@1.1.0
|
|
42
|
+
|
|
43
|
+
## 11.4.0
|
|
44
|
+
|
|
45
|
+
### Minor Changes
|
|
46
|
+
|
|
47
|
+
- [#3369](https://github.com/equinor/fusion-framework/pull/3369) [`bd8360e`](https://github.com/equinor/fusion-framework/commit/bd8360e6b93704b3f8ba4eb0d7fd142e27c01ef9) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated commander from v13 to v14 with improved help system and Node.js v20+ requirement.
|
|
48
|
+
|
|
49
|
+
### Breaking Changes
|
|
50
|
+
|
|
51
|
+
- Commander 14 requires Node.js v20 or higher (compatible with existing project requirements)
|
|
52
|
+
|
|
53
|
+
### New Features
|
|
54
|
+
|
|
55
|
+
- Support for groups of options and commands in help
|
|
56
|
+
- Support for unescaped negative numbers as arguments
|
|
57
|
+
- Enhanced TypeScript support with parseArg property
|
|
58
|
+
|
|
59
|
+
### Links
|
|
60
|
+
|
|
61
|
+
- [GitHub releases](https://github.com/tj/commander.js/releases/tag/v14.0.1)
|
|
62
|
+
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
|
|
63
|
+
|
|
64
|
+
- [#3349](https://github.com/equinor/fusion-framework/pull/3349) [`c511123`](https://github.com/equinor/fusion-framework/commit/c511123c835e24e9ddefcc4c47c2455f5df12087) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump vite from 6.x to 7.1.5
|
|
65
|
+
|
|
66
|
+
Major version update of Vite build tool across all packages. This update includes:
|
|
67
|
+
|
|
68
|
+
- Enhanced build performance and caching
|
|
69
|
+
- Better error reporting with code frames
|
|
70
|
+
- Improved TypeScript integration
|
|
71
|
+
- Updated plugin ecosystem compatibility
|
|
72
|
+
- New development server features
|
|
73
|
+
|
|
74
|
+
### Links
|
|
75
|
+
|
|
76
|
+
- [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
|
|
77
|
+
- [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
|
|
78
|
+
|
|
79
|
+
### Patch Changes
|
|
80
|
+
|
|
81
|
+
- [#3389](https://github.com/equinor/fusion-framework/pull/3389) [`db19291`](https://github.com/equinor/fusion-framework/commit/db192912ec35b41a10f0324ee70ecc85a686d4fa) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump ora from 8.2.0 to 9.0.0
|
|
82
|
+
|
|
83
|
+
### Breaking Changes
|
|
84
|
+
|
|
85
|
+
- ora v9.0.0 now requires Node.js 20+ (previously supported older versions)
|
|
86
|
+
|
|
87
|
+
### New Features
|
|
88
|
+
|
|
89
|
+
- Fix clearing in some cases
|
|
90
|
+
- Fix `frame()` not displaying dynamic `prefixText`/`suffixText` from functions
|
|
91
|
+
- Fix multiline text exceeding console height leaving garbage when scrolling
|
|
92
|
+
|
|
93
|
+
### Links
|
|
94
|
+
|
|
95
|
+
- [GitHub releases](https://github.com/sindresorhus/ora/releases/tag/v9.0.0)
|
|
96
|
+
- [npm changelog](https://www.npmjs.com/package/ora?activeTab=versions)
|
|
97
|
+
|
|
98
|
+
- [#3391](https://github.com/equinor/fusion-framework/pull/3391) [`7792659`](https://github.com/equinor/fusion-framework/commit/7792659bf2ade10dba5e54c610d5abff522324b6) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @vitest/coverage-v8 from 2.0.1 to 3.2.4
|
|
99
|
+
|
|
100
|
+
Major version update of Vitest coverage package for CLI testing.
|
|
101
|
+
|
|
102
|
+
### Breaking Changes
|
|
103
|
+
|
|
104
|
+
- Updated from @vitest/coverage-v8 v2 to v3
|
|
105
|
+
- Coverage reporting may have configuration changes
|
|
106
|
+
|
|
107
|
+
### New Features
|
|
108
|
+
|
|
109
|
+
- Enhanced coverage reporting capabilities
|
|
110
|
+
- Improved test performance
|
|
111
|
+
- Better error handling and reporting
|
|
112
|
+
|
|
113
|
+
### Links
|
|
114
|
+
|
|
115
|
+
- [Vitest v3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
|
|
116
|
+
- [Vitest v3 Migration Guide](https://vitest.dev/guide/migration.html)
|
|
117
|
+
- [Coverage v8 Documentation](https://vitest.dev/guide/coverage.html)
|
|
118
|
+
|
|
119
|
+
- Updated dependencies [[`6eeef2f`](https://github.com/equinor/fusion-framework/commit/6eeef2f2033dfacf7c972295c8c2cc2d4cd83976), [`7792659`](https://github.com/equinor/fusion-framework/commit/7792659bf2ade10dba5e54c610d5abff522324b6), [`aed6c53`](https://github.com/equinor/fusion-framework/commit/aed6c5385df496a86d06dc0af9dacafc255ea605), [`daa362e`](https://github.com/equinor/fusion-framework/commit/daa362e7d92ad362e46d666c434d0f09687abad5), [`2fff2ea`](https://github.com/equinor/fusion-framework/commit/2fff2ea1e4838627e297b7b401601f1186c95335), [`c511123`](https://github.com/equinor/fusion-framework/commit/c511123c835e24e9ddefcc4c47c2455f5df12087)]:
|
|
120
|
+
- @equinor/fusion-framework-dev-portal@1.1.0
|
|
121
|
+
- @equinor/fusion-framework-dev-server@1.1.0
|
|
122
|
+
- @equinor/fusion-framework-module-msal-node@1.0.5
|
|
123
|
+
|
|
3
124
|
## 11.3.1
|
|
4
125
|
|
|
5
126
|
### Patch Changes
|