Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit b06c7df

Browse files
authored
feat: add detection for SolidJS (#813)
1 parent 7cfce5a commit b06c7df

File tree

5 files changed

+30
-1
lines changed

5 files changed

+30
-1
lines changed

assets/logos/solid-js/dark.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/logos/solid-js/default.svg

Lines changed: 1 addition & 0 deletions
Loading

src/frameworks/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const FRAMEWORK_NAMES = [
2424
'react-static',
2525
'redwoodjs',
2626
'remix',
27+
'solid-js',
2728
'solid-start',
2829
'stencil',
2930
'vuepress',

src/frameworks/solid-js.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id": "solid-js",
3+
"name": "SolidJS",
4+
"category": "static_site_generator",
5+
"detect": {
6+
"npmDependencies": ["solid-js"],
7+
"excludedNpmDependencies": ["solid-start"],
8+
"configFiles": []
9+
},
10+
"dev": {
11+
"command": "npm run dev",
12+
"port": 3000,
13+
"pollingStrategies": [{ "name": "TCP" }]
14+
},
15+
"build": {
16+
"command": "npm run build",
17+
"directory": "netlify"
18+
},
19+
"logo": {
20+
"default": "/logos/solid-js/default.svg",
21+
"light": "/logos/solid-js/default.svg",
22+
"dark": "/logos/solid-js/dark.svg"
23+
},
24+
"env": {},
25+
"plugins": []
26+
}

src/frameworks/vite.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"category": "build_tool",
55
"detect": {
66
"npmDependencies": ["vite"],
7-
"excludedNpmDependencies": ["@shopify/hydrogen", "@builder.io/qwik", "solid-start"],
7+
"excludedNpmDependencies": ["@shopify/hydrogen", "@builder.io/qwik", "solid-start", "solid-js"],
88
"configFiles": []
99
},
1010
"dev": {

0 commit comments

Comments
 (0)