@prmichaelsen/acp-visualizer 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prmichaelsen/acp-visualizer",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Browser-based dashboard for visualizing ACP progress.yaml data",
6
6
  "bin": {
@@ -1,4 +1,4 @@
1
- import type { ExtraFields } from '@/lib/types'
1
+ import type { ExtraFields } from '../lib/types'
2
2
 
3
3
  export function ExtraFieldsBadge({ fields }: { fields: ExtraFields }) {
4
4
  const count = Object.keys(fields).length
@@ -1,4 +1,4 @@
1
- import type { Status } from '@/lib/types'
1
+ import type { Status } from '../lib/types'
2
2
 
3
3
  const statusOptions: Array<{ value: Status | 'all'; label: string }> = [
4
4
  { value: 'all', label: 'All' },
@@ -1,6 +1,6 @@
1
1
  import { StatusBadge } from './StatusBadge'
2
2
  import { ProgressBar } from './ProgressBar'
3
- import type { ProgressData } from '@/lib/types'
3
+ import type { ProgressData } from '../lib/types'
4
4
 
5
5
  interface HeaderProps {
6
6
  data: ProgressData | null
@@ -11,7 +11,7 @@ import { ChevronDown, ChevronRight, ArrowUpDown } from 'lucide-react'
11
11
  import { StatusBadge } from './StatusBadge'
12
12
  import { ProgressBar } from './ProgressBar'
13
13
  import { TaskList } from './TaskList'
14
- import type { Milestone, Task } from '@/lib/types'
14
+ import type { Milestone, Task } from '../lib/types'
15
15
 
16
16
  const columnHelper = createColumnHelper<Milestone>()
17
17
 
@@ -3,8 +3,8 @@ import { ChevronDown, ChevronRight } from 'lucide-react'
3
3
  import { StatusBadge } from './StatusBadge'
4
4
  import { ProgressBar } from './ProgressBar'
5
5
  import { TaskList } from './TaskList'
6
- import { useCollapse } from '@/lib/useCollapse'
7
- import type { Milestone, Task } from '@/lib/types'
6
+ import { useCollapse } from '../lib/useCollapse'
7
+ import type { Milestone, Task } from '../lib/types'
8
8
 
9
9
  interface MilestoneTreeProps {
10
10
  milestones: Milestone[]
@@ -1,4 +1,4 @@
1
- import type { Status } from '@/lib/types'
1
+ import type { Status } from '../lib/types'
2
2
 
3
3
  const statusStyles: Record<Status, string> = {
4
4
  completed: 'bg-green-500/15 text-green-400 border-green-500/20',
@@ -1,4 +1,4 @@
1
- import type { Status } from '@/lib/types'
1
+ import type { Status } from '../lib/types'
2
2
 
3
3
  const dotStyles: Record<Status, { symbol: string; color: string }> = {
4
4
  completed: { symbol: '✓', color: 'text-green-400' },
@@ -1,6 +1,6 @@
1
1
  import { StatusDot } from './StatusDot'
2
2
  import { ExtraFieldsBadge } from './ExtraFieldsBadge'
3
- import type { Task } from '@/lib/types'
3
+ import type { Task } from '../lib/types'
4
4
 
5
5
  export function TaskList({ tasks }: { tasks: Task[] }) {
6
6
  if (tasks.length === 0) {
@@ -1,9 +1,9 @@
1
1
  import { HeadContent, Scripts, createRootRoute, Outlet } from '@tanstack/react-router'
2
- import { useAutoRefresh } from '@/lib/useAutoRefresh'
3
- import { Sidebar } from '@/components/Sidebar'
4
- import { Header } from '@/components/Header'
5
- import { ProgressDatabaseService } from '@/services/progress-database.service'
6
- import type { ProgressData } from '@/lib/types'
2
+ import { useAutoRefresh } from '../lib/useAutoRefresh'
3
+ import { Sidebar } from '../components/Sidebar'
4
+ import { Header } from '../components/Header'
5
+ import { ProgressDatabaseService } from '../services/progress-database.service'
6
+ import type { ProgressData } from '../lib/types'
7
7
 
8
8
  import appCss from '../styles.css?url'
9
9
 
@@ -1,5 +1,5 @@
1
1
  import { createFileRoute } from '@tanstack/react-router'
2
- import { getFileWatcher } from '@/lib/file-watcher'
2
+ import { getFileWatcher } from '../../lib/file-watcher'
3
3
 
4
4
  export const Route = createFileRoute('/api/watch')({
5
5
  server: {
@@ -1,6 +1,6 @@
1
1
  import { createFileRoute } from '@tanstack/react-router'
2
- import { StatusBadge } from '@/components/StatusBadge'
3
- import { ProgressBar } from '@/components/ProgressBar'
2
+ import { StatusBadge } from '../components/StatusBadge'
3
+ import { ProgressBar } from '../components/ProgressBar'
4
4
 
5
5
  export const Route = createFileRoute('/')({
6
6
  component: HomePage,
@@ -1,12 +1,12 @@
1
1
  import { createFileRoute } from '@tanstack/react-router'
2
2
  import { useState } from 'react'
3
- import { MilestoneTable } from '@/components/MilestoneTable'
4
- import { MilestoneTree } from '@/components/MilestoneTree'
5
- import { ViewToggle } from '@/components/ViewToggle'
6
- import { FilterBar } from '@/components/FilterBar'
7
- import { SearchInput } from '@/components/SearchInput'
8
- import { useFilteredData } from '@/lib/useFilteredData'
9
- import type { Status } from '@/lib/types'
3
+ import { MilestoneTable } from '../components/MilestoneTable'
4
+ import { MilestoneTree } from '../components/MilestoneTree'
5
+ import { ViewToggle } from '../components/ViewToggle'
6
+ import { FilterBar } from '../components/FilterBar'
7
+ import { SearchInput } from '../components/SearchInput'
8
+ import { useFilteredData } from '../lib/useFilteredData'
9
+ import type { Status } from '../lib/types'
10
10
 
11
11
  export const Route = createFileRoute('/milestones')({
12
12
  component: MilestonesPage,
@@ -1,9 +1,9 @@
1
1
  import { createFileRoute } from '@tanstack/react-router'
2
2
  import { useState, useMemo } from 'react'
3
- import { SearchInput } from '@/components/SearchInput'
4
- import { StatusBadge } from '@/components/StatusBadge'
5
- import { StatusDot } from '@/components/StatusDot'
6
- import { buildSearchIndex } from '@/lib/search'
3
+ import { SearchInput } from '../components/SearchInput'
4
+ import { StatusBadge } from '../components/StatusBadge'
5
+ import { StatusDot } from '../components/StatusDot'
6
+ import { buildSearchIndex } from '../lib/search'
7
7
 
8
8
  export const Route = createFileRoute('/search')({
9
9
  component: SearchPage,
@@ -1,7 +1,7 @@
1
1
  import { createFileRoute } from '@tanstack/react-router'
2
- import { StatusDot } from '@/components/StatusDot'
3
- import { ExtraFieldsBadge } from '@/components/ExtraFieldsBadge'
4
- import type { Task } from '@/lib/types'
2
+ import { StatusDot } from '../components/StatusDot'
3
+ import { ExtraFieldsBadge } from '../components/ExtraFieldsBadge'
4
+ import type { Task } from '../lib/types'
5
5
 
6
6
  export const Route = createFileRoute('/tasks')({
7
7
  component: TasksPage,
@@ -1,7 +1,7 @@
1
1
  import { readFileSync } from 'fs'
2
- import { parseProgressYaml } from '@/lib/yaml-loader'
3
- import { getProgressYamlPath } from '@/lib/config'
4
- import type { ProgressData } from '@/lib/types'
2
+ import { parseProgressYaml } from '../lib/yaml-loader'
3
+ import { getProgressYamlPath } from '../lib/config'
4
+ import type { ProgressData } from '../lib/types'
5
5
 
6
6
  export type ProgressResult =
7
7
  | { ok: true; data: ProgressData }