-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pci-private-network): create µapp
ref: DTCORE-2033 Signed-off-by: Yoann Fievez <[email protected]> Co-Authored-By: Florian Renaut <[email protected]> Co-Authored-By: Mohammed Hamdoune <[email protected]> Co-Authored-By: LIDRISSI Hamid <[email protected]>
- Loading branch information
1 parent
5886a39
commit 155f659
Showing
188 changed files
with
8,939 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export * from './useCatalogPrice'; | ||
export * from './useMe'; | ||
export * from './useProjectUrl'; | ||
export * from './pci-project-provider'; |
2 changes: 1 addition & 1 deletion
2
...ps/pci-gateway/src/hooks/catalog-price.ts → ...r-components/src/hooks/useCatalogPrice.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/manager/apps/pci-gateway/src/api/hooks/cloud-catalog.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/manager/apps/pci-gateway/src/api/hooks/gateway-plans.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = { | ||
extends: [ | ||
'../../../../.eslintrc.js', | ||
'plugin:react/recommended', | ||
'plugin:react/jsx-runtime', | ||
], | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
globals: { | ||
__VERSION__: true, | ||
}, | ||
rules: { | ||
'import/extensions': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'arrow-body-style': ['error', 'as-needed'], | ||
'prefer-const': 'error', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# PCI Private Network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>OVHcloud</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="./src/main.tsx"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"name": "@ovh-ux/manager-pci-private-network-app", | ||
"version": "0.0.0", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsc --project tsconfig.build.json && vite build", | ||
"coverage": "vitest run --coverage", | ||
"dev": "vite", | ||
"lint": "eslint ./src", | ||
"start": "lerna exec --stream --scope='@ovh-ux/manager-pci-private-network-app' --include-dependencies -- npm run build --if-present", | ||
"start:dev": "lerna exec --stream --scope='@ovh-ux/manager-pci-private-network-app' --include-dependencies -- npm run dev --if-present", | ||
"start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-pci-private-network-app' --include-dependencies -- npm run dev:watch --if-present", | ||
"test": "vitest run" | ||
}, | ||
"dependencies": { | ||
"@ovh-ux/manager-config": "^7.3.1", | ||
"@ovh-ux/manager-core-api": "^0.7.1", | ||
"@ovh-ux/manager-react-core-application": "^0.8.3", | ||
"@ovh-ux/manager-react-shell-client": "^0.6.0", | ||
"@ovh-ux/manager-tailwind-config": "^0.2.0", | ||
"@ovh-ux/shell": "^3.2.0", | ||
"@ovhcloud/manager-components": "^1.13.0", | ||
"@ovhcloud/ods-common-core": "^17.2.2", | ||
"@ovhcloud/ods-common-stencil": "^17.2.2", | ||
"@ovhcloud/ods-common-theming": "^17.2.2", | ||
"@ovhcloud/ods-components": "^17.2.2", | ||
"@ovhcloud/ods-theme-blue-jeans": "^17.2.2", | ||
"@tanstack/react-query": "^5.37.1", | ||
"@tanstack/react-query-devtools": "^5.37.1", | ||
"@tanstack/react-table": "^8.17.3", | ||
"clsx": "2.1.1", | ||
"date-fns": "^3.3.1", | ||
"element-internals-polyfill": "^1.3.10", | ||
"file-saver": "^2.0.5", | ||
"i18next": "^23.8.2", | ||
"i18next-http-backend": "^2.4.3", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-hook-form": "^7.50.1", | ||
"react-i18next": "^14.0.5", | ||
"react-router-dom": "^6.22.0", | ||
"react-use": "^17.5.0", | ||
"zustand": "^4.5.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.7.0", | ||
"@ovh-ux/manager-vite-config": "^0.6.1", | ||
"@testing-library/dom": "^10.1.0", | ||
"@testing-library/jest-dom": "^6.4.6", | ||
"@testing-library/react": "^16.0.0", | ||
"@testing-library/user-event": "^14.5.2", | ||
"@types/file-saver": "^2.0.7", | ||
"@types/jest": "^29.5.12", | ||
"@types/react": "^18.2.55", | ||
"@types/react-dom": "^18.2.19", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"@vitest/coverage-v8": "^1.2.2", | ||
"autoprefixer": "^10.4.17", | ||
"eslint": "^8.56.0", | ||
"postcss": "^8.4.35", | ||
"rollup": "^4.9.6", | ||
"tailwindcss": "^3.4.3", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.2.13", | ||
"vitest": "^1.6.0" | ||
}, | ||
"regions": [ | ||
"CA", | ||
"EU", | ||
"US" | ||
], | ||
"universes": [ | ||
"@ovh-ux/manager-public-cloud" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
Binary file added
BIN
+49.7 KB
packages/manager/apps/pci-private-network/public/assets/private-networks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.