Skip to content

Commit 0508beb

Browse files
authored
Merge pull request #218 from robotframework/site-2.0
Site 2.0
2 parents 4161baf + 6a2351f commit 0508beb

File tree

353 files changed

+57997
-34592
lines changed

Some content is hidden

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

353 files changed

+57997
-34592
lines changed

.editorconfig

Lines changed: 2 additions & 6 deletions
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

.eslintrc.js

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
1-
// https://eslint.org/docs/user-guide/configuring
2-
31
module.exports = {
42
root: true,
5-
parser: 'babel-eslint',
6-
parserOptions: {
7-
sourceType: 'module'
8-
},
93
env: {
10-
browser: true,
4+
node: true
115
},
12-
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
13-
extends: 'standard',
14-
// required to lint *.vue files
15-
plugins: [
16-
'html'
6+
extends: [
7+
'plugin:vue/vue3-essential',
8+
'@vue/standard'
179
],
18-
// add your custom rules here
19-
'rules': {
20-
// allow paren-less arrow functions
21-
'arrow-parens': 0,
22-
// allow async-await
23-
'generator-star-spacing': 0,
24-
// allow debugger during development
25-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
10+
parserOptions: {
11+
parser: 'babel-eslint'
12+
},
13+
rules: {
14+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
16+
'vue/no-multiple-template-root': 'off',
17+
'no-unused-vars': 'warn',
18+
'space-before-function-paren': ['warn', 'never'],
19+
indent: [2, 2]
2620
}
2721
}

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 🔂 Surge PR Preview
22

3-
on: [pull_request]
3+
on: [push]
44

55
jobs:
66
preview:
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
surge_token: ${{ secrets.SURGE_TOKEN }}
1919
github_token: ${{ secrets.GITHUB_TOKEN }}
20-
dist: public
20+
dist: dist
2121
build: |
2222
echo "Has build already"
2323
- name: Get the preview_url

.gitignore

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
.DS_Store
2-
/dist/
2+
node_modules
3+
/dist
4+
5+
6+
# local env files
7+
.env.local
8+
.env.*.local
9+
10+
# Log files
311
npm-debug.log*
412
yarn-debug.log*
513
yarn-error.log*
6-
/test/unit/coverage/
7-
node_modules/
14+
pnpm-debug.log*
15+
16+
# Editor directories and files
817
.idea
918
.vscode
1019
*.suo
1120
*.ntvs*
1221
*.njsproj
1322
*.sln
14-
public
23+
*.sw?

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ following information:
1515
- When adding a new user, also include company/organization logo.
1616

1717
Alternatively you can [submit a pull request](https://github.com/robotframework/robotframework.github.com/pulls) with the above information and
18-
make it even easier for us to add the link. For pull requests, only submit source file changes. Built files will be updated and commited by maintainer.
18+
make it even easier for us to add the link. For pull requests, only submit source file changes. Build will be done automatically.
1919

2020
## License
2121

@@ -39,12 +39,7 @@ npm install
3939
# serve with hot reload at localhost:8080
4040
npm run dev
4141

42-
# and when you are ready to publish your changes, build for production with minification
43-
npm run build
44-
4542
When you want to contribute and open a pull request, only commit source file changes. The build will be done by system.
4643
```
4744

48-
For a detailed explanation on how things work, check out the [vue-webpack template](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
49-
50-
We also use [bootstrap-vue](https://bootstrap-vue.js.org/docs) for implementing bootstrap-v4.
45+
The page is built with [Vue CLI](https://cli.vuejs.org/).

babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}
File renamed without changes.

old assets/.browserslistrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead

old assets/.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
File renamed without changes.

0 commit comments

Comments
 (0)