@equinor/fusion-framework-cli 0.0.0-next-20230922072645 → 0.0.0-next-20240112080744

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.
Files changed (66) hide show
  1. package/CHANGELOG.md +241 -4
  2. package/dist/bin/bundle-application.js +11 -7
  3. package/dist/bin/bundle-application.js.map +1 -1
  4. package/dist/bin/create-dev-serve.js +28 -6
  5. package/dist/bin/create-dev-serve.js.map +1 -1
  6. package/dist/bin/create-export-manifest.js +1 -1
  7. package/dist/bin/create-export-manifest.js.map +1 -1
  8. package/dist/bin/dev-portal/FusionLogo.js +1 -1
  9. package/dist/bin/dev-portal/FusionLogo.js.map +1 -1
  10. package/dist/bin/dev-portal/Header.js +9 -4
  11. package/dist/bin/dev-portal/Header.js.map +1 -1
  12. package/dist/bin/dev-portal/PersonSideSheet/index.js +27 -0
  13. package/dist/bin/dev-portal/PersonSideSheet/index.js.map +1 -0
  14. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureSheetContent.js +12 -0
  15. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureSheetContent.js.map +1 -0
  16. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerApp.js +13 -0
  17. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerApp.js.map +1 -0
  18. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerPortal.js +13 -0
  19. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerPortal.js.map +1 -0
  20. package/dist/bin/dev-portal/PersonSideSheet/sheets/LandingSheetContent.js +16 -0
  21. package/dist/bin/dev-portal/PersonSideSheet/sheets/LandingSheetContent.js.map +1 -0
  22. package/dist/bin/dev-portal/PersonSideSheet/sheets/Styled.js +30 -0
  23. package/dist/bin/dev-portal/PersonSideSheet/sheets/Styled.js.map +1 -0
  24. package/dist/bin/dev-portal/PersonSideSheet/sheets/index.js +3 -0
  25. package/dist/bin/dev-portal/PersonSideSheet/sheets/index.js.map +1 -0
  26. package/dist/bin/dev-portal/PersonSideSheet/sheets/types.js +2 -0
  27. package/dist/bin/dev-portal/PersonSideSheet/sheets/types.js.map +1 -0
  28. package/dist/bin/dev-portal/config.js +15 -0
  29. package/dist/bin/dev-portal/config.js.map +1 -1
  30. package/dist/bin/dev-proxy.js +1 -0
  31. package/dist/bin/dev-proxy.js.map +1 -1
  32. package/dist/bin/main.app.js +10 -1
  33. package/dist/bin/main.app.js.map +1 -1
  34. package/dist/bin/main.js +1 -1
  35. package/dist/bin/main.js.map +1 -1
  36. package/dist/bin/public/assets/index-s-XEtlxP.js +4928 -0
  37. package/dist/bin/public/index.html +1 -2
  38. package/dist/lib/app-package.js +1 -1
  39. package/dist/lib/app-package.js.map +1 -1
  40. package/dist/lib/utils/config.js +6 -5
  41. package/dist/lib/utils/config.js.map +1 -1
  42. package/dist/lib/utils/file-exists.js +12 -3
  43. package/dist/lib/utils/file-exists.js.map +1 -1
  44. package/dist/lib/utils/ts-transpile.js +51 -0
  45. package/dist/lib/utils/ts-transpile.js.map +1 -0
  46. package/dist/lib/vite-logger.js +8 -2
  47. package/dist/lib/vite-logger.js.map +1 -1
  48. package/dist/types/bin/create-dev-serve.d.ts +1 -0
  49. package/dist/types/bin/dev-portal/FusionLogo.d.ts +1 -1
  50. package/dist/types/bin/dev-portal/PersonSideSheet/index.d.ts +7 -0
  51. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/FeatureSheetContent.d.ts +2 -0
  52. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerApp.d.ts +2 -0
  53. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerPortal.d.ts +2 -0
  54. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/LandingSheetContent.d.ts +2 -0
  55. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/Styled.d.ts +1092 -0
  56. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/index.d.ts +2 -0
  57. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/types.d.ts +5 -0
  58. package/dist/types/bin/dev-proxy.d.ts +1 -0
  59. package/dist/types/lib/app-package.d.ts +1 -1
  60. package/dist/types/lib/utils/config.d.ts +1 -1
  61. package/dist/types/lib/utils/file-exists.d.ts +1 -1
  62. package/dist/types/lib/utils/ts-transpile.d.ts +2 -0
  63. package/dist/types/version.d.ts +1 -1
  64. package/dist/version.js +1 -1
  65. package/package.json +37 -39
  66. package/dist/bin/public/assets/index-e45636d8.js +0 -3609
@@ -0,0 +1,2 @@
1
+ export { FeatureSheetContent } from './FeatureSheetContent';
2
+ export { LandingSheetContent } from './LandingSheetContent';
@@ -0,0 +1,5 @@
1
+ export type SheetContentProps = {
2
+ readonly azureId?: string;
3
+ readonly sheet?: string;
4
+ navigate(sheet?: string): void;
5
+ };
@@ -11,6 +11,7 @@ type ProxyHandlerResult<T> = {
11
11
  } | void;
12
12
  type ProxyHandlerReturn<T> = Promise<ProxyHandlerResult<T>> | ProxyHandlerResult<T>;
13
13
  export interface ProxyHandler {
14
+ onManifestListResponse(slug: object, message: IncomingMessage, data?: Array<AppManifest>): ProxyHandlerReturn<Array<AppManifest>>;
14
15
  onManifestResponse(slug: {
15
16
  appKey: string;
16
17
  }, message: IncomingMessage, data?: AppManifest): ProxyHandlerReturn<AppManifest>;
@@ -1,4 +1,4 @@
1
- import { PackageJson, type NormalizeOptions as ResolveAppPackageOptions } from 'read-pkg-up';
1
+ import { PackageJson, type NormalizeOptions as ResolveAppPackageOptions } from 'read-package-up';
2
2
  import { AppManifest } from './app-manifest.js';
3
3
  export type AppPackageJson = PackageJson & {
4
4
  manifest?: AppManifest;
@@ -1,5 +1,5 @@
1
1
  import { Options } from 'find-up';
2
- export declare const supportedExt: readonly [".ts", ".js", ".json"];
2
+ export declare const supportedExt: readonly [".ts", ".mjs", ".js", ".json"];
3
3
  export type SupportedExt = (typeof supportedExt)[number];
4
4
  export type FindConfigOptions = Omit<Options, 'file'> & {
5
5
  extensions?: Array<SupportedExt>;
@@ -2,5 +2,5 @@ type Options = {
2
2
  assert?: boolean;
3
3
  };
4
4
  export declare const fileExistsSync: (file: string, options?: Options) => boolean;
5
- export declare const fileExists: (file: string, options?: Options) => boolean;
5
+ export declare const fileExists: (file: string, options?: Options) => Promise<boolean>;
6
6
  export {};
@@ -0,0 +1,2 @@
1
+ export declare const transpile: (file: string) => Promise<string>;
2
+ export default transpile;
@@ -1 +1 @@
1
- export declare const version = "9.1.1";
1
+ export declare const version = "9.5.6";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '9.1.1';
1
+ export const version = '9.5.6';
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-cli",
3
- "version": "0.0.0-next-20230922072645",
3
+ "version": "0.0.0-next-20240112080744",
4
4
  "keywords": [
5
5
  "Fusion",
6
6
  "Fusion Framework",
@@ -18,18 +18,16 @@
18
18
  },
19
19
  "exports": {
20
20
  ".": {
21
- "import": {
22
- "default": "./dist/lib/index.js",
23
- "types": "./dist/types/lib/index.d.ts"
24
- }
21
+ "types": "./dist/types/lib/index.d.ts",
22
+ "import": "./dist/lib/index.js"
25
23
  }
26
24
  },
27
25
  "types": "./dist/types/lib/index.d.ts",
28
26
  "dependencies": {
29
- "@equinor/eds-core-react": "^0.32.4",
27
+ "@equinor/eds-core-react": "^0.34.0",
30
28
  "@equinor/eds-icons": "^0.19.3",
31
29
  "@equinor/eds-tokens": "^0.9.2",
32
- "@equinor/fusion-wc-person": "^1.1.0",
30
+ "@equinor/fusion-wc-person": "^2.1.8",
33
31
  "@types/adm-zip": "^0.5.0",
34
32
  "@types/semver": "^7.5.0",
35
33
  "@vitejs/plugin-react": "^4.0.4",
@@ -39,35 +37,35 @@
39
37
  "deepmerge": "^4.3.1",
40
38
  "express": "^4.18.2",
41
39
  "express-rate-limit": "^7.0.0",
42
- "find-up": "^6.3.0",
40
+ "find-up": "^7.0.0",
43
41
  "http-proxy-middleware": "^2.0.6",
44
42
  "is-mergeable-object": "^1.1.1",
45
- "ora": "^7.0.1",
43
+ "ora": "^8.0.1",
46
44
  "portfinder": "^1.0.32",
47
45
  "pretty-bytes": "^6.1.1",
48
- "read-pkg-up": "^10.0.0",
46
+ "read-package-up": "^11.0.0",
49
47
  "semver": "^7.5.4",
50
- "ts-import": "5.0.0-beta.0",
51
- "vite": "^4.4.9",
48
+ "vite": "^5.0.0",
52
49
  "vite-plugin-environment": "^1.1.3",
53
- "vite-plugin-restart": "^0.3.1",
50
+ "vite-plugin-restart": "^0.4.0",
54
51
  "vite-tsconfig-paths": "^4.2.0",
55
- "@equinor/fusion-framework-app": "^0.0.0-next-20230922072645",
56
- "@equinor/fusion-framework-react-components-people-provider": "^0.0.0-next-20230922072645",
57
- "@equinor/fusion-observable": "^8.1.2"
52
+ "@equinor/fusion-framework-app": "^7.1.15",
53
+ "@equinor/fusion-framework-module-feature-flag": "^0.0.0-next-20240112080744",
54
+ "@equinor/fusion-observable": "^8.1.4",
55
+ "@equinor/fusion-framework-react-components-people-provider": "^0.0.0-next-20240112080744"
58
56
  },
59
57
  "devDependencies": {
60
- "@equinor/eds-core-react": "^0.32.4",
58
+ "@equinor/eds-core-react": "^0.34.0",
61
59
  "@equinor/eds-icons": "^0.19.3",
62
60
  "@equinor/eds-tokens": "^0.9.2",
63
- "@equinor/fusion-react-button": "^0.8.2",
64
- "@equinor/fusion-react-context-selector": "^0.4.7",
65
- "@equinor/fusion-react-icon": "^0.2.15",
66
- "@equinor/fusion-react-menu": "^0.1.5",
67
- "@equinor/fusion-react-person": "^0.2.9",
68
- "@equinor/fusion-react-progress-indicator": "^0.1.6",
69
- "@equinor/fusion-react-side-sheet": "1.0.2",
70
- "@equinor/fusion-react-styles": "^0.5.9",
61
+ "@equinor/fusion-react-button": "^0.9.0",
62
+ "@equinor/fusion-react-context-selector": "^0.5.0",
63
+ "@equinor/fusion-react-icon": "^0.3.0",
64
+ "@equinor/fusion-react-menu": "^0.3.0",
65
+ "@equinor/fusion-react-person": "^0.6.0",
66
+ "@equinor/fusion-react-progress-indicator": "^0.2.0",
67
+ "@equinor/fusion-react-side-sheet": "1.2.5",
68
+ "@equinor/fusion-react-styles": "^0.6.0",
71
69
  "@material-ui/styles": "^4.11.5",
72
70
  "@types/express": "^4.17.17",
73
71
  "@types/node": "^20.4.9",
@@ -76,24 +74,24 @@
76
74
  "react": "^18.2.0",
77
75
  "react-dom": "^18.2.0",
78
76
  "react-router-dom": "^6.15.0",
79
- "rollup": "^3.28.1",
77
+ "rollup": "^4.3.0",
80
78
  "rxjs": "^7.8.1",
81
79
  "styled-components": "^6.0.7",
82
80
  "types": "link:./types",
83
81
  "typescript": "^5.1.3",
84
- "@equinor/fusion-framework": "^0.0.0-next-20230922072645",
85
- "@equinor/fusion-framework-app": "^0.0.0-next-20230922072645",
86
- "@equinor/fusion-framework-module-app": "^0.0.0-next-20230922072645",
87
- "@equinor/fusion-framework-module-bookmark": "^0.0.0-next-20230922072645",
88
- "@equinor/fusion-framework-module-context": "^0.0.0-next-20230922072645",
89
- "@equinor/fusion-framework-module-http": "^5.1.1",
90
- "@equinor/fusion-framework-module-msal": "^3.0.7",
91
- "@equinor/fusion-framework-module-navigation": "^3.0.6",
92
- "@equinor/fusion-framework-module-services": "^0.0.0-next-20230922072645",
93
- "@equinor/fusion-framework-react": "^0.0.0-next-20230922072645",
94
- "@equinor/fusion-framework-react-components-bookmark": "^0.0.0-next-20230922072645",
95
- "@equinor/fusion-framework-react-module-bookmark": "^0.0.0-next-20230922072645",
96
- "@equinor/fusion-query": "^0.0.0-next-20230922072645"
82
+ "@equinor/fusion-framework": "^7.0.28",
83
+ "@equinor/fusion-framework-app": "^7.1.15",
84
+ "@equinor/fusion-framework-module-app": "^5.2.12",
85
+ "@equinor/fusion-framework-module-context": "^4.0.19",
86
+ "@equinor/fusion-framework-module-http": "^5.1.5",
87
+ "@equinor/fusion-framework-module-bookmark": "^1.0.17",
88
+ "@equinor/fusion-framework-module-msal": "^3.0.9",
89
+ "@equinor/fusion-framework-module-services": "^3.2.3",
90
+ "@equinor/fusion-framework-module-navigation": "^3.1.3",
91
+ "@equinor/fusion-framework-react": "^0.0.0-next-20240112080744",
92
+ "@equinor/fusion-query": "^4.0.5",
93
+ "@equinor/fusion-framework-react-components-bookmark": "^0.0.0-next-20240112080744",
94
+ "@equinor/fusion-framework-react-module-bookmark": "^0.0.0-next-20240112080744"
97
95
  },
98
96
  "scripts": {
99
97
  "prebuild": "pnpm build:source",