fix: discover through config
This commit is contained in:
parent
61f1a5b1f2
commit
5d2bc3ee07
|
@ -588,7 +588,12 @@ export default class ServerFlecks extends Flecks {
|
|||
R.resolve(parts.join('/'));
|
||||
}
|
||||
catch (error) {
|
||||
return undefined;
|
||||
try {
|
||||
R.resolve(join(parts.join('/'), 'build', 'flecks.config'));
|
||||
}
|
||||
catch (error) {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
while (parts.length > 0) {
|
||||
try {
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
"index.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@flecks/core": "^2.0.0",
|
||||
"@flecks/passport-local": "^2.0.0",
|
||||
"@flecks/react": "^2.0.0"
|
||||
"@flecks/core": "^2.0.3",
|
||||
"@flecks/passport-local": "^2.0.3",
|
||||
"@flecks/react": "^2.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@flecks/fleck": "^2.0.0"
|
||||
"@flecks/fleck": "^2.0.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,12 +20,12 @@
|
|||
"index.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@flecks/core": "^2.0.0",
|
||||
"@flecks/passport": "^2.0.0",
|
||||
"@flecks/react": "^2.0.0",
|
||||
"@flecks/redux": "^2.0.0"
|
||||
"@flecks/core": "^2.0.3",
|
||||
"@flecks/passport": "^2.0.3",
|
||||
"@flecks/react": "^2.0.3",
|
||||
"@flecks/redux": "^2.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@flecks/fleck": "^2.0.0"
|
||||
"@flecks/fleck": "^2.0.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
"server.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@flecks/core": "^2.0.0",
|
||||
"@flecks/core": "^2.0.3",
|
||||
"express": "^4.18.2",
|
||||
"express-session": "^1.17.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@flecks/fleck": "^2.0.0"
|
||||
"@flecks/fleck": "^2.0.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user