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

Commit

Permalink
feat: add detection for SolidJS (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericapisani committed Aug 24, 2022
1 parent 7cfce5a commit b06c7df
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/logos/solid-js/dark.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/logos/solid-js/default.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/frameworks/main.js
Expand Up @@ -24,6 +24,7 @@ export const FRAMEWORK_NAMES = [
'react-static',
'redwoodjs',
'remix',
'solid-js',
'solid-start',
'stencil',
'vuepress',
Expand Down
26 changes: 26 additions & 0 deletions src/frameworks/solid-js.json
@@ -0,0 +1,26 @@
{
"id": "solid-js",
"name": "SolidJS",
"category": "static_site_generator",
"detect": {
"npmDependencies": ["solid-js"],
"excludedNpmDependencies": ["solid-start"],
"configFiles": []
},
"dev": {
"command": "npm run dev",
"port": 3000,
"pollingStrategies": [{ "name": "TCP" }]
},
"build": {
"command": "npm run build",
"directory": "netlify"
},
"logo": {
"default": "/logos/solid-js/default.svg",
"light": "/logos/solid-js/default.svg",
"dark": "/logos/solid-js/dark.svg"
},
"env": {},
"plugins": []
}
2 changes: 1 addition & 1 deletion src/frameworks/vite.json
Expand Up @@ -4,7 +4,7 @@
"category": "build_tool",
"detect": {
"npmDependencies": ["vite"],
"excludedNpmDependencies": ["@shopify/hydrogen", "@builder.io/qwik", "solid-start"],
"excludedNpmDependencies": ["@shopify/hydrogen", "@builder.io/qwik", "solid-start", "solid-js"],
"configFiles": []
},
"dev": {
Expand Down

0 comments on commit b06c7df

Please sign in to comment.