@equinor/echo-cli 0.17.2-beta-0 → 0.17.2
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/README.md +209 -208
- package/client/d2d97a9feca22f12a8c8c7413d7867ac.jpg +0 -0
- package/client/env-config.js +1 -0
- package/client/index.css +60 -0
- package/client/index.html +21 -0
- package/client/main.echo.bundle.js +3 -0
- package/client/main.echo.bundle.js.LICENSE.txt +145 -0
- package/client/main.echo.bundle.js.map +1 -0
- package/client/vendors-node_modules_react-dom_client_js-node_modules_babel_polyfill_lib_index_js-node_module-cb4c76.echo.bundle.js +3 -0
- package/client/vendors-node_modules_react-dom_client_js-node_modules_babel_polyfill_lib_index_js-node_module-cb4c76.echo.bundle.js.LICENSE.txt +9512 -0
- package/client/vendors-node_modules_react-dom_client_js-node_modules_babel_polyfill_lib_index_js-node_module-cb4c76.echo.bundle.js.map +1 -0
- package/lib/__test__/utils/merg.test.d.ts +1 -0
- package/lib/__test__/utils/merg.test.js +29 -0
- package/lib/__test__/utils/merg.test.js.map +1 -0
- package/lib/config/common/copyFile.d.ts +2 -0
- package/lib/config/common/copyFile.js +10 -0
- package/lib/config/common/copyFile.js.map +1 -0
- package/lib/config/common/echoManifest.d.ts +3 -0
- package/lib/config/common/echoManifest.js +61 -0
- package/lib/config/common/echoManifest.js.map +1 -0
- package/lib/config/common/echoModuleConfig.d.ts +31 -0
- package/lib/config/common/echoModuleConfig.js +34 -0
- package/lib/config/common/echoModuleConfig.js.map +1 -0
- package/lib/config/common/echoModuleId.d.ts +5 -0
- package/lib/config/common/echoModuleId.js +15 -0
- package/lib/config/common/echoModuleId.js.map +1 -0
- package/lib/config/common/extensions.d.ts +1 -0
- package/lib/config/common/extensions.js +2 -0
- package/lib/config/common/extensions.js.map +1 -0
- package/lib/config/common/getCurrentIndexFile.d.ts +2 -0
- package/lib/config/common/getCurrentIndexFile.js +11 -0
- package/lib/config/common/getCurrentIndexFile.js.map +1 -0
- package/lib/config/common/getPackageJson.d.ts +1 -0
- package/lib/config/common/getPackageJson.js +7 -0
- package/lib/config/common/getPackageJson.js.map +1 -0
- package/lib/config/common/https.d.ts +6 -0
- package/lib/config/common/https.js +16 -0
- package/lib/config/common/https.js.map +1 -0
- package/lib/config/common/initOptions.d.ts +27 -0
- package/lib/config/common/initOptions.js +28 -0
- package/lib/config/common/initOptions.js.map +1 -0
- package/lib/config/common/ssl.d.ts +7 -0
- package/lib/config/common/ssl.js +76 -0
- package/lib/config/common/ssl.js.map +1 -0
- package/lib/config/common/updateEnv.d.ts +6 -0
- package/lib/config/common/updateEnv.js +16 -0
- package/lib/config/common/updateEnv.js.map +1 -0
- package/lib/config/webpack/config.d.ts +3 -0
- package/lib/config/webpack/config.js +31 -0
- package/lib/config/webpack/config.js.map +1 -0
- package/lib/config/webpack/configBuilders/devServer.d.ts +8 -0
- package/lib/config/webpack/configBuilders/devServer.js +58 -0
- package/lib/config/webpack/configBuilders/devServer.js.map +1 -0
- package/lib/config/webpack/configBuilders/entry.d.ts +12 -0
- package/lib/config/webpack/configBuilders/entry.js +13 -0
- package/lib/config/webpack/configBuilders/entry.js.map +1 -0
- package/lib/config/webpack/configBuilders/module.d.ts +8 -0
- package/lib/config/webpack/configBuilders/module.js +145 -0
- package/lib/config/webpack/configBuilders/module.js.map +1 -0
- package/lib/config/webpack/configBuilders/optimization.d.ts +7 -0
- package/lib/config/webpack/configBuilders/optimization.js +30 -0
- package/lib/config/webpack/configBuilders/optimization.js.map +1 -0
- package/lib/config/webpack/configBuilders/output.d.ts +12 -0
- package/lib/config/webpack/configBuilders/output.js +20 -0
- package/lib/config/webpack/configBuilders/output.js.map +1 -0
- package/lib/config/webpack/configBuilders/plugins.d.ts +10 -0
- package/lib/config/webpack/configBuilders/plugins.js +31 -0
- package/lib/config/webpack/configBuilders/plugins.js.map +1 -0
- package/lib/config/webpack/echoWebpackModule.d.ts +2 -0
- package/lib/config/webpack/echoWebpackModule.js +47 -0
- package/lib/config/webpack/echoWebpackModule.js.map +1 -0
- package/lib/config/webpack/server.d.ts +3 -0
- package/lib/config/webpack/server.js +22 -0
- package/lib/config/webpack/server.js.map +1 -0
- package/lib/const/common.d.ts +3 -0
- package/lib/const/common.js +4 -0
- package/lib/const/common.js.map +1 -0
- package/lib/echo-build.d.ts +13 -0
- package/lib/echo-build.js +43 -0
- package/lib/echo-build.js.map +1 -0
- package/lib/echo-create.d.ts +16 -0
- package/lib/echo-create.js +35 -0
- package/lib/echo-create.js.map +1 -0
- package/lib/echo-manifest.d.ts +6 -0
- package/lib/echo-manifest.js +13 -0
- package/lib/echo-manifest.js.map +1 -0
- package/lib/tools/buildScripts/webpackBuilds.d.ts +3 -0
- package/lib/tools/buildScripts/webpackBuilds.js +87 -0
- package/lib/tools/buildScripts/webpackBuilds.js.map +1 -0
- package/lib/tools/create/copyFile.d.ts +2 -0
- package/lib/tools/create/copyFile.js +16 -0
- package/lib/tools/create/copyFile.js.map +1 -0
- package/lib/tools/create/createProject.d.ts +2 -0
- package/lib/tools/create/createProject.js +83 -0
- package/lib/tools/create/createProject.js.map +1 -0
- package/lib/tools/create/createSetTargetDirectory.d.ts +1 -0
- package/lib/tools/create/createSetTargetDirectory.js +12 -0
- package/lib/tools/create/createSetTargetDirectory.js.map +1 -0
- package/lib/tools/create/getAppTemplateName.d.ts +1 -0
- package/lib/tools/create/getAppTemplateName.js +22 -0
- package/lib/tools/create/getAppTemplateName.js.map +1 -0
- package/lib/tools/create/gitInit.d.ts +1 -0
- package/lib/tools/create/gitInit.js +19 -0
- package/lib/tools/create/gitInit.js.map +1 -0
- package/lib/tools/create/promptOptions.d.ts +2 -0
- package/lib/tools/create/promptOptions.js +88 -0
- package/lib/tools/create/promptOptions.js.map +1 -0
- package/lib/tools/create/updatePackageConfig.d.ts +2 -0
- package/lib/tools/create/updatePackageConfig.js +28 -0
- package/lib/tools/create/updatePackageConfig.js.map +1 -0
- package/lib/tools/create/updateReadme.d.ts +2 -0
- package/lib/tools/create/updateReadme.js +23 -0
- package/lib/tools/create/updateReadme.js.map +1 -0
- package/lib/types/createTypes.d.ts +23 -0
- package/lib/types/createTypes.js +2 -0
- package/lib/types/createTypes.js.map +1 -0
- package/lib/types/types.d.ts +4 -0
- package/lib/types/types.js +2 -0
- package/lib/types/types.js.map +1 -0
- package/lib/utils/getFile.d.ts +4 -0
- package/lib/utils/getFile.js +34 -0
- package/lib/utils/getFile.js.map +1 -0
- package/lib/utils/getFilePath.d.ts +1 -0
- package/lib/utils/getFilePath.js +22 -0
- package/lib/utils/getFilePath.js.map +1 -0
- package/lib/utils/logo.d.ts +1 -0
- package/lib/utils/logo.js +11 -0
- package/lib/utils/logo.js.map +1 -0
- package/lib/utils/merge.d.ts +1 -0
- package/lib/utils/merge.js +8 -0
- package/lib/utils/merge.js.map +1 -0
- package/lib/utils/timer.d.ts +0 -0
- package/lib/utils/timer.js +2 -0
- package/lib/utils/timer.js.map +1 -0
- package/package.json +111 -111
- package/templates/echoAppTemplate/.gitattributes +3 -3
- package/templates/echoAppTemplate/package.json +35 -35
- package/templates/echoAppTemplate/readme.md +41 -41
- package/templates/echoAppTemplate/src/app.module.css +5 -5
- package/templates/echoAppTemplate/src/app.tsx +30 -30
- package/templates/echoAppTemplate/src/index.ts +6 -6
- package/templates/echoAppTemplate/tsconfig.json +25 -25
- package/templates/echoAppTemplateTutorial/.gitattributes +3 -3
- package/templates/echoAppTemplateTutorial/package.json +36 -36
- package/templates/echoAppTemplateTutorial/readme.md +41 -41
- package/templates/echoAppTemplateTutorial/src/app.module.css +5 -5
- package/templates/echoAppTemplateTutorial/src/app.tsx +30 -30
- package/templates/echoAppTemplateTutorial/src/index.ts +6 -6
- package/templates/echoAppTemplateTutorial/tsconfig.json +25 -25
- package/templates/echoLibraryTemplate/package.json +35 -35
- package/templates/echoLibraryTemplate/public/index.html +21 -21
- package/templates/echoLibraryTemplate/public/style.css +43 -43
- package/templates/echoLibraryTemplate/readme.md +1 -1
- package/templates/echoPluginTemplate/package.json +35 -35
- package/templates/echoPluginTemplate/public/index.html +21 -21
- package/templates/echoPluginTemplate/public/style.css +43 -43
- package/templates/echoPluginTemplate/readme.md +1 -1
package/README.md
CHANGED
|
@@ -1,208 +1,209 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# EchoCli
|
|
4
|
-
|
|
5
|
-
Cli for creating and building Echo Modules.
|
|
6
|
-
|
|
7
|
-
## Echo module configuration
|
|
8
|
-
|
|
9
|
-
For information on how to configure your echo module, refer to [this wiki](https://github.com/equinor/EchoFramework/wiki/Echo-Module-Configuration).
|
|
10
|
-
|
|
11
|
-
## echo-cli versions table
|
|
12
|
-
|
|
13
|
-
Each `echo-cli` release works properly together with given versions of the essential echo packages. These versions are relevant when you run your Echo Module as a standalone app, with the command `npm start`.
|
|
14
|
-
|
|
15
|
-
An application shell (`echo-client`) will be fired up, which will contain your Echo Module. This application shell will depend on the main echo packages described below.
|
|
16
|
-
|
|
17
|
-
Find which versions to use of the echo packages for the given `echo-cli` version.
|
|
18
|
-
|
|
19
|
-
In general it's safe to differ in an echo package patch version. For example if the table states that you should use an echo package version of 0.4.0, using 0.4.3 should be also fine. Unless it's tied to another Cli version.
|
|
20
|
-
|
|
21
|
-
(older versions can be found at the bottom of this page)
|
|
22
|
-
|
|
23
|
-
<!-- prettier-ignore -->
|
|
24
|
-
| Cli | [Base](tree/master/libs/echo-base) | [Core](tree/master/libs/echo-core) | [Search](tree/master/libs/echo-search) | [Framework](tree/master/libs/echo-framework) | [Components](tree/master/libs/echo-components) | [Utils](tree/master/libs/echo-utils) | [EDS Core](https://github.com/equinor/design-system) | [EDS Icons](https://github.com/equinor/design-system/tree/develop/packages/eds-icons) | [EDS Utils](https://github.com/equinor/design-system/tree/develop/packages/eds-utils) | Notes
|
|
25
|
-
|--------|-------|-------|--------|-----------|--------|--------|----------|---------|-----|------|
|
|
26
|
-
| 0.17.
|
|
27
|
-
| 0.17.
|
|
28
|
-
| 0.
|
|
29
|
-
| 0.16.
|
|
30
|
-
| 0.16.
|
|
31
|
-
| 0.16.
|
|
32
|
-
| 0.16.
|
|
33
|
-
| 0.16.
|
|
34
|
-
| 0.
|
|
35
|
-
| 0.15.
|
|
36
|
-
| 0.
|
|
37
|
-
| 0.14.
|
|
38
|
-
| 0.14.
|
|
39
|
-
| 0.14.
|
|
40
|
-
| 0.14.
|
|
41
|
-
| 0.14.
|
|
42
|
-
| 0.14.
|
|
43
|
-
| 0.14.
|
|
44
|
-
| 0.14.
|
|
45
|
-
| 0.14.
|
|
46
|
-
| 0.14.
|
|
47
|
-
| 0.14.
|
|
48
|
-
| 0.14.
|
|
49
|
-
| 0.14.
|
|
50
|
-
| 0.14.
|
|
51
|
-
| 0.14.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
| 0.14.
|
|
83
|
-
| 0.14.
|
|
84
|
-
| 0.14.
|
|
85
|
-
| 0.14.
|
|
86
|
-
| 0.14.
|
|
87
|
-
| 0.14.
|
|
88
|
-
| 0.14.
|
|
89
|
-
| 0.14.
|
|
90
|
-
| 0.14.
|
|
91
|
-
| 0.14.
|
|
92
|
-
| 0.14.
|
|
93
|
-
| 0.14.
|
|
94
|
-
| 0.14.
|
|
95
|
-
| 0.14.
|
|
96
|
-
| 0.14.
|
|
97
|
-
| 0.14.
|
|
98
|
-
| 0.14.
|
|
99
|
-
| 0.14.
|
|
100
|
-
| 0.14.
|
|
101
|
-
| 0.14.
|
|
102
|
-
| 0.14.
|
|
103
|
-
| 0.
|
|
104
|
-
| 0.13.
|
|
105
|
-
| 0.13.
|
|
106
|
-
| 0.13.
|
|
107
|
-
| 0.13.
|
|
108
|
-
| 0.13.
|
|
109
|
-
| 0.13.
|
|
110
|
-
| 0.13.
|
|
111
|
-
| 0.13.
|
|
112
|
-
| 0.13.
|
|
113
|
-
| 0.13.
|
|
114
|
-
| 0.13.
|
|
115
|
-
| 0.
|
|
116
|
-
| 0.12.
|
|
117
|
-
| 0.12.
|
|
118
|
-
| 0.
|
|
119
|
-
| 0.11.
|
|
120
|
-
| 0.11.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
| 0.10.
|
|
129
|
-
| 0.10.
|
|
130
|
-
| 0.10.
|
|
131
|
-
| 0.10.
|
|
132
|
-
| 0.10.
|
|
133
|
-
| 0.10.
|
|
134
|
-
| 0.10.
|
|
135
|
-
| 0.10.
|
|
136
|
-
| 0.10.
|
|
137
|
-
| 0.
|
|
138
|
-
| 0.9.
|
|
139
|
-
| 0.9.
|
|
140
|
-
| 0.9.
|
|
141
|
-
| 0.9.
|
|
142
|
-
| 0.9.
|
|
143
|
-
| 0.
|
|
144
|
-
| 0.8.
|
|
145
|
-
| 0.8.
|
|
146
|
-
| 0.8.
|
|
147
|
-
| 0.
|
|
148
|
-
| 0.7.
|
|
149
|
-
| 0.7.
|
|
150
|
-
| 0.7.
|
|
151
|
-
| 0.7.
|
|
152
|
-
| 0.7.
|
|
153
|
-
| 0.7.
|
|
154
|
-
| 0.7.
|
|
155
|
-
| 0.7.
|
|
156
|
-
| 0.7.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
| 0.6.
|
|
167
|
-
| 0.6.
|
|
168
|
-
| 0.6.
|
|
169
|
-
| 0.6.
|
|
170
|
-
| 0.6.
|
|
171
|
-
| 0.6.
|
|
172
|
-
| 0.
|
|
173
|
-
| 0.5.
|
|
174
|
-
| 0.5.
|
|
175
|
-
| 0.5.
|
|
176
|
-
| 0.5.
|
|
177
|
-
| 0.5.
|
|
178
|
-
| 0.5.
|
|
179
|
-
| 0.5.
|
|
180
|
-
| 0.5.
|
|
181
|
-
| 0.5.
|
|
182
|
-
| 0.5.
|
|
183
|
-
| 0.5.
|
|
184
|
-
| 0.5.15 | 0.6.12 | 0.7.0 | 0.13.11 | 0.10.
|
|
185
|
-
| 0.5.15 | 0.6.12 | 0.7.0 | 0.13.11| 0.10.
|
|
186
|
-
| 0.5.
|
|
187
|
-
| 0.5.
|
|
188
|
-
| 0.5.
|
|
189
|
-
| 0.5.
|
|
190
|
-
| 0.5.
|
|
191
|
-
| 0.5.
|
|
192
|
-
| 0.5.
|
|
193
|
-
| 0.5.
|
|
194
|
-
| 0.5.
|
|
195
|
-
| 0.5.
|
|
196
|
-
| 0.5.
|
|
197
|
-
| 0.5.
|
|
198
|
-
| 0.
|
|
199
|
-
| 0.4.
|
|
200
|
-
| 0.4.
|
|
201
|
-
| 0.
|
|
202
|
-
| 0.
|
|
203
|
-
| 0.2.1 | 0.6.2 | 0.6.6 | 0.11.11| 0.7.
|
|
204
|
-
| 0.2.1 | 0.6.2 | 0.6.6 | 0.11.11| 0.7.
|
|
205
|
-
| 0.1
|
|
206
|
-
| 0.1.
|
|
207
|
-
| 0.1.
|
|
208
|
-
| 0.1.
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# EchoCli
|
|
4
|
+
|
|
5
|
+
Cli for creating and building Echo Modules.
|
|
6
|
+
|
|
7
|
+
## Echo module configuration
|
|
8
|
+
|
|
9
|
+
For information on how to configure your echo module, refer to [this wiki](https://github.com/equinor/EchoFramework/wiki/Echo-Module-Configuration).
|
|
10
|
+
|
|
11
|
+
## echo-cli versions table
|
|
12
|
+
|
|
13
|
+
Each `echo-cli` release works properly together with given versions of the essential echo packages. These versions are relevant when you run your Echo Module as a standalone app, with the command `npm start`.
|
|
14
|
+
|
|
15
|
+
An application shell (`echo-client`) will be fired up, which will contain your Echo Module. This application shell will depend on the main echo packages described below.
|
|
16
|
+
|
|
17
|
+
Find which versions to use of the echo packages for the given `echo-cli` version.
|
|
18
|
+
|
|
19
|
+
In general it's safe to differ in an echo package patch version. For example if the table states that you should use an echo package version of 0.4.0, using 0.4.3 should be also fine. Unless it's tied to another Cli version.
|
|
20
|
+
|
|
21
|
+
(older versions can be found at the bottom of this page)
|
|
22
|
+
|
|
23
|
+
<!-- prettier-ignore -->
|
|
24
|
+
| Cli | [Base](tree/master/libs/echo-base) | [Core](tree/master/libs/echo-core) | [Search](tree/master/libs/echo-search) | [Framework](tree/master/libs/echo-framework) | [Components](tree/master/libs/echo-components) | [Utils](tree/master/libs/echo-utils) | [EDS Core](https://github.com/equinor/design-system) | [EDS Icons](https://github.com/equinor/design-system/tree/develop/packages/eds-icons) | [EDS Utils](https://github.com/equinor/design-system/tree/develop/packages/eds-utils) | Notes
|
|
25
|
+
|--------|-------|-------|--------|-----------|--------|--------|----------|---------|-----|------|
|
|
26
|
+
| 0.17.2 | 0.7.4 | 0.9.18 | 0.15.11 | 0.21.3 | 0.12.0 | 0.4.10 | 0.43.0 | 0.22.0 | 0.8.6 |
|
|
27
|
+
| 0.17.1 | 0.7.4 | 0.9.18 | 0.15.11 | 0.21.3 | 0.12.0 | 0.4.10 | 0.43.0 | 0.22.0 | 0.8.6 |
|
|
28
|
+
| 0.17.0 | 0.7.4 | 0.9.17 | 0.15.11 | 0.21.3 | 0.12.0 | 0.4.10 | 0.43.0 | 0.22.0 | 0.8.6 | Major version upgrade of css-loader from v6.11.0 to 7.1.2
|
|
29
|
+
| 0.16.5 | 0.7.4 | 0.9.17 | 0.15.11 | 0.21.3 | 0.12.0 | 0.4.10 | 0.43.0 | 0.22.0 | 0.8.6 |
|
|
30
|
+
| 0.16.4 | 0.7.4 | 0.9.17 | 0.15.9 | 0.21.3 | 0.12.0 | 0.4.9 | 0.43.0 | 0.22.0 | 0.8.6 |
|
|
31
|
+
| 0.16.3 | 0.7.4 | 0.9.16 | 0.15.9 | 0.21.2 | 0.12.0 | 0.4.9 | 0.43.0 | 0.22.0 | 0.8.6 |
|
|
32
|
+
| 0.16.2 | 0.7.4 | 0.9.15 | 0.15.9 | 0.21.1 | 0.12.0 | 0.4.9 | 0.43.0 | 0.22.0 | 0.8.6 |
|
|
33
|
+
| 0.16.1 | 0.7.4 | 0.9.15 | 0.15.9 | 0.21.0 | 0.12.0 | 0.4.9 | 0.43.0 | 0.22.0 | 0.8.6 | Security updates
|
|
34
|
+
| 0.16.0 | 0.7.4 | 0.9.15 | 0.15.9 | 0.21.0 | 0.12.0 | 0.4.9 | 0.43.0 | 0.22.0 | 0.8.6 | Major version upgrade of EDS from v0.34.0 to v0.43.0
|
|
35
|
+
| 0.15.1 | 0.7.4 | 0.9.15 | 0.15.9 | 0.20.22 | 0.11.21 | 0.4.9 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
36
|
+
| 0.15.0 | 0.7.4 | 0.9.15 | 0.15.9 | 0.20.21 | 0.11.21 | 0.4.9 | 0.34.0 | 0.19.3 | 0.8.5 | Removed rollup support
|
|
37
|
+
| 0.14.39 | 0.7.4 | 0.9.15 | 0.15.9 | 0.20.19 | 0.11.21 | 0.4.8 | 0.34.0 | 0.19.3 | 0.8.5 | No changes, only Security updates
|
|
38
|
+
| 0.14.38 | 0.7.4 | 0.9.15 | 0.15.9 | 0.20.19 | 0.11.21 | 0.4.8 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
39
|
+
| 0.14.37 | 0.7.4 | 0.9.15 | 0.15.9 | 0.20.19 | 0.11.20 | 0.4.8 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
40
|
+
| 0.14.36 | 0.7.4 | 0.9.15 | 0.15.9 | 0.20.18 | 0.11.20 | 0.4.8 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
41
|
+
| 0.14.35 | 0.7.4 | 0.9.15 | 0.15.9 | 0.20.17 | 0.11.20 | 0.4.8 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
42
|
+
| 0.14.34 | 0.7.4 | 0.9.15 | 0.15.9 | 0.20.17 | 0.11.20 | 0.4.7 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
43
|
+
| 0.14.33 | 0.7.4 | 0.9.14 | 0.15.9 | 0.20.17 | 0.11.20 | 0.4.7 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
44
|
+
| 0.14.32 | 0.7.4 | 0.9.14 | 0.15.9 | 0.20.16 | 0.11.19 | 0.4.7 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
45
|
+
| 0.14.31 | 0.7.4 | 0.9.14 | 0.15.9 | 0.20.15 | 0.11.19 | 0.4.7 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
46
|
+
| 0.14.30 | 0.7.4 | 0.9.13 | 0.15.9 | 0.20.15 | 0.11.19 | 0.4.7 | 0.34.0 | 0.19.3 | 0.8.5 | Security updates + test2FileUri
|
|
47
|
+
| 0.14.29 | 0.7.4 | 0.9.13 | 0.15.9 | 0.20.15 | 0.11.19 | 0.4.7 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
48
|
+
| 0.14.28 | 0.7.4 | 0.9.13 | 0.15.9 | 0.20.15 | 0.11.18 | 0.4.7 | 0.34.0 | 0.19.3 | 0.8.5 | Security updates + updated eslint from v8 to v9
|
|
49
|
+
| 0.14.27 | 0.7.4 | 0.9.13 | 0.15.9 | 0.20.15 | 0.11.18 | 0.4.7 | 0.34.0 | 0.19.3 | 0.8.5 | Security updates + updated NX from v19 to v20
|
|
50
|
+
| 0.14.26 | 0.7.3 | 0.9.12 | 0.15.8 | 0.20.14 | 0.11.17 | 0.4.6 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
51
|
+
| 0.14.25 | 0.7.3 | 0.9.12 | 0.15.8 | 0.20.13 | 0.11.17 | 0.4.6 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
52
|
+
| 0.14.24 | 0.7.3 | 0.9.12 | 0.15.8 | 0.20.13 | 0.11.17 | 0.4.5 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
53
|
+
|
|
54
|
+
## Change log
|
|
55
|
+
|
|
56
|
+
For our change log, refer to [this file](https://github.com/equinor/EchopediaWeb/blob/dev/non-monorepo-libs/echo-cli/CHANGELOG.md)
|
|
57
|
+
|
|
58
|
+
## How to make a new release
|
|
59
|
+
|
|
60
|
+
Releasing echo-cli is a two step process.
|
|
61
|
+
|
|
62
|
+
1. First release any new echo-package(s), like echo-core/framework etc to npm, using the draft new release describe above. This should be it's own PR merge to master.
|
|
63
|
+
2. Then: create new PR where echo cli/client has been updated with new package versions, and lock files have been updated with npm i. Merge to master. Draft new release now works
|
|
64
|
+
|
|
65
|
+
Detailed instructions on [wiki](https://github.com/equinor/EchopediaWeb/wiki/Release-echo-&-npm%E2%80%90packages#echo-cli)
|
|
66
|
+
|
|
67
|
+
### History
|
|
68
|
+
|
|
69
|
+
Originally this repo was not part of EchoFramework monorepo, and was moved from it's own repo on the 30th of September, 2021:
|
|
70
|
+
|
|
71
|
+
<https://github.com/equinor/EchoCli>
|
|
72
|
+
|
|
73
|
+
If you want to check for changes before the mentioned date, check the link above.
|
|
74
|
+
|
|
75
|
+
## EchoCli legacy versions table
|
|
76
|
+
|
|
77
|
+
Older version of Echo Cli, keeping it for historical reasons and for reference.
|
|
78
|
+
|
|
79
|
+
<!-- prettier-ignore -->
|
|
80
|
+
| Cli | [Base](tree/master/libs/echo-base) | [Core](tree/master/libs/echo-core) | [Search](tree/master/libs/echo-search) | [Framework](tree/master/libs/echo-framework) | [Components](tree/master/libs/echo-components) | [EDS Core](https://github.com/equinor/design-system) | [EDS Icons](https://github.com/equinor/design-system/tree/develop/packages/eds-icons) | [EDS Utils](https://github.com/equinor/design-system/tree/develop/packages/eds-utils) | Notes
|
|
81
|
+
|--------|-------|-------|--------|-----------|--------|----------|---------|-----|------|
|
|
82
|
+
| 0.14.23 | 0.7.3 | 0.9.12 | 0.15.8 | 0.20.12 | 0.11.16 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
83
|
+
| 0.14.22 | 0.7.3 | 0.9.12 | 0.15.8 | 0.20.11 | 0.11.16 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
84
|
+
| 0.14.20 | 0.7.3 | 0.9.12 | 0.15.8 | 0.20.10 | 0.11.16 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
85
|
+
| 0.14.19 | 0.7.3 | 0.9.12 | 0.15.8 | 0.20.9 | 0.11.16 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
86
|
+
| 0.14.18 | 0.7.3 | 0.9.12 | 0.15.8 | 0.20.8 | 0.11.16 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
87
|
+
| 0.14.17 | 0.7.2 | 0.9.11 | 0.15.7 | 0.20.7 | 0.11.15 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
88
|
+
| 0.14.16 | 0.7.1 | 0.9.10 | 0.15.6 | 0.20.6 | 0.11.14 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
89
|
+
| 0.14.15 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.5 | 0.11.13 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
90
|
+
| 0.14.14 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.4 | 0.11.13 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
91
|
+
| 0.14.13 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.4 | 0.11.10 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
92
|
+
| 0.14.12 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.4 | 0.11.10 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
93
|
+
| 0.14.11 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.3 | 0.11.10 | 0.34.0 | 0.19.3 | 0.8.5 | Security updates
|
|
94
|
+
| 0.14.10 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.3 | 0.11.10 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
95
|
+
| 0.14.8 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.3 | 0.11.9 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
96
|
+
| 0.14.7 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.3 | 0.11.8 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
97
|
+
| 0.14.6 | 0.7.0 | 0.9.9 | 0.15.5 | 0.20.1 | 0.11.8 | 0.34.0 | 0.19.3 | 0.8.5 |
|
|
98
|
+
| 0.14.5 | 0.7.0 | 0.9.9 | 0.15.5 | 0.19.2 | 0.11.8 | 0.34.0 | 0.19.3 | 0.8.5 | Security updates
|
|
99
|
+
| 0.14.4 | 0.7.0 | 0.9.9 | 0.15.5 | 0.19.2 | 0.11.8 | 0.34.0 | 0.19.3 | 0.8.3 | Removed some leftover `defaultProps` from `echo-components` and `echo-framework`
|
|
100
|
+
| 0.14.3 | 0.7.0 | 0.9.9 | 0.15.5 | 0.19.1 | 0.11.7 | 0.34.0 | 0.19.3 | 0.8.3 | Security updates for echo packages
|
|
101
|
+
| 0.14.2 | 0.7.0 | 0.9.8 | 0.15.4 | 0.19.1 | 0.11.6 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
102
|
+
| 0.14.1 | 0.7.0 | 0.9.8 | 0.15.3 | 0.19.1 | 0.11.6 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
103
|
+
| 0.14.0 | 0.7.0 | 0.9.8 | 0.15.3 | 0.19.0 | 0.11.6 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
104
|
+
| 0.13.14 | 0.7.0 | 0.9.8 | 0.15.3 | 0.18.11 | 0.11.6 | 0.34.0 | 0.19.3 | 0.8.3 | Fixed an issue where the echo-framework v0.18.10 crashed echo-cli / client
|
|
105
|
+
| 0.13.13 | 0.7.0 | 0.9.8 | 0.15.3 | 0.18.10 | 0.11.6 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
106
|
+
| 0.13.12 | 0.7.0 | 0.9.8 | 0.15.3 | 0.18.9 | 0.11.5 | 0.34.0 | 0.19.3 | 0.8.3 | Fixed an issue where `echo-cli` removed echo manifest files when building echo apps
|
|
107
|
+
| 0.13.11 | 0.7.0 | 0.9.8 | 0.15.3 | 0.18.9 | 0.11.5 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
108
|
+
| 0.13.10 | 0.7.0 | 0.9.8 | 0.15.3 | 0.18.8 | 0.11.5 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
109
|
+
| 0.13.8 | 0.7.0 | 0.9.8 | 0.15.3 | 0.18.7 | 0.11.1 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
110
|
+
| 0.13.6 | 0.7.0 | 0.9.8 | 0.15.3 | 0.18.4 | 0.11.1 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
111
|
+
| 0.13.5 | 0.7.0 | 0.9.7 | 0.15.3 | 0.18.2 | 0.11.1 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
112
|
+
| 0.13.4 | 0.7.0 | 0.9.5 | 0.15.3 | 0.18.1 | 0.11.1 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
113
|
+
| 0.13.3 | 0.7.0 | 0.9.5 | 0.15.2 | 0.18.1 | 0.11.1 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
114
|
+
| 0.13.2 | 0.7.0 | 0.9.5 | 0.15.1 | 0.18.1 | 0.11.1 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
115
|
+
| 0.13.0 | 0.7.0 | 0.9.4 | 0.15.0 | 0.18.0 | 0.11.0 | 0.34.0 | 0.19.3 | 0.8.3 | Now depends on echo-utils 0.4.0
|
|
116
|
+
| 0.12.2 | 0.7.0 | 0.9.4 | 0.15.0 | 0.17.3 | 0.10.2 | 0.34.0 | 0.19.3 | 0.8.3 | Fixed a bug where echo-maps failed to build / start
|
|
117
|
+
| 0.12.1 | 0.7.0 | 0.9.4 | 0.15.0 | 0.17.3 | 0.10.2 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
118
|
+
| 0.12.0 | 0.7.0 | 0.9.4 | 0.15.0 | 0.17.2 | 0.10.1 | 0.34.0 | 0.19.3 | 0.8.3 | EchoCli is an ESM module now
|
|
119
|
+
| 0.11.2 | 0.7.0 | 0.9.4 | 0.15.0 | 0.17.2 | 0.10.1 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
120
|
+
| 0.11.1 | 0.7.0 | 0.9.4 | 0.15.0 | 0.17.2 | 0.10.0 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
121
|
+
| 0.11.0 | 0.7.0 | 0.9.4 | 0.15.0 | 0.17.0 | 0.10.0 | 0.34.0 | 0.19.3 | 0.8.3 |
|
|
122
|
+
|
|
123
|
+
### Pre EDS v0.34.0
|
|
124
|
+
|
|
125
|
+
<!-- prettier-ignore -->
|
|
126
|
+
| Cli | [Base](https://github.com/equinor/EchoCore/tree/main/packages/echo-base) | [Core](https://github.com/equinor/EchoCore/tree/main/packages/echo-core) | [Search](https://github.com/equinor/EchoSearch) | [Framework](https://github.com/equinor/EchoFramework/tree/main/packages/EchoFramework) | [Components](https://github.com/equinor/EchoComponents) | [EDS Core](https://github.com/equinor/design-system) | [EDS Icons](https://github.com/equinor/design-system/tree/develop/packages/eds-icons)
|
|
127
|
+
|--------|-------|-------|--------|-----------|--------|----------|---------|
|
|
128
|
+
| 0.10.10 | 0.7.0 | 0.9.4 | 0.15.0 | 0.16.7 | 0.9.9 | 0.25.0 | 0.17.0 |
|
|
129
|
+
| 0.10.9 | 0.7.0 | 0.9.4 | 0.15.0 | 0.16.7 | 0.9.8 | 0.25.0 | 0.17.0 |
|
|
130
|
+
| 0.10.8 | 0.7.0 | 0.9.4 | 0.15.0 | 0.16.7 | 0.9.6 | 0.25.0 | 0.17.0 |
|
|
131
|
+
| 0.10.7 | 0.7.0 | 0.9.3 | 0.15.0 | 0.16.6 | 0.9.6 | 0.25.0 | 0.17.0 |
|
|
132
|
+
| 0.10.6 | 0.7.0 | 0.9.3 | 0.15.0 | 0.16.5 | 0.9.5 | 0.25.0 | 0.17.0 |
|
|
133
|
+
| 0.10.5 | 0.7.0 | 0.9.2 | 0.15.0 | 0.16.4 | 0.9.4 | 0.25.0 | 0.17.0 |
|
|
134
|
+
| 0.10.3 | 0.7.0 | 0.9.2 | 0.15.0 | 0.16.3 | 0.9.3 | 0.25.0 | 0.17.0 |
|
|
135
|
+
| 0.10.2 | 0.7.0 | 0.9.2 | 0.15.0 | 0.16.2 | 0.9.2 | 0.25.0 | 0.17.0 |
|
|
136
|
+
| 0.10.1 | 0.7.0 | 0.9.1 | 0.15.0 | 0.16.2 | 0.9.2 | 0.25.0 | 0.17.0 |
|
|
137
|
+
| 0.10.0 | 0.7.0 | 0.9.1 | 0.15.0 | 0.16.1 | 0.9.0 | 0.25.0 | 0.17.0 |
|
|
138
|
+
| 0.9.5 | 0.7.0 | 0.9.0 | 0.15.0 | 0.15.4 | 0.8.6 | 0.25.0 | 0.17.0 |
|
|
139
|
+
| 0.9.4 | 0.7.0 | 0.9.0 | 0.15.0 | 0.15.4 | 0.8.5 | 0.25.0 | 0.17.0 |
|
|
140
|
+
| 0.9.3 | 0.6.22 | 0.8.3 | 0.14.0 | 0.15.3 | 0.8.3 | 0.25.0 | 0.17.0 |
|
|
141
|
+
| 0.9.2 | 0.6.22 | 0.8.3 | 0.14.0 | 0.15.2 | 0.8.3 | 0.25.0 | 0.17.0 |
|
|
142
|
+
| 0.9.1 | 0.6.22 | 0.8.3 | 0.14.0 | 0.15.1 | 0.8.3 | 0.25.0 | 0.17.0 |
|
|
143
|
+
| 0.9.0 | 0.6.22 | 0.8.3 | 0.14.0 | 0.15.0 | 0.8.0 | 0.25.0 | 0.17.0 |
|
|
144
|
+
| 0.8.5 | 0.6.22 | 0.8.3 | 0.14.0 | 0.14.3 | 0.7.21 | 0.25.0 | 0.17.0 |
|
|
145
|
+
| 0.8.4 | 0.6.22 | 0.8.3 | 0.14.0 | 0.14.1 | 0.7.13 | 0.25.0 | 0.17.0 |
|
|
146
|
+
| 0.8.3 | 0.6.22 | 0.8.3 | 0.14.0 | 0.14.1 | 0.7.13 | 0.25.0 | 0.17.0 |
|
|
147
|
+
| 0.8.1 | 0.6.22 | 0.8.3 | 0.14.0 | 0.14.1 | 0.7.13 | 0.25.0 | 0.17.0 |
|
|
148
|
+
| 0.7.14 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.10 | 0.7.11 | 0.25.0 | 0.17.0 |
|
|
149
|
+
| 0.7.13 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.10 | 0.7.7 | 0.25.0 | 0.17.0 |
|
|
150
|
+
| 0.7.10 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.5 | 0.7.2 | 0.25.0 | 0.17.0 |
|
|
151
|
+
| 0.7.8 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.4 | 0.7.0 | 0.25.0 | 0.17.0 |
|
|
152
|
+
| 0.7.6 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.3 | 0.6.4 | 0.25.0 | 0.17.0 |
|
|
153
|
+
| 0.7.5 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.3 | 0.6.3 | 0.25.0 | 0.17.0 |
|
|
154
|
+
| 0.7.4 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.3 | 0.6.2 | 0.25.0 | 0.17.0 |
|
|
155
|
+
| 0.7.3 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.3 | 0.6.0 | 0.25.0 | 0.17.0 |
|
|
156
|
+
| 0.7.2 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.2 | 0.6.0 | 0.25.0 | 0.17.0 |
|
|
157
|
+
| 0.7.0, 0.7.1 | 0.6.22 | 0.8.0 | 0.14.0 | 0.12.0 | 0.6.0 | 0.25.0 | 0.17.0 |
|
|
158
|
+
|
|
159
|
+
### React 17
|
|
160
|
+
|
|
161
|
+
These versions are using React 17.
|
|
162
|
+
|
|
163
|
+
<!-- prettier-ignore -->
|
|
164
|
+
| Cli | [Base](https://github.com/equinor/EchoCore/tree/main/packages/echo-base) | [Core](https://github.com/equinor/EchoCore/tree/main/packages/echo-core) | [Search](https://github.com/equinor/EchoSearch) | [Framework](https://github.com/equinor/EchoFramework/tree/main/packages/EchoFramework) | [Components](https://github.com/equinor/EchoComponents) | [EDS Core](https://github.com/equinor/design-system) | [EDS Icons](https://github.com/equinor/design-system/tree/develop/packages/eds-icons) |
|
|
165
|
+
|--------|-------|-------|--------|-----------|--------|----------|---------|
|
|
166
|
+
| 0.6.7 | 0.6.22 | 0.7.5 | 0.13.13 | 0.11.8 | 0.5.31 | 0.25.0 | 0.17.0 |
|
|
167
|
+
| 0.6.6 | 0.6.22 | 0.7.5 | 0.13.13 | 0.11.7 | 0.5.31 | 0.25.0 | 0.17.0 |
|
|
168
|
+
| 0.6.5 | 0.6.22 | 0.7.5 | 0.13.13 | 0.11.6 | 0.5.31 | 0.25.0 | 0.17.0 |
|
|
169
|
+
| 0.6.4 | 0.6.22 | 0.7.5 | 0.13.13 | 0.11.5 | 0.5.26 | 0.25.0 | 0.17.0 |
|
|
170
|
+
| 0.6.3 | 0.6.22 | 0.7.5 | 0.13.13 | 0.11.3 | 0.5.26 | 0.25.0 | 0.17.0 |
|
|
171
|
+
| 0.6.2 | 0.6.22 | 0.7.5 | 0.13.13 | 0.11.2 | 0.5.24 | 0.25.0 | 0.17.0 |
|
|
172
|
+
| 0.6.1 | 0.6.22 | 0.7.5 | 0.13.13 | 0.11.1 | 0.5.24 | 0.25.0 | 0.17.0 |
|
|
173
|
+
| 0.5.32 | 0.6.22 | 0.7.5 | 0.13.11 | 0.10.26 | 0.5.19 | 0.25.0 | 0.17.0 |
|
|
174
|
+
| 0.5.31 | 0.6.22 | 0.7.3 | 0.13.11 | 0.10.25 | 0.5.19 | 0.25.0 | 0.17.0 |
|
|
175
|
+
| 0.5.30 | 0.6.22 | 0.7.3 | 0.13.11 | 0.10.24 | 0.5.19 | 0.25.0 | 0.17.0 |
|
|
176
|
+
| 0.5.29 | 0.6.22 | 0.7.3 | 0.13.11 | 0.10.23 | 0.5.19 | 0.25.0 | 0.17.0 |
|
|
177
|
+
| 0.5.28 | 0.6.22 | 0.7.3 | 0.13.11 | 0.10.22 | 0.5.19 | 0.25.0 | 0.17.0 |
|
|
178
|
+
| 0.5.27 | 0.6.22 | 0.7.3 | 0.13.11 | 0.10.20 | 0.5.17 | 0.25.0 | 0.17.0 |
|
|
179
|
+
| 0.5.26 | 0.6.22 | 0.7.3 | 0.13.11 | 0.10.19 | 0.5.14 | 0.25.0 | 0.17.0 |
|
|
180
|
+
| 0.5.25 | 0.6.21 | 0.7.2 | 0.13.11 | 0.10.18 | 0.5.14 | 0.25.0 | 0.17.0 |
|
|
181
|
+
| 0.5.24 | 0.6.21 | 0.7.2 | 0.13.11 | 0.10.16 | 0.5.13 | 0.25.0 | 0.17.0 |
|
|
182
|
+
| 0.5.23 | 0.6.21 | 0.7.0 | 0.13.11 | 0.10.14 | 0.5.12 | 0.25.0 | 0.17.0 |
|
|
183
|
+
| 0.5.20 | 0.6.21 | 0.7.0 | 0.13.11 | 0.10.12 | 0.5.12 | 0.25.0 | 0.17.0 |
|
|
184
|
+
| 0.5.15 | 0.6.12 | 0.7.0 | 0.13.11 | 0.10.12 | 0.5.5 | 0.25.0 | 0.15.0 |
|
|
185
|
+
| 0.5.15 | 0.6.12 | 0.7.0 | 0.13.11 | 0.10.11 | 0.5.5 | 0.25.0 | 0.15.0 |
|
|
186
|
+
| 0.5.15 | 0.6.12 | 0.7.0 | 0.13.11| 0.10.7 | 0.5.3 | 0.25.0 | 0.15.0 |
|
|
187
|
+
| 0.5.14 | 0.6.12 | 0.6.20 | 0.13.3| 0.10.6 | 0.5.3 | 0.25.0 | 0.15.0 |
|
|
188
|
+
| 0.5.13 | 0.6.12 | 0.6.20 | 0.13.3| 0.10.6 | 0.5.3 | 0.25.0 | 0.10.0 |
|
|
189
|
+
| 0.5.12 | 0.6.12 | 0.6.20 | 0.13.3| 0.10.3 | 0.5.2 | 0.21.0 | 0.10.0 |
|
|
190
|
+
| 0.5.11 | 0.6.12 | 0.6.20 | 0.13.3| 0.9.21 | 0.5.2 | 0.21.0 | 0.10.0 |
|
|
191
|
+
| 0.5.10 | 0.6.12 | 0.6.20 | 0.13.3| 0.9.15 | 0.4.0 | 0.19.0 | 0.10.0 |
|
|
192
|
+
| 0.5.9 | 0.6.12 | 0.6.19 | 0.13.2| 0.9.12 | 0.4.0 | 0.19.0 | 0.10.0 |
|
|
193
|
+
| 0.5.8 | 0.6.12 | 0.6.19 | 0.13.1| 0.9.12 | 0.4.0 | 0.19.0 | 0.10.0 |
|
|
194
|
+
| 0.5.7 | 0.6.8 | 0.6.16 | 0.12.4| 0.9.6 | 0.4.0 | 0.19.0 | 0.10.0 |
|
|
195
|
+
| 0.5.3 | 0.6.8 | 0.6.11 | 0.12.4| 0.9.1 | 0.4.0 | 0.19.0 | 0.10.0 |
|
|
196
|
+
| 0.5.2 | 0.6.8 | 0.6.11 | 0.12.4| 0.9.0 | 0.4.0 | 0.19.0 | 0.10.0 |
|
|
197
|
+
| 0.5.1 | 0.6.8 | 0.6.11 | 0.12.1| 0.8.1 | 0.4.0 | 0.19.0 | 0.10.0 |
|
|
198
|
+
| 0.5.0 | 0.6.8 | 0.6.11 | 0.12.1| 0.8.0 | 0.4.0 | 0.19.0 | 0.10.0 |
|
|
199
|
+
| 0.4.5 | 0.6.4 | 0.6.9 | 0.11.15| 0.7.9 | 0.3.2 | 0.17.0 | 0.10.0 |
|
|
200
|
+
| 0.4.4 | 0.6.4 | 0.6.9 | 0.11.15| 0.7.8 | 0.3.2 | 0.17.0 | 0.10.0 |
|
|
201
|
+
| 0.4.2 | 0.6.4 | 0.6.9 | 0.11.15| 0.7.6 | 0.3.0 | 0.17.0 | 0.10.0 |
|
|
202
|
+
| 0.3.1 | 0.6.2 | 0.6.6 | 0.11.15| 0.7.4 | 0.3.0 | 0.17.0 | 0.10.0 |
|
|
203
|
+
| 0.2.1 | 0.6.2 | 0.6.6 | 0.11.11| 0.7.2 | 0.3.0 | 0.17.0 | 0.10.0 |
|
|
204
|
+
| 0.2.1 | 0.6.2 | 0.6.6 | 0.11.11| 0.7.1 | 0.3.0 | 0.17.0 | 0.10.0 |
|
|
205
|
+
| 0.2.1 | 0.6.2 | 0.6.6 | 0.11.11| 0.7.0 | 0.3.0 | 0.17.0 | 0.10.0 |
|
|
206
|
+
| 0.1.77 | 0.6.2 | 0.6.5 | 0.11.11| 0.6.3 | 0.2.5 | 0.14.3 | 0.8.0 |
|
|
207
|
+
| 0.1.76 | 0.6.1 | 0.6.1 | 0.11.10| 0.6.0 | 0.2.3 | 0.14.3 | 0.8.0 |
|
|
208
|
+
| 0.1.75 | 0.5.1 | 0.5.3 | 0.11.9 | 0.5.5 | 0.2.3 | 0.14.3 | 0.8.0 |
|
|
209
|
+
| 0.1.71 | 0.4.0 | 0.4.0 | 0.11.6 | 0.5.1 | 0.2.3 | 0.14.3 | 0.8.0 |
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
window._env_={HTTPS:"true",GENERATE_SOURCEMAP:"true",INLINE_RUNTIME_CHUNK:"false",WEBSITE_HOSTNAME:"localhost:3000;",REACT_APP_DEFAULT_CACHE_LOCATION:"localstorage",REACT_APP_API_URL:"https://dt-echopedia-api-dev.azurewebsites.net",REACT_APP_WEB_URL:"https://dt-echopedia-web-dev.azurewebsites.net",REACT_APP_WEB_PROD_URL:"https://echo.equinor.com",REACT_APP_AZURE_AD_TENNANT:"StatoilSRM.onmicrosoft.com",REACT_APP_AZURE_AD_TENNANT_ID:"3aa4a235-b6e2-48d5-9195-7fcf05b459b0",REACT_APP_AZURE_AD_CLIENT_ID:"751d2504-0b66-4b78-9807-4b60525a14c6",REACT_APP_API_CLIENT_ID:"aef35d97-53d4-4fd0-adaf-c5a514b38436",REACT_APP_APPINSIGHTS_CONNECTION_STRING:"InstrumentationKey=e5299075-a00d-4012-96f9-42861e8d8a9e;IngestionEndpoint=https://northeurope-3.in.applicationinsights.azure.com/;LiveEndpoint=https://northeurope.livediagnostics.monitor.azure.com/;ApplicationId=a9b64222-d4a9-42e6-a615-7428fe1a26af",REACT_APP_AZURE_BUILD_NUMBER:"0.8.dev.9",REACT_APP_LOGGER_ACTIVE:"false"};
|
package/client/index.css
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
body {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
margin: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.highlightedText {
|
|
7
|
+
background: yellow;
|
|
8
|
+
color: black;
|
|
9
|
+
padding: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
#rootloading {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
color: #ff1243;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
text-align: center;
|
|
19
|
+
position: absolute;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.loaderContainer {
|
|
25
|
+
margin: 8px auto;
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
padding-top: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.productLogo {
|
|
32
|
+
flex: 1;
|
|
33
|
+
margin-bottom: 4rem;
|
|
34
|
+
text-align: left;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.productLogoImg {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
vertical-align: baseline;
|
|
40
|
+
width: 122px;
|
|
41
|
+
animation: fadeIn 0.5s;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.equinorLogo {
|
|
45
|
+
margin: 0 auto;
|
|
46
|
+
display: inline-block;
|
|
47
|
+
vertical-align: baseline;
|
|
48
|
+
width: 64px;
|
|
49
|
+
height: 64px;
|
|
50
|
+
animation: fadeIn 0.5s;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@keyframes fadeIn {
|
|
54
|
+
0% {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
}
|
|
57
|
+
100% {
|
|
58
|
+
opacity: 1;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<script type="application/javascript" src="./env-config.js"></script>
|
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
7
|
+
<meta
|
|
8
|
+
name="viewport"
|
|
9
|
+
content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover"
|
|
10
|
+
/>
|
|
11
|
+
<link href="./index.css" rel="stylesheet" />
|
|
12
|
+
<link rel="stylesheet" href="https://cdn.eds.equinor.com/font/equinor-font.css" />
|
|
13
|
+
<link rel="preconnect" href="https://login.microsoftonline.com" />
|
|
14
|
+
<link rel="preconnect" href="https://dc.services.visualstudio.com" />
|
|
15
|
+
<link rel="preconnect" href="https://cdn.eds.equinor.com" />
|
|
16
|
+
<title>Echo | Development</title>
|
|
17
|
+
<script defer src="/vendors-node_modules_react-dom_client_js-node_modules_babel_polyfill_lib_index_js-node_module-cb4c76.echo.bundle.js"></script><script defer src="/main.echo.bundle.js"></script></head>
|
|
18
|
+
<body>
|
|
19
|
+
<div id="root"></div>
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! For license information please see main.echo.bundle.js.LICENSE.txt */
|
|
2
|
+
(()=>{var e,n,t,o={"./node_modules/css-loader/dist/cjs.js!./src/app.css":(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var o=t("./node_modules/css-loader/dist/runtime/sourceMaps.js"),r=t.n(o),s=t("./node_modules/css-loader/dist/runtime/api.js"),i=t.n(s)()(r());i.push([e.id,"/* Applied in echo application by bootstrap so it should exist here to */\n*,\n:after,\n:before {\n box-sizing: border-box;\n}\n\n#root {\n height: 100%;\n overflow: hidden;\n width: 100%;\n}\n","",{version:3,sources:["webpack://./src/app.css"],names:[],mappings:"AAAA,wEAAwE;AACxE;;;IAGI,sBAAsB;AAC1B;;AAEA;IACI,YAAY;IACZ,gBAAgB;IAChB,WAAW;AACf",sourcesContent:["/* Applied in echo application by bootstrap so it should exist here to */\n*,\n:after,\n:before {\n box-sizing: border-box;\n}\n\n#root {\n height: 100%;\n overflow: hidden;\n width: 100%;\n}\n"],sourceRoot:""}]);const u=i},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./src/components/Home/home.module.css":(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var o=t("./node_modules/css-loader/dist/runtime/sourceMaps.js"),r=t.n(o),s=t("./node_modules/css-loader/dist/runtime/api.js"),i=t.n(s)()(r());i.push([e.id,".echo-Home__home-pPNVd {\n display: grid;\n grid-template-rows: 30% 100px auto 56px;\n gap: 1rem;\n height: 100%;\n width: 100%;\n}\n\n.echo-Home__plantSelector-AlrNf {\n display: flex;\n justify-content: center;\n align-items: baseline;\n align-self: center;\n flex-flow: wrap;\n}\n\n.echo-Home__heading-vnGkQ {\n padding-left: 18px;\n}\n\n.echo-Home__brandSliderContainer-qt0N4 {\n display: flex;\n flex: 1 1;\n flex-flow: column-reverse;\n margin: 0;\n width: 100%;\n overflow: hidden;\n object-fit: cover;\n}\n\n.echo-Home__appBar-XBn9u {\n margin: 0 auto 48px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: flex-start;\n}\n\n","",{version:3,sources:["webpack://./src/components/Home/home.module.css"],names:[],mappings:"AAAA;IACI,aAAa;IACb,uCAAuC;IACvC,SAAS;IACT,YAAY;IACZ,WAAW;AACf;;AAEA;IACI,aAAa;IACb,uBAAuB;IACvB,qBAAqB;IACrB,kBAAkB;IAClB,eAAe;AACnB;;AAEA;IACI,kBAAkB;AACtB;;AAEA;IACI,aAAa;IACb,SAAS;IACT,yBAAyB;IACzB,SAAS;IACT,WAAW;IACX,gBAAgB;IAChB,iBAAiB;AACrB;;AAEA;IACI,mBAAmB;IACnB,aAAa;IACb,eAAe;IACf,uBAAuB;IACvB,uBAAuB;AAC3B",sourcesContent:[".home {\n display: grid;\n grid-template-rows: 30% 100px auto 56px;\n gap: 1rem;\n height: 100%;\n width: 100%;\n}\n\n.plantSelector {\n display: flex;\n justify-content: center;\n align-items: baseline;\n align-self: center;\n flex-flow: wrap;\n}\n\n.heading {\n padding-left: 18px;\n}\n\n.brandSliderContainer {\n display: flex;\n flex: 1 1;\n flex-flow: column-reverse;\n margin: 0;\n width: 100%;\n overflow: hidden;\n object-fit: cover;\n}\n\n.appBar {\n margin: 0 auto 48px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: flex-start;\n}\n\n"],sourceRoot:""}]),i.locals={home:"echo-Home__home-pPNVd",plantSelector:"echo-Home__plantSelector-AlrNf",heading:"echo-Home__heading-vnGkQ",brandSliderContainer:"echo-Home__brandSliderContainer-qt0N4",appBar:"echo-Home__appBar-XBn9u"};const u=i},"./src/images/frontpage-brand-placeholder.jpg":(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>o});const o=t.p+"d2d97a9feca22f12a8c8c7413d7867ac.jpg"},"./src/app.css":(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>_});var o=t("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),r=t.n(o),s=t("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),i=t.n(s),u=t("./node_modules/style-loader/dist/runtime/insertBySelector.js"),c=t.n(u),l=t("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),a=t.n(l),d=t("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),f=t.n(d),h=t("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),p=t.n(h),m=t("./node_modules/css-loader/dist/cjs.js!./src/app.css"),A={};A.styleTagTransform=p(),A.setAttributes=a(),A.insert=c().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(m.default,A);const _=m.default&&m.default.locals?m.default.locals:void 0},"./src/components/Home/home.module.css":(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>_});var o=t("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),r=t.n(o),s=t("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),i=t.n(s),u=t("./node_modules/style-loader/dist/runtime/insertBySelector.js"),c=t.n(u),l=t("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),a=t.n(l),d=t("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),f=t.n(d),h=t("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),p=t.n(h),m=t("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./src/components/Home/home.module.css"),A={};A.styleTagTransform=p(),A.setAttributes=a(),A.insert=c().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(m.default,A);const _=m.default&&m.default.locals?m.default.locals:void 0},"./src/api/api-plants.ts":function(e,n,t){"use strict";var o=this&&this.__awaiter||function(e,n,t,o){return new(t||(t=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(e){s(e)}}function u(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,u)}c((o=o.apply(e,n||[])).next())}))},r=this&&this.__generator||function(e,n){var t,o,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=u(0),i.throw=u(1),i.return=u(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(s=0)),s;)try{if(t=1,o&&(r=2&u[0]?o.return:u[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;switch(o=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,o=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){s=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){s.label=u[1];break}if(6===u[0]&&s.label<r[1]){s.label=r[1],r=u;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(u);break}r[2]&&s.ops.pop(),s.trys.pop();continue}u=n.call(e,s)}catch(e){u=[6,e],o=0}finally{t=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}};Object.defineProperty(n,"__esModule",{value:!0}),n.getCorePlants=function(){return o(this,void 0,void 0,(function(){var e,n,t;return r(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,i()];case 1:return(e=null!==(t=o.sent())&&void 0!==t?t:[])&&e.length>0&&(0,s.setPlantsData)({plants:e}),[3,3];case 2:return n=o.sent(),console.error(n),[3,3];case 3:return[2]}}))}))};var s=t("./node_modules/@equinor/echo-core/index.cjs.js");function i(){return o(this,void 0,void 0,(function(){var e;return r(this,(function(n){return e="".concat(s.EchoEnv.env().REACT_APP_API_URL,"/plants"),[2,(0,s.request)({url:e,cache:{timeInSeconds:14400}})]}))}))}},"./src/app.tsx":function(e,n,t){"use strict";var o=this&&this.__awaiter||function(e,n,t,o){return new(t||(t=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(e){s(e)}}function u(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,u)}c((o=o.apply(e,n||[])).next())}))},r=this&&this.__generator||function(e,n){var t,o,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=u(0),i.throw=u(1),i.return=u(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(s=0)),s;)try{if(t=1,o&&(r=2&u[0]?o.return:u[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;switch(o=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,o=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){s=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){s.label=u[1];break}if(6===u[0]&&s.label<r[1]){s.label=r[1],r=u;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(u);break}r[2]&&s.ops.pop(),s.trys.pop();continue}u=n.call(e,s)}catch(e){u=[6,e],o=0}finally{t=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}};Object.defineProperty(n,"__esModule",{value:!0}),n.EchoApp=void 0;var s=t("../../node_modules/react/jsx-runtime.js"),i=t("./node_modules/@equinor/echo-core/index.cjs.js"),u=t("./node_modules/@equinor/echo-framework/index.cjs.js"),c=t("./node_modules/@equinor/echo-search/index.cjs.js"),l=t("./node_modules/@equinor/echo-utils/index.esm.js"),a=t("../../node_modules/react-router-dom/esm/react-router-dom.js"),d=t("./src/api/api-plants.ts");t("./src/app.css");var f=t("./src/components/Home/Home.tsx"),h=t("./src/components/legend.tsx");n.EchoApp=function(){return(0,i.useInitial)((function(){return o(void 0,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,c.Syncer.configuration.setApiBaseUrl(i.EchoEnv.env().REACT_APP_API_URL)];case 1:return e.sent(),(0,l.fireAndForget)(d.getCorePlants),[2]}}))}))})),(0,s.jsx)(u.EchoEventHandler,{children:(0,s.jsxs)(u.EchoContent,{Legend:h.Legend,children:[(0,s.jsxs)(a.Switch,{children:[(0,s.jsx)(u.EchoRoutes,{homeComponent:f.Home}),(0,s.jsx)(a.Route,{render:function(){return(0,s.jsx)(a.Redirect,{to:"/"})}})]}),(0,s.jsx)(u.Toasters,{})]})})}},"./src/components/Home/Home.tsx":function(e,n,t){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.Home=void 0;var r=t("../../node_modules/react/jsx-runtime.js"),s=t("./node_modules/@equinor/echo-framework/index.cjs.js"),i=o(t("./src/images/frontpage-brand-placeholder.jpg")),u=o(t("./src/components/Home/home.module.css"));n.Home=function(){return(0,r.jsxs)("main",{className:u.default.home,children:[(0,r.jsxs)("div",{className:u.default.plantSelector,children:[(0,r.jsx)("div",{children:(0,r.jsx)(s.EchoLogo,{})}),(0,r.jsx)(s.PlantSelector,{variant:"compact"})]}),(0,r.jsx)(s.AppLinks,{}),(0,r.jsx)("div",{className:u.default.brandSliderContainer,children:(0,r.jsx)("img",{src:i.default,alt:"Application Echo on tablet"})}),(0,r.jsx)(s.Footer,{})]})}},"./src/components/legend.tsx":(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Legend=void 0,n.Legend=function(){return null}},"./src/index.tsx":function(e,n,t){"use strict";var o,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},r.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(e,n,t,o){void 0===o&&(o=t);var r=Object.getOwnPropertyDescriptor(n,t);r&&!("get"in r?!n.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,o,r)}:function(e,n,t,o){void 0===o&&(o=t),e[o]=n[t]}),i=this&&this.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),u=this&&this.__importStar||(o=function(e){return o=Object.getOwnPropertyNames||function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[n.length]=t);return n},o(e)},function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t=o(e),r=0;r<t.length;r++)"default"!==t[r]&&s(n,e,t[r]);return i(n,e),n});Object.defineProperty(n,"__esModule",{value:!0});var c=t("../../node_modules/react/jsx-runtime.js");t("./node_modules/@equinor/echo-components/style-reset.css");var l=u(t("./node_modules/@equinor/echo-core/index.cjs.js")),a=t("./node_modules/@equinor/echo-framework/index.cjs.js"),d=t("./node_modules/@equinor/eds-core-react/dist/esm/index.js"),f=u(t("./node_modules/@equinor/eds-icons/dist/esm/index.js")),h=t("./src/utils/setupSkipAuth.ts"),p=t("../../node_modules/@tanstack/react-query/build/modern/index.cjs"),m=t("../../node_modules/react-dom/client.js"),A=t("../../node_modules/react-router-dom/esm/react-router-dom.js"),_=t("./src/app.tsx"),v=A.BrowserRouter,j=l.EventHubProvider;if(window===window.parent||window.opener){var b=document.getElementById("root");(0,m.createRoot)(b).render((0,c.jsx)((function(){(0,h.initForE2ETests)();var e=l.default.useEchoSetup({leftPanels:[a.searchPanel],rightPanel:a.mainMenu});d.Icon.add(r({},f));var n={createApi:(0,l.createEchoAppModuleApi)(),dependencies:{react:t("../../node_modules/react/index.js"),"react-dom":t("../../node_modules/react-dom/index.js"),"react-router-dom":t("../../node_modules/react-router-dom/esm/react-router-dom.js"),"@equinor/echo-core":t("./node_modules/@equinor/echo-core/index.cjs.js"),"@equinor/echo-framework":t("./node_modules/@equinor/echo-framework/index.cjs.js"),"@equinor/echo-utils":t("./node_modules/@equinor/echo-utils/index.esm.js"),"@equinor/echo-components":t("./node_modules/@equinor/echo-components/index.cjs.js"),"@equinor/echo-base":t("./node_modules/@equinor/echo-base/index.cjs.js"),"@equinor/echo-search":t("./node_modules/@equinor/echo-search/index.cjs.js"),"@equinor/eds-core-react":t("./node_modules/@equinor/eds-core-react/dist/esm/index.js"),"@equinor/eds-icons":t("./node_modules/@equinor/eds-icons/dist/esm/index.js"),"styled-components":t("../../node_modules/styled-components/dist/styled-components.browser.esm.js"),classnames:t("../../node_modules/classnames/index.js"),lodash:t("../../node_modules/lodash/lodash.js"),zustand:t("../../node_modules/zustand/esm/index.js")},fetchModules:function(){return new Promise((function(e){fetch("/echoModuleManifest.json").then((function(n){n.json().then((function(n){n.forEach((function(e){e.fileUri="/index.js"})),e(n)}))}))}))}};return(0,c.jsx)(c.Fragment,{children:e&&(0,c.jsx)(l.default.AuthProviderComponent,{children:(0,c.jsx)(p.QueryClientProvider,{client:l.queryClient,children:(0,c.jsxs)(j,{children:[(0,c.jsx)(a.Mediator,{options:n}),(0,c.jsx)(v,{children:(0,c.jsx)(_.EchoApp,{})})]})})})})}),{}))}},"./src/utils/setupSkipAuth.ts":function(e,n,t){"use strict";var o=this&&this.__awaiter||function(e,n,t,o){return new(t||(t=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(e){s(e)}}function u(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,u)}c((o=o.apply(e,n||[])).next())}))},r=this&&this.__generator||function(e,n){var t,o,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=u(0),i.throw=u(1),i.return=u(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(s=0)),s;)try{if(t=1,o&&(r=2&u[0]?o.return:u[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;switch(o=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,o=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){s=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]<r[3])){s.label=u[1];break}if(6===u[0]&&s.label<r[1]){s.label=r[1],r=u;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(u);break}r[2]&&s.ops.pop(),s.trys.pop();continue}u=n.call(e,s)}catch(e){u=[6,e],o=0}finally{t=r=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.initForE2ETests=function(){var e=(0,u.getDeepLinkParams)(["skipAuth"]).skipAuth;"true"===(null==e?void 0:e.toLowerCase())&&l()},n.setupSkipAuth=l;var i=s(t("./node_modules/@equinor/echo-core/index.cjs.js")),u=t("./node_modules/@equinor/echo-utils/index.esm.js"),c=function(){i.default.EchoAuthProvider.isAuthenticated=!0,i.default.EchoAuthProvider.userProperties={account:{homeAccountId:"homeAccountId",environment:"testingEnvironment",tenantId:"tenantId",username:"tester",localAccountId:"tester123"}}};function l(){var e=this;i.default.EchoAuthProvider.isAuthenticated=!0,i.default.EchoAuthProvider.handleLogin=function(n){return o(e,void 0,void 0,(function(){return r(this,(function(e){return c(),[2,Promise.resolve(void 0)]}))}))},i.default.EchoAuthProvider.ssoSilentOrRedirectToAuthenticate=function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return c(),[2,Promise.resolve(void 0)]}))}))},i.default.EchoAuthProvider.aquireTokenSilentOrRedirectToAuthenticate=function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return c(),[2,null]}))}))},i.default.EchoAuthProvider.login=function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return c(),[2,Promise.resolve()]}))}))}}},"?d546":()=>{},"?8131":()=>{},"?3fc0":()=>{},"?cad2":()=>{},"?593c":()=>{},"?4068":()=>{},"?e7e4":()=>{},"?7bec":()=>{},"?802b":()=>{},"?1e44":()=>{},"?0aec":()=>{},"?fbf1":()=>{},"?3e83":()=>{},"?19e6":()=>{}},r={};function s(e){var n=r[e];if(void 0!==n)return n.exports;var t=r[e]={id:e,loaded:!1,exports:{}};return o[e].call(t.exports,t,t.exports,s),t.loaded=!0,t.exports}s.m=o,e=[],s.O=(n,t,o,r)=>{if(!t){var i=1/0;for(a=0;a<e.length;a++){for(var[t,o,r]=e[a],u=!0,c=0;c<t.length;c++)(!1&r||i>=r)&&Object.keys(s.O).every((e=>s.O[e](t[c])))?t.splice(c--,1):(u=!1,r<i&&(i=r));if(u){e.splice(a--,1);var l=o();void 0!==l&&(n=l)}}return n}r=r||0;for(var a=e.length;a>0&&e[a-1][2]>r;a--)e[a]=e[a-1];e[a]=[t,o,r]},s.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return s.d(n,{a:n}),n},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var r=Object.create(null);s.r(r);var i={};n=n||[null,t({}),t([]),t(t)];for(var u=2&o&&e;"object"==typeof u&&!~n.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((n=>i[n]=()=>e[n]));return i.default=()=>e,s.d(r,i),r},s.d=(e,n)=>{for(var t in n)s.o(n,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.p="/",(()=>{var e={main:0};s.O.j=n=>0===e[n];var n=(n,t)=>{var o,r,[i,u,c]=t,l=0;if(i.some((n=>0!==e[n]))){for(o in u)s.o(u,o)&&(s.m[o]=u[o]);if(c)var a=c(s)}for(n&&n(t);l<i.length;l++)r=i[l],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return s.O(a)},t=self.webpackChunk_equinor_echo_client=self.webpackChunk_equinor_echo_client||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})(),s.nc=void 0,s.O(void 0,["vendors-node_modules_react-dom_client_js-node_modules_babel_polyfill_lib_index_js-node_module-cb4c76"],(()=>s("./node_modules/@babel/polyfill/lib/index.js")));var i=s.O(void 0,["vendors-node_modules_react-dom_client_js-node_modules_babel_polyfill_lib_index_js-node_module-cb4c76"],(()=>s("./src/index.tsx")));i=s.O(i)})();
|
|
3
|
+
//# sourceMappingURL=main.echo.bundle.js.map
|