Skip to content

Commit 3795eef

Browse files
authored
Merge pull request #3 from hyperweb-io/deploy/ci2
Deploy/ci2
2 parents cddb6f4 + 32e7843 commit 3795eef

Some content is hidden

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

45 files changed

+7947
-11831
lines changed

packages/dashboard/.editorconfig

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/dashboard/.eslintignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/dashboard/.eslintrc.js

Lines changed: 0 additions & 71 deletions
This file was deleted.

packages/dashboard/.eslintrc.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true,
6+
"jest": true
7+
},
8+
"extends": [
9+
"eslint:recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"prettier"
12+
],
13+
"overrides": [],
14+
"parser": "@typescript-eslint/parser",
15+
"parserOptions": {
16+
"ecmaVersion": "latest",
17+
"sourceType": "module"
18+
},
19+
"plugins": [
20+
"@typescript-eslint",
21+
"simple-import-sort",
22+
"unused-imports"
23+
],
24+
"rules": {
25+
"indent": [
26+
"error",
27+
2
28+
],
29+
"quotes": [
30+
"error",
31+
"single",
32+
{
33+
"avoidEscape": true,
34+
"allowTemplateLiterals": true
35+
}
36+
],
37+
"quote-props": [
38+
"error",
39+
"as-needed"
40+
],
41+
"semi": [
42+
"error",
43+
"always"
44+
],
45+
"simple-import-sort/imports": 1,
46+
"simple-import-sort/exports": 1,
47+
"unused-imports/no-unused-imports": 1,
48+
"@typescript-eslint/no-unused-vars": [
49+
1,
50+
{
51+
"argsIgnorePattern": "React|res|next|^_"
52+
}
53+
],
54+
"@typescript-eslint/no-explicit-any": 0,
55+
"@typescript-eslint/no-var-requires": 0,
56+
"no-console": 0,
57+
"@typescript-eslint/ban-ts-comment": 0,
58+
"prefer-const": 0,
59+
"no-case-declarations": 0,
60+
"no-implicit-globals": 0,
61+
"@typescript-eslint/no-unsafe-declaration-merging": 0
62+
}
63+
}

packages/dashboard/.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323

2424
- name: Install dependencies
2525
run: yarn install --frozen-lockfile
26-
26+
27+
- name: Build packages
28+
run: yarn build
29+
2730
- name: Install kubectl
2831
run: |
2932
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
@@ -57,6 +60,7 @@ jobs:
5760
5861
- name: Start kubectl proxy
5962
run: kubectl proxy --port=8001 &
60-
61-
- name: Run tests
62-
run: yarn test
63+
64+
- name: Run kubernetesjs tests
65+
working-directory: packages/kubernetesjs
66+
run: yarn test

packages/dashboard/.gitignore

Lines changed: 5 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,5 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
6-
# Runtime data
7-
pids
8-
*.pid
9-
*.seed
10-
11-
# dist
12-
main
13-
module
14-
15-
# Directory for instrumented libs generated by jscoverage/JSCover
16-
lib-cov
17-
18-
# Coverage directory used by tools like istanbul
19-
coverage
20-
21-
# nyc test coverage
22-
.nyc_output
23-
24-
# Compiled binary addons (http://nodejs.org/api/addons.html)
25-
build/Release
26-
27-
# Dependency directories
28-
node_modules
29-
jspm_packages
30-
31-
# Optional npm cache directory
32-
.npm
33-
34-
# Optional REPL history
35-
.node_repl_history
36-
37-
# Editors
38-
.idea
39-
40-
# Lib
41-
lib
42-
43-
# npm package lock
44-
package-lock.json
45-
yarn.lock
46-
47-
# others
48-
.DS_Store
1+
**/node_modules/
2+
**/.DS_Store
3+
**/dist
4+
**/yarn-error.log
5+
lerna-debug.log

packages/dashboard/.npmignore

Lines changed: 0 additions & 26 deletions
This file was deleted.

packages/dashboard/.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"useTabs": false,
6+
"singleQuote": false
7+
}

packages/dashboard/.vscode/settings.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)