We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9483c7 commit 38d10a7Copy full SHA for 38d10a7
scripts/utils/tools.ts
@@ -21,7 +21,7 @@ import type * as typefest from 'type-fest';
21
import typescript from 'typescript';
22
import ts from 'typescript';
23
24
-import { CODE_DIRECTORY, ROOT_DIRECTORY } from './constants';
+import { ROOT_DIRECTORY } from './constants';
25
26
export { globalExternals };
27
@@ -144,7 +144,7 @@ export const getWorkspace = async (): Promise<PackageJson[]> => {
144
145
return Promise.all(
146
workspaces
147
- .flatMap((p) => p.map((i) => join(CODE_DIRECTORY, i)))
+ .flatMap((p) => p.map((i) => join(ROOT_DIRECTORY, i)))
148
.map(async (packagePath) => {
149
const packageJsonPath = join(packagePath, 'package.json');
150
if (!(await pathExists(packageJsonPath))) {
0 commit comments