From 31433d7474e68343b794e532934de379bf90cf0c Mon Sep 17 00:00:00 2001 From: Haydn Ewers <27211+haydn@users.noreply.github.com> Date: Sat, 12 Oct 2024 14:46:58 +1100 Subject: [PATCH] add src directory --- .../components}/ComparisonValue.css.ts | 0 {components => src/components}/ComparisonValue.tsx | 0 {components => src/components}/IssueCard.module.css | 0 {components => src/components}/IssueCard.tsx | 0 {components => src/components}/Layer.tsx | 0 {components => src/components}/Layout.css.ts | 0 {components => src/components}/Layout.tsx | 0 {components => src/components}/NetworkGraph.tsx | 0 .../components}/ProjectRelationshipGraph.css.ts | 0 .../components}/ProjectRelationshipGraph.tsx | 2 +- .../components}/RelationshipGraph.css.ts | 0 .../components}/RelationshipGraph.tsx | 2 +- {core => src/core}/Core.tsx | 0 {core => src/core}/CoreContext.ts | 0 {core => src/core}/IssueComparison.module.css | 0 {core => src/core}/IssueComparison.tsx | 0 {core => src/core}/Picker.module.css | 0 {core => src/core}/Picker.tsx | 0 {core => src/core}/_types.ts | 0 {core => src/core}/apps.ts | 0 {core => src/core}/defaultState.ts | 0 {core => src/core}/getComparisons.ts | 0 {core => src/core}/getStats.ts | 0 {core => src/core}/postComparisons.ts | 0 {linear => src/linear}/CredentialsForm.module.css | 0 {linear => src/linear}/CredentialsForm.tsx | 0 {linear => src/linear}/LinearApp.module.css | 0 {linear => src/linear}/LinearApp.tsx | 0 {linear => src/linear}/_schema.ts | 0 {linear => src/linear}/_types.ts | 0 {linear => src/linear}/credentialsSchema.ts | 0 {linear => src/linear}/index.tsx | 0 {linear => src/linear}/issueDetailSchema.tsx | 0 {linear => src/linear}/issueSummarySchema.ts | 0 {pages => src/pages}/_app.page.tsx | 0 .../linear/[teamId]/[property]/comparisons.page.ts | 0 {pages => src/pages}/app.css | 0 {pages => src/pages}/effort/[id].page.tsx | 0 {pages => src/pages}/effort/index.page.tsx | 0 {pages => src/pages}/index.page.tsx | 0 {pages => src/pages}/projects.page.tsx | 0 {pages => src/pages}/settings.page.tsx | 0 {pages => src/pages}/value/[id].page.tsx | 0 {pages => src/pages}/value/index.page.tsx | 0 {public => src/public}/favicon.ico | Bin {public => src/public}/vercel.svg | 0 {utils => src/utils}/elo.ts | 0 {utils => src/utils}/useLocalStorage.tsx | 0 {utils => src/utils}/weightedRandomPick.ts | 0 49 files changed, 2 insertions(+), 2 deletions(-) rename {components => src/components}/ComparisonValue.css.ts (100%) rename {components => src/components}/ComparisonValue.tsx (100%) rename {components => src/components}/IssueCard.module.css (100%) rename {components => src/components}/IssueCard.tsx (100%) rename {components => src/components}/Layer.tsx (100%) rename {components => src/components}/Layout.css.ts (100%) rename {components => src/components}/Layout.tsx (100%) rename {components => src/components}/NetworkGraph.tsx (100%) rename {components => src/components}/ProjectRelationshipGraph.css.ts (100%) rename {components => src/components}/ProjectRelationshipGraph.tsx (99%) rename {components => src/components}/RelationshipGraph.css.ts (100%) rename {components => src/components}/RelationshipGraph.tsx (98%) rename {core => src/core}/Core.tsx (100%) rename {core => src/core}/CoreContext.ts (100%) rename {core => src/core}/IssueComparison.module.css (100%) rename {core => src/core}/IssueComparison.tsx (100%) rename {core => src/core}/Picker.module.css (100%) rename {core => src/core}/Picker.tsx (100%) rename {core => src/core}/_types.ts (100%) rename {core => src/core}/apps.ts (100%) rename {core => src/core}/defaultState.ts (100%) rename {core => src/core}/getComparisons.ts (100%) rename {core => src/core}/getStats.ts (100%) rename {core => src/core}/postComparisons.ts (100%) rename {linear => src/linear}/CredentialsForm.module.css (100%) rename {linear => src/linear}/CredentialsForm.tsx (100%) rename {linear => src/linear}/LinearApp.module.css (100%) rename {linear => src/linear}/LinearApp.tsx (100%) rename {linear => src/linear}/_schema.ts (100%) rename {linear => src/linear}/_types.ts (100%) rename {linear => src/linear}/credentialsSchema.ts (100%) rename {linear => src/linear}/index.tsx (100%) rename {linear => src/linear}/issueDetailSchema.tsx (100%) rename {linear => src/linear}/issueSummarySchema.ts (100%) rename {pages => src/pages}/_app.page.tsx (100%) rename {pages => src/pages}/api/linear/[teamId]/[property]/comparisons.page.ts (100%) rename {pages => src/pages}/app.css (100%) rename {pages => src/pages}/effort/[id].page.tsx (100%) rename {pages => src/pages}/effort/index.page.tsx (100%) rename {pages => src/pages}/index.page.tsx (100%) rename {pages => src/pages}/projects.page.tsx (100%) rename {pages => src/pages}/settings.page.tsx (100%) rename {pages => src/pages}/value/[id].page.tsx (100%) rename {pages => src/pages}/value/index.page.tsx (100%) rename {public => src/public}/favicon.ico (100%) rename {public => src/public}/vercel.svg (100%) rename {utils => src/utils}/elo.ts (100%) rename {utils => src/utils}/useLocalStorage.tsx (100%) rename {utils => src/utils}/weightedRandomPick.ts (100%) diff --git a/components/ComparisonValue.css.ts b/src/components/ComparisonValue.css.ts similarity index 100% rename from components/ComparisonValue.css.ts rename to src/components/ComparisonValue.css.ts diff --git a/components/ComparisonValue.tsx b/src/components/ComparisonValue.tsx similarity index 100% rename from components/ComparisonValue.tsx rename to src/components/ComparisonValue.tsx diff --git a/components/IssueCard.module.css b/src/components/IssueCard.module.css similarity index 100% rename from components/IssueCard.module.css rename to src/components/IssueCard.module.css diff --git a/components/IssueCard.tsx b/src/components/IssueCard.tsx similarity index 100% rename from components/IssueCard.tsx rename to src/components/IssueCard.tsx diff --git a/components/Layer.tsx b/src/components/Layer.tsx similarity index 100% rename from components/Layer.tsx rename to src/components/Layer.tsx diff --git a/components/Layout.css.ts b/src/components/Layout.css.ts similarity index 100% rename from components/Layout.css.ts rename to src/components/Layout.css.ts diff --git a/components/Layout.tsx b/src/components/Layout.tsx similarity index 100% rename from components/Layout.tsx rename to src/components/Layout.tsx diff --git a/components/NetworkGraph.tsx b/src/components/NetworkGraph.tsx similarity index 100% rename from components/NetworkGraph.tsx rename to src/components/NetworkGraph.tsx diff --git a/components/ProjectRelationshipGraph.css.ts b/src/components/ProjectRelationshipGraph.css.ts similarity index 100% rename from components/ProjectRelationshipGraph.css.ts rename to src/components/ProjectRelationshipGraph.css.ts diff --git a/components/ProjectRelationshipGraph.tsx b/src/components/ProjectRelationshipGraph.tsx similarity index 99% rename from components/ProjectRelationshipGraph.tsx rename to src/components/ProjectRelationshipGraph.tsx index d5f4cb5..7221e23 100644 --- a/components/ProjectRelationshipGraph.tsx +++ b/src/components/ProjectRelationshipGraph.tsx @@ -2,7 +2,7 @@ import { ParentSize } from "@visx/responsive"; import { addEdge, addVertex, create } from "graph-fns"; import emoji from "node-emoji"; import { useEffect, useState } from "react"; -import NetworkGraph from "../components/NetworkGraph"; +import NetworkGraph from "./NetworkGraph"; import Layer from "./Layer"; import { card } from "./ProjectRelationshipGraph.css"; import { State, RelationSummary } from "../core/_types"; diff --git a/components/RelationshipGraph.css.ts b/src/components/RelationshipGraph.css.ts similarity index 100% rename from components/RelationshipGraph.css.ts rename to src/components/RelationshipGraph.css.ts diff --git a/components/RelationshipGraph.tsx b/src/components/RelationshipGraph.tsx similarity index 98% rename from components/RelationshipGraph.tsx rename to src/components/RelationshipGraph.tsx index 0c4fa3a..f2cc916 100644 --- a/components/RelationshipGraph.tsx +++ b/src/components/RelationshipGraph.tsx @@ -1,7 +1,7 @@ import { ParentSize } from "@visx/responsive"; import { addEdge, create, isCyclic } from "graph-fns"; import { useEffect, useState } from "react"; -import NetworkGraph from "../components/NetworkGraph"; +import NetworkGraph from "./NetworkGraph"; import Layer from "./Layer"; import { card } from "./RelationshipGraph.css"; import { State, RelationSummary } from "../core/_types"; diff --git a/core/Core.tsx b/src/core/Core.tsx similarity index 100% rename from core/Core.tsx rename to src/core/Core.tsx diff --git a/core/CoreContext.ts b/src/core/CoreContext.ts similarity index 100% rename from core/CoreContext.ts rename to src/core/CoreContext.ts diff --git a/core/IssueComparison.module.css b/src/core/IssueComparison.module.css similarity index 100% rename from core/IssueComparison.module.css rename to src/core/IssueComparison.module.css diff --git a/core/IssueComparison.tsx b/src/core/IssueComparison.tsx similarity index 100% rename from core/IssueComparison.tsx rename to src/core/IssueComparison.tsx diff --git a/core/Picker.module.css b/src/core/Picker.module.css similarity index 100% rename from core/Picker.module.css rename to src/core/Picker.module.css diff --git a/core/Picker.tsx b/src/core/Picker.tsx similarity index 100% rename from core/Picker.tsx rename to src/core/Picker.tsx diff --git a/core/_types.ts b/src/core/_types.ts similarity index 100% rename from core/_types.ts rename to src/core/_types.ts diff --git a/core/apps.ts b/src/core/apps.ts similarity index 100% rename from core/apps.ts rename to src/core/apps.ts diff --git a/core/defaultState.ts b/src/core/defaultState.ts similarity index 100% rename from core/defaultState.ts rename to src/core/defaultState.ts diff --git a/core/getComparisons.ts b/src/core/getComparisons.ts similarity index 100% rename from core/getComparisons.ts rename to src/core/getComparisons.ts diff --git a/core/getStats.ts b/src/core/getStats.ts similarity index 100% rename from core/getStats.ts rename to src/core/getStats.ts diff --git a/core/postComparisons.ts b/src/core/postComparisons.ts similarity index 100% rename from core/postComparisons.ts rename to src/core/postComparisons.ts diff --git a/linear/CredentialsForm.module.css b/src/linear/CredentialsForm.module.css similarity index 100% rename from linear/CredentialsForm.module.css rename to src/linear/CredentialsForm.module.css diff --git a/linear/CredentialsForm.tsx b/src/linear/CredentialsForm.tsx similarity index 100% rename from linear/CredentialsForm.tsx rename to src/linear/CredentialsForm.tsx diff --git a/linear/LinearApp.module.css b/src/linear/LinearApp.module.css similarity index 100% rename from linear/LinearApp.module.css rename to src/linear/LinearApp.module.css diff --git a/linear/LinearApp.tsx b/src/linear/LinearApp.tsx similarity index 100% rename from linear/LinearApp.tsx rename to src/linear/LinearApp.tsx diff --git a/linear/_schema.ts b/src/linear/_schema.ts similarity index 100% rename from linear/_schema.ts rename to src/linear/_schema.ts diff --git a/linear/_types.ts b/src/linear/_types.ts similarity index 100% rename from linear/_types.ts rename to src/linear/_types.ts diff --git a/linear/credentialsSchema.ts b/src/linear/credentialsSchema.ts similarity index 100% rename from linear/credentialsSchema.ts rename to src/linear/credentialsSchema.ts diff --git a/linear/index.tsx b/src/linear/index.tsx similarity index 100% rename from linear/index.tsx rename to src/linear/index.tsx diff --git a/linear/issueDetailSchema.tsx b/src/linear/issueDetailSchema.tsx similarity index 100% rename from linear/issueDetailSchema.tsx rename to src/linear/issueDetailSchema.tsx diff --git a/linear/issueSummarySchema.ts b/src/linear/issueSummarySchema.ts similarity index 100% rename from linear/issueSummarySchema.ts rename to src/linear/issueSummarySchema.ts diff --git a/pages/_app.page.tsx b/src/pages/_app.page.tsx similarity index 100% rename from pages/_app.page.tsx rename to src/pages/_app.page.tsx diff --git a/pages/api/linear/[teamId]/[property]/comparisons.page.ts b/src/pages/api/linear/[teamId]/[property]/comparisons.page.ts similarity index 100% rename from pages/api/linear/[teamId]/[property]/comparisons.page.ts rename to src/pages/api/linear/[teamId]/[property]/comparisons.page.ts diff --git a/pages/app.css b/src/pages/app.css similarity index 100% rename from pages/app.css rename to src/pages/app.css diff --git a/pages/effort/[id].page.tsx b/src/pages/effort/[id].page.tsx similarity index 100% rename from pages/effort/[id].page.tsx rename to src/pages/effort/[id].page.tsx diff --git a/pages/effort/index.page.tsx b/src/pages/effort/index.page.tsx similarity index 100% rename from pages/effort/index.page.tsx rename to src/pages/effort/index.page.tsx diff --git a/pages/index.page.tsx b/src/pages/index.page.tsx similarity index 100% rename from pages/index.page.tsx rename to src/pages/index.page.tsx diff --git a/pages/projects.page.tsx b/src/pages/projects.page.tsx similarity index 100% rename from pages/projects.page.tsx rename to src/pages/projects.page.tsx diff --git a/pages/settings.page.tsx b/src/pages/settings.page.tsx similarity index 100% rename from pages/settings.page.tsx rename to src/pages/settings.page.tsx diff --git a/pages/value/[id].page.tsx b/src/pages/value/[id].page.tsx similarity index 100% rename from pages/value/[id].page.tsx rename to src/pages/value/[id].page.tsx diff --git a/pages/value/index.page.tsx b/src/pages/value/index.page.tsx similarity index 100% rename from pages/value/index.page.tsx rename to src/pages/value/index.page.tsx diff --git a/public/favicon.ico b/src/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to src/public/favicon.ico diff --git a/public/vercel.svg b/src/public/vercel.svg similarity index 100% rename from public/vercel.svg rename to src/public/vercel.svg diff --git a/utils/elo.ts b/src/utils/elo.ts similarity index 100% rename from utils/elo.ts rename to src/utils/elo.ts diff --git a/utils/useLocalStorage.tsx b/src/utils/useLocalStorage.tsx similarity index 100% rename from utils/useLocalStorage.tsx rename to src/utils/useLocalStorage.tsx diff --git a/utils/weightedRandomPick.ts b/src/utils/weightedRandomPick.ts similarity index 100% rename from utils/weightedRandomPick.ts rename to src/utils/weightedRandomPick.ts -- 2.51.2