@teambit/pnpm 1.0.410 → 1.0.411
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 tests="2" failures="0" errors="0" skipped="0">
|
|
3
|
-
<testsuite name="teambit.dependencies/pnpm@1.0.
|
|
3
|
+
<testsuite name="teambit.dependencies/pnpm@1.0.411" tests="2" failures="0" errors="0" skipped="0">
|
|
4
4
|
<testcase classname="dist/pnpm-error-to-bit-error.spec.js" name="the hint from the fetch error is used" time="0.004"/>
|
|
5
|
-
<testcase classname="dist/pnpm-error-to-bit-error.spec.js" name="a regular error object is reported"
|
|
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={81135:(e,t,n)=>{Object.defineProperty(t,"U",{enumerable:!0,get:function(){return o.default}});var o=r(n(79927));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.dependencies/aspect-docs/pnpm@0.0.168",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/pnpm",exported:!0}},79927:(e,t,n)=>{var o={id:"teambit.dependencies/aspect-docs/pnpm@0.0.168",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/pnpm",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=m,p(n(41594));var r=n(5016),a=["components"];function p(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)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i.apply(null,arguments)}function s(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}p.__bit_component=o,i.__bit_component=o,s.__bit_component=o,c.__bit_component=o;var d={},l="wrapper";function m(e){var t=e.components,n=s(e,a);return(0,r.mdx)(l,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'.")))}m.__bit_component=o,m.isMDXComponent=!0},
|
|
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={81135:(e,t,n)=>{Object.defineProperty(t,"U",{enumerable:!0,get:function(){return o.default}});var o=r(n(79927));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.dependencies/aspect-docs/pnpm@0.0.168",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/pnpm",exported:!0}},79927:(e,t,n)=>{var o={id:"teambit.dependencies/aspect-docs/pnpm@0.0.168",homepage:"https://bit.cloud/teambit/dependencies/aspect-docs/pnpm",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=m,p(n(41594));var r=n(5016),a=["components"];function p(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)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i.apply(null,arguments)}function s(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}p.__bit_component=o,i.__bit_component=o,s.__bit_component=o,c.__bit_component=o;var d={},l="wrapper";function m(e){var t=e.components,n=s(e,a);return(0,r.mdx)(l,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'.")))}m.__bit_component=o,m.isMDXComponent=!0},78831:(e,t,n)=>{var o={id:"teambit.dependencies/pnpm@1.0.411",homepage:"https://bit.cloud/teambit/dependencies/pnpm",exported:!0};function r(){const e=a(n(41594));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=o,a.__bit_component=o;const p=()=>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"}));p.__bit_component=o,t.Logo=p},5016:e=>{e.exports=MdxJsReact},41594:e=>{e.exports=React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.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={};n.r(o),n.d(o,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>b});var r={};n.r(r),n.d(r,{default:()=>u});var a=n(78831),p=(n(41594),n(5016));const i=TeambitMdxUiMdxScopeContext;var s=n(81135),c=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d.apply(null,arguments)}var l={},m="wrapper";function u(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={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,c);return(0,p.mdx)(m,d({},l,n,{components:t,mdxType:"MDXLayout"}),(0,p.mdx)(i.MDXScopeProvider,{components:{Pnpm:s.U},mdxType:"MDXScopeProvider"},(0,p.mdx)(s.U,{mdxType:"Pnpm"})))}u.isMDXComponent=!0;const f=[a],b=[r],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return o})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"line": 1,
|
|
21
21
|
"character": 15
|
|
22
22
|
},
|
|
23
|
+
"signature": "class PnpmMain",
|
|
23
24
|
"name": "PnpmMain",
|
|
24
25
|
"exportNode": {
|
|
25
26
|
"__schema": "ClassSchema",
|
|
@@ -221,6 +222,7 @@
|
|
|
221
222
|
"line": 2,
|
|
222
223
|
"character": 15
|
|
223
224
|
},
|
|
225
|
+
"signature": "class PnpmUI",
|
|
224
226
|
"name": "PnpmUI",
|
|
225
227
|
"exportNode": {
|
|
226
228
|
"__schema": "ClassSchema",
|
|
@@ -383,6 +385,7 @@
|
|
|
383
385
|
"line": 3,
|
|
384
386
|
"character": 24
|
|
385
387
|
},
|
|
388
|
+
"signature": "const PnpmAspect: Aspect",
|
|
386
389
|
"name": "PnpmAspect",
|
|
387
390
|
"exportNode": {
|
|
388
391
|
"__schema": "VariableLikeSchema",
|
|
@@ -419,6 +422,7 @@
|
|
|
419
422
|
"line": 3,
|
|
420
423
|
"character": 33
|
|
421
424
|
},
|
|
425
|
+
"signature": "const PnpmAspect: Aspect",
|
|
422
426
|
"name": "PnpmAspect",
|
|
423
427
|
"exportNode": {
|
|
424
428
|
"__schema": "VariableLikeSchema",
|
|
@@ -454,6 +458,7 @@
|
|
|
454
458
|
"line": 4,
|
|
455
459
|
"character": 15
|
|
456
460
|
},
|
|
461
|
+
"signature": "class PnpmPackageManager",
|
|
457
462
|
"name": "PnpmPackageManager",
|
|
458
463
|
"exportNode": {
|
|
459
464
|
"__schema": "ClassSchema",
|
|
@@ -1498,7 +1503,7 @@
|
|
|
1498
1503
|
"_legacy": {
|
|
1499
1504
|
"scope": "teambit.dependencies",
|
|
1500
1505
|
"name": "pnpm",
|
|
1501
|
-
"version": "1.0.
|
|
1506
|
+
"version": "1.0.411"
|
|
1502
1507
|
},
|
|
1503
1508
|
"_scope": "teambit.dependencies"
|
|
1504
1509
|
}
|
|
@@ -1514,6 +1519,7 @@
|
|
|
1514
1519
|
"line": 4,
|
|
1515
1520
|
"character": 35
|
|
1516
1521
|
},
|
|
1522
|
+
"signature": "interface InstallResult",
|
|
1517
1523
|
"name": "InstallResult",
|
|
1518
1524
|
"exportNode": {
|
|
1519
1525
|
"__schema": "InterfaceSchema",
|
|
@@ -1624,6 +1630,7 @@
|
|
|
1624
1630
|
"line": 4,
|
|
1625
1631
|
"character": 50
|
|
1626
1632
|
},
|
|
1633
|
+
"signature": "type RebuildFn = (opts: {\n pending?: boolean;\n skipIfHasSideEffectsCache?: boolean;\n}) => Promise<void>",
|
|
1627
1634
|
"name": "RebuildFn",
|
|
1628
1635
|
"exportNode": {
|
|
1629
1636
|
"__schema": "TypeSchema",
|
|
@@ -1641,7 +1648,7 @@
|
|
|
1641
1648
|
"line": 160,
|
|
1642
1649
|
"character": 25
|
|
1643
1650
|
},
|
|
1644
|
-
"signature": "(opts: {
|
|
1651
|
+
"signature": "(opts: { pending?: boolean; skipIfHasSideEffectsCache?: boolean }): Promise<void>",
|
|
1645
1652
|
"name": "",
|
|
1646
1653
|
"params": [
|
|
1647
1654
|
{
|
|
@@ -2195,6 +2202,7 @@
|
|
|
2195
2202
|
"line": 39,
|
|
2196
2203
|
"character": 15
|
|
2197
2204
|
},
|
|
2205
|
+
"signature": "type RebuildFn = (opts: {\n pending?: boolean;\n skipIfHasSideEffectsCache?: boolean;\n}) => Promise<void>",
|
|
2198
2206
|
"name": "RebuildFn",
|
|
2199
2207
|
"exportNode": {
|
|
2200
2208
|
"__schema": "TypeSchema",
|
|
@@ -2212,7 +2220,7 @@
|
|
|
2212
2220
|
"line": 160,
|
|
2213
2221
|
"character": 25
|
|
2214
2222
|
},
|
|
2215
|
-
"signature": "(opts: {
|
|
2223
|
+
"signature": "(opts: { pending?: boolean; skipIfHasSideEffectsCache?: boolean }): Promise<void>",
|
|
2216
2224
|
"name": "",
|
|
2217
2225
|
"params": [
|
|
2218
2226
|
{
|
|
@@ -3445,7 +3453,7 @@
|
|
|
3445
3453
|
"_legacy": {
|
|
3446
3454
|
"scope": "teambit.dependencies",
|
|
3447
3455
|
"name": "pnpm",
|
|
3448
|
-
"version": "1.0.
|
|
3456
|
+
"version": "1.0.411"
|
|
3449
3457
|
},
|
|
3450
3458
|
"_scope": "teambit.dependencies"
|
|
3451
3459
|
}
|
|
@@ -3824,7 +3832,7 @@
|
|
|
3824
3832
|
"componentId": {
|
|
3825
3833
|
"scope": "teambit.dependencies",
|
|
3826
3834
|
"name": "pnpm",
|
|
3827
|
-
"version": "1.0.
|
|
3835
|
+
"version": "1.0.411"
|
|
3828
3836
|
},
|
|
3829
3837
|
"taggedModuleExports": []
|
|
3830
3838
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_pnpm@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_pnpm@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_pnpm@1.0.411/dist/pnpm.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.dependencies_pnpm@1.0.411/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.
|
|
3
|
+
"version": "1.0.411",
|
|
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.
|
|
9
|
+
"version": "1.0.411"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@pnpm/config": "21.8.2",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"@teambit/dependencies.pnpm.dep-path": "0.0.2",
|
|
38
38
|
"@teambit/harmony": "0.4.6",
|
|
39
39
|
"@teambit/ui-foundation.ui.use-box.menu": "1.0.10",
|
|
40
|
-
"@teambit/dependency-resolver": "1.0.
|
|
40
|
+
"@teambit/dependency-resolver": "1.0.411",
|
|
41
41
|
"@teambit/toolbox.string.strip-trailing-char": "0.0.496",
|
|
42
|
-
"@teambit/logger": "0.0.
|
|
43
|
-
"@teambit/cli": "0.0.
|
|
44
|
-
"@teambit/cloud": "0.0.
|
|
45
|
-
"@teambit/component": "1.0.
|
|
46
|
-
"@teambit/ui": "1.0.
|
|
42
|
+
"@teambit/logger": "0.0.1081",
|
|
43
|
+
"@teambit/cli": "0.0.988",
|
|
44
|
+
"@teambit/cloud": "0.0.687",
|
|
45
|
+
"@teambit/component": "1.0.411",
|
|
46
|
+
"@teambit/ui": "1.0.411"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/lodash": "4.14.165",
|