Skip to content

Commit ce43c00

Browse files
committed
Replace @pnpm/meta-updater with custom TypeScript implementation
The floating dependencies CI was failing due to peer dependency conflicts between @pnpm/meta-updater and @pnpm/* packages (version mismatches between 1000.x.x and 1001.x.x series). Instead of working around these conflicts, we've replaced the meta-updater entirely with a custom solution. The new implementation uses standard building blocks (globby, read-pkg, write-pkg, handlebars, deepmerge) and runs with Node's --experimental-strip-types flag. It provides identical functionality to the original meta-updater while being more maintainable and eliminating the problematic peer dependencies. Key changes: - Remove .meta-updater/ configuration and @pnpm/meta-updater dependency - Add repo-metadata/lib/package-updater.ts with equivalent functionality - Update package scripts to use the new TypeScript implementation - Configure ESLint to properly handle TypeScript CLI scripts This resolves the floating dependencies test failures while maintaining all existing package convention behaviors.
1 parent 91d5f62 commit ce43c00

File tree

14 files changed

+554
-1282
lines changed

14 files changed

+554
-1282
lines changed

.meta-updater/catalog/package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.meta-updater/formats/code.mjs

Lines changed: 0 additions & 27 deletions
This file was deleted.

.meta-updater/formats/json.mjs

Lines changed: 0 additions & 60 deletions
This file was deleted.

.meta-updater/main.mjs

Lines changed: 0 additions & 205 deletions
This file was deleted.

.meta-updater/package.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

.meta-updater/update.mjs

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)