Skip to content

Commit

Permalink
fix(monorepo): yarn generate-package script
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Dec 27, 2024
1 parent d35d4fc commit 6aa2ce6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/generatePackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ import prettier from 'prettier';
import chalk from 'chalk';

import templatePackageJson from './package-template/package.json';
import { getPrettierConfig } from './utils/getPrettierConfig';
import { getWorkspacesList } from './utils/getWorkspacesList';
// todo: calling yarn generate-package failed on not resolving destructuring imports. default imports seem to work.
import import1 from './utils/getPrettierConfig';
import import2 from './utils/getWorkspacesList';

const { getPrettierConfig } = import1;
const { getWorkspacesList } = import2;

const templatePath = './scripts/package-template';

Expand Down

0 comments on commit 6aa2ce6

Please sign in to comment.