Skip to content

Commit d44dd08

Browse files
authored
Upgrade of all frontend components and dependency libraries (#186)
* Upgrade of all frontend components * Growing * Almost working. Need to fix modals * Fixed small issues * Refactored to vuejs CLI * Working * Fix * Updated readme with new npm run serve command * Upgrade node to 12.6.0 * Added frontend dev server port
1 parent 6d5d92e commit d44dd08

Some content is hidden

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

80 files changed

+21586
-18775
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
name: Compile frontend and final binary
8181
command: |
8282
cd frontend
83-
nvm install v10.5.0
83+
nvm install v12.6.0
8484
npm cache clean --force
8585
cd ..
8686
make download

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ If you think you found a good first issue, please consider this list as a short
349349

350350
* If the issue is clear and you have no questions, please leave a short comment that you started working on this. The issue will be usually blocked for two weeks for you to solve it.
351351
* If something is not clear or you are unsure what to do, please leave a comment so we can add more detailed description.
352-
* Make sure your development environment is configured and set up. You need `Go installed`_ on your machine and also `nodeJS`_ for the frontend. Clone this repository and run the **make** command inside the cloned folder. This will start the backend. To start the frontend you have to open a new terminal window and go into the frontend folder. There you run **npm install** and then **npm run dev**. This should automatically open a new browser window.
352+
* Make sure your development environment is configured and set up. You need `Go installed`_ on your machine and also `nodeJS`_ for the frontend. Clone this repository and run the **make** command inside the cloned folder. This will start the backend. To start the frontend you have to open a new terminal window and go into the frontend folder. There you run **npm install** and then **npm run serve**. This should automatically open a new browser window.
353353
* Before you start your work, you should fork this repository and push changes to your fork. Afterwards, send a merge request back to upstream.
354354

355355
Contact

docker/Dockerfile.nodejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ EXPOSE ${GAIA_PORT}
2727
COPY docker/docker-entrypoint.sh /usr/local/bin/
2828

2929
# Start gaia
30-
ENTRYPOINT [ "docker-entrypoint.sh" ]
30+
ENTRYPOINT [ "docker-entrypoint.sh" ]

frontend/.babelrc

-9
This file was deleted.

frontend/.browserslistrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> 1%
2+
last 2 versions

frontend/.editorconfig

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
root = true
2-
3-
[*]
4-
charset = utf-8
1+
[*.{js,jsx,ts,tsx,vue}]
52
indent_style = space
63
indent_size = 2
7-
end_of_line = lf
8-
insert_final_newline = true
94
trim_trailing_whitespace = true
5+
insert_final_newline = true

frontend/.eslintignore

-1
This file was deleted.

frontend/.eslintrc.js

+11-16
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
module.exports = {
22
root: true,
3-
parser: 'babel-eslint',
4-
parserOptions: {
5-
sourceType: 'module'
3+
env: {
4+
node: true
65
},
7-
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
8-
extends: 'standard',
9-
// required to lint *.vue files
10-
plugins: [
11-
'html'
6+
'extends': [
7+
'plugin:vue/essential',
8+
'@vue/standard'
129
],
13-
// add your custom rules here
14-
'rules': {
15-
// allow paren-less arrow functions
16-
'arrow-parens': 0,
17-
// allow async-await
18-
'generator-star-spacing': 0,
19-
// allow debugger during development
20-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
10+
rules: {
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
13+
},
14+
parserOptions: {
15+
parser: 'babel-eslint'
2116
}
2217
}

frontend/LICENSE

-21
This file was deleted.

frontend/README.md

-144
This file was deleted.

frontend/appveyor.yml

-19
This file was deleted.

frontend/babel.config.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app'
4+
],
5+
plugins: [
6+
'@babel/plugin-proposal-export-default-from'
7+
]
8+
}

frontend/build/build.js

-44
This file was deleted.

frontend/build/check-versions.js

-47
This file was deleted.

frontend/build/dev-client.js

-11
This file was deleted.

0 commit comments

Comments
 (0)