@equinor/echo-cli 0.3.2 → 0.3.3

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.
@@ -10,6 +10,8 @@ export interface EchoModuleConfig {
10
10
  path: string;
11
11
  description: string;
12
12
  private: boolean;
13
+ fileUri: string;
14
+ devFileUri?: string;
13
15
  };
14
16
  server: {
15
17
  contentBase: string;
@@ -43,7 +43,8 @@ function createEchoModuleConfig(options) {
43
43
  shortName: options.shortName,
44
44
  path: options.path,
45
45
  description: options.description,
46
- private: false
46
+ private: false,
47
+ fileUri: ''
47
48
  },
48
49
  server: {
49
50
  contentBase: '/build',
@@ -1 +1 @@
1
- {"version":3,"file":"echoModuleConfig.js","sourceRoot":"","sources":["../../../src/config/common/echoModuleConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,+CAA6D;AAqC7D,SAAsB,sBAAsB,CAAC,OAAoB;;QAC7D,MAAM,QAAQ,GAAG,GAAG,OAAO,CAAC,eAAe,GAAG,gCAAuB,EAAE,CAAC;QAExE,IAAI;YACA,MAAM,eAAe,GAAqB;gBACtC,OAAO,EAAE,QAAQ;gBACjB,QAAQ,EAAE;oBACN,IAAI,EAAE,OAAO,CAAC,IAAI;oBAClB,GAAG,EAAE,OAAO,CAAC,GAAG;oBAChB,SAAS,EAAE,OAAO,CAAC,SAAS;oBAC5B,IAAI,EAAE,OAAO,CAAC,IAAI;oBAClB,WAAW,EAAE,OAAO,CAAC,WAAW;oBAChC,OAAO,EAAE,KAAK;iBACjB;gBACD,MAAM,EAAE;oBACJ,WAAW,EAAE,QAAQ;oBACrB,IAAI,EAAE,IAAI;oBACV,IAAI,EAAE,IAAI;oBACV,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE,MAAM;iBAClB;gBACD,aAAa,EAAE;oBACX,KAAK,EAAE,iBAAiB;iBAC3B;aACJ,CAAC;YAEF,EAAE,CAAC,aAAa,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;AA/BD,wDA+BC"}
package/package.json CHANGED
@@ -1,128 +1,128 @@
1
- {
2
- "name": "@equinor/echo-cli",
3
- "version": "0.3.2",
4
- "description": "Command line interface for Echo Apps",
5
- "main": "dist/index.js",
6
- "source": "src/test.js",
7
- "typings": "dist/index.d.ts",
8
- "repository": {
9
- "url": "https://github.com/equinor/EchoCli"
10
- },
11
- "scripts": {
12
- "echo-publish": "npm publish --access public",
13
- "echo-publish-beta": "npm publish --access public --tag beta",
14
- "echo-publish-next": "npm publish --access public --tag next",
15
- "echo-test": "npm ci & jest --watchAll",
16
- "echo-update": "echo-update",
17
- "echo-update-version": "echo-update -v",
18
- "echo-update-next": "echo-update -c",
19
- "echo-update-all": "echo-update -a",
20
- "test": "jest",
21
- "build": "tsc",
22
- "lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
23
- "prebuild-cli": "npm --prefix ../EchoClient run build -- --env=cli=true",
24
- "build-cli": "npm run build"
25
- },
26
- "keywords": [],
27
- "author": "Echo Core",
28
- "license": "MIT",
29
- "module": "node",
30
- "bin": {
31
- "echo-create": "./lib/echo-create.js",
32
- "echo-build": "./lib/echo-build.js",
33
- "echo-manifest": "./lib/echo-manifest.js",
34
- "echo-publish-module": "./lib/echo-publish.js"
35
- },
36
- "files": [
37
- "lib",
38
- "templates",
39
- "client"
40
- ],
41
- "devDependencies": {
42
- "@equinor/echo-update": "^1.3.0",
43
- "@microsoft/microsoft-graph-types": "^2.15.0",
44
- "@types/express": "^4.17.13",
45
- "@types/jest": "^27.4.1",
46
- "@types/listr": "^0.14.4",
47
- "@types/node": "^17.0.21",
48
- "@types/pem": "^1.9.6",
49
- "@types/react": "^17.0.39",
50
- "@types/webpack-dev-middleware": "^5.3.0",
51
- "@types/webpack-dev-server": "^4.7.2",
52
- "@types/webpack-hot-middleware": "^2.25.6",
53
- "@typescript-eslint/eslint-plugin": "^5.12.1",
54
- "@typescript-eslint/parser": "^5.12.1",
55
- "babel-jest": "^27.5.1",
56
- "eslint": "^8.9.0",
57
- "eslint-config-prettier": "^8.4.0",
58
- "eslint-plugin-prettier": "^4.0.0",
59
- "eslint-plugin-react": "^7.29.0",
60
- "eslint-plugin-react-hooks": "^4.3.0",
61
- "jest": "^27.5.1",
62
- "jest-expo": "^44.0.1",
63
- "prettier": "^2.5.1",
64
- "react-test-renderer": "^17.0.2"
65
- },
66
- "dependencies": {
67
- "@babel/core": "^7.17.5",
68
- "@babel/plugin-external-helpers": "^7.16.7",
69
- "@babel/preset-env": "^7.16.11",
70
- "@babel/preset-react": "^7.16.7",
71
- "@babel/preset-typescript": "^7.16.7",
72
- "@equinor/echo-scripts": "^0.1.5",
73
- "@oclif/command": "^1.8.16",
74
- "@rollup/plugin-babel": "^5.3.1",
75
- "@rollup/plugin-commonjs": "^21.0.2",
76
- "@rollup/plugin-json": "^4.1.0",
77
- "@rollup/plugin-node-resolve": "^13.1.3",
78
- "@rollup/plugin-url": "^6.1.0",
79
- "@svgr/rollup": "^6.2.1",
80
- "@svgr/webpack": "^6.2.1",
81
- "assert": "^2.0.0",
82
- "autoprefixer": "^10.4.2",
83
- "axios": "^0.26.0",
84
- "babel-loader": "^8.2.3",
85
- "babel-polyfill": "^6.26.0",
86
- "chalk": "^4.1.2",
87
- "clean-webpack-plugin": "^4.0.0",
88
- "css-loader": "^6.6.0",
89
- "dotenv-webpack": "^7.1.0",
90
- "execa": "^5.1.1",
91
- "express": "^4.17.3",
92
- "figlet": "^1.5.2",
93
- "file-loader": "^6.2.0",
94
- "html-webpack-plugin": "^5.5.0",
95
- "inquirer": "^8.2.0",
96
- "less-loader": "^10.2.0",
97
- "listr": "^0.14.3",
98
- "ncp": "^2.0.0",
99
- "node-polyfill-webpack-plugin": "^1.1.4",
100
- "open": "^8.4.0",
101
- "pem": "^1.14.6",
102
- "pkg-install": "^1.0.0",
103
- "postcss": "^8.4.7",
104
- "react": "17.0.2",
105
- "react-hot-loader": "^4.13.0",
106
- "replace-in-file-webpack-plugin": "^1.0.6",
107
- "rollup": "^2.68.0",
108
- "rollup-plugin-cleanup": "^3.2.1",
109
- "rollup-plugin-livereload": "^2.0.5",
110
- "rollup-plugin-node-polyfills": "^0.2.1",
111
- "rollup-plugin-postcss": "^4.0.2",
112
- "rollup-plugin-serve": "^1.1.0",
113
- "rollup-plugin-typescript2": "^0.31.2",
114
- "rollup-plugin-web-worker-loader": "^1.6.1",
115
- "style-loader": "^3.3.1",
116
- "terser-webpack-plugin": "^5.3.1",
117
- "ts-loader": "^9.2.6",
118
- "typescript": "^4.5.5",
119
- "url-loader": "^4.1.1",
120
- "webpack": "^5.69.1",
121
- "webpack-bundle-analyzer": "^4.5.0",
122
- "webpack-dev-middleware": "^5.3.1",
123
- "webpack-dev-server": "^4.7.4",
124
- "webpack-hot-middleware": "^2.25.1",
125
- "webpack-merge": "^5.8.0",
126
- "webpackbar": "^5.0.2"
127
- }
128
- }
1
+ {
2
+ "name": "@equinor/echo-cli",
3
+ "version": "0.3.3",
4
+ "description": "Command line interface for Echo Apps",
5
+ "main": "dist/index.js",
6
+ "source": "src/test.js",
7
+ "typings": "dist/index.d.ts",
8
+ "repository": {
9
+ "url": "https://github.com/equinor/EchoCli"
10
+ },
11
+ "scripts": {
12
+ "echo-publish": "npm publish --access public",
13
+ "echo-publish-beta": "npm publish --access public --tag beta",
14
+ "echo-publish-next": "npm publish --access public --tag next",
15
+ "echo-test": "npm ci & jest --watchAll",
16
+ "echo-update": "echo-update",
17
+ "echo-update-version": "echo-update -v",
18
+ "echo-update-next": "echo-update -c",
19
+ "echo-update-all": "echo-update -a",
20
+ "test": "jest",
21
+ "build": "tsc",
22
+ "lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
23
+ "prebuild-cli": "npm --prefix ../EchoClient run build -- --env=cli=true",
24
+ "build-cli": "npm run build"
25
+ },
26
+ "keywords": [],
27
+ "author": "Echo Core",
28
+ "license": "MIT",
29
+ "module": "node",
30
+ "bin": {
31
+ "echo-create": "./lib/echo-create.js",
32
+ "echo-build": "./lib/echo-build.js",
33
+ "echo-manifest": "./lib/echo-manifest.js",
34
+ "echo-publish-module": "./lib/echo-publish.js"
35
+ },
36
+ "files": [
37
+ "lib",
38
+ "templates",
39
+ "client"
40
+ ],
41
+ "devDependencies": {
42
+ "@equinor/echo-update": "^1.3.0",
43
+ "@microsoft/microsoft-graph-types": "^2.15.0",
44
+ "@types/express": "^4.17.13",
45
+ "@types/jest": "^27.4.1",
46
+ "@types/listr": "^0.14.4",
47
+ "@types/node": "^17.0.21",
48
+ "@types/pem": "^1.9.6",
49
+ "@types/react": "^17.0.39",
50
+ "@types/webpack-dev-middleware": "^5.3.0",
51
+ "@types/webpack-dev-server": "^4.7.2",
52
+ "@types/webpack-hot-middleware": "^2.25.6",
53
+ "@typescript-eslint/eslint-plugin": "^5.12.1",
54
+ "@typescript-eslint/parser": "^5.12.1",
55
+ "babel-jest": "^27.5.1",
56
+ "eslint": "^8.9.0",
57
+ "eslint-config-prettier": "^8.4.0",
58
+ "eslint-plugin-prettier": "^4.0.0",
59
+ "eslint-plugin-react": "^7.29.0",
60
+ "eslint-plugin-react-hooks": "^4.3.0",
61
+ "jest": "^27.5.1",
62
+ "jest-expo": "^44.0.1",
63
+ "prettier": "^2.5.1",
64
+ "react-test-renderer": "^17.0.2"
65
+ },
66
+ "dependencies": {
67
+ "@babel/core": "^7.17.5",
68
+ "@babel/plugin-external-helpers": "^7.16.7",
69
+ "@babel/preset-env": "^7.16.11",
70
+ "@babel/preset-react": "^7.16.7",
71
+ "@babel/preset-typescript": "^7.16.7",
72
+ "@equinor/echo-scripts": "^0.1.5",
73
+ "@oclif/command": "^1.8.16",
74
+ "@rollup/plugin-babel": "^5.3.1",
75
+ "@rollup/plugin-commonjs": "^21.0.2",
76
+ "@rollup/plugin-json": "^4.1.0",
77
+ "@rollup/plugin-node-resolve": "^13.1.3",
78
+ "@rollup/plugin-url": "^6.1.0",
79
+ "@svgr/rollup": "^6.2.1",
80
+ "@svgr/webpack": "^6.2.1",
81
+ "assert": "^2.0.0",
82
+ "autoprefixer": "^10.4.2",
83
+ "axios": "^0.26.0",
84
+ "babel-loader": "^8.2.3",
85
+ "babel-polyfill": "^6.26.0",
86
+ "chalk": "^4.1.2",
87
+ "clean-webpack-plugin": "^4.0.0",
88
+ "css-loader": "^6.6.0",
89
+ "dotenv-webpack": "^7.1.0",
90
+ "execa": "^5.1.1",
91
+ "express": "^4.17.3",
92
+ "figlet": "^1.5.2",
93
+ "file-loader": "^6.2.0",
94
+ "html-webpack-plugin": "^5.5.0",
95
+ "inquirer": "^8.2.0",
96
+ "less-loader": "^10.2.0",
97
+ "listr": "^0.14.3",
98
+ "ncp": "^2.0.0",
99
+ "node-polyfill-webpack-plugin": "^1.1.4",
100
+ "open": "^8.4.0",
101
+ "pem": "^1.14.6",
102
+ "pkg-install": "^1.0.0",
103
+ "postcss": "^8.4.7",
104
+ "react": "17.0.2",
105
+ "react-hot-loader": "^4.13.0",
106
+ "replace-in-file-webpack-plugin": "^1.0.6",
107
+ "rollup": "^2.68.0",
108
+ "rollup-plugin-cleanup": "^3.2.1",
109
+ "rollup-plugin-livereload": "^2.0.5",
110
+ "rollup-plugin-node-polyfills": "^0.2.1",
111
+ "rollup-plugin-postcss": "^4.0.2",
112
+ "rollup-plugin-serve": "^1.1.0",
113
+ "rollup-plugin-typescript2": "^0.31.2",
114
+ "rollup-plugin-web-worker-loader": "^1.6.1",
115
+ "style-loader": "^3.3.1",
116
+ "terser-webpack-plugin": "^5.3.1",
117
+ "ts-loader": "^9.2.6",
118
+ "typescript": "^4.5.5",
119
+ "url-loader": "^4.1.1",
120
+ "webpack": "^5.69.1",
121
+ "webpack-bundle-analyzer": "^4.5.0",
122
+ "webpack-dev-middleware": "^5.3.1",
123
+ "webpack-dev-server": "^4.7.4",
124
+ "webpack-hot-middleware": "^2.25.1",
125
+ "webpack-merge": "^5.8.0",
126
+ "webpackbar": "^5.0.2"
127
+ }
128
+ }