From 212f1feeb60a95189b6b4975b7499cd617e98fe8 Mon Sep 17 00:00:00 2001 From: mv-turtle <78047717+mv-turtle@users.noreply.github.com> Date: Sat, 3 Dec 2022 14:21:56 -0500 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b1fc9436..20a4b3ee1 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ We're currently setting the foundation and building [integrations](https://infis - 🔜 Vercel + 🔜 Vercel (https://github.com/Infisical/infisical/issues/60) 🔜 GitLab CI/CD From 8bbd5a1184e2465d2001692e6e35061a99c8ae0e Mon Sep 17 00:00:00 2001 From: seunghyunOh Date: Sun, 4 Dec 2022 08:31:19 +0900 Subject: [PATCH 2/3] Fix typo in readme --- frontend/README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/frontend/README.md b/frontend/README.md index b33ff4335..d97bb4bef 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -1,20 +1,22 @@ This is the client repository for Infisical. -## Before you get started with development locally +## Before you get started with development locally + Please ensure you have Docker and Docker Compose installed for your OS. -### Steps to start server +### Steps to start server + - `CD` into the repo - run command `docker-compose -f docker-compose.dev.yml up --build --force-recreate` -- Vist localhost:3000 and the website should be live +- Visit localhost:3000 and the website should be live + +### Steps to shutdown this Docker compose -### Steps to shutdown this Docker compose - `CD` into this repo -- run command `docker-compose -f docker-compose-dev.yml down` +- run command `docker-compose -f docker-compose.dev.yml down` ### Notes -Any changes made to local files in the `/components`, `/pages`, `styles` will be hot reloaded. If would like like to watch for other files or folders live, please add them to the docker volume. + +Any changes made to local files in the `/components`, `/pages`, `/styles` will be hot reloaded. If would like like to watch for other files or folders live, please add them to the docker volume. You will also need to ensure that a .env.local file exists with all required environment variables - - From de7e5016ddedc2e0293d0950b7ac80ffbd3d028c Mon Sep 17 00:00:00 2001 From: seunghyunOh Date: Sun, 4 Dec 2022 08:32:43 +0900 Subject: [PATCH 3/3] Fix babel error --- frontend/.eslintrc.json | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json index 0c5504b90..fc0c07a74 100644 --- a/frontend/.eslintrc.json +++ b/frontend/.eslintrc.json @@ -1,8 +1,6 @@ { - "extends": "next/core-web-vitals", - "plugins": [ - "simple-import-sort" - ], + "extends": ["next/babel", "next/core-web-vitals"], + "plugins": ["simple-import-sort"], "rules": { "react-hooks/exhaustive-deps": "off", "simple-import-sort/exports": "warn", @@ -18,15 +16,9 @@ "^(assert|buffer|child_process|cluster|console|constants|crypto|dgram|dns|domain|events|fs|http|https|module|net|os|path|punycode|querystring|readline|repl|stream|string_decoder|sys|timers|tls|tty|url|util|vm|zlib|freelist|v8|process|async_hooks|http2|perf_hooks)(/.*|$)" ], // Packages `react` related packages - [ - "^react", - "^next", - "^@?\\w" - ], + ["^react", "^next", "^@?\\w"], // Internal packages. - [ - "^~(/.*|$)" - ], + ["^~(/.*|$)"], // Relative imports [ "^\\.\\.(?!/?$)", @@ -36,11 +28,9 @@ "^\\./?$" ], // Style imports. - [ - "^.+\\.?(css|scss)$" - ] + ["^.+\\.?(css|scss)$"] ] } ] } -} \ No newline at end of file +}