Skip to content

Commit 5fe2a26

Browse files
authored
Merge pull request #58 from Comcast/testnet
Merging the TestNet Branch
2 parents 19f4353 + bda6b6e commit 5fe2a26

File tree

454 files changed

+57835
-113156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

454 files changed

+57835
-113156
lines changed

.env.development

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
VUE_APP_DCL_API_NODE=http://localhost:8080/api
2-
VUE_APP_DCL_RPC_NODE=http://localhost:8080/rpc
3-
VUE_APP_DCL_WEBSOCKET_NODE=ws://localhost:8080/websocket
4-
VUE_APP_DCL_CHAIN_ID=dclchain
5-
VUE_APP_DCL_CHAIN_NAME=dclchain-localhost
6-
VUE_APP_DCL_ADDR_PREFIX=cosmos
7-
VUE_APP_DCL_SDK_VERSION=Stargate
8-
VUE_APP_DCL_TX_API=/rpc/tx?hash=0x
9-
VUE_APP_DCL_REFRESH=500000
1+
VITE_APP_DCL_API_NODE=http://localhost:8080/api
2+
VITE_APP_DCL_RPC_NODE=http://localhost:8080/rpc
3+
VITE_APP_DCL_WEBSOCKET_NODE=ws://localhost:8080/websocket
4+
VITE_APP_DCL_CHAIN_ID=dclchain
5+
VITE_APP_DCL_CHAIN_NAME=dclchain-localhost
6+
VITE_APP_DCL_ADDR_PREFIX=cosmos
7+
VITE_APP_DCL_SDK_VERSION=Stargate
8+
VITE_APP_DCL_TX_API=/rpc/tx?hash=0x
9+
VITE_APP_DCL_REFRESH=500000

.eslintrc.js

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require('@rushstack/eslint-patch/modern-module-resolution');
12
module.exports = {
23
root: true,
34
env: {
@@ -7,16 +8,26 @@ module.exports = {
78
'plugin:vue/vue3-essential',
89
'eslint:recommended',
910
'plugin:prettier/recommended',
10-
'@vue/prettier'
11+
'@vue/prettier',
12+
'@vue/eslint-config-prettier'
1113
],
1214
parserOptions: {
13-
parser: 'babel-eslint'
15+
parser: 'babel-eslint',
16+
ecmaVersion: 'latest'
1417
},
1518
plugins: ['prettier'],
1619
rules: {
1720
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
1821
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1922
'no-unused-vars': 'off',
20-
'vue/component-name-in-template-casing': ['error', 'PascalCase']
23+
'vue/component-name-in-template-casing': ['error', 'PascalCase'],
24+
'vue/multi-word-component-names': 'off',
25+
'vue/no-reserved-component-names': 'off',
26+
'vue/component-tags-order': [
27+
'error',
28+
{
29+
order: ['script', 'template', 'style']
30+
}
31+
]
2132
}
22-
}
33+
};

.prettierrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"useTabs": false,
3+
"tabWidth": 4,
4+
"trailingComma": "none",
5+
"semi": true,
6+
"singleQuote": true,
7+
"vueIndentScriptAndStyle": false,
8+
"printWidth": 250,
9+
"bracketSameLine": false
10+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
DCL-UI is [Vue.js](https://vuejs.org/) - based web application for managing the CSA Distributed Compliance Ledger. This app provides a web interface to view and manage the data in the Ledger.
44

55
## Prerequisites
6-
You will need [Node.js](https://nodejs.org) version 12.0 or greater installed on your system.
6+
You will need [Node.js](https://nodejs.org) version 20.x installed on your system.
77

88
## Project Setup
99

babel.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
module.exports = {
2-
presets: ['@vue/cli-plugin-babel/preset']
2+
presets: ['@vue/cli-plugin-babel/preset'],
3+
plugins: [
4+
'@babel/plugin-proposal-numeric-separator',
5+
'@babel/plugin-proposal-optional-chaining'
6+
]
37
}

index.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<link rel="icon" href="/favicon.ico">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>Distributed Compliance Ledger</title>
9+
<link id="theme-link" rel="stylesheet" type="text/css" href="/themes/lara-light-blue/theme.css">
10+
<link rel="stylesheet" href="/themes/application.css">
11+
</head>
12+
13+
<body>
14+
<div id="app">
15+
<div class="preloader">
16+
<div class="preloader-content">
17+
</div>
18+
</div>
19+
</div>
20+
<script type="module" src="/src/main.js"></script>
21+
</body>
22+
23+
</html>

0 commit comments

Comments
 (0)