Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
yarn-error.log
build
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,28 @@
],
"main": "src/index.js",
"dependencies": {
"@socialgouv/aes-gcm-rsa-oaep": "^1.1.2",
"bootstrap": "4.6.1",
"js-yaml": "^4.0.0",
"@socialgouv/aes-gcm-rsa-oaep": "^1.1.4",
"bootstrap": "4.6.2",
"js-yaml": "^4.1.0",
"npm-check-updates": "^16.9.0",
"react": "17.0.2",
"react-bootstrap": "1.5.2",
"react-copy-to-clipboard": "^5.0.3",
"react-bootstrap": "1.6.6",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "17.0.2",
"react-feather": "^2.0.9",
"react-github-fork-ribbon": "^0.6.0",
"react-hook-form": "^7.25.3",
"react-feather": "^2.0.10",
"react-github-fork-ribbon": "^0.7.1",
"react-hook-form": "^7.43.9",
"react-scripts": "4.0.3"
},
"devDependencies": {
"typescript": "4.2.4"
"typescript": "4.9.5"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"ncu": "ncu"
},
"browserslist": [
">0.2%",
Expand Down
3 changes: 3 additions & 0 deletions public/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var CONFIG = {
pemKey: "",
};
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<script src="%PUBLIC_URL%/config.js"></script>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const Editor = () => {
cluster: "dev",
namespace: "",
name: "",
pemKey: "",
pemKey: window.CONFIG.pemKey ? window.CONFIG.pemKey : "",
});
const [encrypted, setEncrypted] = useState(null);
const [yamlResult, setYamlResult] = useState(null);
Expand Down
Loading