[{"data":1,"prerenderedAt":281},["ShallowReactive",2],{"doc:en:getting-started\u002Fmigrate-from-frsource":3,"doc-nav:en":251},{"id":4,"title":5,"body":6,"description":242,"extension":243,"meta":244,"navigation":245,"order":207,"path":246,"reviewed":245,"seo":247,"stem":248,"__hash__":249,"fallback":250},"docs\u002Fdocs\u002Fen\u002Fgetting-started\u002Fmigrate-from-frsource.md","Migrate from @frsource",{"type":7,"value":8,"toc":236},"minimark",[9,13,18,39,43,58,62,72,97,100,150,154,157,188,217,232],[10,11,5],"h1",{"id":12},"migrate-from-frsource",[14,15,17],"h2",{"id":16},"why-the-package-moved","Why the package moved",[19,20,21,22,26,27,34,35,38],"p",{},"The plugin started life as ",[23,24,25],"code",{},"@frsource\u002Fcypress-plugin-visual-regression-diff",". It's now in the ",[28,29,33],"a",{"href":30,"rel":31},"https:\u002F\u002Fgithub.com\u002Fpixsame",[32],"nofollow","pixsame"," organization, next to the manifest format and the other tools, and is published as ",[23,36,37],{},"@pixsame\u002Fcypress-plugin-visual-regression-diff",". The old name is frozen. No more releases go there, so fixes only reach you once you switch.",[14,40,42],{"id":41},"what-changes","What changes",[19,44,45,46,49,50,53,54,57],{},"Only the name. ",[23,47,48],{},"@pixsame"," 1.0.0 is the exact code of ",[23,51,52],{},"@frsource"," 4.3.0, so your baseline images, configuration and ",[23,55,56],{},"cy.*"," commands keep working as they are.",[14,59,61],{"id":60},"use-the-migrate-command","Use the migrate command",[19,63,64,65,67,68,71],{},"The last ",[23,66,52],{}," releases ship a command that does the rename for you. It walks every ",[23,69,70],{},"package.json"," below the current directory and swaps the dependency, rewrites imports and type references in your config and support files, then reinstalls with whichever package manager it finds:",[73,74,79],"pre",{"className":75,"code":76,"language":77,"meta":78,"style":78},"language-bash shiki shiki-themes github-light-high-contrast github-dark-high-contrast","npx @frsource\u002Fcypress-plugin-visual-regression-diff migrate\n","bash","",[23,80,81],{"__ignoreMap":78},[82,83,86,90,94],"span",{"class":84,"line":85},"line",1,[82,87,89],{"class":88},"soyes","npx",[82,91,93],{"class":92},"sT6z2"," @frsource\u002Fcypress-plugin-visual-regression-diff",[82,95,96],{"class":92}," migrate\n",[19,98,99],{},"Before it writes anything it prints the files it's about to touch and waits for a yes.",[101,102,103,116],"table",{},[104,105,106],"thead",{},[107,108,109,113],"tr",{},[110,111,112],"th",{},"Flag",[110,114,115],{},"What it does",[117,118,119,130,140],"tbody",{},[107,120,121,127],{},[122,123,124],"td",{},[23,125,126],{},"--dry-run",[122,128,129],{},"Only list the files that would change",[107,131,132,137],{},[122,133,134],{},[23,135,136],{},"--yes",[122,138,139],{},"Skip the question (required in CI)",[107,141,142,147],{},[122,143,144],{},[23,145,146],{},"--no-install",[122,148,149],{},"Skip the install step",[14,151,153],{"id":152},"prefer-to-do-it-by-hand","Prefer to do it by hand?",[19,155,156],{},"Swap the package, then search and replace the name in your imports:",[73,158,160],{"className":75,"code":159,"language":77,"meta":78,"style":78},"npm uninstall @frsource\u002Fcypress-plugin-visual-regression-diff\nnpm install --save-dev @pixsame\u002Fcypress-plugin-visual-regression-diff\n",[23,161,162,173],{"__ignoreMap":78},[82,163,164,167,170],{"class":84,"line":85},[82,165,166],{"class":88},"npm",[82,168,169],{"class":92}," uninstall",[82,171,172],{"class":92}," @frsource\u002Fcypress-plugin-visual-regression-diff\n",[82,174,176,178,181,185],{"class":84,"line":175},2,[82,177,166],{"class":88},[82,179,180],{"class":92}," install",[82,182,184],{"class":183},"s-5SL"," --save-dev",[82,186,187],{"class":92}," @pixsame\u002Fcypress-plugin-visual-regression-diff\n",[73,189,193],{"className":190,"code":191,"language":192,"meta":78,"style":78},"language-diff shiki shiki-themes github-light-high-contrast github-dark-high-contrast","-import '@frsource\u002Fcypress-plugin-visual-regression-diff';\n+import '@pixsame\u002Fcypress-plugin-visual-regression-diff';\n-import { initPlugin } from '@frsource\u002Fcypress-plugin-visual-regression-diff\u002Fplugins';\n+import { initPlugin } from '@pixsame\u002Fcypress-plugin-visual-regression-diff\u002Fplugins';\n","diff",[23,194,195,200,205,211],{"__ignoreMap":78},[82,196,197],{"class":84,"line":85},[82,198,199],{},"-import '@frsource\u002Fcypress-plugin-visual-regression-diff';\n",[82,201,202],{"class":84,"line":175},[82,203,204],{},"+import '@pixsame\u002Fcypress-plugin-visual-regression-diff';\n",[82,206,208],{"class":84,"line":207},3,[82,209,210],{},"-import { initPlugin } from '@frsource\u002Fcypress-plugin-visual-regression-diff\u002Fplugins';\n",[82,212,214],{"class":84,"line":213},4,[82,215,216],{},"+import { initPlugin } from '@pixsame\u002Fcypress-plugin-visual-regression-diff\u002Fplugins';\n",[19,218,219,220,223,224,227,228,231],{},"If the package is listed in ",[23,221,222],{},"compilerOptions.types"," of a ",[23,225,226],{},"tsconfig.json",", rename it there too, or ",[23,229,230],{},"tsc"," will complain about a type definition it can't find.",[233,234,235],"style",{},"html pre.shiki code .soyes, html code.shiki .soyes{--shiki-default:#702C00;--shiki-dark:#FFB757}html pre.shiki code .sT6z2, html code.shiki .sT6z2{--shiki-default:#032563;--shiki-dark:#ADDCFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s-5SL, html code.shiki .s-5SL{--shiki-default:#023B95;--shiki-dark:#91CBFF}",{"title":78,"searchDepth":175,"depth":175,"links":237},[238,239,240,241],{"id":16,"depth":175,"text":17},{"id":41,"depth":175,"text":42},{"id":60,"depth":175,"text":61},{"id":152,"depth":175,"text":153},"Move from @frsource\u002Fcypress-plugin-visual-regression-diff to @pixsame\u002Fcypress-plugin-visual-regression-diff in one step.","md",{},true,"\u002Fdocs\u002Fen\u002Fgetting-started\u002Fmigrate-from-frsource",{"title":5,"description":242},"docs\u002Fen\u002Fgetting-started\u002Fmigrate-from-frsource","9UffcTRBf2H3LnGM-_f0K00l8SwFTZFlyTnFTy3zpcc",false,[252,256,260,264,267,270,273,275,278],{"path":253,"title":254,"group":255},"\u002Fdocs\u002Fgetting-started\u002Finstall","Install","getting-started",{"path":257,"title":258,"group":259},"\u002Fdocs\u002Fintegrations\u002Fcypress-plugin","Cypress plugin","integrations",{"path":261,"title":262,"group":263},"\u002Fdocs\u002Freference\u002Fconfiguration","Configuration","reference",{"path":265,"title":266,"group":255},"\u002Fdocs\u002Fgetting-started\u002Fusage","Usage",{"path":268,"title":269,"group":259},"\u002Fdocs\u002Fintegrations\u002Fgithub-app","GitHub App",{"path":271,"title":272,"group":263},"\u002Fdocs\u002Freference\u002Fmanifest","Manifest schema",{"path":274,"title":5,"group":255},"\u002Fdocs\u002Fgetting-started\u002Fmigrate-from-frsource",{"path":276,"title":277,"group":259},"\u002Fdocs\u002Fintegrations\u002Fplaywright-reporter","Playwright plugin",{"path":279,"title":280,"group":259},"\u002Fdocs\u002Fintegrations\u002Fvitest","Vitest plugin",1794530807663]