Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
cha0s committed Jan 24, 2024
1 parent a98070b commit e001c77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
"useNx": true,
"version": "3.0.0"
}

2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"cache": true
}
}
}
}
4 changes: 2 additions & 2 deletions packages/create-app/build/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion packages/create-fleck/build/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('/');
Expand Down

0 comments on commit e001c77

Please sign in to comment.