diff --git a/scripts/prepare/config.ts b/scripts/prepare/config.ts index 03d269f8e3..80490da8c4 100644 --- a/scripts/prepare/config.ts +++ b/scripts/prepare/config.ts @@ -35,7 +35,7 @@ export const root = new URL('../../', import.meta.url); export const local = { src: new URL(`scripts/prepare/src/`, root), - versionedPackageJson: new URL('packages/ts/hilla-generator-core/package.json', root), + versionedPackageJson: new URL('packages/ts/generator-core/package.json', root), results: new URL(`scripts/prepare/results/`, root), }; diff --git a/scripts/prepare/index.ts b/scripts/prepare/index.ts index 459875b32c..df9b507531 100644 --- a/scripts/prepare/index.ts +++ b/scripts/prepare/index.ts @@ -17,7 +17,7 @@ const [{ version }, versions] = await Promise.all([ ]); if (!version) { - throw new Error('No version found in package.json of Hilla "hilla-generator-core"'); + throw new Error('No version found in package.json of Hilla "/ts/generator-core"'); } // run the generator