fix: discover through config

This commit is contained in:
cha0s 2024-01-14 09:36:30 -06:00
parent 61f1a5b1f2
commit 5d2bc3ee07
4 changed files with 19 additions and 14 deletions

View File

@ -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 {

View File

@ -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"
}
}
}

View File

@ -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"
}
}
}

View File

@ -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"
}
}