diff --git a/404.html b/404.html index 96db850..6985c11 100644 --- a/404.html +++ b/404.html @@ -7,7 +7,7 @@ - + diff --git a/assets/js/2e9a6f4f.09b34996.js b/assets/js/2e9a6f4f.09b34996.js new file mode 100644 index 0000000..e4db386 --- /dev/null +++ b/assets/js/2e9a6f4f.09b34996.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[388],{5012:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>o,default:()=>d,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var i=s(7624),r=s(2172);const c={},o="Using pnpm with Lerna",l={id:"recipes/using-pnpm-with-lerna",title:"Using pnpm with Lerna",description:"Lerna can be used in a pnpm workspace to get the full benefits of both pnpm and Lerna.",source:"@site/docs/recipes/using-pnpm-with-lerna.md",sourceDirName:"recipes",slug:"/recipes/using-pnpm-with-lerna",permalink:"/docs/recipes/using-pnpm-with-lerna",draft:!1,unlisted:!1,editUrl:"https://github.com/lerna/lerna/tree/main/website/docs/recipes/using-pnpm-with-lerna.md",tags:[],version:"current",frontMatter:{},sidebar:"main",previous:{title:"Configuring Published Files",permalink:"/docs/concepts/configuring-published-files"},next:{title:"Commands",permalink:"/docs/api-reference/commands"}},t={},p=[{value:"Getting Started",id:"getting-started",level:2}];function a(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,r.M)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"using-pnpm-with-lerna",children:"Using pnpm with Lerna"}),"\n",(0,i.jsxs)(n.p,{children:["Lerna can be used in a ",(0,i.jsxs)(n.a,{href:"https://pnpm.io/workspaces",children:[(0,i.jsx)(n.code,{children:"pnpm"})," workspace"]})," to get the full benefits of both ",(0,i.jsx)(n.a,{href:"https://pnpm.io",children:(0,i.jsx)(n.code,{children:"pnpm"})})," and Lerna."]}),"\n",(0,i.jsxs)(n.p,{children:["When used in a ",(0,i.jsx)(n.code,{children:"pnpm"})," workspace, Lerna will:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["resolve package locations with ",(0,i.jsx)(n.code,{children:"pnpm-workspace.yaml"})," (",(0,i.jsx)(n.a,{href:"https://pnpm.io/workspaces",children:"https://pnpm.io/workspaces"}),")"]}),"\n",(0,i.jsxs)(n.li,{children:["ignore ",(0,i.jsx)(n.code,{children:'"workspaces"'})," in ",(0,i.jsx)(n.code,{children:"package.json"})]}),"\n",(0,i.jsxs)(n.li,{children:["block usage of ",(0,i.jsx)(n.code,{children:"bootstrap"}),", ",(0,i.jsx)(n.code,{children:"link"}),", and ",(0,i.jsx)(n.code,{children:"add"})," commands. Instead, you should use ",(0,i.jsx)(n.code,{children:"pnpm"})," commands directly to manage dependencies (",(0,i.jsx)(n.a,{href:"https://pnpm.io/cli/install",children:"https://pnpm.io/cli/install"}),")."]}),"\n",(0,i.jsxs)(n.li,{children:["respect the ",(0,i.jsx)(n.a,{href:"https://pnpm.io/workspaces#workspace-protocol-workspace",children:"workspace protocol"})," for package dependencies.","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["During ",(0,i.jsx)(n.code,{children:"lerna version"}),", dependencies will be updated as normal, but will preserve the ",(0,i.jsx)(n.code,{children:"workspace:"})," prefix if it exists."]}),"\n",(0,i.jsxs)(n.li,{children:["If a ",(0,i.jsx)(n.a,{href:"https://pnpm.io/workspaces#referencing-workspace-packages-through-aliases",children:"workspace alias"})," is used, then ",(0,i.jsx)(n.code,{children:"lerna version"})," will not bump the version of the dependency, since aliases don't specify a version number to bump."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsx)(n.p,{children:"To set up pnpm with Lerna:"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["If not installed already, install ",(0,i.jsx)(n.code,{children:"pnpm"}),": ",(0,i.jsx)(n.a,{href:"https://pnpm.io/installation",children:"https://pnpm.io/installation"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["Remove the ",(0,i.jsx)(n.code,{children:"node_modules/"})," folder in the root, if it exists. If not already using workspaces, run ",(0,i.jsx)(n.code,{children:"lerna clean"})," to remove the ",(0,i.jsx)(n.code,{children:"node_modules/"})," folder in all packages."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["Set ",(0,i.jsx)(n.code,{children:'"npmClient": "pnpm"'})," in ",(0,i.jsx)(n.code,{children:"lerna.json"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["Create a ",(0,i.jsx)(n.code,{children:"pnpm-workspace.yaml"}),' file in the root of your project.\nIf you are already using npm or yarn workspaces, move the "workspaces" property from ',(0,i.jsx)(n.code,{children:"package.json"})," to ",(0,i.jsx)(n.code,{children:"pnpm-workspace.yaml"}),'. If you were not already using workspaces, move the "packages" property from ',(0,i.jsx)(n.code,{children:"lerna.json"})," to ",(0,i.jsx)(n.code,{children:"pnpm-workspace.yaml"}),". For example:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",metastring:'title="package.json"',children:'{\n "workspaces": ["packages/*"]\n}\n'})}),"\n",(0,i.jsx)(n.p,{children:"and"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",metastring:'title="lerna.json"',children:'{\n "packages": ["packages/*"]\n}\n'})}),"\n",(0,i.jsx)(n.p,{children:"become:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",metastring:'title="pnpm-workspace.yaml"',children:'packages:\n - "packages/*"\n'})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["(optional) Run ",(0,i.jsx)(n.code,{children:"pnpm import"})," to generate a ",(0,i.jsx)(n.code,{children:"pnpm-lock.yaml"})," file from an existing lockfile. See ",(0,i.jsx)(n.a,{href:"https://pnpm.io/cli/import",children:"https://pnpm.io/cli/import"})," for supported lockfile sources."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["Run ",(0,i.jsx)(n.code,{children:"pnpm install"}),"."]}),"\n"]}),"\n"]})]})}function d(e={}){const{wrapper:n}={...(0,r.M)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},2172:(e,n,s)=>{s.d(n,{I:()=>l,M:()=>o});var i=s(1504);const r={},c=i.createContext(r);function o(e){const n=i.useContext(c);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2e9a6f4f.40b16c15.js b/assets/js/2e9a6f4f.40b16c15.js deleted file mode 100644 index e0814ac..0000000 --- a/assets/js/2e9a6f4f.40b16c15.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[388],{5012:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>o,default:()=>d,frontMatter:()=>c,metadata:()=>l,toc:()=>a});var i=s(7624),r=s(2172);const c={},o="Using pnpm with Lerna",l={id:"recipes/using-pnpm-with-lerna",title:"Using pnpm with Lerna",description:"Lerna can be used in a pnpm workspace to get the full benefits of both pnpm and Lerna.",source:"@site/docs/recipes/using-pnpm-with-lerna.md",sourceDirName:"recipes",slug:"/recipes/using-pnpm-with-lerna",permalink:"/docs/recipes/using-pnpm-with-lerna",draft:!1,unlisted:!1,editUrl:"https://github.com/lerna/lerna/tree/main/website/docs/recipes/using-pnpm-with-lerna.md",tags:[],version:"current",frontMatter:{},sidebar:"main",previous:{title:"Configuring Published Files",permalink:"/docs/concepts/configuring-published-files"},next:{title:"Commands",permalink:"/docs/api-reference/commands"}},t={},a=[{value:"Getting Started",id:"getting-started",level:2}];function p(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,r.M)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"using-pnpm-with-lerna",children:"Using pnpm with Lerna"}),"\n",(0,i.jsxs)(n.p,{children:["Lerna can be used in a ",(0,i.jsxs)(n.a,{href:"https://pnpm.io/workspaces",children:[(0,i.jsx)(n.code,{children:"pnpm"})," workspace"]})," to get the full benefits of both ",(0,i.jsx)(n.a,{href:"https://pnpm.io",children:(0,i.jsx)(n.code,{children:"pnpm"})})," and Lerna."]}),"\n",(0,i.jsxs)(n.p,{children:["When used in a ",(0,i.jsx)(n.code,{children:"pnpm"})," workspace, Lerna will:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["resolve package locations with ",(0,i.jsx)(n.code,{children:"pnpm-workspace.yaml"})," (",(0,i.jsx)(n.a,{href:"https://pnpm.io/workspaces",children:"https://pnpm.io/workspaces"}),")"]}),"\n",(0,i.jsxs)(n.li,{children:["enforce ",(0,i.jsx)(n.code,{children:"useWorkspaces: true"})," in ",(0,i.jsx)(n.code,{children:"lerna.json"})," (and ignore ",(0,i.jsx)(n.code,{children:"packages:"})," in ",(0,i.jsx)(n.code,{children:"package.json"}),")."]}),"\n",(0,i.jsxs)(n.li,{children:["block usage of ",(0,i.jsx)(n.code,{children:"bootstrap"}),", ",(0,i.jsx)(n.code,{children:"link"}),", and ",(0,i.jsx)(n.code,{children:"add"})," commands. Instead, you should use ",(0,i.jsx)(n.code,{children:"pnpm"})," commands directly to manage dependencies (",(0,i.jsx)(n.a,{href:"https://pnpm.io/cli/install",children:"https://pnpm.io/cli/install"}),")."]}),"\n",(0,i.jsxs)(n.li,{children:["respect the ",(0,i.jsx)(n.a,{href:"https://pnpm.io/workspaces#workspace-protocol-workspace",children:"workspace protocol"})," for package dependencies.","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["During ",(0,i.jsx)(n.code,{children:"lerna version"}),", dependencies will be updated as normal, but will preserve the ",(0,i.jsx)(n.code,{children:"workspace:"})," prefix if it exists."]}),"\n",(0,i.jsxs)(n.li,{children:["If a ",(0,i.jsx)(n.a,{href:"https://pnpm.io/workspaces#referencing-workspace-packages-through-aliases",children:"workspace alias"})," is used, then ",(0,i.jsx)(n.code,{children:"lerna version"})," will not bump the version of the dependency, since aliases don't specify a version number to bump."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsx)(n.p,{children:"To set up pnpm with Lerna:"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["If not installed already, install ",(0,i.jsx)(n.code,{children:"pnpm"}),": ",(0,i.jsx)(n.a,{href:"https://pnpm.io/installation",children:"https://pnpm.io/installation"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["Remove the ",(0,i.jsx)(n.code,{children:"node_modules/"})," folder in the root, if it exists. If not already using workspaces, run ",(0,i.jsx)(n.code,{children:"lerna clean"})," to remove the ",(0,i.jsx)(n.code,{children:"node_modules/"})," folder in all packages."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["Set ",(0,i.jsx)(n.code,{children:'"npmClient": "pnpm"'})," in ",(0,i.jsx)(n.code,{children:"lerna.json"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["Create a ",(0,i.jsx)(n.code,{children:"pnpm-workspace.yaml"}),' file in the root of your project.\nIf you are already using npm or yarn workspaces, move the "workspaces" property from ',(0,i.jsx)(n.code,{children:"package.json"})," to ",(0,i.jsx)(n.code,{children:"pnpm-workspace.yaml"}),'. If you were not already using workspaces, move the "packages" property from ',(0,i.jsx)(n.code,{children:"lerna.json"})," to ",(0,i.jsx)(n.code,{children:"pnpm-workspace.yaml"}),". For example:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",metastring:'title="package.json"',children:'{\n "workspaces": ["packages/*"]\n}\n'})}),"\n",(0,i.jsx)(n.p,{children:"and"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",metastring:'title="lerna.json"',children:'{\n "packages": ["packages/*"]\n}\n'})}),"\n",(0,i.jsx)(n.p,{children:"become:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",metastring:'title="pnpm-workspace.yaml"',children:'packages:\n - "packages/*"\n'})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["(optional) Run ",(0,i.jsx)(n.code,{children:"pnpm import"})," to generate a ",(0,i.jsx)(n.code,{children:"pnpm-lock.yaml"})," file from an existing lockfile. See ",(0,i.jsx)(n.a,{href:"https://pnpm.io/cli/import",children:"https://pnpm.io/cli/import"})," for supported lockfile sources."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["Run ",(0,i.jsx)(n.code,{children:"pnpm install"}),"."]}),"\n"]}),"\n"]})]})}function d(e={}){const{wrapper:n}={...(0,r.M)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}},2172:(e,n,s)=>{s.d(n,{I:()=>l,M:()=>o});var i=s(1504);const r={},c=i.createContext(r);function o(e){const n=i.useContext(c);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.8a7a408c.js b/assets/js/runtime~main.01418927.js similarity index 98% rename from assets/js/runtime~main.8a7a408c.js rename to assets/js/runtime~main.01418927.js index 3f83436..031f5dc 100644 --- a/assets/js/runtime~main.8a7a408c.js +++ b/assets/js/runtime~main.01418927.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,t,r,f,d={},o={};function b(e){var a=o[e];if(void 0!==a)return a.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return d[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}b.m=d,b.c=o,e=[],b.O=(a,t,r,f)=>{if(!t){var d=1/0;for(i=0;i=f)&&Object.keys(b.O).every((e=>b.O[e](t[c])))?t.splice(c--,1):(o=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},b.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return b.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);b.r(f);var d={};a=a||[null,t({}),t([]),t(t)];for(var o=2&r&&e;"object"==typeof o&&!~a.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((a=>d[a]=()=>e[a]));return d.default=()=>e,b.d(f,d),f},b.d=(e,a)=>{for(var t in a)b.o(a,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((a,t)=>(b.f[t](e,a),a)),[])),b.u=e=>"assets/js/"+({44:"d7954a39",156:"9b50cbb9",276:"df8ba6fe",277:"0480b142",304:"5e95c892",315:"a09c2993",320:"c0ae5a06",388:"2e9a6f4f",412:"517cf5ca",488:"e5379f2c",500:"a7bd4aaa",504:"df0717d9",508:"da1ed6cd",512:"ead156ee",520:"623bb9fe",524:"4f271799",552:"1df93b7f",576:"14eb3368",584:"35dd6042",589:"2fb89d45",608:"fdfb3855",632:"4b30c9f8",666:"a94703ab",668:"85d9af9a",696:"935f2afb",748:"9d9f8394",752:"17896441",762:"a5d4e17f",792:"b8844bda",806:"6a57ad2d",808:"714aece2",824:"c44efb77",840:"d589d3a7",888:"fa32d1d8",940:"d55206b1",996:"f2c7bef6"}[e]||e)+"."+{44:"e528ce0c",64:"96845bd5",156:"5d1175cf",172:"18794bfa",276:"1081d760",277:"4de5bf06",304:"ac4204a2",315:"a5999110",320:"b12da344",388:"40b16c15",412:"819ad279",488:"f9724cc4",500:"b316698e",504:"ab29fac9",508:"f5eedaa3",512:"c7a3c0ce",520:"f1ee7627",524:"152a88d7",528:"b2d796d5",552:"eb0b38fc",576:"cb75570c",584:"e2b8346b",589:"e552a73c",608:"036bdb29",632:"3eb4c705",666:"90c95ec2",668:"7c5d05df",676:"ec66afc7",696:"5d08a6c7",748:"2d4285ef",752:"19c81a8e",762:"11d47374",792:"4c9a7fd8",806:"fb25b159",808:"b3b333f9",824:"3313f364",840:"16e3d9f7",879:"2844cf36",888:"b572e0e2",940:"dc182b72",996:"8255adf5"}[e]+".js",b.miniCssF=e=>{},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="website:",b.l=(e,a,t,d)=>{if(r[e])r[e].push(a);else{var o,c;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{o.onerror=o.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),c&&document.head.appendChild(o)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.p="/",b.gca=function(e){return e={17896441:"752",d7954a39:"44","9b50cbb9":"156",df8ba6fe:"276","0480b142":"277","5e95c892":"304",a09c2993:"315",c0ae5a06:"320","2e9a6f4f":"388","517cf5ca":"412",e5379f2c:"488",a7bd4aaa:"500",df0717d9:"504",da1ed6cd:"508",ead156ee:"512","623bb9fe":"520","4f271799":"524","1df93b7f":"552","14eb3368":"576","35dd6042":"584","2fb89d45":"589",fdfb3855:"608","4b30c9f8":"632",a94703ab:"666","85d9af9a":"668","935f2afb":"696","9d9f8394":"748",a5d4e17f:"762",b8844bda:"792","6a57ad2d":"806","714aece2":"808",c44efb77:"824",d589d3a7:"840",fa32d1d8:"888",d55206b1:"940",f2c7bef6:"996"}[e]||e,b.p+b.u(e)},(()=>{var e={296:0,176:0};b.f.j=(a,t)=>{var r=b.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(17|29)6$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var d=b.p+b.u(a),o=new Error;b.l(d,(t=>{if(b.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),d=t&&t.target&&t.target.src;o.message="Loading chunk "+a+" failed.\n("+f+": "+d+")",o.name="ChunkLoadError",o.type=f,o.request=d,r[1](o)}}),"chunk-"+a,a)}},b.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,d=t[0],o=t[1],c=t[2],n=0;if(d.some((a=>0!==e[a]))){for(r in o)b.o(o,r)&&(b.m[r]=o[r]);if(c)var i=c(b)}for(a&&a(t);n{"use strict";var e,a,t,r,f,d={},o={};function b(e){var a=o[e];if(void 0!==a)return a.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return d[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}b.m=d,b.c=o,e=[],b.O=(a,t,r,f)=>{if(!t){var d=1/0;for(i=0;i=f)&&Object.keys(b.O).every((e=>b.O[e](t[c])))?t.splice(c--,1):(o=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},b.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return b.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);b.r(f);var d={};a=a||[null,t({}),t([]),t(t)];for(var o=2&r&&e;"object"==typeof o&&!~a.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((a=>d[a]=()=>e[a]));return d.default=()=>e,b.d(f,d),f},b.d=(e,a)=>{for(var t in a)b.o(a,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((a,t)=>(b.f[t](e,a),a)),[])),b.u=e=>"assets/js/"+({44:"d7954a39",156:"9b50cbb9",276:"df8ba6fe",277:"0480b142",304:"5e95c892",315:"a09c2993",320:"c0ae5a06",388:"2e9a6f4f",412:"517cf5ca",488:"e5379f2c",500:"a7bd4aaa",504:"df0717d9",508:"da1ed6cd",512:"ead156ee",520:"623bb9fe",524:"4f271799",552:"1df93b7f",576:"14eb3368",584:"35dd6042",589:"2fb89d45",608:"fdfb3855",632:"4b30c9f8",666:"a94703ab",668:"85d9af9a",696:"935f2afb",748:"9d9f8394",752:"17896441",762:"a5d4e17f",792:"b8844bda",806:"6a57ad2d",808:"714aece2",824:"c44efb77",840:"d589d3a7",888:"fa32d1d8",940:"d55206b1",996:"f2c7bef6"}[e]||e)+"."+{44:"e528ce0c",64:"96845bd5",156:"5d1175cf",172:"18794bfa",276:"1081d760",277:"4de5bf06",304:"ac4204a2",315:"a5999110",320:"b12da344",388:"09b34996",412:"819ad279",488:"f9724cc4",500:"b316698e",504:"ab29fac9",508:"f5eedaa3",512:"c7a3c0ce",520:"f1ee7627",524:"152a88d7",528:"b2d796d5",552:"eb0b38fc",576:"cb75570c",584:"e2b8346b",589:"e552a73c",608:"036bdb29",632:"3eb4c705",666:"90c95ec2",668:"7c5d05df",676:"ec66afc7",696:"5d08a6c7",748:"2d4285ef",752:"19c81a8e",762:"11d47374",792:"4c9a7fd8",806:"fb25b159",808:"b3b333f9",824:"3313f364",840:"16e3d9f7",879:"2844cf36",888:"b572e0e2",940:"dc182b72",996:"8255adf5"}[e]+".js",b.miniCssF=e=>{},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="website:",b.l=(e,a,t,d)=>{if(r[e])r[e].push(a);else{var o,c;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{o.onerror=o.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],o.parentNode&&o.parentNode.removeChild(o),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),c&&document.head.appendChild(o)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.p="/",b.gca=function(e){return e={17896441:"752",d7954a39:"44","9b50cbb9":"156",df8ba6fe:"276","0480b142":"277","5e95c892":"304",a09c2993:"315",c0ae5a06:"320","2e9a6f4f":"388","517cf5ca":"412",e5379f2c:"488",a7bd4aaa:"500",df0717d9:"504",da1ed6cd:"508",ead156ee:"512","623bb9fe":"520","4f271799":"524","1df93b7f":"552","14eb3368":"576","35dd6042":"584","2fb89d45":"589",fdfb3855:"608","4b30c9f8":"632",a94703ab:"666","85d9af9a":"668","935f2afb":"696","9d9f8394":"748",a5d4e17f:"762",b8844bda:"792","6a57ad2d":"806","714aece2":"808",c44efb77:"824",d589d3a7:"840",fa32d1d8:"888",d55206b1:"940",f2c7bef6:"996"}[e]||e,b.p+b.u(e)},(()=>{var e={296:0,176:0};b.f.j=(a,t)=>{var r=b.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(17|29)6$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var d=b.p+b.u(a),o=new Error;b.l(d,(t=>{if(b.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),d=t&&t.target&&t.target.src;o.message="Loading chunk "+a+" failed.\n("+f+": "+d+")",o.name="ChunkLoadError",o.type=f,o.request=d,r[1](o)}}),"chunk-"+a,a)}},b.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,d=t[0],o=t[1],c=t[2],n=0;if(d.some((a=>0!==e[a]))){for(r in o)b.o(o,r)&&(b.m[r]=o[r]);if(c)var i=c(b)}for(a&&a(t);n - + diff --git a/docs/api-reference/configuration.html b/docs/api-reference/configuration.html index c46ca6a..9e3f35f 100644 --- a/docs/api-reference/configuration.html +++ b/docs/api-reference/configuration.html @@ -7,7 +7,7 @@ - + diff --git a/docs/api-reference/utilities.html b/docs/api-reference/utilities.html index 125955c..541c357 100644 --- a/docs/api-reference/utilities.html +++ b/docs/api-reference/utilities.html @@ -7,7 +7,7 @@ - + diff --git a/docs/concepts.html b/docs/concepts.html index 9bbddd8..41b7510 100644 --- a/docs/concepts.html +++ b/docs/concepts.html @@ -7,7 +7,7 @@ - + diff --git a/docs/concepts/configuring-published-files.html b/docs/concepts/configuring-published-files.html index 6193790..7eb76dc 100644 --- a/docs/concepts/configuring-published-files.html +++ b/docs/concepts/configuring-published-files.html @@ -7,7 +7,7 @@ - + diff --git a/docs/concepts/dte-guide.html b/docs/concepts/dte-guide.html index 6f416e2..796e105 100644 --- a/docs/concepts/dte-guide.html +++ b/docs/concepts/dte-guide.html @@ -7,7 +7,7 @@ - + diff --git a/docs/concepts/how-caching-works.html b/docs/concepts/how-caching-works.html index 602716f..4a5ce55 100644 --- a/docs/concepts/how-caching-works.html +++ b/docs/concepts/how-caching-works.html @@ -7,7 +7,7 @@ - + diff --git a/docs/concepts/task-pipeline-configuration.html b/docs/concepts/task-pipeline-configuration.html index 074888d..6d3fb68 100644 --- a/docs/concepts/task-pipeline-configuration.html +++ b/docs/concepts/task-pipeline-configuration.html @@ -7,7 +7,7 @@ - + diff --git a/docs/faq.html b/docs/faq.html index 5ad4c7e..351541b 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features.html b/docs/features.html index cb942d9..8f2afbd 100644 --- a/docs/features.html +++ b/docs/features.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features/cache-tasks.html b/docs/features/cache-tasks.html index ca46334..8fda0a0 100644 --- a/docs/features/cache-tasks.html +++ b/docs/features/cache-tasks.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features/distribute-tasks.html b/docs/features/distribute-tasks.html index 0a448f6..a414c01 100644 --- a/docs/features/distribute-tasks.html +++ b/docs/features/distribute-tasks.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features/editor-integrations.html b/docs/features/editor-integrations.html index 4b622f7..3459ec0 100644 --- a/docs/features/editor-integrations.html +++ b/docs/features/editor-integrations.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features/project-graph.html b/docs/features/project-graph.html index 802ac05..4f0bd7a 100644 --- a/docs/features/project-graph.html +++ b/docs/features/project-graph.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features/run-tasks.html b/docs/features/run-tasks.html index 0b2d935..68bf0a4 100644 --- a/docs/features/run-tasks.html +++ b/docs/features/run-tasks.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features/share-your-cache.html b/docs/features/share-your-cache.html index 646ad01..aa224b3 100644 --- a/docs/features/share-your-cache.html +++ b/docs/features/share-your-cache.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features/version-and-publish.html b/docs/features/version-and-publish.html index d7c5e06..dc40ad2 100644 --- a/docs/features/version-and-publish.html +++ b/docs/features/version-and-publish.html @@ -7,7 +7,7 @@ - + diff --git a/docs/features/workspace-watching.html b/docs/features/workspace-watching.html index 3be1058..792c527 100644 --- a/docs/features/workspace-watching.html +++ b/docs/features/workspace-watching.html @@ -7,7 +7,7 @@ - + diff --git a/docs/getting-started.html b/docs/getting-started.html index 4efcf4e..831d0dc 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -7,7 +7,7 @@ - + diff --git a/docs/introduction.html b/docs/introduction.html index cc5f6ba..ebe5220 100644 --- a/docs/introduction.html +++ b/docs/introduction.html @@ -7,7 +7,7 @@ - + diff --git a/docs/legacy-package-management.html b/docs/legacy-package-management.html index e511160..1cad81f 100644 --- a/docs/legacy-package-management.html +++ b/docs/legacy-package-management.html @@ -7,7 +7,7 @@ - + diff --git a/docs/lerna-and-nx-version-matrix.html b/docs/lerna-and-nx-version-matrix.html index 5cddf05..77f790b 100644 --- a/docs/lerna-and-nx-version-matrix.html +++ b/docs/lerna-and-nx-version-matrix.html @@ -7,7 +7,7 @@ - + diff --git a/docs/lerna-and-nx.html b/docs/lerna-and-nx.html index 6ee1548..e54866c 100644 --- a/docs/lerna-and-nx.html +++ b/docs/lerna-and-nx.html @@ -7,7 +7,7 @@ - + diff --git a/docs/lerna6-obsolete-options.html b/docs/lerna6-obsolete-options.html index 0f804a9..97777bd 100644 --- a/docs/lerna6-obsolete-options.html +++ b/docs/lerna6-obsolete-options.html @@ -7,7 +7,7 @@ - + diff --git a/docs/recipes/using-pnpm-with-lerna.html b/docs/recipes/using-pnpm-with-lerna.html index 020c31a..5a82682 100644 --- a/docs/recipes/using-pnpm-with-lerna.html +++ b/docs/recipes/using-pnpm-with-lerna.html @@ -7,7 +7,7 @@ - + @@ -16,7 +16,7 @@

When used in a pnpm workspace, Lerna will:

  • resolve package locations with pnpm-workspace.yaml (https://pnpm.io/workspaces)
  • -
  • enforce useWorkspaces: true in lerna.json (and ignore packages: in package.json).
  • +
  • ignore "workspaces" in package.json
  • block usage of bootstrap, link, and add commands. Instead, you should use pnpm commands directly to manage dependencies (https://pnpm.io/cli/install).
  • respect the workspace protocol for package dependencies.
      diff --git a/docs/troubleshooting.html b/docs/troubleshooting.html index 36cc8c3..2f916fc 100644 --- a/docs/troubleshooting.html +++ b/docs/troubleshooting.html @@ -7,7 +7,7 @@ - + diff --git a/index.html b/index.html index 86d830b..49d4059 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + diff --git a/upgrade.html b/upgrade.html index 3af2a2c..3fd6d37 100644 --- a/upgrade.html +++ b/upgrade.html @@ -7,7 +7,7 @@ - +