Skip to content

Commit

Permalink
Merge pull request #68 from projectsveltos/profiles
Browse files Browse the repository at this point in the history
Add Profiles to Sveltos Dashboard
  • Loading branch information
Safouene1 authored Feb 4, 2025
2 parents f591de1 + 4e77762 commit 4c4ada3
Show file tree
Hide file tree
Showing 98 changed files with 3,857 additions and 3,923 deletions.
8 changes: 0 additions & 8 deletions .env

This file was deleted.

33 changes: 27 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,54 @@
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["react", "react-hooks", "@typescript-eslint"],
"plugins": ["react", "react-hooks", "@typescript-eslint", "unused-imports"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
"sourceType": "module",
"project": "./tsconfig.json"
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parser": "@typescript-eslint/parser"
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
]
}
}
],
"env": {
"browser": true,
"es2020": true
"es2020": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
}
},

"rules": {
"unused-imports/no-unused-imports": "error",
"react/react-in-jsx-scope": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn",
"react/prop-types": "off"
}
},
"ignorePatterns": [
"vite.config.ts",
"tailwind.config.js",
"scripts/*",
"postcss.config.js",
"*.js"
]
}
12 changes: 11 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
{}
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf"
}
12 changes: 12 additions & 0 deletions .run/dev.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="dev" type="js.build_tools.npm" singleton="false" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="dev" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>
2 changes: 0 additions & 2 deletions development.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ default : `localhost`

`set VITE_BACKEND_NAME= ui-backend`


### Configure the protocol

to change the protocol to `https` set the following environment variable
Expand All @@ -50,4 +49,3 @@ if the port is not available , it will automatically switch to the next availabl
##### Example :

`npm run dev -- --port 3000`

8 changes: 4 additions & 4 deletions manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ spec:
app: dashboard
spec:
containers:
- name: dashboard
image: docker.io/projectsveltos/dashboard:main
ports:
- containerPort: 5173
- name: dashboard
image: docker.io/projectsveltos/dashboard:main
ports:
- containerPort: 5173
---
apiVersion: v1
kind: Service
Expand Down
Loading

0 comments on commit 4c4ada3

Please sign in to comment.