@equinor/echo-cli 4.3.1-beta-0 → 4.3.1

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 (48) hide show
  1. package/README.md +413 -413
  2. package/lib/echo-dev-host/README.md +121 -121
  3. package/lib/echo-dev-host/babel.config.js +10 -10
  4. package/lib/echo-dev-host/jest.config.js +21 -21
  5. package/lib/echo-dev-host/package-lock.json +14707 -14551
  6. package/lib/echo-dev-host/package.json +89 -80
  7. package/lib/echo-dev-host/public/env-config.js +17 -17
  8. package/lib/echo-dev-host/public/index.html +21 -21
  9. package/lib/echo-dev-host/src/declarations.d.ts +72 -0
  10. package/lib/echo-dev-host/tsconfig.json +21 -21
  11. package/lib/echo-dev-host/webpack.config.js +154 -145
  12. package/package.json +126 -116
  13. package/templates/echoAppTemplate/.gitattributes +3 -3
  14. package/templates/echoAppTemplate/package.json +35 -35
  15. package/templates/echoAppTemplate/readme.md +41 -41
  16. package/templates/echoAppTemplate/tsconfig.json +25 -25
  17. package/templates/echoAppTemplateTutorial/.gitattributes +3 -3
  18. package/templates/echoAppTemplateTutorial/package.json +36 -36
  19. package/templates/echoAppTemplateTutorial/readme.md +41 -41
  20. package/templates/echoAppTemplateTutorial/tsconfig.json +25 -25
  21. package/templates/echoLibraryTemplate/package.json +35 -35
  22. package/templates/echoLibraryTemplate/public/index.html +21 -21
  23. package/templates/echoLibraryTemplate/readme.md +1 -1
  24. package/templates/echoPluginTemplate/package.json +35 -35
  25. package/templates/echoPluginTemplate/public/index.html +21 -21
  26. package/templates/echoPluginTemplate/readme.md +1 -1
  27. package/lib/echo-dev-host/echo-dev-host-build/d2d97a9feca22f12a8c8c7413d7867ac.jpg +0 -0
  28. package/lib/echo-dev-host/echo-dev-host-build/env-config.js +0 -1
  29. package/lib/echo-dev-host/echo-dev-host-build/index.css +0 -60
  30. package/lib/echo-dev-host/echo-dev-host-build/index.html +0 -21
  31. package/lib/echo-dev-host/echo-dev-host-build/main.echo.bundle.js +0 -3
  32. package/lib/echo-dev-host/echo-dev-host-build/main.echo.bundle.js.LICENSE.txt +0 -97
  33. package/lib/echo-dev-host/echo-dev-host-build/main.echo.bundle.js.map +0 -1
  34. package/lib/echo-dev-host/echo-dev-host-build/vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452.echo.bundle.js +0 -3
  35. package/lib/echo-dev-host/echo-dev-host-build/vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452.echo.bundle.js.LICENSE.txt +0 -2892
  36. package/lib/echo-dev-host/echo-dev-host-build/vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452.echo.bundle.js.map +0 -1
  37. package/lib/sync-echo-dev-versions.d.ts +0 -6
  38. package/lib/sync-echo-dev-versions.js +0 -43
  39. package/lib/sync-echo-dev-versions.js.map +0 -1
  40. package/lib/tools/buildScripts/buildAndCopyDevHost.test.d.ts +0 -1
  41. package/lib/tools/buildScripts/buildAndCopyDevHost.test.js +0 -500
  42. package/lib/tools/buildScripts/buildAndCopyDevHost.test.js.map +0 -1
  43. package/lib/tools/releaseWorkflow/bump-version.d.ts +0 -27
  44. package/lib/tools/releaseWorkflow/bump-version.js +0 -81
  45. package/lib/tools/releaseWorkflow/bump-version.js.map +0 -1
  46. package/lib/utils/merge.test.d.ts +0 -1
  47. package/lib/utils/merge.test.js +0 -29
  48. package/lib/utils/merge.test.js.map +0 -1
@@ -1,80 +1,89 @@
1
- {
2
- "name": "@equinor/echo-dev-host",
3
- "version": "0.0.1",
4
- "description": "",
5
- "main": "index.js",
6
- "scripts": {
7
- "start": "webpack serve --mode development --env development --open --hot",
8
- "build-client": "webpack --env development --env=cli=true",
9
- "build": "webpack --mode development",
10
- "echo-update": "echo-update",
11
- "echo-update-version": "echo-update -v",
12
- "echo-update-next": "echo-update -c",
13
- "echo-update-all": "echo-update -a",
14
- "echo-test": "jest",
15
- "lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
16
- "test-wo-install": "jest --watchAll",
17
- "test": "npm ci & jest --watchAll",
18
- "test-coverage": "npm ci & jest --coverage --watchAll",
19
- "unlink-echo-search": "node unlink-echo-search.js"
20
- },
21
- "author": "",
22
- "license": "MIT",
23
- "dependencies": {
24
- "@equinor/echo-base": "4.3.0-beta-0",
25
- "@equinor/echo-components": "4.3.0-beta-0",
26
- "@equinor/echo-core": "4.3.0-beta-0",
27
- "@equinor/echo-framework": "4.3.0-beta-0",
28
- "@equinor/echo-scripts": "0.1.5",
29
- "@equinor/echo-search": "4.3.0-beta-0",
30
- "@equinor/echo-utils": "4.3.0-beta-0",
31
- "@equinor/eds-core-react": "0.49.0",
32
- "@equinor/eds-icons": "0.22.0",
33
- "@equinor/eds-tokens": "2.1.0",
34
- "@equinor/eds-utils": "0.9.0",
35
- "@microsoft/signalr": "9.0.6",
36
- "@svgr/webpack": "8.1.0",
37
- "@tanstack/react-query": "5.96.2",
38
- "classnames": "2.5.1",
39
- "fs-extra": "11.3.3",
40
- "history": "5.3.0",
41
- "immer": "11.1.4",
42
- "lodash": "4.18.1",
43
- "react": "18.3.1",
44
- "react-dom": "18.3.1",
45
- "react-router-dom": "6.30.3",
46
- "react-sortablejs": "6.1.4",
47
- "sortablejs": "1.15.7",
48
- "styled-components": "6.3.12",
49
- "zustand": "4.5.7"
50
- },
51
- "devDependencies": {
52
- "@babel/core": "7.29.0",
53
- "@babel/plugin-transform-runtime": "7.28.5",
54
- "@babel/polyfill": "7.12.1",
55
- "@babel/preset-env": "7.28.6",
56
- "@babel/preset-react": "7.28.5",
57
- "@babel/preset-typescript": "7.28.5",
58
- "@equinor/echo-update": "1.3.3",
59
- "@types/jest": "30.0.0",
60
- "@types/node": "25.3.5",
61
- "@types/react": "18.3.28",
62
- "@types/react-dom": "18.3.7",
63
- "@types/webpack-env": "1.18.8",
64
- "babel-loader": "10.0.0",
65
- "copy-webpack-plugin": "13.0.1",
66
- "css-loader": "7.1.2",
67
- "dotenv-webpack": "8.1.1",
68
- "file-loader": "6.2.0",
69
- "html-webpack-plugin": "5.6.6",
70
- "jest": "30.3.0",
71
- "style-loader": "4.0.0",
72
- "ts-jest": "29.4.9",
73
- "ts-loader": "9.5.4",
74
- "typescript": "5.9.3",
75
- "webpack": "5.105.4",
76
- "webpack-cli": "6.0.1",
77
- "webpack-dev-server": "5.2.3",
78
- "webpackbar": "7.0.0"
79
- }
80
- }
1
+ {
2
+ "name": "@equinor/echo-dev-host",
3
+ "version": "0.0.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "start": "webpack serve --mode development --env development --open --hot",
8
+ "build-client": "webpack --env development --env=cli=true",
9
+ "build": "webpack --mode development",
10
+ "echo-update": "echo-update",
11
+ "echo-update-version": "echo-update -v",
12
+ "echo-update-next": "echo-update -c",
13
+ "echo-update-all": "echo-update -a",
14
+ "echo-test": "jest",
15
+ "lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
16
+ "test-wo-install": "jest --watchAll",
17
+ "test": "npm ci & jest --watchAll",
18
+ "test-coverage": "npm ci & jest --coverage --watchAll",
19
+ "unlink-echo-search": "node unlink-echo-search.js"
20
+ },
21
+ "author": "",
22
+ "license": "MIT",
23
+ "dependencies": {
24
+ "@equinor/echo-base": "4.3.0",
25
+ "@equinor/echo-components": "4.3.0",
26
+ "@equinor/echo-core": "4.3.0",
27
+ "@equinor/echo-framework": "4.3.0",
28
+ "@equinor/echo-search": "4.3.0",
29
+ "@equinor/echo-utils": "4.3.0",
30
+ "@equinor/eds-core-react": "0.49.0",
31
+ "@equinor/eds-icons": "0.22.0",
32
+ "@equinor/eds-tokens": "2.1.0",
33
+ "@equinor/eds-utils": "0.9.0",
34
+ "@microsoft/signalr": "9.0.6",
35
+ "@svgr/webpack": "8.1.0",
36
+ "@tanstack/react-query": "5.97.0",
37
+ "classnames": "2.5.1",
38
+ "fs-extra": "11.3.4",
39
+ "history": "5.3.0",
40
+ "immer": "11.1.4",
41
+ "lodash": "4.18.1",
42
+ "react": "18.3.1",
43
+ "react-dom": "18.3.1",
44
+ "react-router-dom": "6.30.3",
45
+ "react-sortablejs": "6.1.4",
46
+ "sortablejs": "1.15.7",
47
+ "styled-components": "6.3.12",
48
+ "zustand": "4.5.7"
49
+ },
50
+ "devDependencies": {
51
+ "@babel/core": "7.29.0",
52
+ "@babel/plugin-transform-runtime": "7.29.0",
53
+ "@babel/polyfill": "7.12.1",
54
+ "@babel/preset-env": "7.29.2",
55
+ "@babel/preset-react": "7.28.5",
56
+ "@babel/preset-typescript": "7.28.5",
57
+ "@equinor/echo-update": "2.0.0",
58
+ "@types/jest": "30.0.0",
59
+ "@types/node": "25.3.5",
60
+ "@types/react": "18.3.28",
61
+ "@types/react-dom": "18.3.7",
62
+ "@types/webpack-env": "1.18.8",
63
+ "babel-loader": "10.1.1",
64
+ "copy-webpack-plugin": "14.0.0",
65
+ "css-loader": "7.1.4",
66
+ "dotenv-webpack": "9.0.0",
67
+ "file-loader": "6.2.0",
68
+ "html-webpack-plugin": "5.6.6",
69
+ "jest": "30.3.0",
70
+ "style-loader": "4.0.0",
71
+ "ts-jest": "29.4.9",
72
+ "ts-loader": "9.5.7",
73
+ "typescript": "5.9.3",
74
+ "webpack": "5.106.0",
75
+ "webpack-cli": "6.0.1",
76
+ "webpack-dev-server": "5.2.3",
77
+ "webpackbar": "7.0.0"
78
+ },
79
+ "overrides": {
80
+ "axios@1.14": "1.15.0",
81
+ "minimatch@3": "3.1.4",
82
+ "svgo@3": "3.3.3",
83
+ "picomatch@2": "2.3.2",
84
+ "path-to-regexp@0": "0.1.13",
85
+ "brace-expansion@1": "1.1.13",
86
+ "js-yaml@4": "4.1.1",
87
+ "qs@6": "6.14.2"
88
+ }
89
+ }
@@ -1,17 +1,17 @@
1
- window._env_ = {
2
- HTTPS: "true",
3
- GENERATE_SOURCEMAP: "true",
4
- INLINE_RUNTIME_CHUNK: "false",
5
- WEBSITE_HOSTNAME: "localhost:3000;",
6
- REACT_APP_DEFAULT_CACHE_LOCATION: "localstorage",
7
- REACT_APP_API_URL: "https://dt-echopedia-api-dev.azurewebsites.net",
8
- REACT_APP_WEB_URL: "https://dt-echopedia-web-dev.azurewebsites.net",
9
- REACT_APP_WEB_PROD_URL: "https://echo.equinor.com",
10
- REACT_APP_AZURE_AD_TENNANT: "StatoilSRM.onmicrosoft.com",
11
- REACT_APP_AZURE_AD_TENNANT_ID: "3aa4a235-b6e2-48d5-9195-7fcf05b459b0",
12
- REACT_APP_AZURE_AD_CLIENT_ID: "751d2504-0b66-4b78-9807-4b60525a14c6",
13
- REACT_APP_API_CLIENT_ID: "aef35d97-53d4-4fd0-adaf-c5a514b38436",
14
- 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",
15
- REACT_APP_AZURE_BUILD_NUMBER: "0.8.dev.9",
16
- REACT_APP_LOGGER_ACTIVE: "false",
17
- }
1
+ window._env_ = {
2
+ HTTPS: "true",
3
+ GENERATE_SOURCEMAP: "true",
4
+ INLINE_RUNTIME_CHUNK: "false",
5
+ WEBSITE_HOSTNAME: "localhost:3000;",
6
+ REACT_APP_DEFAULT_CACHE_LOCATION: "localstorage",
7
+ REACT_APP_API_URL: "https://dt-echopedia-api-dev.azurewebsites.net",
8
+ REACT_APP_WEB_URL: "https://dt-echopedia-web-dev.azurewebsites.net",
9
+ REACT_APP_WEB_PROD_URL: "https://echo.equinor.com",
10
+ REACT_APP_AZURE_AD_TENNANT: "StatoilSRM.onmicrosoft.com",
11
+ REACT_APP_AZURE_AD_TENNANT_ID: "3aa4a235-b6e2-48d5-9195-7fcf05b459b0",
12
+ REACT_APP_AZURE_AD_CLIENT_ID: "751d2504-0b66-4b78-9807-4b60525a14c6",
13
+ REACT_APP_API_CLIENT_ID: "aef35d97-53d4-4fd0-adaf-c5a514b38436",
14
+ 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",
15
+ REACT_APP_AZURE_BUILD_NUMBER: "0.8.dev.9",
16
+ REACT_APP_LOGGER_ACTIVE: "false",
17
+ }
@@ -1,21 +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
- </head>
18
- <body data-color-scheme="light">
19
- <div id="root"></div>
20
- </body>
21
- </html>
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
+ </head>
18
+ <body data-color-scheme="light">
19
+ <div id="root"></div>
20
+ </body>
21
+ </html>
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Ambient module declarations for static asset and CSS module imports.
3
+ *
4
+ * TypeScript and webpack operate independently: webpack loaders (css-loader,
5
+ * file-loader, etc.) transform these file types at build time, but TypeScript
6
+ * has no knowledge of that. Without these declarations, TypeScript would error
7
+ * on any import of a non-JS/TS file (e.g. "Cannot find module './logo.png'").
8
+ *
9
+ * These declarations were previously provided by @equinor/echo-scripts, a thin
10
+ * wrapper package that only contained this file. Inlining them here removes an
11
+ * unnecessary external dependency.
12
+ */
13
+
14
+ declare module '*.avif' {
15
+ const src: string;
16
+ export default src;
17
+ }
18
+
19
+ declare module '*.bmp' {
20
+ const src: string;
21
+ export default src;
22
+ }
23
+
24
+ declare module '*.gif' {
25
+ const src: string;
26
+ export default src;
27
+ }
28
+
29
+ declare module '*.jpg' {
30
+ const src: string;
31
+ export default src;
32
+ }
33
+
34
+ declare module '*.jpeg' {
35
+ const src: string;
36
+ export default src;
37
+ }
38
+
39
+ declare module '*.png' {
40
+ const src: string;
41
+ export default src;
42
+ }
43
+
44
+ declare module '*.webp' {
45
+ const src: string;
46
+ export default src;
47
+ }
48
+
49
+ declare module '*.svg' {
50
+ const src: string;
51
+ export default src;
52
+ }
53
+
54
+ declare module '*.module.css' {
55
+ const classes: { readonly [key: string]: string };
56
+ export default classes;
57
+ }
58
+
59
+ declare module '*.module.scss' {
60
+ const classes: { readonly [key: string]: string };
61
+ export default classes;
62
+ }
63
+
64
+ declare module '*.module.sass' {
65
+ const classes: { readonly [key: string]: string };
66
+ export default classes;
67
+ }
68
+
69
+ declare module '*.css' {
70
+ const classes: { readonly [key: string]: string };
71
+ export default classes;
72
+ }
@@ -1,21 +1,21 @@
1
- {
2
- "compilerOptions": {
3
- "strict": true,
4
- "jsx": "react-jsx",
5
- "lib": ["dom", "dom.iterable", "esnext"],
6
- "allowSyntheticDefaultImports": true,
7
- "esModuleInterop": true,
8
- "module": "commonjs",
9
- "outDir": "./build/",
10
- "preserveConstEnums": true,
11
- "removeComments": true,
12
- "sourceMap": true,
13
- "noImplicitAny": false,
14
- "allowJs": true,
15
- "skipLibCheck": true,
16
- "target": "es5",
17
- "resolveJsonModule": true,
18
- "types": ["@equinor/echo-scripts", "@types/node", "@types/webpack-env", "@types/jest"]
19
- },
20
- "include": ["src"]
21
- }
1
+ {
2
+ "compilerOptions": {
3
+ "strict": true,
4
+ "jsx": "react-jsx",
5
+ "lib": ["dom", "dom.iterable", "esnext"],
6
+ "allowSyntheticDefaultImports": true,
7
+ "esModuleInterop": true,
8
+ "module": "commonjs",
9
+ "outDir": "./build/",
10
+ "preserveConstEnums": true,
11
+ "removeComments": true,
12
+ "sourceMap": true,
13
+ "noImplicitAny": false,
14
+ "allowJs": true,
15
+ "skipLibCheck": true,
16
+ "target": "es5",
17
+ "resolveJsonModule": true,
18
+ "types": ["@types/node", "@types/webpack-env", "@types/jest"]
19
+ },
20
+ "include": ["src"]
21
+ }