Skip to content

Commit

Permalink
lint and format
Browse files Browse the repository at this point in the history
  • Loading branch information
jthrilly committed Nov 20, 2024
1 parent 7e213a5 commit 4252ce7
Show file tree
Hide file tree
Showing 12 changed files with 5,517 additions and 4,559 deletions.
11 changes: 4 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"typescript.tsdk": "./node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"cSpell.words": [
"netcanvas",
"Tipbox"
],
"cSpell.words": ["netcanvas", "Tipbox"],
"editor.defaultFormatter": "biomejs.biome",
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
Expand All @@ -14,6 +11,6 @@
},
"editor.codeActionsOnSave": {
"source.organizeImports": "always",
"source.fixAll": "always",
},
}
"source.fixAll": "always"
}
}
120 changes: 60 additions & 60 deletions apps/analytics-web/package.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
{
"name": "analytics-web",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"test": "vitest run",
"test:watch": "vitest watch",
"generate": "npx drizzle-kit generate:pg",
"migrate": "npx tsx scripts/migrate.ts",
"seed": "pnpm run generate && pnpm run migrate && npx tsx scripts/seed.ts"
},
"dependencies": {
"@clerk/nextjs": "^6.3.4",
"@codaco/analytics": "workspace:*",
"@codaco/ui": "workspace:*",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.1",
"@tanstack/react-table": "^8.20.5",
"@vercel/kv": "^3.0.0",
"@vercel/postgres": "^0.10.0",
"autoprefixer": "^10.4.20",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.36.1",
"i18n-iso-countries": "^7.13.0",
"lucide-react": "^0.363.0",
"next": "^14.2.18",
"papaparse": "^5.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^2.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@codaco/tailwind-config": "workspace:*",
"@codaco/tsconfig": "workspace:*",
"@faker-js/faker": "^8.2.0",
"@testing-library/react": "^14.1.2",
"@types/node": "^20.5.2",
"@types/papaparse": "^5.3.15",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"drizzle-kit": "^0.28.0",
"jsdom": "^25.0.1",
"next-test-api-route-handler": "^4.0.14",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.1.2",
"vitest": "^2.1.5"
}
"name": "analytics-web",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"test": "vitest run",
"test:watch": "vitest watch",
"generate": "npx drizzle-kit generate:pg",
"migrate": "npx tsx scripts/migrate.ts",
"seed": "pnpm run generate && pnpm run migrate && npx tsx scripts/seed.ts"
},
"dependencies": {
"@clerk/nextjs": "^6.3.4",
"@codaco/analytics": "workspace:*",
"@codaco/ui": "workspace:*",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.1",
"@tanstack/react-table": "^8.20.5",
"@vercel/kv": "^3.0.0",
"@vercel/postgres": "^0.10.0",
"autoprefixer": "^10.4.20",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.36.1",
"i18n-iso-countries": "^7.13.0",
"lucide-react": "^0.363.0",
"next": "^14.2.18",
"papaparse": "^5.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^2.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@codaco/tailwind-config": "workspace:*",
"@codaco/tsconfig": "workspace:*",
"@faker-js/faker": "^8.2.0",
"@testing-library/react": "^14.1.2",
"@types/node": "^20.5.2",
"@types/papaparse": "^5.3.15",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"drizzle-kit": "^0.28.0",
"jsdom": "^25.0.1",
"next-test-api-route-handler": "^4.0.14",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.1.2",
"vitest": "^2.1.5"
}
}
1 change: 0 additions & 1 deletion apps/documentation/components/Providers/theme-provider.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";

import { ThemeProvider as NextThemesProvider, type ThemeProviderProps } from "next-themes";
import * as React from "react";

export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
Expand Down
142 changes: 71 additions & 71 deletions apps/documentation/package.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
{
"name": "@codaco/documentation",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx ./lib/writeSidebarJson.ts && pnpm next dev",
"build": "pnpm next build",
"postbuild": "pnpm next-sitemap",
"prebuild": "tsx ./lib/writeSidebarJson.ts",
"start": "pnpm next start"
},
"dependencies": {
"@codaco/art": "workspace:*",
"@codaco/ui": "workspace:*",
"@docsearch/css": "^3.8.0",
"@docsearch/react": "^3.8.0",
"@mendable/search": "^0.0.206",
"@next/bundle-analyzer": "^15.0.3",
"@next/third-parties": "^14.2.18",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-navigation-menu": "^1.2.1",
"@radix-ui/react-popover": "^1.1.2",
"@t3-oss/env-nextjs": "^0.11.1",
"@tailwindcss/container-queries": "^0.1.1",
"@vercel/analytics": "^1.4.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"framer-motion": "^11.11.15",
"lucide-react": "^0.456.0",
"next": "^14.2.18",
"next-intl": "^3.25.1",
"next-themes": "^0.4.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@codaco/tailwind-config": "workspace:*",
"@codaco/tsconfig": "workspace:*",
"@microflash/rehype-figure": "^2.1.1",
"@tailwindcss/typography": "^0.5.15",
"@types/hast": "^3.0.4",
"@types/node": "^20.17.6",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/unist": "^3.0.3",
"gray-matter": "^4.0.3",
"hast-util-heading-rank": "^3.0.0",
"hast-util-to-string": "^3.0.1",
"mdast-util-to-string": "^4.0.0",
"next-sitemap": "^4.2.3",
"rehype-highlight": "^7.0.1",
"rehype-raw": "^7.0.0",
"rehype-react": "^8.0.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.1",
"remark": "^15.0.1",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"tailwind-merge": "^2.5.4",
"tailwindcss": "^3.4.15",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.3",
"vfile-matter": "^5.0.0",
"zod": "^3.23.8"
}
"name": "@codaco/documentation",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx ./lib/writeSidebarJson.ts && pnpm next dev",
"build": "pnpm next build",
"postbuild": "pnpm next-sitemap",
"prebuild": "tsx ./lib/writeSidebarJson.ts",
"start": "pnpm next start"
},
"dependencies": {
"@codaco/art": "workspace:*",
"@codaco/ui": "workspace:*",
"@docsearch/css": "^3.8.0",
"@docsearch/react": "^3.8.0",
"@mendable/search": "^0.0.206",
"@next/bundle-analyzer": "^15.0.3",
"@next/third-parties": "^14.2.18",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-navigation-menu": "^1.2.1",
"@radix-ui/react-popover": "^1.1.2",
"@t3-oss/env-nextjs": "^0.11.1",
"@tailwindcss/container-queries": "^0.1.1",
"@vercel/analytics": "^1.4.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"framer-motion": "^11.11.15",
"lucide-react": "^0.456.0",
"next": "^14.2.18",
"next-intl": "^3.25.1",
"next-themes": "^0.4.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@codaco/tailwind-config": "workspace:*",
"@codaco/tsconfig": "workspace:*",
"@microflash/rehype-figure": "^2.1.1",
"@tailwindcss/typography": "^0.5.15",
"@types/hast": "^3.0.4",
"@types/node": "^20.17.6",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/unist": "^3.0.3",
"gray-matter": "^4.0.3",
"hast-util-heading-rank": "^3.0.0",
"hast-util-to-string": "^3.0.1",
"mdast-util-to-string": "^4.0.0",
"next-sitemap": "^4.2.3",
"rehype-highlight": "^7.0.1",
"rehype-raw": "^7.0.0",
"rehype-react": "^8.0.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.1",
"remark": "^15.0.1",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"tailwind-merge": "^2.5.4",
"tailwindcss": "^3.4.15",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.3",
"vfile-matter": "^5.0.0",
"zod": "^3.23.8"
}
}
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"rules": {
"recommended": true,
"correctness": {
"noUnusedImports":"error"
"noUnusedImports": "error"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"turbo": "^2.3.0",
"typescript": "^5.6.3"
},
"packageManager": "pnpm@8.15.5+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589",
"packageManager": "pnpm@9.14.2+sha256.06e65a4965baff6d6097f9c8f75c35f6d420974dbc03d775009056a69edfd271",
"name": "network-canvas-monorepo"
}
56 changes: 28 additions & 28 deletions packages/art/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "@codaco/art",
"private": true,
"version": "0.1.0",
"type": "module",
"exports": {
".": "./src/index.ts"
},
"license": "MIT",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"blobs": "2.3.0-beta.2",
"d3-interpolate-path": "^2.3.0"
},
"devDependencies": {
"@codaco/tailwind-config": "workspace:*",
"@codaco/tsconfig": "workspace:*",
"@types/d3-interpolate-path": "^2.0.3",
"@types/react": "^18.2.64",
"react": "18.3.1",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
},
"peerDependencies": {
"react": "18.3.1"
}
"name": "@codaco/art",
"private": true,
"version": "0.1.0",
"type": "module",
"exports": {
".": "./src/index.ts"
},
"license": "MIT",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"blobs": "2.3.0-beta.2",
"d3-interpolate-path": "^2.3.0"
},
"devDependencies": {
"@codaco/tailwind-config": "workspace:*",
"@codaco/tsconfig": "workspace:*",
"@types/d3-interpolate-path": "^2.0.3",
"@types/react": "^18.2.64",
"react": "18.3.1",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
},
"peerDependencies": {
"react": "18.3.1"
}
}
2 changes: 0 additions & 2 deletions packages/art/src/BackgroundBlobs/Canvas.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"use client";

import React from "react";
import useCanvas from "./useCanvas";

type CanvasProps = {
Expand Down
5 changes: 1 addition & 4 deletions packages/shared-consts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"clean": "rm -rf .turbo node_modules",
"typecheck": "tsc --noEmit"
},
"keywords": [
"typescript",
"library"
],
"keywords": ["typescript", "library"],
"author": "Complex Data Collective <[email protected]>",
"license": "MIT",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/FancyBox.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Check, ChevronsUpDown } from "lucide-react";
import { Check } from "lucide-react";
import { type ReactNode, useMemo, useRef, useState } from "react";
import { Command, CommandGroup, CommandInput, CommandItem, CommandSeparator } from "./command";
import { Popover, PopoverContent, PopoverTrigger } from "./popover";
Expand Down
Loading

0 comments on commit 4252ce7

Please sign in to comment.