kaddidlehopper 0.4.0 → 0.5.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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(grep:*)"
5
+ ]
6
+ }
7
+ }
@@ -7,6 +7,7 @@
7
7
  "type": "add-on",
8
8
  "priority": 20,
9
9
  "routes": [{"icon": "MessagesSquare", "url": "/chat", "name": "Chat", "path": "src/routes/chat.tsx", "jsName": "ChatPage"}],
10
+ "features": ["tanstack-ai"],
10
11
  "integrations": [{"type": "header-user", "path": "src/components/AIAssistant.tsx", "jsName": "AIAssistant"}],
11
12
  "dependsOn": [],
12
13
  "variables": [],
@@ -7,6 +7,7 @@
7
7
  "type": "add-on",
8
8
  "priority": 20,
9
9
  "routes": [{"icon": "Database", "url": "/db-example", "name": "DB Example", "path": "src/routes/db-example.tsx", "jsName": "DBExample"}],
10
+ "features": ["netlify-db"],
10
11
  "integrations": [],
11
12
  "dependsOn": [],
12
13
  "variables": [],
@@ -7,6 +7,7 @@
7
7
  "type": "add-on",
8
8
  "priority": 20,
9
9
  "routes": [{"icon": "FormInput", "url": "/form-example", "name": "Form Example", "path": "src/routes/form-example.tsx", "jsName": "FormExample"}],
10
+ "features": ["netlify-forms"],
10
11
  "integrations": [],
11
12
  "dependsOn": [],
12
13
  "variables": [],
package/dist/cli.js CHANGED
@@ -110,6 +110,7 @@ export function cli({ name, appName, defaultFramework, forcedMode, forcedAddOns
110
110
  name: addon.name,
111
111
  description: addon.description,
112
112
  type: addon.type,
113
+ features: addon.features ?? [],
113
114
  options: addon.options,
114
115
  }));
115
116
  console.log(JSON.stringify(serialized, null, 2));
@@ -10,6 +10,7 @@
10
10
  {"url": "/", "path": "src/routes/index.tsx", "jsName": "Home"},
11
11
  {"url": "/api/chat", "path": "src/routes/api.chat.ts", "jsName": "ChatAPI"}
12
12
  ],
13
+ "features": ["tanstack-start", "tanstack-ai"],
13
14
  "integrations": [],
14
15
  "dependsOn": [],
15
16
  "variables": [],
@@ -11,6 +11,7 @@
11
11
  {"url": "/posts/$slug", "path": "src/routes/posts.$slug.tsx", "jsName": "BlogPost"},
12
12
  {"url": "/category/$category", "path": "src/routes/category.$category.tsx", "jsName": "BlogCategory"}
13
13
  ],
14
+ "features": ["tanstack-start", "content-collections", "tanstack-ai"],
14
15
  "integrations": [{"type": "vite-plugin", "import": "import contentCollections from '@content-collections/vite'", "code": "contentCollections()"}],
15
16
  "dependsOn": [],
16
17
  "variables": [],
@@ -7,6 +7,7 @@
7
7
  "priority": 10,
8
8
  "link": "",
9
9
  "routes": [{"url": "/", "path": "src/routes/index.tsx", "jsName": "Home"}],
10
+ "features": ["tanstack-start"],
10
11
  "integrations": [],
11
12
  "dependsOn": [],
12
13
  "variables": [],
@@ -7,6 +7,7 @@
7
7
  "priority": 10,
8
8
  "link": "",
9
9
  "routes": [{"url": "/", "path": "src/routes/index.tsx", "jsName": "Home"}],
10
+ "features": ["tanstack-start", "chart.js"],
10
11
  "integrations": [],
11
12
  "dependsOn": [],
12
13
  "variables": [],
@@ -13,6 +13,7 @@
13
13
  {"url": "/checkout/cancel", "path": "src/routes/checkout/cancel.tsx", "jsName": "CheckoutCancel"},
14
14
  {"url": "/api/motorcycle-chat", "path": "src/routes/api.motorcycle-chat.ts", "jsName": "MotorcycleChatAPI"}
15
15
  ],
16
+ "features": ["tanstack-start", "stripe", "tanstack-ai"],
16
17
  "integrations": [],
17
18
  "dependsOn": [],
18
19
  "variables": [],
@@ -15,6 +15,7 @@
15
15
  {"url": "/talks/$slug", "path": "src/routes/talks.$slug.tsx", "jsName": "TalkDetail"},
16
16
  {"url": "/api/remy-chat", "path": "src/routes/api.remy-chat.ts", "jsName": "RemyChatAPI"}
17
17
  ],
18
+ "features": ["tanstack-start", "content-collections", "tanstack-ai"],
18
19
  "integrations": [{"type": "vite-plugin", "import": "import contentCollections from '@content-collections/vite'", "code": "contentCollections()"}],
19
20
  "dependsOn": [],
20
21
  "variables": [],
@@ -11,6 +11,7 @@
11
11
  {"url": "/motorcycles/$motorcycleId", "path": "src/routes/motorcycles/$motorcycleId.tsx", "jsName": "MotorcycleDetail"},
12
12
  {"url": "/api/motorcycle-chat", "path": "src/routes/api.motorcycle-chat.ts", "jsName": "MotorcycleChatAPI"}
13
13
  ],
14
+ "features": ["tanstack-start", "tanstack-ai"],
14
15
  "integrations": [],
15
16
  "dependsOn": [],
16
17
  "variables": [],
@@ -14,6 +14,7 @@
14
14
  {"url": "/blog/$slug", "path": "src/routes/blog/$slug.tsx", "jsName": "BlogPost"},
15
15
  {"url": "/api/resume-chat", "path": "src/routes/api.resume-chat.ts", "jsName": "ResumeChatAPI"}
16
16
  ],
17
+ "features": ["tanstack-start", "content-collections", "netlify-forms"],
17
18
  "integrations": [{"type": "vite-plugin", "import": "import contentCollections from '@content-collections/vite'", "code": "contentCollections()"}],
18
19
  "dependsOn": [],
19
20
  "variables": [],
@@ -7,6 +7,7 @@
7
7
  "priority": 10,
8
8
  "link": "",
9
9
  "routes": [{"url": "/", "path": "src/routes/index.tsx", "jsName": "ResumeHome"}],
10
+ "features": ["tanstack-start", "content-collections", "tanstack-ai"],
10
11
  "integrations": [{"type": "vite-plugin", "import": "import contentCollections from '@content-collections/vite'", "code": "contentCollections()"}],
11
12
  "dependsOn": [],
12
13
  "variables": [],
@@ -10,6 +10,7 @@
10
10
  {"url": "/", "path": "src/routes/index.tsx", "jsName": "Home"},
11
11
  {"url": "/faq", "name": "FAQ", "icon": "HelpCircle", "path": "src/routes/faq.tsx", "jsName": "FAQ"}
12
12
  ],
13
+ "features": ["tanstack-start"],
13
14
  "integrations": [],
14
15
  "dependsOn": [],
15
16
  "variables": [],
@@ -7,6 +7,7 @@
7
7
  "priority": 10,
8
8
  "link": "",
9
9
  "routes": [{"url": "/", "path": "src/routes/index.tsx", "jsName": "Home"}],
10
+ "features": ["tanstack-start", "netlify-forms"],
10
11
  "integrations": [],
11
12
  "dependsOn": [],
12
13
  "variables": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaddidlehopper",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Create TanStack Start applications for Netlify",
5
5
  "bin": "./dist/index.js",
6
6
  "type": "module",
package/src/cli.ts CHANGED
@@ -183,6 +183,7 @@ export function cli({
183
183
  name: addon.name,
184
184
  description: addon.description,
185
185
  type: addon.type,
186
+ features: (addon as unknown as { features?: Array<string> }).features ?? [],
186
187
  options: addon.options,
187
188
  }))
188
189
  console.log(JSON.stringify(serialized, null, 2))