@equinor/echo-cli 2.2.0-beta-1 → 2.2.0
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 +384 -384
- package/lib/echo-dev-host/README.md +121 -121
- package/lib/echo-dev-host/babel.config.js +10 -10
- package/lib/echo-dev-host/jest.config.js +21 -21
- package/lib/echo-dev-host/package-lock.json +13124 -13124
- package/lib/echo-dev-host/public/env-config.js +17 -17
- package/lib/echo-dev-host/public/index.html +21 -21
- package/lib/echo-dev-host/tsconfig.json +21 -21
- package/lib/echo-dev-host/webpack.config.js +145 -145
- 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/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/tsconfig.json +25 -25
- package/templates/echoLibraryTemplate/package.json +35 -35
- package/templates/echoLibraryTemplate/public/index.html +21 -21
- 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/readme.md +1 -1
- package/lib/sync-echo-dev-versions.d.ts +0 -6
- package/lib/sync-echo-dev-versions.js +0 -43
- package/lib/sync-echo-dev-versions.js.map +0 -1
- package/lib/tools/buildScripts/buildAndCopyDevHost.test.d.ts +0 -1
- package/lib/tools/buildScripts/buildAndCopyDevHost.test.js +0 -500
- package/lib/tools/buildScripts/buildAndCopyDevHost.test.js.map +0 -1
- package/lib/utils/merge.test.d.ts +0 -1
- package/lib/utils/merge.test.js +0 -29
- package/lib/utils/merge.test.js.map +0 -1
|
@@ -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>
|
|
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>
|
|
19
|
+
<div id="root"></div>
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
|
@@ -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": ["@equinor/echo-scripts", "@types/node", "@types/webpack-env", "@types/jest"]
|
|
19
|
+
},
|
|
20
|
+
"include": ["src"]
|
|
21
|
+
}
|
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
import CopyPlugin from 'copy-webpack-plugin';
|
|
2
|
-
import Dotenv from 'dotenv-webpack';
|
|
3
|
-
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
4
|
-
import path from 'path';
|
|
5
|
-
import { fileURLToPath } from 'url';
|
|
6
|
-
import WebpackBar from 'webpackbar';
|
|
7
|
-
|
|
8
|
-
const webpackConfig = (env) => {
|
|
9
|
-
console.log('Building the dev host application for EchoCli.');
|
|
10
|
-
|
|
11
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
12
|
-
const __dirname = path.dirname(__filename);
|
|
13
|
-
|
|
14
|
-
const buildOutputFolder = 'echo-dev-host-build';
|
|
15
|
-
|
|
16
|
-
return {
|
|
17
|
-
entry: ['@babel/polyfill', './src/index.tsx'],
|
|
18
|
-
mode: 'production',
|
|
19
|
-
devtool: 'source-map',
|
|
20
|
-
output: {
|
|
21
|
-
clean: true,
|
|
22
|
-
path: path.resolve(process.cwd(), buildOutputFolder),
|
|
23
|
-
filename: '[name].echo.bundle.js',
|
|
24
|
-
chunkFilename: 'assets/[name].[contenthash].chunk.js',
|
|
25
|
-
publicPath: '/'
|
|
26
|
-
},
|
|
27
|
-
resolve: {
|
|
28
|
-
extensions: ['.ts', '.tsx', '.js', '.jsx'],
|
|
29
|
-
fallback: {
|
|
30
|
-
crypto: false,
|
|
31
|
-
stream: false,
|
|
32
|
-
buffer: false
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
module: {
|
|
36
|
-
rules: [
|
|
37
|
-
{
|
|
38
|
-
test: /\.(ts|tsx)$/,
|
|
39
|
-
loader: 'ts-loader',
|
|
40
|
-
exclude: /node_modules/
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
test: /\.(js|jsx)$/,
|
|
44
|
-
exclude: /node_modules/,
|
|
45
|
-
loader: 'babel-loader'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
test: /\.css$/,
|
|
49
|
-
use: [
|
|
50
|
-
'style-loader',
|
|
51
|
-
{
|
|
52
|
-
loader: 'css-loader',
|
|
53
|
-
options: {
|
|
54
|
-
importLoaders: 1,
|
|
55
|
-
modules: {
|
|
56
|
-
mode: 'local',
|
|
57
|
-
localIdentName: 'echo-[folder]__[local]-[hash:base64:5]',
|
|
58
|
-
namedExport: false,
|
|
59
|
-
exportLocalsConvention: 'as-is'
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
include: /\.module\.css$/
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
test: /\.css$/,
|
|
68
|
-
use: ['style-loader', 'css-loader'],
|
|
69
|
-
exclude: /\.module\.css$/
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
test: /\.svg$/,
|
|
73
|
-
use: ['@svgr/webpack']
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
test: /\.(png|jpe?g|gif)$/i,
|
|
77
|
-
use: [
|
|
78
|
-
{
|
|
79
|
-
loader: 'file-loader'
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
devServer: {
|
|
86
|
-
static: [
|
|
87
|
-
{
|
|
88
|
-
directory: path.join(__dirname, 'public')
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
directory: path.join(__dirname, 'build')
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
compress: true,
|
|
95
|
-
port: 3000,
|
|
96
|
-
hot: true,
|
|
97
|
-
historyApiFallback: true,
|
|
98
|
-
server: 'https',
|
|
99
|
-
headers: {
|
|
100
|
-
'Access-Control-Allow-Origin': '*',
|
|
101
|
-
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS',
|
|
102
|
-
'Access-Control-Allow-Headers': 'X-Requested-With, content-type, Authorization'
|
|
103
|
-
}
|
|
104
|
-
// overlay: {
|
|
105
|
-
// warnings: true,
|
|
106
|
-
// errors: true,
|
|
107
|
-
// },
|
|
108
|
-
},
|
|
109
|
-
plugins: [
|
|
110
|
-
new Dotenv({
|
|
111
|
-
ignoreStub: false,
|
|
112
|
-
expand: true,
|
|
113
|
-
systemvars: false
|
|
114
|
-
}),
|
|
115
|
-
new HtmlWebpackPlugin({
|
|
116
|
-
template: path.resolve(__dirname, './public/index.html')
|
|
117
|
-
}),
|
|
118
|
-
new WebpackBar({
|
|
119
|
-
name: 'Echo module',
|
|
120
|
-
color: '#007079',
|
|
121
|
-
profile: true
|
|
122
|
-
}),
|
|
123
|
-
new CopyPlugin({
|
|
124
|
-
patterns: [
|
|
125
|
-
{
|
|
126
|
-
from: path.resolve(__dirname, './public/index.css'),
|
|
127
|
-
to: path.resolve(process.cwd(), buildOutputFolder, 'index.css')
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
from: path.resolve(__dirname, './public/env-config.js'),
|
|
131
|
-
to: path.resolve(process.cwd(), buildOutputFolder, 'env-config.js')
|
|
132
|
-
}
|
|
133
|
-
]
|
|
134
|
-
})
|
|
135
|
-
],
|
|
136
|
-
optimization: {
|
|
137
|
-
splitChunks: {
|
|
138
|
-
chunks: 'all'
|
|
139
|
-
},
|
|
140
|
-
minimize: true
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
export default webpackConfig;
|
|
1
|
+
import CopyPlugin from 'copy-webpack-plugin';
|
|
2
|
+
import Dotenv from 'dotenv-webpack';
|
|
3
|
+
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
4
|
+
import path from 'path';
|
|
5
|
+
import { fileURLToPath } from 'url';
|
|
6
|
+
import WebpackBar from 'webpackbar';
|
|
7
|
+
|
|
8
|
+
const webpackConfig = (env) => {
|
|
9
|
+
console.log('Building the dev host application for EchoCli.');
|
|
10
|
+
|
|
11
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
12
|
+
const __dirname = path.dirname(__filename);
|
|
13
|
+
|
|
14
|
+
const buildOutputFolder = 'echo-dev-host-build';
|
|
15
|
+
|
|
16
|
+
return {
|
|
17
|
+
entry: ['@babel/polyfill', './src/index.tsx'],
|
|
18
|
+
mode: 'production',
|
|
19
|
+
devtool: 'source-map',
|
|
20
|
+
output: {
|
|
21
|
+
clean: true,
|
|
22
|
+
path: path.resolve(process.cwd(), buildOutputFolder),
|
|
23
|
+
filename: '[name].echo.bundle.js',
|
|
24
|
+
chunkFilename: 'assets/[name].[contenthash].chunk.js',
|
|
25
|
+
publicPath: '/'
|
|
26
|
+
},
|
|
27
|
+
resolve: {
|
|
28
|
+
extensions: ['.ts', '.tsx', '.js', '.jsx'],
|
|
29
|
+
fallback: {
|
|
30
|
+
crypto: false,
|
|
31
|
+
stream: false,
|
|
32
|
+
buffer: false
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
module: {
|
|
36
|
+
rules: [
|
|
37
|
+
{
|
|
38
|
+
test: /\.(ts|tsx)$/,
|
|
39
|
+
loader: 'ts-loader',
|
|
40
|
+
exclude: /node_modules/
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
test: /\.(js|jsx)$/,
|
|
44
|
+
exclude: /node_modules/,
|
|
45
|
+
loader: 'babel-loader'
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
test: /\.css$/,
|
|
49
|
+
use: [
|
|
50
|
+
'style-loader',
|
|
51
|
+
{
|
|
52
|
+
loader: 'css-loader',
|
|
53
|
+
options: {
|
|
54
|
+
importLoaders: 1,
|
|
55
|
+
modules: {
|
|
56
|
+
mode: 'local',
|
|
57
|
+
localIdentName: 'echo-[folder]__[local]-[hash:base64:5]',
|
|
58
|
+
namedExport: false,
|
|
59
|
+
exportLocalsConvention: 'as-is'
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
include: /\.module\.css$/
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
test: /\.css$/,
|
|
68
|
+
use: ['style-loader', 'css-loader'],
|
|
69
|
+
exclude: /\.module\.css$/
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
test: /\.svg$/,
|
|
73
|
+
use: ['@svgr/webpack']
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
test: /\.(png|jpe?g|gif)$/i,
|
|
77
|
+
use: [
|
|
78
|
+
{
|
|
79
|
+
loader: 'file-loader'
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
devServer: {
|
|
86
|
+
static: [
|
|
87
|
+
{
|
|
88
|
+
directory: path.join(__dirname, 'public')
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
directory: path.join(__dirname, 'build')
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
compress: true,
|
|
95
|
+
port: 3000,
|
|
96
|
+
hot: true,
|
|
97
|
+
historyApiFallback: true,
|
|
98
|
+
server: 'https',
|
|
99
|
+
headers: {
|
|
100
|
+
'Access-Control-Allow-Origin': '*',
|
|
101
|
+
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS',
|
|
102
|
+
'Access-Control-Allow-Headers': 'X-Requested-With, content-type, Authorization'
|
|
103
|
+
}
|
|
104
|
+
// overlay: {
|
|
105
|
+
// warnings: true,
|
|
106
|
+
// errors: true,
|
|
107
|
+
// },
|
|
108
|
+
},
|
|
109
|
+
plugins: [
|
|
110
|
+
new Dotenv({
|
|
111
|
+
ignoreStub: false,
|
|
112
|
+
expand: true,
|
|
113
|
+
systemvars: false
|
|
114
|
+
}),
|
|
115
|
+
new HtmlWebpackPlugin({
|
|
116
|
+
template: path.resolve(__dirname, './public/index.html')
|
|
117
|
+
}),
|
|
118
|
+
new WebpackBar({
|
|
119
|
+
name: 'Echo module',
|
|
120
|
+
color: '#007079',
|
|
121
|
+
profile: true
|
|
122
|
+
}),
|
|
123
|
+
new CopyPlugin({
|
|
124
|
+
patterns: [
|
|
125
|
+
{
|
|
126
|
+
from: path.resolve(__dirname, './public/index.css'),
|
|
127
|
+
to: path.resolve(process.cwd(), buildOutputFolder, 'index.css')
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
from: path.resolve(__dirname, './public/env-config.js'),
|
|
131
|
+
to: path.resolve(process.cwd(), buildOutputFolder, 'env-config.js')
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
})
|
|
135
|
+
],
|
|
136
|
+
optimization: {
|
|
137
|
+
splitChunks: {
|
|
138
|
+
chunks: 'all'
|
|
139
|
+
},
|
|
140
|
+
minimize: true
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
export default webpackConfig;
|
package/package.json
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@equinor/echo-cli",
|
|
3
|
-
"version": "2.2.0
|
|
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
|
-
"type": "module",
|
|
9
|
-
"repository": {
|
|
10
|
-
"url": "git+https://github.com/equinor/EchoCli.git"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"echo-publish": "npm publish --access public",
|
|
14
|
-
"echo-publish-beta": "npm publish --access public --tag beta",
|
|
15
|
-
"echo-publish-next": "npm publish --access public --tag next",
|
|
16
|
-
"echo-test": "npm ci & jest --watchAll",
|
|
17
|
-
"echo-update": "echo-update",
|
|
18
|
-
"echo-update-version": "echo-update -v",
|
|
19
|
-
"echo-update-next": "echo-update -c",
|
|
20
|
-
"echo-update-all": "echo-update -a",
|
|
21
|
-
"test": "tsc && tsc --project tsconfig.test.json && jest",
|
|
22
|
-
"build": "tsc && node copy-dev-host.cjs",
|
|
23
|
-
"lint": "eslint --color",
|
|
24
|
-
"cli-publish": "npm run build",
|
|
25
|
-
"postcli-publish": "npm run echo-publish"
|
|
26
|
-
},
|
|
27
|
-
"keywords": [],
|
|
28
|
-
"author": "Echo Core",
|
|
29
|
-
"license": "MIT",
|
|
30
|
-
"module": "node",
|
|
31
|
-
"bin": {
|
|
32
|
-
"echo-create": "./lib/echo-create.js",
|
|
33
|
-
"echo-build": "./lib/echo-build.js",
|
|
34
|
-
"echo-manifest": "./lib/echo-manifest.js",
|
|
35
|
-
"build-echo-dev-host": "./lib/echo-build-dev-host.js",
|
|
36
|
-
"update-echo-libs": "./lib/update-echo-libs.js",
|
|
37
|
-
"sync-dev-host-to-app": "./lib/sync-dev-host-to-app.js"
|
|
38
|
-
},
|
|
39
|
-
"files": [
|
|
40
|
-
"lib",
|
|
41
|
-
"templates"
|
|
42
|
-
],
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"@babel/core": "7.28.0",
|
|
45
|
-
"@babel/preset-env": "7.27.2",
|
|
46
|
-
"@babel/preset-react": "7.27.1",
|
|
47
|
-
"@babel/preset-typescript": "7.27.1",
|
|
48
|
-
"@equinor/echo-scripts": "0.1.5",
|
|
49
|
-
"@oclif/core": "4.5.2",
|
|
50
|
-
"@oclif/plugin-plugins": "5.4.38",
|
|
51
|
-
"@svgr/webpack": "8.1.0",
|
|
52
|
-
"assert": "2.1.0",
|
|
53
|
-
"autoprefixer": "10.4.21",
|
|
54
|
-
"babel-loader": "10.0.0",
|
|
55
|
-
"babel-polyfill": "6.26.0",
|
|
56
|
-
"chalk": "5.4.1",
|
|
57
|
-
"css-loader": "7.1.2",
|
|
58
|
-
"dotenv-webpack": "8.1.0",
|
|
59
|
-
"execa": "9.5.3",
|
|
60
|
-
"express": "5.1.0",
|
|
61
|
-
"figlet": "1.8.1",
|
|
62
|
-
"file-loader": "6.2.0",
|
|
63
|
-
"fs-extra": "11.3.1",
|
|
64
|
-
"html-webpack-plugin": "5.6.3",
|
|
65
|
-
"inquirer": "12.6.1",
|
|
66
|
-
"listr2": "8.3.3",
|
|
67
|
-
"ncp": "2.0.0",
|
|
68
|
-
"ora": "^8.2.0",
|
|
69
|
-
"package-directory": "^8.1.0",
|
|
70
|
-
"pem": "1.14.8",
|
|
71
|
-
"postcss": "8.5.3",
|
|
72
|
-
"react": "18.3.1",
|
|
73
|
-
"replace-in-file-webpack-plugin": "1.0.6",
|
|
74
|
-
"strip-ansi": "^7.1.2",
|
|
75
|
-
"style-loader": "4.0.0",
|
|
76
|
-
"terser-webpack-plugin": "5.3.14",
|
|
77
|
-
"ts-loader": "9.5.2",
|
|
78
|
-
"typescript": "5.8.3",
|
|
79
|
-
"url-loader": "4.1.1",
|
|
80
|
-
"webpack": "5.99.8",
|
|
81
|
-
"webpack-bundle-analyzer": "4.10.2",
|
|
82
|
-
"webpack-dev-middleware": "7.4.2",
|
|
83
|
-
"webpack-dev-server": "5.2.1",
|
|
84
|
-
"webpack-hot-middleware": "2.26.1",
|
|
85
|
-
"webpack-merge": "6.0.1",
|
|
86
|
-
"webpackbar": "7.0.0"
|
|
87
|
-
},
|
|
88
|
-
"devDependencies": {
|
|
89
|
-
"@microsoft/microsoft-graph-types": "2.40.0",
|
|
90
|
-
"@types/express": "5.0.2",
|
|
91
|
-
"@types/jest": "29.5.14",
|
|
92
|
-
"@types/listr": "0.14.9",
|
|
93
|
-
"@types/node": "22.15.19",
|
|
94
|
-
"@types/pem": "1.14.4",
|
|
95
|
-
"@types/react": "18.3.18",
|
|
96
|
-
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
97
|
-
"@types/webpack-dev-middleware": "5.3.0",
|
|
98
|
-
"@types/webpack-dev-server": "4.7.2",
|
|
99
|
-
"@types/webpack-hot-middleware": "2.25.9",
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "8.32.1",
|
|
101
|
-
"@typescript-eslint/parser": "8.32.1",
|
|
102
|
-
"babel-jest": "29.7.0",
|
|
103
|
-
"eslint": "9.27.0",
|
|
104
|
-
"eslint-config-prettier": "10.1.5",
|
|
105
|
-
"eslint-plugin-prettier": "5.4.0",
|
|
106
|
-
"eslint-plugin-react": "7.37.5",
|
|
107
|
-
"eslint-plugin-react-hooks": "5.2.0",
|
|
108
|
-
"jest": "29.7.0",
|
|
109
|
-
"prettier": "3.5.3"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@equinor/echo-cli",
|
|
3
|
+
"version": "2.2.0",
|
|
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
|
+
"type": "module",
|
|
9
|
+
"repository": {
|
|
10
|
+
"url": "git+https://github.com/equinor/EchoCli.git"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"echo-publish": "npm publish --access public",
|
|
14
|
+
"echo-publish-beta": "npm publish --access public --tag beta",
|
|
15
|
+
"echo-publish-next": "npm publish --access public --tag next",
|
|
16
|
+
"echo-test": "npm ci & jest --watchAll",
|
|
17
|
+
"echo-update": "echo-update",
|
|
18
|
+
"echo-update-version": "echo-update -v",
|
|
19
|
+
"echo-update-next": "echo-update -c",
|
|
20
|
+
"echo-update-all": "echo-update -a",
|
|
21
|
+
"test": "tsc && tsc --project tsconfig.test.json && jest",
|
|
22
|
+
"build": "tsc && node copy-dev-host.cjs",
|
|
23
|
+
"lint": "eslint --color",
|
|
24
|
+
"cli-publish": "npm run build",
|
|
25
|
+
"postcli-publish": "npm run echo-publish"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [],
|
|
28
|
+
"author": "Echo Core",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"module": "node",
|
|
31
|
+
"bin": {
|
|
32
|
+
"echo-create": "./lib/echo-create.js",
|
|
33
|
+
"echo-build": "./lib/echo-build.js",
|
|
34
|
+
"echo-manifest": "./lib/echo-manifest.js",
|
|
35
|
+
"build-echo-dev-host": "./lib/echo-build-dev-host.js",
|
|
36
|
+
"update-echo-libs": "./lib/update-echo-libs.js",
|
|
37
|
+
"sync-dev-host-to-app": "./lib/sync-dev-host-to-app.js"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"lib",
|
|
41
|
+
"templates"
|
|
42
|
+
],
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@babel/core": "7.28.0",
|
|
45
|
+
"@babel/preset-env": "7.27.2",
|
|
46
|
+
"@babel/preset-react": "7.27.1",
|
|
47
|
+
"@babel/preset-typescript": "7.27.1",
|
|
48
|
+
"@equinor/echo-scripts": "0.1.5",
|
|
49
|
+
"@oclif/core": "4.5.2",
|
|
50
|
+
"@oclif/plugin-plugins": "5.4.38",
|
|
51
|
+
"@svgr/webpack": "8.1.0",
|
|
52
|
+
"assert": "2.1.0",
|
|
53
|
+
"autoprefixer": "10.4.21",
|
|
54
|
+
"babel-loader": "10.0.0",
|
|
55
|
+
"babel-polyfill": "6.26.0",
|
|
56
|
+
"chalk": "5.4.1",
|
|
57
|
+
"css-loader": "7.1.2",
|
|
58
|
+
"dotenv-webpack": "8.1.0",
|
|
59
|
+
"execa": "9.5.3",
|
|
60
|
+
"express": "5.1.0",
|
|
61
|
+
"figlet": "1.8.1",
|
|
62
|
+
"file-loader": "6.2.0",
|
|
63
|
+
"fs-extra": "11.3.1",
|
|
64
|
+
"html-webpack-plugin": "5.6.3",
|
|
65
|
+
"inquirer": "12.6.1",
|
|
66
|
+
"listr2": "8.3.3",
|
|
67
|
+
"ncp": "2.0.0",
|
|
68
|
+
"ora": "^8.2.0",
|
|
69
|
+
"package-directory": "^8.1.0",
|
|
70
|
+
"pem": "1.14.8",
|
|
71
|
+
"postcss": "8.5.3",
|
|
72
|
+
"react": "18.3.1",
|
|
73
|
+
"replace-in-file-webpack-plugin": "1.0.6",
|
|
74
|
+
"strip-ansi": "^7.1.2",
|
|
75
|
+
"style-loader": "4.0.0",
|
|
76
|
+
"terser-webpack-plugin": "5.3.14",
|
|
77
|
+
"ts-loader": "9.5.2",
|
|
78
|
+
"typescript": "5.8.3",
|
|
79
|
+
"url-loader": "4.1.1",
|
|
80
|
+
"webpack": "5.99.8",
|
|
81
|
+
"webpack-bundle-analyzer": "4.10.2",
|
|
82
|
+
"webpack-dev-middleware": "7.4.2",
|
|
83
|
+
"webpack-dev-server": "5.2.1",
|
|
84
|
+
"webpack-hot-middleware": "2.26.1",
|
|
85
|
+
"webpack-merge": "6.0.1",
|
|
86
|
+
"webpackbar": "7.0.0"
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": {
|
|
89
|
+
"@microsoft/microsoft-graph-types": "2.40.0",
|
|
90
|
+
"@types/express": "5.0.2",
|
|
91
|
+
"@types/jest": "29.5.14",
|
|
92
|
+
"@types/listr": "0.14.9",
|
|
93
|
+
"@types/node": "22.15.19",
|
|
94
|
+
"@types/pem": "1.14.4",
|
|
95
|
+
"@types/react": "18.3.18",
|
|
96
|
+
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
97
|
+
"@types/webpack-dev-middleware": "5.3.0",
|
|
98
|
+
"@types/webpack-dev-server": "4.7.2",
|
|
99
|
+
"@types/webpack-hot-middleware": "2.25.9",
|
|
100
|
+
"@typescript-eslint/eslint-plugin": "8.32.1",
|
|
101
|
+
"@typescript-eslint/parser": "8.32.1",
|
|
102
|
+
"babel-jest": "29.7.0",
|
|
103
|
+
"eslint": "9.27.0",
|
|
104
|
+
"eslint-config-prettier": "10.1.5",
|
|
105
|
+
"eslint-plugin-prettier": "5.4.0",
|
|
106
|
+
"eslint-plugin-react": "7.37.5",
|
|
107
|
+
"eslint-plugin-react-hooks": "5.2.0",
|
|
108
|
+
"jest": "29.7.0",
|
|
109
|
+
"prettier": "3.5.3"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
* text=auto
|
|
2
|
-
*.sh text eol=lf
|
|
3
|
-
.env text eol=lf
|
|
1
|
+
* text=auto
|
|
2
|
+
*.sh text eol=lf
|
|
3
|
+
.env text eol=lf
|