@equinor/echo-cli 3.1.1-beta-0 → 4.0.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.
Files changed (28) 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 +14542 -14542
  6. package/lib/echo-dev-host/package.json +6 -6
  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/tsconfig.json +21 -21
  10. package/lib/echo-dev-host/webpack.config.js +145 -145
  11. package/package.json +116 -116
  12. package/templates/echoAppTemplate/.gitattributes +3 -3
  13. package/templates/echoAppTemplate/package.json +35 -35
  14. package/templates/echoAppTemplate/readme.md +41 -41
  15. package/templates/echoAppTemplate/tsconfig.json +25 -25
  16. package/templates/echoAppTemplateTutorial/.gitattributes +3 -3
  17. package/templates/echoAppTemplateTutorial/package.json +36 -36
  18. package/templates/echoAppTemplateTutorial/readme.md +41 -41
  19. package/templates/echoAppTemplateTutorial/tsconfig.json +25 -25
  20. package/templates/echoLibraryTemplate/package.json +35 -35
  21. package/templates/echoLibraryTemplate/public/index.html +21 -21
  22. package/templates/echoLibraryTemplate/readme.md +1 -1
  23. package/templates/echoPluginTemplate/package.json +35 -35
  24. package/templates/echoPluginTemplate/public/index.html +21 -21
  25. package/templates/echoPluginTemplate/readme.md +1 -1
  26. package/lib/__test__/utils/merg.test.d.ts +0 -1
  27. package/lib/__test__/utils/merg.test.js +0 -29
  28. package/lib/__test__/utils/merg.test.js.map +0 -1
@@ -1,25 +1,25 @@
1
- {
2
- "include": ["src"],
3
- "compilerOptions": {
4
- "sourceMap": true,
5
- "noImplicitAny": false,
6
- "module": "ES2015",
7
- "target": "es5",
8
- "lib": [
9
- "esnext",
10
- "dom",
11
- "dom.iterable"
12
- ],
13
- "removeComments": true,
14
- "allowSyntheticDefaultImports": true,
15
- "jsx": "react",
16
- "allowJs": true,
17
- "baseUrl": "./src",
18
- "esModuleInterop": true,
19
- "resolveJsonModule": true,
20
- "moduleResolution": "node",
21
- "downlevelIteration": true,
22
- "types": ["@equinor/echo-scripts"],
23
- }
24
- }
25
-
1
+ {
2
+ "include": ["src"],
3
+ "compilerOptions": {
4
+ "sourceMap": true,
5
+ "noImplicitAny": false,
6
+ "module": "ES2015",
7
+ "target": "es5",
8
+ "lib": [
9
+ "esnext",
10
+ "dom",
11
+ "dom.iterable"
12
+ ],
13
+ "removeComments": true,
14
+ "allowSyntheticDefaultImports": true,
15
+ "jsx": "react",
16
+ "allowJs": true,
17
+ "baseUrl": "./src",
18
+ "esModuleInterop": true,
19
+ "resolveJsonModule": true,
20
+ "moduleResolution": "node",
21
+ "downlevelIteration": true,
22
+ "types": ["@equinor/echo-scripts"],
23
+ }
24
+ }
25
+
@@ -1,36 +1,36 @@
1
- {
2
- "name": "echo-library-template",
3
- "version": "0.0.1",
4
- "description": "",
5
- "main": "build/index.js",
6
- "source": "src/index.ts",
7
- "scripts": {
8
- "build": "echo-build",
9
- "start": "echo-build -s -d"
10
- },
11
- "author": "",
12
- "license": "ISC",
13
- "manifest": {},
14
- "dependencies": {},
15
- "peerDependencies": {
16
- "@equinor/echo-base": ">= 0.7.0 < 0.8.0",
17
- "@equinor/echo-components": ">= 0.11.1 < 0.12.0",
18
- "@equinor/echo-core": ">= 0.9.8 < 0.10.0",
19
- "@equinor/echo-search": ">= 0.15.3 < 0.16.0",
20
- "@equinor/echo-utils": ">= 0.4.1 < 0.5.0",
21
- "react": ">= 17.0.2",
22
- "react-dom": " >= 17.0.2"
23
- },
24
- "devDependencies": {
25
- "@equinor/echo-base": "0.7.3",
26
- "@equinor/echo-components": "0.11.16",
27
- "@equinor/echo-core": "0.9.12",
28
- "@equinor/echo-search": "0.15.8",
29
- "@equinor/echo-utils": "0.4.5",
30
- "@equinor/echo-cli": "0.14.18",
31
- "@types/react": "18.0.27",
32
- "@types/react-dom": "18.0.10",
33
- "react": "18.2.0",
34
- "react-dom": "18.2.0"
35
- }
1
+ {
2
+ "name": "echo-library-template",
3
+ "version": "0.0.1",
4
+ "description": "",
5
+ "main": "build/index.js",
6
+ "source": "src/index.ts",
7
+ "scripts": {
8
+ "build": "echo-build",
9
+ "start": "echo-build -s -d"
10
+ },
11
+ "author": "",
12
+ "license": "ISC",
13
+ "manifest": {},
14
+ "dependencies": {},
15
+ "peerDependencies": {
16
+ "@equinor/echo-base": ">= 0.7.0 < 0.8.0",
17
+ "@equinor/echo-components": ">= 0.11.1 < 0.12.0",
18
+ "@equinor/echo-core": ">= 0.9.8 < 0.10.0",
19
+ "@equinor/echo-search": ">= 0.15.3 < 0.16.0",
20
+ "@equinor/echo-utils": ">= 0.4.1 < 0.5.0",
21
+ "react": ">= 17.0.2",
22
+ "react-dom": " >= 17.0.2"
23
+ },
24
+ "devDependencies": {
25
+ "@equinor/echo-base": "0.7.3",
26
+ "@equinor/echo-components": "0.11.16",
27
+ "@equinor/echo-core": "0.9.12",
28
+ "@equinor/echo-search": "0.15.8",
29
+ "@equinor/echo-utils": "0.4.5",
30
+ "@equinor/echo-cli": "0.14.18",
31
+ "@types/react": "18.0.27",
32
+ "@types/react-dom": "18.0.10",
33
+ "react": "18.2.0",
34
+ "react-dom": "18.2.0"
35
+ }
36
36
  }
@@ -1,21 +1,21 @@
1
- <!-- src/template.html -->
2
- <!DOCTYPE html>
3
- <html lang="en">
4
- <head>
5
- <meta charset="UTF-8">
6
- <title>Echo | Search</title>
7
- <link rel="stylesheet" href="style.css">
8
- </head>
9
-
10
- <body>
11
- <div class="centered">
12
- <img src="./ee.png" width="250" alt="EchoSearch">
13
- <div>Example</div>
14
- <h1 class="header">Echo Search</h1><br />
15
- <p>Please look at your developer console.</p>
16
- <button id="start">Start</button>
17
- <button id="doStuff">Start</button>
18
- </div>
19
- </body>
20
-
21
- </html>
1
+ <!-- src/template.html -->
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <title>Echo | Search</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ </head>
9
+
10
+ <body>
11
+ <div class="centered">
12
+ <img src="./ee.png" width="250" alt="EchoSearch">
13
+ <div>Example</div>
14
+ <h1 class="header">Echo Search</h1><br />
15
+ <p>Please look at your developer console.</p>
16
+ <button id="start">Start</button>
17
+ <button id="doStuff">Start</button>
18
+ </div>
19
+ </body>
20
+
21
+ </html>
@@ -1 +1 @@
1
- # echoLibraryTemplate
1
+ # echoLibraryTemplate
@@ -1,36 +1,36 @@
1
- {
2
- "name": "echo-plugin-template",
3
- "version": "0.0.1",
4
- "description": "",
5
- "main": "build/index.js",
6
- "source": "src/index.ts",
7
- "scripts": {
8
- "build": "echo-build",
9
- "start": "echo-build -s -d"
10
- },
11
- "author": "",
12
- "license": "ISC",
13
- "manifest": {},
14
- "dependencies": {},
15
- "peerDependencies": {
16
- "@equinor/echo-base": ">= 0.7.0 < 0.8.0",
17
- "@equinor/echo-components": ">= 0.11.1 < 0.12.0",
18
- "@equinor/echo-core": ">= 0.9.8 < 0.10.0",
19
- "@equinor/echo-search": ">= 0.15.3 < 0.16.0",
20
- "@equinor/echo-utils": ">= 0.4.1 < 0.5.0",
21
- "react": ">= 17.0.2",
22
- "react-dom": " >= 17.0.2"
23
- },
24
- "devDependencies": {
25
- "@equinor/echo-base": "0.7.3",
26
- "@equinor/echo-components": "0.11.16",
27
- "@equinor/echo-core": "0.9.12",
28
- "@equinor/echo-search": "0.15.8",
29
- "@equinor/echo-utils": "0.4.5",
30
- "@equinor/echo-cli": "0.14.18",
31
- "@types/react": "18.0.27",
32
- "@types/react-dom": "18.0.10",
33
- "react": "18.2.0",
34
- "react-dom": "18.2.0"
35
- }
1
+ {
2
+ "name": "echo-plugin-template",
3
+ "version": "0.0.1",
4
+ "description": "",
5
+ "main": "build/index.js",
6
+ "source": "src/index.ts",
7
+ "scripts": {
8
+ "build": "echo-build",
9
+ "start": "echo-build -s -d"
10
+ },
11
+ "author": "",
12
+ "license": "ISC",
13
+ "manifest": {},
14
+ "dependencies": {},
15
+ "peerDependencies": {
16
+ "@equinor/echo-base": ">= 0.7.0 < 0.8.0",
17
+ "@equinor/echo-components": ">= 0.11.1 < 0.12.0",
18
+ "@equinor/echo-core": ">= 0.9.8 < 0.10.0",
19
+ "@equinor/echo-search": ">= 0.15.3 < 0.16.0",
20
+ "@equinor/echo-utils": ">= 0.4.1 < 0.5.0",
21
+ "react": ">= 17.0.2",
22
+ "react-dom": " >= 17.0.2"
23
+ },
24
+ "devDependencies": {
25
+ "@equinor/echo-base": "0.7.3",
26
+ "@equinor/echo-components": "0.11.16",
27
+ "@equinor/echo-core": "0.9.12",
28
+ "@equinor/echo-search": "0.15.8",
29
+ "@equinor/echo-utils": "0.4.5",
30
+ "@equinor/echo-cli": "0.14.18",
31
+ "@types/react": "18.0.27",
32
+ "@types/react-dom": "18.0.10",
33
+ "react": "18.2.0",
34
+ "react-dom": "18.2.0"
35
+ }
36
36
  }
@@ -1,21 +1,21 @@
1
- <!-- src/template.html -->
2
- <!DOCTYPE html>
3
- <html lang="en">
4
- <head>
5
- <meta charset="UTF-8">
6
- <title>Echo | Search</title>
7
- <link rel="stylesheet" href="style.css">
8
- </head>
9
-
10
- <body>
11
- <div class="centered">
12
- <img src="./ee.png" width="250" alt="EchoSearch">
13
- <div>Example</div>
14
- <h1 class="header">Echo Search</h1><br />
15
- <p>Please look at your developer console.</p>
16
- <button id="start">Start</button>
17
- <button id="doStuff">Start</button>
18
- </div>
19
- </body>
20
-
21
- </html>
1
+ <!-- src/template.html -->
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <title>Echo | Search</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ </head>
9
+
10
+ <body>
11
+ <div class="centered">
12
+ <img src="./ee.png" width="250" alt="EchoSearch">
13
+ <div>Example</div>
14
+ <h1 class="header">Echo Search</h1><br />
15
+ <p>Please look at your developer console.</p>
16
+ <button id="start">Start</button>
17
+ <button id="doStuff">Start</button>
18
+ </div>
19
+ </body>
20
+
21
+ </html>
@@ -1 +1 @@
1
- # Woohoo module
1
+ # Woohoo module
@@ -1 +0,0 @@
1
- export {};
@@ -1,29 +0,0 @@
1
- import { merge } from '../../utils/merge.js';
2
- describe('merge function tests', () => {
3
- it('should merge arrays of arrays ', () => {
4
- const arr1 = [1, 2, 3];
5
- const arr2 = [4, 5, 6];
6
- const arr3 = [7, 8, 9];
7
- const array = [1, 2, 3, 4, 5, 6, 7, 8, 9];
8
- const result = merge(arr1, arr2, arr3);
9
- expect(result).toEqual(array);
10
- });
11
- it('should return empty array', () => {
12
- const arr1 = [];
13
- const arr2 = [];
14
- const result = merge(arr1, arr2);
15
- expect(result).toEqual([]);
16
- });
17
- it('should also return empty array', () => {
18
- const arr1 = [];
19
- const result = merge(arr1);
20
- expect(result).toEqual([]);
21
- });
22
- it('should also [1]', () => {
23
- const arr1 = [];
24
- const arr2 = [1];
25
- const result = merge(arr1, arr2);
26
- expect(result).toEqual(arr2);
27
- });
28
- });
29
- //# sourceMappingURL=merg.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"merg.test.js","sourceRoot":"","sources":["../../../src/__test__/utils/merg.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IAClC,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACtC,MAAM,IAAI,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;QACvB,MAAM,IAAI,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;QACvB,MAAM,IAAI,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;QAEvB,MAAM,KAAK,GAAG,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