@equinor/fusion-framework-cli 10.0.0-alpha-8601e3ca5d5b2d11057913cdfc04bbc5e908a598 → 10.0.0-alpha-dep-8ca2072f748f36baccdefa6e0d6544f474e92730
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 +53 -17
- package/dist/bin/build-application.js +18 -1
- package/dist/bin/build-application.js.map +1 -1
- package/dist/bin/create-dev-serve.js +3 -3
- package/dist/bin/create-dev-serve.js.map +1 -1
- package/dist/bin/public/assets/{index-CptNv55Q.js → index-_o_I3W6T.js} +354 -354
- package/dist/bin/public/index.html +1 -1
- package/dist/bin/utils/load-manifest.js +1 -1
- package/dist/bin/utils/load-manifest.js.map +1 -1
- package/dist/bin/utils/uploadAppBundle.js +2 -0
- package/dist/bin/utils/uploadAppBundle.js.map +1 -1
- package/dist/lib/app-manifest.js +5 -0
- package/dist/lib/app-manifest.js.map +1 -1
- package/dist/lib/plugins/app-assets/app-asset-plugin.js +102 -0
- package/dist/lib/plugins/app-assets/app-asset-plugin.js.map +1 -0
- package/dist/lib/plugins/app-assets/emit-asset.js +41 -0
- package/dist/lib/plugins/app-assets/emit-asset.js.map +1 -0
- package/dist/lib/plugins/app-assets/extension-filter-pattern.js +20 -0
- package/dist/lib/plugins/app-assets/extension-filter-pattern.js.map +1 -0
- package/dist/lib/plugins/app-assets/index.js +4 -0
- package/dist/lib/plugins/app-assets/index.js.map +1 -0
- package/dist/lib/plugins/app-assets/read-asset-content.js +34 -0
- package/dist/lib/plugins/app-assets/read-asset-content.js.map +1 -0
- package/dist/lib/plugins/app-assets/resolve-asset-id.js +63 -0
- package/dist/lib/plugins/app-assets/resolve-asset-id.js.map +1 -0
- package/dist/lib/plugins/app-assets/static.js +15 -0
- package/dist/lib/plugins/app-assets/static.js.map +1 -0
- package/dist/{bin/plugins/app-proxy.js → lib/plugins/app-proxy/app-proxy-plugin.js} +3 -3
- package/dist/lib/plugins/app-proxy/app-proxy-plugin.js.map +1 -0
- package/dist/lib/plugins/app-proxy/index.js +2 -0
- package/dist/lib/plugins/app-proxy/index.js.map +1 -0
- package/dist/{bin/plugins/external-public.js → lib/plugins/external-public/external-public-plugin.js} +43 -7
- package/dist/lib/plugins/external-public/external-public-plugin.js.map +1 -0
- package/dist/lib/plugins/external-public/index.js +2 -0
- package/dist/lib/plugins/external-public/index.js.map +1 -0
- package/dist/types/lib/plugins/app-assets/app-asset-plugin.d.ts +36 -0
- package/dist/types/lib/plugins/app-assets/emit-asset.d.ts +18 -0
- package/dist/types/lib/plugins/app-assets/extension-filter-pattern.d.ts +14 -0
- package/dist/types/lib/plugins/app-assets/index.d.ts +3 -0
- package/dist/types/lib/plugins/app-assets/read-asset-content.d.ts +14 -0
- package/dist/types/lib/plugins/app-assets/resolve-asset-id.d.ts +16 -0
- package/dist/types/lib/plugins/app-assets/static.d.ts +5 -0
- package/dist/types/lib/plugins/app-proxy/index.d.ts +1 -0
- package/dist/types/{bin/plugins/external-public.d.ts → lib/plugins/external-public/external-public-plugin.d.ts} +12 -4
- package/dist/types/lib/plugins/external-public/index.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +19 -14
- package/dist/bin/plugins/app-proxy.js.map +0 -1
- package/dist/bin/plugins/external-public.js.map +0 -1
- /package/dist/types/{bin/plugins/app-proxy.d.ts → lib/plugins/app-proxy/app-proxy-plugin.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 10.0.0-alpha-
|
|
3
|
+
## 10.0.0-alpha-dep-8ca2072f748f36baccdefa6e0d6544f474e92730
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
7
|
-
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`
|
|
7
|
+
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`0b60133`](https://github.com/equinor/fusion-framework/commit/0b601333ba87f528290fd6ab5f9889cb84d22e41) Thanks [@eikeland](https://github.com/eikeland)! - Adding new commands for app management, `build-publish`, `build-pack`, `build-upload`, `build-config`, `build-manifest` and `build-tag`.
|
|
8
8
|
|
|
9
9
|
Introduces new parameters to the `build-config` command for publishing the app config to a build version.
|
|
10
10
|
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
|
|
85
85
|
### Minor Changes
|
|
86
86
|
|
|
87
|
-
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`
|
|
87
|
+
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`8440d7c`](https://github.com/equinor/fusion-framework/commit/8440d7ca89cd7fc54cdd62f5019e7b2bfd6b84e4) Thanks [@eikeland](https://github.com/eikeland)! - Introduced `proxyRequestLogger` to log proxy requests in the CLI.
|
|
88
88
|
|
|
89
89
|
- Show the request URL and method in the console when a proxy request is made.
|
|
90
90
|
- Show proxy response status code
|
|
91
91
|
|
|
92
|
-
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`
|
|
92
|
+
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`d8cd187`](https://github.com/equinor/fusion-framework/commit/d8cd1877588fca7e28dc5a6e290ef4e1b3d33601) Thanks [@eikeland](https://github.com/eikeland)! - Create a plugin `externalPublicPlugin` to fix the issue with serving the `index.html` file from the specified external public directory. Vite mode `spa` will not serve the `index.html` file from the specified external public directory.
|
|
93
93
|
|
|
94
94
|
- Enhanced the middleware to intercept requests and serve the `index.html` file from the specified external public directory.
|
|
95
95
|
- Transformed the HTML using Vite's `transformIndexHtml` method.
|
|
@@ -114,18 +114,7 @@
|
|
|
114
114
|
});
|
|
115
115
|
```
|
|
116
116
|
|
|
117
|
-
- [#
|
|
118
|
-
|
|
119
|
-
Updated the CLI to use the new service discovery API.
|
|
120
|
-
|
|
121
|
-
> [!NOTE]
|
|
122
|
-
> This is a quick fix until the new major version of the CLI is released.
|
|
123
|
-
|
|
124
|
-
- Updated the `baseUri` to use a more specific URL path for service discovery.
|
|
125
|
-
- Changed from `new URL(import.meta.url).origin` to `String(new URL('/_discovery/environments/current', import.meta.url))`.
|
|
126
|
-
- Changed parsing of service discovery response to match new API format.
|
|
127
|
-
|
|
128
|
-
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`db52e06`](https://github.com/equinor/fusion-framework/commit/db52e061bb4801e110245abee62207e63b8da67c) Thanks [@eikeland](https://github.com/eikeland)! - Updated commands in CLI to reflect purpose of the command:
|
|
117
|
+
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`abd8569`](https://github.com/equinor/fusion-framework/commit/abd8569f6472d55da1e23af8ec41c93ed1babe86) Thanks [@eikeland](https://github.com/eikeland)! - Updated commands in CLI to reflect purpose of the command:
|
|
129
118
|
|
|
130
119
|
- renamed `config` to `build-config` to generate build config of an application.
|
|
131
120
|
- renamed `pack`to `build-pack` to bundle an application.
|
|
@@ -138,7 +127,7 @@
|
|
|
138
127
|
> [!NOTE]
|
|
139
128
|
> This mean that `mergeAppConfig` and `mergeManifestConfig` functions are no longer needed and can be removed from the application.
|
|
140
129
|
|
|
141
|
-
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`
|
|
130
|
+
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`4e07b4f`](https://github.com/equinor/fusion-framework/commit/4e07b4f9510e7bbdb9654ceec0093bbd2bf15e27) Thanks [@eikeland](https://github.com/eikeland)! - The `appProxyPlugin` is a Vite plugin designed to proxy requests to a Fusion app backend.
|
|
142
131
|
It sets up proxy rules for API and bundle requests and serves the app configuration and manifest based on the app key and version.
|
|
143
132
|
|
|
144
133
|
Key Features:
|
|
@@ -202,10 +191,57 @@
|
|
|
202
191
|
fetch('/app-proxy/bundles/my-app/builds/0.0.9/index.js'); // proxy
|
|
203
192
|
```
|
|
204
193
|
|
|
194
|
+
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`d9122f7`](https://github.com/equinor/fusion-framework/commit/d9122f7d77f539f797e9460200457615b3daa5c7) Thanks [@eikeland](https://github.com/eikeland)! - when building an application the `AppAssetExportPlugin` is now added to the `ViteConfig` and configure to include `manifest.build.allowedExtensions`
|
|
195
|
+
|
|
196
|
+
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`d9122f7`](https://github.com/equinor/fusion-framework/commit/d9122f7d77f539f797e9460200457615b3daa5c7) Thanks [@eikeland](https://github.com/eikeland)! - **App Assets Export Plugin**
|
|
197
|
+
|
|
198
|
+
Create a plugin that exports assets from the app's source code.
|
|
199
|
+
This plugin resolves the issue where assets are not extracted from the app's source code since the app is in `lib` mode.
|
|
200
|
+
|
|
201
|
+
```typescript
|
|
202
|
+
export default {
|
|
203
|
+
plugins: [
|
|
204
|
+
AppAssetExportPlugin(
|
|
205
|
+
include: createExtensionFilterPattern(
|
|
206
|
+
manifest.build.allowedExtensions
|
|
207
|
+
),
|
|
208
|
+
),
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
see readme for more information.
|
|
214
|
+
|
|
215
|
+
### Patch Changes
|
|
216
|
+
|
|
217
|
+
- [#2178](https://github.com/equinor/fusion-framework/pull/2178) [`d9122f7`](https://github.com/equinor/fusion-framework/commit/d9122f7d77f539f797e9460200457615b3daa5c7) Thanks [@eikeland](https://github.com/eikeland)! - Generated base manifest from package will now include `StandardIncludeAssetExtensions` as `allowedExtensions`
|
|
218
|
+
|
|
219
|
+
## 9.13.0
|
|
220
|
+
|
|
221
|
+
### Minor Changes
|
|
222
|
+
|
|
223
|
+
- [#2465](https://github.com/equinor/fusion-framework/pull/2465) [`eb11a19`](https://github.com/equinor/fusion-framework/commit/eb11a1952cfa5a1ec8ca40d8f53303ff7c675cbe) Thanks [@dependabot](https://github.com/apps/dependabot)! - updated @equinor/eds-core-react to 0.42.0
|
|
224
|
+
|
|
225
|
+
- [#2459](https://github.com/equinor/fusion-framework/pull/2459) [`15152e4`](https://github.com/equinor/fusion-framework/commit/15152e413c054a5f57af93211a470c98c7696caa) Thanks [@odinr](https://github.com/odinr)! - **@equinor/fusion-framework-cli**
|
|
226
|
+
|
|
227
|
+
Updated the CLI to use the new service discovery API.
|
|
228
|
+
|
|
229
|
+
> [!NOTE]
|
|
230
|
+
> This is a quick fix until the new major version of the CLI is released.
|
|
231
|
+
|
|
232
|
+
- Updated the `baseUri` to use a more specific URL path for service discovery.
|
|
233
|
+
- Changed from `new URL(import.meta.url).origin` to `String(new URL('/_discovery/environments/current', import.meta.url))`.
|
|
234
|
+
- Changed parsing of service discovery response to match new API format.
|
|
235
|
+
|
|
205
236
|
### Patch Changes
|
|
206
237
|
|
|
207
238
|
- [#2458](https://github.com/equinor/fusion-framework/pull/2458) [`202cf10`](https://github.com/equinor/fusion-framework/commit/202cf10ae434d6432c8b57c2867b182223c19212) Thanks [@odinr](https://github.com/odinr)! - changed service discover url to match #c776845e753acf4a0bceda1c59d31e5939c44c31
|
|
208
239
|
|
|
240
|
+
- Updated dependencies []:
|
|
241
|
+
- @equinor/fusion-framework-app@9.1.8
|
|
242
|
+
- @equinor/fusion-framework-module-feature-flag@1.1.9
|
|
243
|
+
- @equinor/fusion-framework-react-components-people-provider@1.4.7
|
|
244
|
+
|
|
209
245
|
## 9.12.14
|
|
210
246
|
|
|
211
247
|
### Patch Changes
|
|
@@ -12,9 +12,11 @@ import { build } from 'vite';
|
|
|
12
12
|
import { chalk } from './utils/format.js';
|
|
13
13
|
import { Spinner } from './utils/spinner.js';
|
|
14
14
|
import { loadViteConfig } from './utils/load-vite-config.js';
|
|
15
|
+
import { loadAppManifest } from './utils/load-manifest.js';
|
|
15
16
|
import { resolveAppPackage } from '../lib/app-package.js';
|
|
17
|
+
import { AppAssetExportPlugin, createExtensionFilterPattern, } from '../lib/plugins/app-assets/index.js';
|
|
16
18
|
export const buildApplication = (options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
-
var _a;
|
|
19
|
+
var _a, _b;
|
|
18
20
|
const { configSourceFiles, library, outDir } = options;
|
|
19
21
|
const env = {
|
|
20
22
|
command: 'build',
|
|
@@ -27,9 +29,24 @@ export const buildApplication = (options) => __awaiter(void 0, void 0, void 0, f
|
|
|
27
29
|
spinner.info('📦', chalk.yellowBright([pkg.packageJson.name, pkg.packageJson.version].join('@')));
|
|
28
30
|
const packageDirname = dirname(pkg.path);
|
|
29
31
|
spinner.info(`🏠 ${chalk.blueBright(packageDirname)}`);
|
|
32
|
+
spinner.start('resolve application manifest');
|
|
33
|
+
const { manifest } = yield loadAppManifest(env, pkg, {
|
|
34
|
+
file: configSourceFiles === null || configSourceFiles === void 0 ? void 0 : configSourceFiles.manifest,
|
|
35
|
+
});
|
|
36
|
+
spinner.succeed();
|
|
30
37
|
const { viteConfig } = yield loadViteConfig(env, {
|
|
31
38
|
file: configSourceFiles === null || configSourceFiles === void 0 ? void 0 : configSourceFiles.vite,
|
|
32
39
|
});
|
|
40
|
+
const includeAssetsPattern = ((_b = manifest.build) === null || _b === void 0 ? void 0 : _b.allowedExtensions)
|
|
41
|
+
? createExtensionFilterPattern(manifest.build.allowedExtensions)
|
|
42
|
+
: undefined;
|
|
43
|
+
spinner.info('📂', 'Using asset include filter:', chalk.red(includeAssetsPattern));
|
|
44
|
+
viteConfig.plugins = [
|
|
45
|
+
...viteConfig.plugins,
|
|
46
|
+
AppAssetExportPlugin({
|
|
47
|
+
include: includeAssetsPattern,
|
|
48
|
+
}),
|
|
49
|
+
];
|
|
33
50
|
if (library === 'react') {
|
|
34
51
|
const reactPlugin = yield import('@vitejs/plugin-react');
|
|
35
52
|
viteConfig.plugins.push(reactPlugin.default());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-application.js","sourceRoot":"","sources":["../../src/bin/build-application.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,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C;QACzD,UAAU,CAAC,OAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC;IACpD,CAAC;IAED,UAAU,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;IAExC,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAE7B,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;IAEvC,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,UAAU,CAAC,CAAC;IAE1C,OAAO,CAAC,aAAa,GAAG,KAAK,CAAC;IAE9B,OAAO;QACH,UAAU;QACV,SAAS;QACT,GAAG;KACN,CAAC;AACN,CAAC,CAAA,CAAC"}
|
|
@@ -13,8 +13,8 @@ import { join, relative } from 'node:path';
|
|
|
13
13
|
import portFinder from 'portfinder';
|
|
14
14
|
import deepmerge from 'deepmerge/index.js';
|
|
15
15
|
import ViteRestart from 'vite-plugin-restart';
|
|
16
|
-
import { appProxyPlugin } from '
|
|
17
|
-
import { externalPublicPlugin } from '
|
|
16
|
+
import { appProxyPlugin } from '../lib/plugins/app-proxy/app-proxy-plugin.js';
|
|
17
|
+
import { externalPublicPlugin } from '../lib/plugins/external-public/external-public-plugin.js';
|
|
18
18
|
import { supportedExt } from '../lib/utils/config.js';
|
|
19
19
|
import { manifestConfigFilename } from '../lib/app-manifest.js';
|
|
20
20
|
import { appConfigFilename } from '../lib/app-config.js';
|
|
@@ -86,7 +86,7 @@ export const createDevServer = (options) => __awaiter(void 0, void 0, void 0, fu
|
|
|
86
86
|
key: appKey,
|
|
87
87
|
version: String(pkg.packageJson.version),
|
|
88
88
|
generateConfig,
|
|
89
|
-
generateManifest
|
|
89
|
+
generateManifest,
|
|
90
90
|
},
|
|
91
91
|
}),
|
|
92
92
|
// Restart the server when config changes or the dev portal source is updated
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-dev-serve.js","sourceRoot":"","sources":["../../src/bin/create-dev-serve.ts"],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