message: chore: fix sync
diff: import { readdirSync } from "fs";
  -import { get } from "https";
  +import { request } from "https";
  import { resolve } from "path";
  const packagesDir = resolve(process.cwd(), "packages");
  @@ -9,11 +9,27 @@ export const sync = (): Promise<void[]> => {
  const promises = packages.map((packageName) => {
  return import(`../../packages/${packageName}/package.json`).then(
  (content: Record<string, unknown>) =>
  - new Promise<void>((resolve) => {
  - get(`https://npmmirror.com/sync/${content["name"] as string}`).on(
  - "finish",
  - () => resolve()
  + new Promise<void>(() => {
  + const req = request(
  + new URL(
  + `https://registry-direct.npmmirror.com/${
  + content["name"] as string
  + }/sync?sync_upstream=true`
  + ),
  + {
  + method: "PUT",
  + headers: {
  + // eslint-disable-next-line @typescript-eslint/naming-convention
  + "Content-Length": 0,
  + },
  + }
  );
  +
  + req.write("");
  +
  + req.on("close", () => {
  + resolve();
  + });
  })
  );
  });
  