2025-08-20 18:02:50 +09:00
|
|
|
{
|
|
|
|
|
"name": "@customer-portal/portal",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"private": true,
|
|
|
|
|
"scripts": {
|
2025-09-06 17:02:20 +09:00
|
|
|
"predev": "node ./scripts/dev-prep.mjs",
|
2026-03-05 16:46:45 +09:00
|
|
|
"dev": "next dev --turbopack -p ${NEXT_PORT:-3000}",
|
2025-12-25 17:30:02 +09:00
|
|
|
"build": "next build",
|
2025-12-17 18:47:59 +09:00
|
|
|
"build:turbo": "next build",
|
2025-09-26 15:51:07 +09:00
|
|
|
"build:analyze": "ANALYZE=true next build",
|
2025-12-11 10:44:21 +09:00
|
|
|
"analyze": "pnpm run build:analyze",
|
2025-08-21 15:24:40 +09:00
|
|
|
"start": "next start -p ${NEXT_PORT:-3000}",
|
2025-08-22 17:02:49 +09:00
|
|
|
"lint": "eslint .",
|
|
|
|
|
"lint:fix": "eslint . --fix",
|
2025-09-26 15:51:07 +09:00
|
|
|
"type-check": "tsc --project tsconfig.json --noEmit",
|
|
|
|
|
"type-check:watch": "tsc --project tsconfig.json --noEmit --watch",
|
|
|
|
|
"test": "echo 'No tests yet'",
|
2026-03-07 15:22:12 +09:00
|
|
|
"bundle-analyze": "pnpm run build:analyze && pnpm exec @next/bundle-analyzer",
|
|
|
|
|
"storybook": "storybook dev -p 6006",
|
|
|
|
|
"storybook:build": "storybook build -o storybook-static",
|
|
|
|
|
"storybook:deploy": "storybook build -o storybook-static && rm -rf public/storybook && mv storybook-static public/storybook"
|
2025-08-20 18:02:50 +09:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2025-10-20 14:56:28 +09:00
|
|
|
"@customer-portal/domain": "workspace:*",
|
2025-08-20 18:02:50 +09:00
|
|
|
"@heroicons/react": "^2.2.0",
|
refactor: complete shadcn/ui migration and unify raw HTML with component library
- Migrate all molecule components (DataTable, PaginationBar, FilterDropdown,
AlertBanner, FormField, SectionCard, SubCard, MetricCard, AnimatedCard,
OtpInput) to shadcn/ui primitives with legacy backups and comparison stories
- Install 24 shadcn/ui primitives (accordion, alert, badge, button, card,
checkbox, collapsible, dialog, dropdown-menu, input-otp, input, label,
pagination, popover, radio-group, select, separator, sheet, skeleton,
table, tabs, toggle-group, toggle, tooltip) with barrel exports
- Replace 69 raw HTML elements across all features with shadcn components:
35+ <button> → Button, 5 <select> → Select, 15+ <label> → Label,
6 <input type=checkbox> → Checkbox, 7 <input type=radio> → RadioGroup
- Add TextRotate animation component and integrate into hero section
with rotating service names (Internet, Phone Plans, VPN, IT Support, Business)
- Add destructive color token aliases for error state consistency
- Add CLAUDE.md rules for shadcn migration process
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:21:36 +09:00
|
|
|
"@hookform/resolvers": "^5.2.2",
|
2026-02-03 18:32:16 +09:00
|
|
|
"@tanstack/react-query": "^5.90.20",
|
2026-02-24 14:37:23 +09:00
|
|
|
"@xstate/react": "^6.0.0",
|
2025-08-20 18:02:50 +09:00
|
|
|
"class-variance-authority": "^0.7.1",
|
|
|
|
|
"clsx": "^2.1.1",
|
2026-03-06 10:45:18 +09:00
|
|
|
"framer-motion": "^12.35.0",
|
2026-01-13 16:19:39 +09:00
|
|
|
"geist": "^1.5.1",
|
2026-03-06 18:56:16 +09:00
|
|
|
"input-otp": "^1.4.2",
|
2026-02-03 18:46:51 +09:00
|
|
|
"lucide-react": "^0.563.0",
|
|
|
|
|
"next": "^16.1.6",
|
refactor: migrate atom components to shadcn/ui primitives
Introduce a dual-layer component architecture:
- `components/ui/` contains raw shadcn/ui primitives (button, badge, input,
checkbox, label, skeleton, alert, toggle, toggle-group, input-otp)
- `components/atoms/` wraps these primitives with enhanced APIs (loading
states, semantic variants, polymorphic props) for backward compatibility
Migrated atoms: badge, button, checkbox, input, label, skeleton,
view-toggle, error-message, inline-toast, error-state.
Legacy backups preserved as .legacy.tsx files for reference.
Added barrel export for ui/ and updated components/index.ts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 13:25:18 +09:00
|
|
|
"radix-ui": "^1.4.3",
|
2026-02-03 18:46:51 +09:00
|
|
|
"react": "^19.2.4",
|
|
|
|
|
"react-dom": "^19.2.4",
|
refactor: complete shadcn/ui migration and unify raw HTML with component library
- Migrate all molecule components (DataTable, PaginationBar, FilterDropdown,
AlertBanner, FormField, SectionCard, SubCard, MetricCard, AnimatedCard,
OtpInput) to shadcn/ui primitives with legacy backups and comparison stories
- Install 24 shadcn/ui primitives (accordion, alert, badge, button, card,
checkbox, collapsible, dialog, dropdown-menu, input-otp, input, label,
pagination, popover, radio-group, select, separator, sheet, skeleton,
table, tabs, toggle-group, toggle, tooltip) with barrel exports
- Replace 69 raw HTML elements across all features with shadcn components:
35+ <button> → Button, 5 <select> → Select, 15+ <label> → Label,
6 <input type=checkbox> → Checkbox, 7 <input type=radio> → RadioGroup
- Add TextRotate animation component and integrate into hero section
with rotating service names (Internet, Phone Plans, VPN, IT Support, Business)
- Add destructive color token aliases for error state consistency
- Add CLAUDE.md rules for shadcn migration process
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:21:36 +09:00
|
|
|
"react-hook-form": "^7.71.2",
|
2025-12-10 13:38:16 +09:00
|
|
|
"tailwind-merge": "^3.4.0",
|
2025-08-29 14:12:12 +09:00
|
|
|
"world-countries": "^5.1.0",
|
2026-02-24 14:37:23 +09:00
|
|
|
"xstate": "^5.28.0",
|
refactor: complete shadcn/ui migration and unify raw HTML with component library
- Migrate all molecule components (DataTable, PaginationBar, FilterDropdown,
AlertBanner, FormField, SectionCard, SubCard, MetricCard, AnimatedCard,
OtpInput) to shadcn/ui primitives with legacy backups and comparison stories
- Install 24 shadcn/ui primitives (accordion, alert, badge, button, card,
checkbox, collapsible, dialog, dropdown-menu, input-otp, input, label,
pagination, popover, radio-group, select, separator, sheet, skeleton,
table, tabs, toggle-group, toggle, tooltip) with barrel exports
- Replace 69 raw HTML elements across all features with shadcn components:
35+ <button> → Button, 5 <select> → Select, 15+ <label> → Label,
6 <input type=checkbox> → Checkbox, 7 <input type=radio> → RadioGroup
- Add TextRotate animation component and integrate into hero section
with rotating service names (Internet, Phone Plans, VPN, IT Support, Business)
- Add destructive color token aliases for error state consistency
- Add CLAUDE.md rules for shadcn migration process
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:21:36 +09:00
|
|
|
"zod": "catalog:",
|
2026-02-03 18:32:16 +09:00
|
|
|
"zustand": "^5.0.11"
|
2025-08-20 18:02:50 +09:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-02-03 18:32:16 +09:00
|
|
|
"@next/bundle-analyzer": "^16.1.6",
|
2026-03-07 15:22:12 +09:00
|
|
|
"@storybook/addon-essentials": "^8.6.14",
|
|
|
|
|
"@storybook/blocks": "^8.6.14",
|
|
|
|
|
"@storybook/react": "^8.6.18",
|
|
|
|
|
"@storybook/react-vite": "^8.6.18",
|
|
|
|
|
"@storybook/test": "^8.6.15",
|
2025-12-29 11:12:20 +09:00
|
|
|
"@tailwindcss/postcss": "^4.1.18",
|
2026-03-07 15:22:12 +09:00
|
|
|
"@tailwindcss/vite": "^4.2.1",
|
2026-02-03 18:32:16 +09:00
|
|
|
"@tanstack/react-query-devtools": "^5.91.3",
|
|
|
|
|
"@types/react": "^19.2.10",
|
2025-12-10 13:38:16 +09:00
|
|
|
"@types/react-dom": "^19.2.3",
|
2026-03-07 15:22:12 +09:00
|
|
|
"storybook": "^8.6.18",
|
2025-12-29 11:12:20 +09:00
|
|
|
"tailwindcss": "^4.1.18",
|
2025-12-25 17:30:02 +09:00
|
|
|
"tailwindcss-animate": "^1.0.7",
|
2026-03-07 15:22:12 +09:00
|
|
|
"typescript": "catalog:",
|
|
|
|
|
"vite": "^6.4.1"
|
2025-08-20 18:02:50 +09:00
|
|
|
}
|
|
|
|
|
}
|