ClassyGitShadowzzh

lib.test.ts.snap

lib.test.ts.snap

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`lib > setPkgJson casae 0 1`] = `
{
  "packageManager": "pnpm@9.12.1",
  "scripts": {
    "script:clean": "monorepo clean",
    "script:init": "monorepo init",
    "script:mirror": "monorepo mirror",
    "script:sync": "monorepo sync",
  },
}
`;

exports[`lib > setPkgJson casae 1 1`] = `
{
  "packageManager": "",
  "scripts": {
    "build": "turbo run build",
    "commit": "commit",
    "dev": "turbo run dev --parallel",
    "lint": "turbo run lint",
    "preinstall": "npx only-allow pnpm",
    "prepare": "husky",
    "publish-packages": "turbo run build lint test && changeset version && changeset publish",
    "release": "changeset",
    "script:clean": "monorepo clean",
    "script:init": "monorepo init",
    "script:mirror": "monorepo mirror",
    "script:sync": "monorepo sync",
    "test": "vitest run --coverage.enabled",
    "test:dev": "vitest",
  },
}
`;

exports[`lib > setPkgJson casae 2 1`] = `
{
  "dependencies": {
    "xx": "workspace:*",
  },
  "devDependencies": {
    "x": "workspace:*",
  },
  "packageManager": "",
  "scripts": {
    "script:clean": "monorepo clean",
    "script:init": "monorepo init",
    "script:mirror": "monorepo mirror",
    "script:sync": "monorepo sync",
  },
}
`;

exports[`lib > setPkgJson casae 3 1`] = `
{
  "dependencies": {
    "xx": "0.0.0",
  },
  "devDependencies": {
    "x": "0.0.0",
  },
  "packageManager": "",
  "scripts": {
    "script:clean": "monorepo clean",
    "script:init": "monorepo init",
    "script:mirror": "monorepo mirror",
    "script:sync": "monorepo sync",
  },
}
`;