forked from cerc-io/snowballtools-base
Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af284953f3 | ||
|
|
9f0a2ad548 | ||
|
|
bd10e2cb35 | ||
|
|
eb32385cf3 | ||
|
|
aebb20b987 | ||
|
|
8a2b51952f | ||
|
|
94f46f9621 | ||
|
|
e751addcce | ||
|
|
c01f8fdabf |
@@ -21,3 +21,4 @@ yarn build --ignore frontend
|
|||||||
### Environment variables, running the development server, and deployment
|
### Environment variables, running the development server, and deployment
|
||||||
|
|
||||||
Follow the instructions in the README.md files of the [backend](packages/backend/README.md) and [frontend](packages/frontend/README.md) packages.
|
Follow the instructions in the README.md files of the [backend](packages/backend/README.md) and [frontend](packages/frontend/README.md) packages.
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ yarn start
|
|||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
Clone the deployer repository:
|
Clone the [deployer repository](https://git.vdb.to/cerc-io/snowballtools-base-api-deployments):
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
git clone git@git.vdb.to:cerc-io/snowballtools-base-api-deployments.git
|
git clone git@git.vdb.to:cerc-io/snowballtools-base-api-deployments.git
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
port = 8000
|
port = 8000
|
||||||
gqlPath = "/graphql"
|
gqlPath = "/graphql"
|
||||||
[server.session]
|
[server.session]
|
||||||
secret = "p4yfpkqnddkui2iw7t6hbhwq74lbqs7bhobvmfhrowoi"
|
secret = ""
|
||||||
appOriginUrl = "http://localhost:3000"
|
appOriginUrl = "http://localhost:3000"
|
||||||
trustProxy = false
|
trustProxy = false
|
||||||
domain = "localhost"
|
domain = "localhost"
|
||||||
@@ -17,6 +17,16 @@
|
|||||||
clientId = ""
|
clientId = ""
|
||||||
clientSecret = ""
|
clientSecret = ""
|
||||||
|
|
||||||
|
[google]
|
||||||
|
clientId = ""
|
||||||
|
clientSecret = ""
|
||||||
|
|
||||||
|
[turnkey]
|
||||||
|
apiBaseUrl = "https://api.turnkey.com"
|
||||||
|
apiPrivateKey = ""
|
||||||
|
apiPublicKey = ""
|
||||||
|
defaultOrganizationId = ""
|
||||||
|
|
||||||
[registryConfig]
|
[registryConfig]
|
||||||
fetchDeploymentRecordDelay = 5000
|
fetchDeploymentRecordDelay = 5000
|
||||||
restEndpoint = "http://localhost:1317"
|
restEndpoint = "http://localhost:1317"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { Router } from 'express';
|
|||||||
const router = Router();
|
const router = Router();
|
||||||
|
|
||||||
router.get('/version', async (req, res) => {
|
router.get('/version', async (req, res) => {
|
||||||
return res.send({ version: '0.0.8' });
|
return res.send({ version: '0.0.9' });
|
||||||
});
|
});
|
||||||
|
|
||||||
export default router;
|
export default router;
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ record:
|
|||||||
LACONIC_HOSTED_CONFIG_turnkey_api_base_url: https://api.turnkey.com
|
LACONIC_HOSTED_CONFIG_turnkey_api_base_url: https://api.turnkey.com
|
||||||
LACONIC_HOSTED_CONFIG_turnkey_organization_id: 5049ae99-5bca-40b3-8317-504384d4e591
|
LACONIC_HOSTED_CONFIG_turnkey_organization_id: 5049ae99-5bca-40b3-8317-504384d4e591
|
||||||
meta:
|
meta:
|
||||||
note: Added by Snowball @ Sat Jun 22 02:49:45 UTC 2024
|
note: Added by Snowball @ Mon Jun 24 23:51:48 UTC 2024
|
||||||
repository: "https://git.vdb.to/cerc-io/snowballtools-base"
|
repository: "https://git.vdb.to/cerc-io/snowballtools-base"
|
||||||
repository_ref: 61e3e88a6c9d57e95441059369ee5a46f5c07601
|
repository_ref: 61e3e88a6c9d57e95441059369ee5a46f5c07601
|
||||||
|
|||||||
@@ -44,7 +44,9 @@ yarn dev
|
|||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
From the root of the project, run:
|
From the root of the project,
|
||||||
|
|
||||||
|
- check if the [gittea repository mirror](https://git.vdb.to/cerc-io/snowballtools-base) is up to date
|
||||||
|
|
||||||
### Staging
|
### Staging
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
export { Avatar } from './Avatar';
|
||||||
|
export { Badge } from './Badge';
|
||||||
|
export { Button } from './Button';
|
||||||
|
export { Calendar } from './Calendar';
|
||||||
|
export { Checkbox } from './Checkbox';
|
||||||
|
export { DatePicker } from './DatePicker';
|
||||||
|
export { DotBorder } from './DotBorder';
|
||||||
|
export { Heading } from './Heading';
|
||||||
|
export { IconWithFrame } from './IconWithFrame';
|
||||||
|
export { InlineNotification } from './InlineNotification';
|
||||||
|
export { Input } from './Input';
|
||||||
|
export { Modal } from './Modal';
|
||||||
|
export { OverflownText } from './OverflownText';
|
||||||
|
export { Radio } from './Radio';
|
||||||
|
export { SegmentedControls } from './SegmentedControls';
|
||||||
|
export { Select } from './Select';
|
||||||
|
export { Sidebar } from './Sidebar';
|
||||||
|
export { Step } from './Steps';
|
||||||
|
export { Switch } from './Switch';
|
||||||
|
export { Table } from './Table';
|
||||||
|
export { Tabs } from './Tabs';
|
||||||
|
export { Tag } from './Tag';
|
||||||
|
export { useToast } from './Toast';
|
||||||
|
export { Tooltip } from './Tooltip';
|
||||||
|
export { UserSelect } from './UserSelect';
|
||||||
|
export { VerifyCodeInput } from './VerifyCodeInput';
|
||||||
|
export { WavyBorder } from './WavyBorder';
|
||||||
@@ -16,8 +16,7 @@ import { Toaster } from 'components/shared/Toast';
|
|||||||
import { LogErrorBoundary } from 'utils/log-error';
|
import { LogErrorBoundary } from 'utils/log-error';
|
||||||
import { baseUrl } from 'utils/constants';
|
import { baseUrl } from 'utils/constants';
|
||||||
|
|
||||||
// @ts-ignore
|
console.log(`v-0.0.9`);
|
||||||
console.log(`v-${__VERSION__}`);
|
|
||||||
|
|
||||||
const root = ReactDOM.createRoot(
|
const root = ReactDOM.createRoot(
|
||||||
document.getElementById('root') as HTMLElement,
|
document.getElementById('root') as HTMLElement,
|
||||||
|
|||||||
@@ -1,13 +1,11 @@
|
|||||||
import { useCallback, useEffect, useState } from 'react';
|
import { useCallback, useEffect, useState } from 'react';
|
||||||
import { Link, useParams } from 'react-router-dom';
|
import { Link, useParams } from 'react-router-dom';
|
||||||
import { Project } from 'gql-client';
|
|
||||||
import { Button } from 'components/shared/Button';
|
|
||||||
|
|
||||||
import { PlusIcon } from 'components/shared/CustomIcon';
|
|
||||||
import { ProjectCard } from 'components/projects/ProjectCard';
|
import { ProjectCard } from 'components/projects/ProjectCard';
|
||||||
import { Heading } from 'components/shared/Heading';
|
import { Heading, Badge, Button } from 'components/shared';
|
||||||
import { Badge } from 'components/shared/Badge';
|
import { PlusIcon } from 'components/shared/CustomIcon';
|
||||||
import { useGQLClient } from 'context/GQLClientContext';
|
import { useGQLClient } from 'context/GQLClientContext';
|
||||||
|
import { Project } from 'gql-client';
|
||||||
|
|
||||||
const Projects = () => {
|
const Projects = () => {
|
||||||
const client = useGQLClient();
|
const client = useGQLClient();
|
||||||
@@ -28,6 +26,7 @@ const Projects = () => {
|
|||||||
return (
|
return (
|
||||||
<section className="px-4 md:px-6 py-6 flex flex-col gap-6">
|
<section className="px-4 md:px-6 py-6 flex flex-col gap-6">
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
|
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<div className="grow">
|
<div className="grow">
|
||||||
<div className="flex gap-4 items-center">
|
<div className="flex gap-4 items-center">
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { Domain, DomainStatus } from 'gql-client';
|
|
||||||
import { Link, useNavigate, useOutletContext } from 'react-router-dom';
|
import { Link, useNavigate, useOutletContext } from 'react-router-dom';
|
||||||
import { RequestError } from 'octokit';
|
import { RequestError } from 'octokit';
|
||||||
|
|
||||||
import { useOctokit } from '../../../../context/OctokitContext';
|
import { useOctokit } from 'context/OctokitContext';
|
||||||
import { GitCommitWithBranch, OutletContextType } from '../../../../types';
|
import { GitCommitWithBranch, OutletContextType } from '../../../../types';
|
||||||
import { useGQLClient } from '../../../../context/GQLClientContext';
|
import { useGQLClient } from 'context/GQLClientContext';
|
||||||
import { Button } from 'components/shared/Button';
|
import { Button, Heading, Avatar, Tag } from 'components/shared';
|
||||||
import { Heading } from 'components/shared/Heading';
|
|
||||||
import { Avatar } from 'components/shared/Avatar';
|
|
||||||
import { getInitials } from 'utils/geInitials';
|
import { getInitials } from 'utils/geInitials';
|
||||||
import {
|
import {
|
||||||
BranchStrokeIcon,
|
BranchStrokeIcon,
|
||||||
@@ -18,12 +15,12 @@ import {
|
|||||||
GithubStrokeIcon,
|
GithubStrokeIcon,
|
||||||
GlobeIcon,
|
GlobeIcon,
|
||||||
LinkIcon,
|
LinkIcon,
|
||||||
|
CalendarDaysIcon,
|
||||||
} from 'components/shared/CustomIcon';
|
} from 'components/shared/CustomIcon';
|
||||||
import { Tag } from 'components/shared/Tag';
|
|
||||||
import { Activity } from 'components/projects/project/overview/Activity';
|
import { Activity } from 'components/projects/project/overview/Activity';
|
||||||
import { OverviewInfo } from 'components/projects/project/overview/OverviewInfo';
|
import { OverviewInfo } from 'components/projects/project/overview/OverviewInfo';
|
||||||
import { CalendarDaysIcon } from 'components/shared/CustomIcon/CalendarDaysIcon';
|
|
||||||
import { relativeTimeMs } from 'utils/time';
|
import { relativeTimeMs } from 'utils/time';
|
||||||
|
import { Domain, DomainStatus } from 'gql-client';
|
||||||
|
|
||||||
const COMMITS_PER_PAGE = 4;
|
const COMMITS_PER_PAGE = 4;
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ export default defineConfig({
|
|||||||
context: '/src/context',
|
context: '/src/context',
|
||||||
components: '/src/components',
|
components: '/src/components',
|
||||||
pages: '/src/pages',
|
pages: '/src/pages',
|
||||||
types: '/src/types',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
define: {
|
define: {
|
||||||
|
|||||||
Reference in New Issue
Block a user