mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge branch 'main' of https://github.com/Infisical/infisical into main
This commit is contained in:
@@ -124,7 +124,7 @@ We're currently setting the foundation and building [integrations](https://infis
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" valign="middle">
|
<td align="left" valign="middle">
|
||||||
🔜 Vercel
|
🔜 Vercel (https://github.com/Infisical/infisical/issues/60)
|
||||||
</td>
|
</td>
|
||||||
<td align="left" valign="middle">
|
<td align="left" valign="middle">
|
||||||
🔜 GitLab CI/CD
|
🔜 GitLab CI/CD
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": "next/core-web-vitals",
|
"extends": ["next/babel", "next/core-web-vitals"],
|
||||||
"plugins": [
|
"plugins": ["simple-import-sort"],
|
||||||
"simple-import-sort"
|
|
||||||
],
|
|
||||||
"rules": {
|
"rules": {
|
||||||
"react-hooks/exhaustive-deps": "off",
|
"react-hooks/exhaustive-deps": "off",
|
||||||
"simple-import-sort/exports": "warn",
|
"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)(/.*|$)"
|
"^(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
|
// Packages `react` related packages
|
||||||
[
|
["^react", "^next", "^@?\\w"],
|
||||||
"^react",
|
|
||||||
"^next",
|
|
||||||
"^@?\\w"
|
|
||||||
],
|
|
||||||
// Internal packages.
|
// Internal packages.
|
||||||
[
|
["^~(/.*|$)"],
|
||||||
"^~(/.*|$)"
|
|
||||||
],
|
|
||||||
// Relative imports
|
// Relative imports
|
||||||
[
|
[
|
||||||
"^\\.\\.(?!/?$)",
|
"^\\.\\.(?!/?$)",
|
||||||
@@ -36,11 +28,9 @@
|
|||||||
"^\\./?$"
|
"^\\./?$"
|
||||||
],
|
],
|
||||||
// Style imports.
|
// Style imports.
|
||||||
[
|
["^.+\\.?(css|scss)$"]
|
||||||
"^.+\\.?(css|scss)$"
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,22 @@
|
|||||||
This is the client repository for Infisical.
|
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.
|
Please ensure you have Docker and Docker Compose installed for your OS.
|
||||||
|
|
||||||
### Steps to start server
|
### Steps to start server
|
||||||
|
|
||||||
- `CD` into the repo
|
- `CD` into the repo
|
||||||
- run command `docker-compose -f docker-compose.dev.yml up --build --force-recreate`
|
- 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
|
- `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
|
### 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
|
You will also need to ensure that a .env.local file exists with all required environment variables
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user