workthin 1.0.0
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/README.md +146 -0
- package/dist/cli/index.js +293 -0
- package/package.json +118 -0
package/package.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "workthin",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"wt": "dist/cli/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/cli"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"preinstall": "[ \"$npm_config_global\" = 'true' ] || npx only-allow bun",
|
|
14
|
+
"ci": "bun install --frozen-lockfile",
|
|
15
|
+
"dev": "next dev --hostname 0.0.0.0 --port 3001",
|
|
16
|
+
"build": "next build",
|
|
17
|
+
"build:cli": "bun run scripts/build-cli.ts",
|
|
18
|
+
"wt": "node dist/cli/index.js",
|
|
19
|
+
"start": "next start",
|
|
20
|
+
"lint": "biome check . --write",
|
|
21
|
+
"type-check": "tsc --noEmit",
|
|
22
|
+
"test": "vitest run --coverage",
|
|
23
|
+
"test:ui": "vitest --ui",
|
|
24
|
+
"test:e2e": "playwright test",
|
|
25
|
+
"test:all": "vitest run && playwright test",
|
|
26
|
+
"prepare": "husky",
|
|
27
|
+
"stripe:login": "stripe login",
|
|
28
|
+
"stripe:webhook": "stripe listen --forward-to localhost:3001/api/v1/stripe/webhook",
|
|
29
|
+
"k6:smoke": "PROFILE=smoke k6 run k6/api-knowledge.js",
|
|
30
|
+
"k6:load": "PROFILE=load k6 run k6/api-knowledge.js",
|
|
31
|
+
"k6:search": "PROFILE=stress k6 run k6/api-search-stress.js",
|
|
32
|
+
"k6:ratelimit": "k6 run k6/api-ratelimit.js",
|
|
33
|
+
"k6:mcp": "PROFILE=load k6 run k6/api-mcp.js",
|
|
34
|
+
"k6:webhook": "k6 run k6/api-stripe-webhook.js",
|
|
35
|
+
"k6:journey": "PROFILE=load k6 run k6/api-concurrent-users.js",
|
|
36
|
+
"k6:db": "k6 run k6/api-db-connections.js",
|
|
37
|
+
"k6:stripe": "PROFILE=smoke k6 run k6/api-stripe.js",
|
|
38
|
+
"k6:contact": "k6 run k6/api-contact.js",
|
|
39
|
+
"k6:all": "for f in k6/api-*.js; do echo \"\\n=== $f ===\"; PROFILE=${PROFILE:-smoke} k6 run \"$f\" || true; done",
|
|
40
|
+
"mcpb:pack": "cd packages/mcpb && npx @anthropic-ai/mcpb pack",
|
|
41
|
+
"supabase:login": "bunx supabase login",
|
|
42
|
+
"supabase:start": "bunx supabase start",
|
|
43
|
+
"supabase:stop": "bunx supabase stop",
|
|
44
|
+
"supabase:reset": "bunx supabase db reset",
|
|
45
|
+
"supabase:link": "bunx supabase link",
|
|
46
|
+
"supabase:type-local": "bunx supabase gen types typescript --local > src/types/supabase.ts",
|
|
47
|
+
"supabase:type-link": "bunx supabase gen types typescript --linked > src/types/supabase.ts",
|
|
48
|
+
"supabase:new": "bunx supabase migration new",
|
|
49
|
+
"supabase:push": "bunx supabase db push",
|
|
50
|
+
"supabase:diff": "bunx supabase db diff",
|
|
51
|
+
"supabase:dump": "cp supabase/seed.sql supabase/seed.bk.sql && bunx supabase db dump --local --data-only > supabase/seed.sql"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@clack/prompts": "^1.1.0",
|
|
55
|
+
"@hono/valibot-validator": "^0.6.1",
|
|
56
|
+
"@hookform/resolvers": "^5.2.2",
|
|
57
|
+
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
58
|
+
"@sentry/nextjs": "^10.45.0",
|
|
59
|
+
"@sentry/node": "^10.45.0",
|
|
60
|
+
"@stripe/stripe-js": "^8.8.0",
|
|
61
|
+
"@supabase/ssr": "^0.8.0",
|
|
62
|
+
"@supabase/supabase-js": "^2.98.0",
|
|
63
|
+
"@tanstack/react-query": "^5.90.21",
|
|
64
|
+
"@types/mdx": "^2.0.13",
|
|
65
|
+
"@upstash/ratelimit": "^2.0.8",
|
|
66
|
+
"@upstash/redis": "^1.36.3",
|
|
67
|
+
"@vercel/analytics": "^2.0.1",
|
|
68
|
+
"@vercel/speed-insights": "^2.0.0",
|
|
69
|
+
"cac": "^6.7.14",
|
|
70
|
+
"chalk": "^5.4.0",
|
|
71
|
+
"clsx": "^2.1.1",
|
|
72
|
+
"fumadocs-core": "^16.6.17",
|
|
73
|
+
"fumadocs-mdx": "^14.2.10",
|
|
74
|
+
"fumadocs-ui": "^16.6.17",
|
|
75
|
+
"hono": "^4.12.8",
|
|
76
|
+
"jose": "^6.2.1",
|
|
77
|
+
"mermaid": "^11.13.0",
|
|
78
|
+
"motion": "^12.38.0",
|
|
79
|
+
"next": "16.1.6",
|
|
80
|
+
"nuqs": "^2.8.9",
|
|
81
|
+
"openai": "^6.25.0",
|
|
82
|
+
"ora": "^8.2.0",
|
|
83
|
+
"posthog-js": "^1.356.1",
|
|
84
|
+
"posthog-node": "^5.26.0",
|
|
85
|
+
"react": "^19.2.4",
|
|
86
|
+
"react-dom": "^19.2.4",
|
|
87
|
+
"react-hook-form": "^7.71.2",
|
|
88
|
+
"resend": "^6.9.4",
|
|
89
|
+
"simple-icons": "^16.11.0",
|
|
90
|
+
"stripe": "^20.4.0",
|
|
91
|
+
"tailwind-merge": "^3.5.0",
|
|
92
|
+
"valibot": "^1.2.0"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@biomejs/biome": "2.4.4",
|
|
96
|
+
"@playwright/test": "^1.58.2",
|
|
97
|
+
"playwright": "^1.58.2",
|
|
98
|
+
"@tailwindcss/postcss": "^4.2.1",
|
|
99
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
100
|
+
"@testing-library/react": "^16.3.2",
|
|
101
|
+
"@types/node": "^25.3.2",
|
|
102
|
+
"@types/react": "^19.2.14",
|
|
103
|
+
"@types/react-dom": "^19.2.3",
|
|
104
|
+
"@vitejs/plugin-react": "5",
|
|
105
|
+
"@vitest/coverage-v8": "4.0.18",
|
|
106
|
+
"daisyui": "^5.5.19",
|
|
107
|
+
"husky": "^9.1.7",
|
|
108
|
+
"jsdom": "^28.1.0",
|
|
109
|
+
"supabase": "^2.76.15",
|
|
110
|
+
"tailwindcss": "^4.2.1",
|
|
111
|
+
"typescript": "^5.9.3",
|
|
112
|
+
"vite-tsconfig-paths": "^6.1.1",
|
|
113
|
+
"vitest": "^4.0.18"
|
|
114
|
+
},
|
|
115
|
+
"overrides": {
|
|
116
|
+
"serialize-javascript": ">=6.0.3"
|
|
117
|
+
}
|
|
118
|
+
}
|