@teambit/new-component-helper 1.0.310 → 1.0.312
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,4 +1,4 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
|
3
|
-
<testsuite name="teambit.component/new-component-helper@1.0.
|
|
3
|
+
<testsuite name="teambit.component/new-component-helper@1.0.312" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</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.component/new-component-helper-preview"]=t():e["teambit.component/new-component-helper-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
|
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.component/new-component-helper-preview"]=t():e["teambit.component/new-component-helper-preview"]=t()}(self,(()=>(()=>{"use strict";var e={74643:(e,t,o)=>{var n={id:"teambit.component/new-component-helper@1.0.312",homepage:"https://bit.cloud/teambit/component/new-component-helper",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;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/extensions-icons/new-component-helper.svg"}));p.__bit_component=n,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>f,compositions_metadata:()=>v,overview:()=>m});var r={};o.r(r),o.d(r,{default:()=>d});var i=o(74643);o(41594);const p=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var a=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},s.apply(null,arguments)}var l={},u="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,p.mdx)(u,s({},l,o,{components:t,mdxType:"MDXLayout"}),(0,p.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[i],m=[r],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -141,7 +141,8 @@
|
|
|
141
141
|
"character": 3
|
|
142
142
|
},
|
|
143
143
|
"raw": "/**\n * when creating/forking a component, the user provides the new name and optionally the scope/namespace.\n * from this user input, create a ComponentID.\n */",
|
|
144
|
-
"comment": "when creating/forking a component, the user provides the new name and optionally the scope/namespace.\nfrom this user input, create a ComponentID."
|
|
144
|
+
"comment": "when creating/forking a component, the user provides the new name and optionally the scope/namespace.\nfrom this user input, create a ComponentID.",
|
|
145
|
+
"tags": []
|
|
145
146
|
},
|
|
146
147
|
"signature": "(method) NewComponentHelperMain.getNewComponentId(name: string, namespace?: string, scope?: string): ComponentID",
|
|
147
148
|
"name": "getNewComponentId",
|
|
@@ -238,7 +239,8 @@
|
|
|
238
239
|
"character": 3
|
|
239
240
|
},
|
|
240
241
|
"raw": "/**\n * when creating/forking a component, the user may or may not provide a path.\n * if not provided, generate the path based on the component-id.\n * the component will be written to that path.\n */",
|
|
241
|
-
"comment": "when creating/forking a component, the user may or may not provide a path.\nif not provided, generate the path based on the component-id.\nthe component will be written to that path."
|
|
242
|
+
"comment": "when creating/forking a component, the user may or may not provide a path.\nif not provided, generate the path based on the component-id.\nthe component will be written to that path.",
|
|
243
|
+
"tags": []
|
|
242
244
|
},
|
|
243
245
|
"signature": "(method) NewComponentHelperMain.getNewComponentPath(componentId: ComponentID, { pathFromUser, componentsToCreate, incrementPathIfConflicted, }?: {\n pathFromUser?: string;\n componentsToCreate?: number;\n incrementPathIfConflicted?: boolean;\n}): PathLinuxRelative",
|
|
244
246
|
"name": "getNewComponentPath",
|
|
@@ -1087,7 +1089,8 @@
|
|
|
1087
1089
|
"character": 3
|
|
1088
1090
|
},
|
|
1089
1091
|
"raw": "/**\n * when creating/forking a component, the user provides the new name and optionally the scope/namespace.\n * from this user input, create a ComponentID.\n */",
|
|
1090
|
-
"comment": "when creating/forking a component, the user provides the new name and optionally the scope/namespace.\nfrom this user input, create a ComponentID."
|
|
1092
|
+
"comment": "when creating/forking a component, the user provides the new name and optionally the scope/namespace.\nfrom this user input, create a ComponentID.",
|
|
1093
|
+
"tags": []
|
|
1091
1094
|
},
|
|
1092
1095
|
"signature": "(method) NewComponentHelperMain.getNewComponentId(name: string, namespace?: string, scope?: string): ComponentID",
|
|
1093
1096
|
"name": "getNewComponentId",
|
|
@@ -1184,7 +1187,8 @@
|
|
|
1184
1187
|
"character": 3
|
|
1185
1188
|
},
|
|
1186
1189
|
"raw": "/**\n * when creating/forking a component, the user may or may not provide a path.\n * if not provided, generate the path based on the component-id.\n * the component will be written to that path.\n */",
|
|
1187
|
-
"comment": "when creating/forking a component, the user may or may not provide a path.\nif not provided, generate the path based on the component-id.\nthe component will be written to that path."
|
|
1190
|
+
"comment": "when creating/forking a component, the user may or may not provide a path.\nif not provided, generate the path based on the component-id.\nthe component will be written to that path.",
|
|
1191
|
+
"tags": []
|
|
1188
1192
|
},
|
|
1189
1193
|
"signature": "(method) NewComponentHelperMain.getNewComponentPath(componentId: ComponentID, { pathFromUser, componentsToCreate, incrementPathIfConflicted, }?: {\n pathFromUser?: string;\n componentsToCreate?: number;\n incrementPathIfConflicted?: boolean;\n}): PathLinuxRelative",
|
|
1190
1194
|
"name": "getNewComponentPath",
|
|
@@ -1950,7 +1954,7 @@
|
|
|
1950
1954
|
"componentId": {
|
|
1951
1955
|
"scope": "teambit.component",
|
|
1952
1956
|
"name": "new-component-helper",
|
|
1953
|
-
"version": "1.0.
|
|
1957
|
+
"version": "1.0.312"
|
|
1954
1958
|
},
|
|
1955
1959
|
"taggedModuleExports": []
|
|
1956
1960
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_new-component-helper@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_new-component-helper@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_new-component-helper@1.0.312/dist/new-component-helper.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_new-component-helper@1.0.312/dist/new-component-helper.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/new-component-helper",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.312",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/new-component-helper",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "new-component-helper",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.312"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"@teambit/bit-error": "0.0.404",
|
|
15
15
|
"@teambit/component-id": "1.2.0",
|
|
16
16
|
"@teambit/legacy-bit-id": "1.1.1",
|
|
17
|
-
"@teambit/cli": "0.0.
|
|
18
|
-
"@teambit/component-writer": "1.0.
|
|
19
|
-
"@teambit/component": "1.0.
|
|
20
|
-
"@teambit/envs": "1.0.
|
|
21
|
-
"@teambit/pkg": "1.0.
|
|
22
|
-
"@teambit/renaming": "1.0.
|
|
23
|
-
"@teambit/tracker": "1.0.
|
|
24
|
-
"@teambit/workspace": "1.0.
|
|
17
|
+
"@teambit/cli": "0.0.889",
|
|
18
|
+
"@teambit/component-writer": "1.0.312",
|
|
19
|
+
"@teambit/component": "1.0.312",
|
|
20
|
+
"@teambit/envs": "1.0.312",
|
|
21
|
+
"@teambit/pkg": "1.0.312",
|
|
22
|
+
"@teambit/renaming": "1.0.312",
|
|
23
|
+
"@teambit/tracker": "1.0.312",
|
|
24
|
+
"@teambit/workspace": "1.0.312"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/fs-extra": "9.0.7",
|