fix: config
This commit is contained in:
parent
a98070ba6a
commit
e001c771ee
|
@ -5,4 +5,3 @@
|
|||
"useNx": true,
|
||||
"version": "3.0.0"
|
||||
}
|
||||
|
||||
|
|
|
@ -41,9 +41,9 @@ const {
|
|||
'build/flecks.yml',
|
||||
transform((chunk, encoding, done, stream) => {
|
||||
const yml = loadYml(chunk);
|
||||
yml['@flecks/core'] = {id: app};
|
||||
yml['@flecks/core'].id = app;
|
||||
if ('npm' !== packageManager) {
|
||||
yml['@flecks/core'].packageManager = packageManager;
|
||||
yml['@flecks/build'].packageManager = packageManager;
|
||||
}
|
||||
stream.push(dumpYml(yml, {forceQuotes: true, sortKeys: true}));
|
||||
done();
|
||||
|
|
|
@ -68,7 +68,7 @@ const target = async (fleck) => {
|
|||
const {alias, add} = o;
|
||||
try {
|
||||
const flecks = await Build.from();
|
||||
const {packageManager} = flecks.get('@flecks/core');
|
||||
const {packageManager} = flecks.get('@flecks/build');
|
||||
const isMonorepo = await checkIsMonorepo();
|
||||
const [scope, pkg] = await target(fleck);
|
||||
const name = [scope, pkg].filter((e) => !!e).join('/');
|
||||
|
|
Loading…
Reference in New Issue
Block a user