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

Commit

Permalink
feat!: add Remix, make dev port optional (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlengstorf committed Jan 10, 2022
1 parent a2ce2ea commit 0c4e5bd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/frameworks/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports.FRAMEWORK_NAMES = [
'phenomic',
'react-static',
'redwoodjs',
'remix',
'stencil',
'vuepress',
'assemble',
Expand Down
19 changes: 19 additions & 0 deletions src/frameworks/remix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"id": "remix",
"name": "Remix",
"category": "static_site_generator",
"detect": {
"npmDependencies": ["remix", "@remix-run/netlify"],
"excludedNpmDependencies": [],
"configFiles": ["remix.config.mjs"]
},
"dev": {
"command": "remix watch"
},
"build": {
"command": "remix build",
"directory": "public"
},
"env": {},
"plugins": []
}
2 changes: 1 addition & 1 deletion test/frameworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const FRAMEWORK_JSON_SCHEMA = {
oneOf: [
{
type: 'object',
required: ['command', 'port', 'pollingStrategies'],
required: ['command'],
additionalProperties: false,
properties: {
command: COMMAND_SCHEMA,
Expand Down

0 comments on commit 0c4e5bd

Please sign in to comment.