@teambit/pnpm 1.0.142 → 1.0.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites>
3
- <testsuite name="teambit.dependencies/pnpm@1.0.142" timestamp="2024-01-21T03:40:54.195Z" tests="2" failures="0" errors="0" skipped="0">
4
- <testcase classname="pnpm-error-to-bit-error.spec.js" name="the hint from the fetch error is used" time="0.297"/>
5
- <testcase classname="pnpm-error-to-bit-error.spec.js" name="a regular error object is reported" time="0.001"/>
3
+ <testsuite name="teambit.dependencies/pnpm@1.0.144" tests="2" failures="0" errors="0" skipped="0">
4
+ <testcase classname="dist/pnpm-error-to-bit-error.spec.js" name="the hint from the fetch error is used" time="0.003"/>
5
+ <testcase classname="dist/pnpm-error-to-bit-error.spec.js" name="a regular error object is reported"/>
6
6
  </testsuite>
7
7
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.dependencies/pnpm-preview"]=t():e["teambit.dependencies/pnpm-preview"]=t()}(self,(()=>(()=>{"use strict";var e={17067:(e,t,n)=>{Object.defineProperty(t,"p",{enumerable:!0,get:function(){return o.default}});var o=r(n(36007));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.dependencies/aspect-docs/pnpm@0.0.167",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/pnpm",exported:!0}},36007:(e,t,n)=>{var o={id:"teambit.dependencies/aspect-docs/pnpm@0.0.167",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/pnpm",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=l,a(n(87363));var r=n(40040),p=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(o=0;o<p.length;o++)n=p[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},p=Object.keys(e);for(o=0;o<p.length;o++)n=p[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,i.__bit_component=o,s.__bit_component=o,c.__bit_component=o;var d={},m="wrapper";function l(e){var t=e.components,n=s(e,p);return(0,r.mdx)(m,i({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"pnpm is a Bit aspect that enables the use of the pnpm package manager in a Bit workspace (the pnpm aspect utilizes pnpm's programmatic API)."),(0,r.mdx)("p",null,"The pnpm aspect is used ",(0,r.mdx)("strong",{parentName:"p"},"indirectly")," by the 'Dependency Resolver'."),(0,r.mdx)("h2",null,"Quickstart"),(0,r.mdx)("p",null,"To start using the pnpm aspect as a package manager for your workspace, set the Dependency Resolver ",(0,r.mdx)("inlineCode",{parentName:"p"},"packageManager")," property to 'pnpm'."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-json"},'{\n "teambit.dependencies/dependency-resolver": {\n "packageManager": "teambit.dependencies/pnpm"\n }\n}\n')),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"Package manager are only configurable at th workspace configuration root-level.\nThat means, different components in the same workspace cannot use different package manager.")),(0,r.mdx)("hr",null),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"Packages on NPM will be installed from Bit.dev's registry instead of NPM's. This will be done using the user's Bit credentials.")),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"The pnpm aspect uses Bit's deduping algorithm (not pnpm's).\nIt searches for a common version that satisfies ",(0,r.mdx)("em",{parentName:"p"},"most")," components using the same dependency (taking into consideration permitted version ranges configured for each component) and installs it at the workspace root directory,\nwhere it can be shared by multiple dependent components.\nVersions that are used by a minority of components will be installed nested in each component directory.")),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"pnpm cannot be used with the 'React Native environment'.")))}l.__bit_component=o,l.isMDXComponent=!0},84895:(e,t,n)=>{var o={id:"teambit.dependencies/pnpm@1.0.142",homepage:"https://bit.cloud/teambit/dependencies/pnpm",exported:!0};function r(){const e=p(n(87363));return r=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=o,p.__bit_component=o;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/pnpm.svg"}));a.__bit_component=o,t.Logo=a},40040:e=>{e.exports=MdxJsReact},87363:e=>{e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var p=t[o]={exports:{}};return e[o](p,p.exports,n),p.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{compositions:()=>l,compositions_metadata:()=>f,overview:()=>u});var e={};n.r(e),n.d(e,{default:()=>m});var t=n(84895),r=(n(87363),n(40040));const p=TeambitMdxUiMdxScopeContext;var a=n(17067),i=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}var c={},d="wrapper";function m(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},p=Object.keys(e);for(o=0;o<p.length;o++)n=p[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(o=0;o<p.length;o++)n=p[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,i);return(0,r.mdx)(d,s({},c,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(p.MDXScopeProvider,{components:{Pnpm:a.p},mdxType:"MDXScopeProvider"},(0,r.mdx)(a.p,{mdxType:"Pnpm"})))}m.isMDXComponent=!0;const l=[t],u=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),o})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.dependencies/pnpm-preview"]=t():e["teambit.dependencies/pnpm-preview"]=t()}(self,(()=>(()=>{"use strict";var e={62977:(e,t,n)=>{Object.defineProperty(t,"p",{enumerable:!0,get:function(){return o.default}});var o=r(n(31260));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.dependencies/aspect-docs/pnpm@0.0.167",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/pnpm",exported:!0}},31260:(e,t,n)=>{var o={id:"teambit.dependencies/aspect-docs/pnpm@0.0.167",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/pnpm",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=l,a(n(87363));var r=n(40040),p=["components"];function a(e){return e&&e.__esModule?e:{default:e}}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(o=0;o<p.length;o++)n=p[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n,o,r={},p=Object.keys(e);for(o=0;o<p.length;o++)n=p[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}a.__bit_component=o,i.__bit_component=o,s.__bit_component=o,c.__bit_component=o;var d={},m="wrapper";function l(e){var t=e.components,n=s(e,p);return(0,r.mdx)(m,i({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"pnpm is a Bit aspect that enables the use of the pnpm package manager in a Bit workspace (the pnpm aspect utilizes pnpm's programmatic API)."),(0,r.mdx)("p",null,"The pnpm aspect is used ",(0,r.mdx)("strong",{parentName:"p"},"indirectly")," by the 'Dependency Resolver'."),(0,r.mdx)("h2",null,"Quickstart"),(0,r.mdx)("p",null,"To start using the pnpm aspect as a package manager for your workspace, set the Dependency Resolver ",(0,r.mdx)("inlineCode",{parentName:"p"},"packageManager")," property to 'pnpm'."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-json"},'{\n "teambit.dependencies/dependency-resolver": {\n "packageManager": "teambit.dependencies/pnpm"\n }\n}\n')),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"Package manager are only configurable at th workspace configuration root-level.\nThat means, different components in the same workspace cannot use different package manager.")),(0,r.mdx)("hr",null),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"Packages on NPM will be installed from Bit.dev's registry instead of NPM's. This will be done using the user's Bit credentials.")),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"The pnpm aspect uses Bit's deduping algorithm (not pnpm's).\nIt searches for a common version that satisfies ",(0,r.mdx)("em",{parentName:"p"},"most")," components using the same dependency (taking into consideration permitted version ranges configured for each component) and installs it at the workspace root directory,\nwhere it can be shared by multiple dependent components.\nVersions that are used by a minority of components will be installed nested in each component directory.")),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"pnpm cannot be used with the 'React Native environment'.")))}l.__bit_component=o,l.isMDXComponent=!0},17404:(e,t,n)=>{var o={id:"teambit.dependencies/pnpm@1.0.144",homepage:"https://bit.cloud/teambit/dependencies/pnpm",exported:!0};function r(){const e=p(n(87363));return r=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=o,p.__bit_component=o;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/pnpm.svg"}));a.__bit_component=o,t.Logo=a},40040:e=>{e.exports=MdxJsReact},87363:e=>{e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var p=t[o]={exports:{}};return e[o](p,p.exports,n),p.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{compositions:()=>l,compositions_metadata:()=>f,overview:()=>u});var e={};n.r(e),n.d(e,{default:()=>m});var t=n(17404),r=(n(87363),n(40040));const p=TeambitMdxUiMdxScopeContext;var a=n(62977),i=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}var c={},d="wrapper";function m(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},p=Object.keys(e);for(o=0;o<p.length;o++)n=p[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(o=0;o<p.length;o++)n=p[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,i);return(0,r.mdx)(d,s({},c,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(p.MDXScopeProvider,{components:{Pnpm:a.p},mdxType:"MDXScopeProvider"},(0,r.mdx)(a.p,{mdxType:"Pnpm"})))}m.isMDXComponent=!0;const l=[t],u=[e],f={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),o})()));
package/dist/lynx.d.ts CHANGED
@@ -23,7 +23,7 @@ export interface ReportOptions {
23
23
  hideProgressPrefix?: boolean;
24
24
  hideLifecycleOutput?: boolean;
25
25
  }
26
- export declare function install(rootDir: string, manifestsByPaths: Record<string, ProjectManifest>, storeDir: string | undefined, cacheDir: string, registries: Registries, proxyConfig: PackageManagerProxyConfig, networkConfig: PackageManagerNetworkConfig, options: {
26
+ export declare function install(rootDir: string, manifestsByPaths: Record<string, ProjectManifest>, storeDir: string | undefined, cacheDir: string, registries: Registries, proxyConfig: PackageManagerProxyConfig | undefined, networkConfig: PackageManagerNetworkConfig | undefined, options: {
27
27
  updateAll?: boolean;
28
28
  nodeLinker?: 'hoisted' | 'isolated';
29
29
  overrides?: Record<string, string>;
@@ -7,6 +7,13 @@ function _error() {
7
7
  };
8
8
  return data;
9
9
  }
10
+ function _chai() {
11
+ const data = require("chai");
12
+ _chai = function () {
13
+ return data;
14
+ };
15
+ return data;
16
+ }
10
17
  function _pnpmErrorToBitError() {
11
18
  const data = require("./pnpm-error-to-bit-error");
12
19
  _pnpmErrorToBitError = function () {
@@ -14,21 +21,21 @@ function _pnpmErrorToBitError() {
14
21
  };
15
22
  return data;
16
23
  }
17
- test('the hint from the fetch error is used', () => {
24
+ it('the hint from the fetch error is used', () => {
18
25
  const bitError = (0, _pnpmErrorToBitError().pnpmErrorToBitError)(new (_error().PnpmError)('FETCH_404', 'GET https://node-registry.bit.cloud/dsffsdf: Not Found - 404', {
19
26
  hint: `dsffsdf is not in the npm registry, or you have no permission to fetch it.
20
27
 
21
28
  An authorization header was used: Bearer df96[hidden]`
22
29
  }));
23
- expect(bitError.report()).toEqual(`GET https://node-registry.bit.cloud/dsffsdf: Not Found - 404
30
+ (0, _chai().expect)(bitError.report()).to.equal(`GET https://node-registry.bit.cloud/dsffsdf: Not Found - 404
24
31
 
25
32
  dsffsdf is not in the npm registry, or you have no permission to fetch it.
26
33
 
27
34
  An authorization header was used: Bearer df96[hidden]`);
28
35
  });
29
- test('a regular error object is reported', () => {
36
+ it('a regular error object is reported', () => {
30
37
  const bitError = (0, _pnpmErrorToBitError().pnpmErrorToBitError)(new Error('some error'));
31
- expect(bitError.report()).toEqual('some error');
38
+ (0, _chai().expect)(bitError.report()).to.equal('some error');
32
39
  });
33
40
 
34
41
  //# sourceMappingURL=pnpm-error-to-bit-error.spec.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_error","data","require","_pnpmErrorToBitError","test","bitError","pnpmErrorToBitError","PnpmError","hint","expect","report","toEqual","Error"],"sources":["pnpm-error-to-bit-error.spec.ts"],"sourcesContent":["import { PnpmError } from '@pnpm/error';\nimport { pnpmErrorToBitError } from './pnpm-error-to-bit-error';\n\ntest('the hint from the fetch error is used', () => {\n const bitError = pnpmErrorToBitError(\n new PnpmError('FETCH_404', 'GET https://node-registry.bit.cloud/dsffsdf: Not Found - 404', {\n hint: `dsffsdf is not in the npm registry, or you have no permission to fetch it.\n\nAn authorization header was used: Bearer df96[hidden]`,\n })\n );\n expect(bitError.report()).toEqual(`GET https://node-registry.bit.cloud/dsffsdf: Not Found - 404\n\ndsffsdf is not in the npm registry, or you have no permission to fetch it.\n\nAn authorization header was used: Bearer df96[hidden]`);\n});\n\ntest('a regular error object is reported', () => {\n const bitError = pnpmErrorToBitError(new Error('some error') as any);\n expect(bitError.report()).toEqual('some error');\n});\n"],"mappings":";;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,qBAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,oBAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEAG,IAAI,CAAC,uCAAuC,EAAE,MAAM;EAClD,MAAMC,QAAQ,GAAG,IAAAC,0CAAmB,EAClC,KAAIC,kBAAS,EAAC,WAAW,EAAE,8DAA8D,EAAE;IACzFC,IAAI,EAAG;AACb;AACA;EACI,CAAC,CACH,CAAC;EACDC,MAAM,CAACJ,QAAQ,CAACK,MAAM,CAAC,CAAC,CAAC,CAACC,OAAO,CAAE;AACrC;AACA;AACA;AACA,sDAAsD,CAAC;AACvD,CAAC,CAAC;AAEFP,IAAI,CAAC,oCAAoC,EAAE,MAAM;EAC/C,MAAMC,QAAQ,GAAG,IAAAC,0CAAmB,EAAC,IAAIM,KAAK,CAAC,YAAY,CAAQ,CAAC;EACpEH,MAAM,CAACJ,QAAQ,CAACK,MAAM,CAAC,CAAC,CAAC,CAACC,OAAO,CAAC,YAAY,CAAC;AACjD,CAAC,CAAC"}
1
+ {"version":3,"names":["_error","data","require","_chai","_pnpmErrorToBitError","it","bitError","pnpmErrorToBitError","PnpmError","hint","expect","report","to","equal","Error"],"sources":["pnpm-error-to-bit-error.spec.ts"],"sourcesContent":["import { PnpmError } from '@pnpm/error';\nimport { expect } from 'chai';\nimport { pnpmErrorToBitError } from './pnpm-error-to-bit-error';\n\nit('the hint from the fetch error is used', () => {\n const bitError = pnpmErrorToBitError(\n new PnpmError('FETCH_404', 'GET https://node-registry.bit.cloud/dsffsdf: Not Found - 404', {\n hint: `dsffsdf is not in the npm registry, or you have no permission to fetch it.\n\nAn authorization header was used: Bearer df96[hidden]`,\n })\n );\n expect(bitError.report()).to.equal(`GET https://node-registry.bit.cloud/dsffsdf: Not Found - 404\n\ndsffsdf is not in the npm registry, or you have no permission to fetch it.\n\nAn authorization header was used: Bearer df96[hidden]`);\n});\n\nit('a regular error object is reported', () => {\n const bitError = pnpmErrorToBitError(new Error('some error') as any);\n expect(bitError.report()).to.equal('some error');\n});\n"],"mappings":";;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,MAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,qBAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,oBAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEAI,EAAE,CAAC,uCAAuC,EAAE,MAAM;EAChD,MAAMC,QAAQ,GAAG,IAAAC,0CAAmB,EAClC,KAAIC,kBAAS,EAAC,WAAW,EAAE,8DAA8D,EAAE;IACzFC,IAAI,EAAG;AACb;AACA;EACI,CAAC,CACH,CAAC;EACD,IAAAC,cAAM,EAACJ,QAAQ,CAACK,MAAM,CAAC,CAAC,CAAC,CAACC,EAAE,CAACC,KAAK,CAAE;AACtC;AACA;AACA;AACA,sDAAsD,CAAC;AACvD,CAAC,CAAC;AAEFR,EAAE,CAAC,oCAAoC,EAAE,MAAM;EAC7C,MAAMC,QAAQ,GAAG,IAAAC,0CAAmB,EAAC,IAAIO,KAAK,CAAC,YAAY,CAAQ,CAAC;EACpE,IAAAJ,cAAM,EAACJ,QAAQ,CAACK,MAAM,CAAC,CAAC,CAAC,CAACC,EAAE,CAACC,KAAK,CAAC,YAAY,CAAC;AAClD,CAAC,CAAC"}
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const Logo: () => JSX.Element;
@@ -25,7 +25,7 @@ export declare class PnpmPackageManager implements PackageManager {
25
25
  getNetworkConfig?(): Promise<PackageManagerNetworkConfig>;
26
26
  getRegistries(): Promise<Registries>;
27
27
  getInjectedDirs(rootDir: string, componentDir: string, packageName: string): Promise<string[]>;
28
- _readModulesManifest(lockfileDir: string): Promise<import("@pnpm/modules-yaml").Modules>;
28
+ _readModulesManifest(lockfileDir: string): Promise<import("@pnpm/modules-yaml").Modules | null>;
29
29
  getWorkspaceDepsOfBitRoots(manifests: ProjectManifest[]): Record<string, string>;
30
30
  pruneModules(rootDir: string): Promise<void>;
31
31
  findUsages(depName: string, opts: {
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.dependencies_pnpm@1.0.142/dist/pnpm.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.dependencies_pnpm@1.0.142/dist/pnpm.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.dependencies_pnpm@1.0.144/dist/pnpm.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.dependencies_pnpm@1.0.144/dist/pnpm.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/pnpm",
3
- "version": "1.0.142",
3
+ "version": "1.0.144",
4
4
  "homepage": "https://bit.cloud/teambit/dependencies/pnpm",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.dependencies",
8
8
  "name": "pnpm",
9
- "version": "1.0.142"
9
+ "version": "1.0.144"
10
10
  },
11
11
  "dependencies": {
12
12
  "@pnpm/config": "20.4.1",
@@ -37,25 +37,25 @@
37
37
  "@teambit/bit-error": "0.0.404",
38
38
  "@teambit/harmony": "0.4.6",
39
39
  "@teambit/ui-foundation.ui.use-box.menu": "1.0.7",
40
- "@teambit/dependency-resolver": "1.0.142",
41
- "@teambit/logger": "0.0.941",
42
- "@teambit/cli": "0.0.848",
43
- "@teambit/component": "1.0.142",
44
- "@teambit/ui": "1.0.142"
40
+ "@teambit/dependency-resolver": "1.0.144",
41
+ "@teambit/logger": "0.0.942",
42
+ "@teambit/cli": "0.0.849",
43
+ "@teambit/component": "1.0.144",
44
+ "@teambit/ui": "1.0.144"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/lodash": "4.14.165",
48
48
  "@types/semver": "7.3.4",
49
+ "@types/chai": "4.2.15",
50
+ "chai": "4.3.0",
49
51
  "@types/fs-extra": "9.0.7",
50
52
  "@types/mocha": "9.1.0",
51
- "@types/jest": "^29.2.2",
52
- "@types/testing-library__jest-dom": "^5.9.5",
53
- "@teambit/harmony.envs.core-aspect-env": "0.0.19",
53
+ "@teambit/harmony.envs.core-aspect-env": "0.0.24",
54
54
  "@teambit/dependencies.aspect-docs.pnpm": "0.0.167"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "react": "^17.0.0 || ^18.0.0",
58
- "@types/react": "17.0.8",
58
+ "@types/react": "^17.0.73",
59
59
  "@teambit/legacy": "1.0.624"
60
60
  },
61
61
  "license": "Apache-2.0",
@@ -70,7 +70,8 @@
70
70
  "default": "./dist/index.js"
71
71
  },
72
72
  "./dist/*": "./dist/*",
73
- "./artifacts/*": "./artifacts/*"
73
+ "./artifacts/*": "./artifacts/*",
74
+ "./*": "./*.ts"
74
75
  },
75
76
  "private": false,
76
77
  "engines": {
package/tsconfig.json CHANGED
@@ -17,7 +17,10 @@
17
17
  "resolveJsonModule": true,
18
18
  "allowJs": true,
19
19
  "outDir": "dist",
20
- "emitDeclarationOnly": true
20
+ "emitDeclarationOnly": true,
21
+ "strict": true,
22
+ "strictPropertyInitialization": false,
23
+ "noImplicitAny": false
21
24
  },
22
25
  "exclude": [
23
26
  "artifacts",