@teambit/typescript 1.0.515 → 1.0.516

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,35 +1,35 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="32" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.typescript/typescript@1.0.515" tests="32" failures="0" errors="0" skipped="0">
4
- <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with classNamesTransformer" time="0.006"/>
3
+ <testsuite name="teambit.typescript/typescript@1.0.516" tests="32" failures="0" errors="0" skipped="0">
4
+ <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with classNamesTransformer" time="0.278"/>
5
5
  <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with functionNamesTransformer" time="0.003"/>
6
- <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with importTransformer" time="0.002"/>
6
+ <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with importTransformer" time="0.005"/>
7
7
  <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with interfaceNamesTransformer" time="0.002"/>
8
- <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with typeAliasNamesTransformer" time="0.001"/>
9
- <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with variableNamesTransformer" time="0.002"/>
8
+ <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with typeAliasNamesTransformer" time="0.002"/>
9
+ <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with variableNamesTransformer" time="0.003"/>
10
10
  <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with classNamesTransformer" time="0.001"/>
11
- <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with classNamesTransformer" time="0.002"/>
11
+ <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with classNamesTransformer" time="0.001"/>
12
+ <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with expressionStatementTransformer" time="0.002"/>
12
13
  <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with expressionStatementTransformer" time="0.002"/>
13
- <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with expressionStatementTransformer" time="0.001"/>
14
14
  <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with interfaceNamesTransformer" time="0.001"/>
15
15
  <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with importTransformer" time="0.001"/>
16
- <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with exportTransformer" time="0.001"/>
16
+ <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with exportTransformer" time="0.002"/>
17
17
  <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with exportTransformer" time="0.001"/>
18
18
  <testcase classname="dist/transform-source-file.spec.js" name="should correctly transform source code with exportTransformer" time="0.001"/>
19
19
  <testcase classname="dist/transform-source-file.spec.js" name="should return original source code if no transformations are applied" time="0.001"/>
20
20
  <testcase classname="dist/transform-source-file.spec.js" name="should handle multiple transformers" time="0.001"/>
21
- <testcase classname="dist/typescript.parser.spec.js" name="should parse arrowFunctions" time="0.002"/>
21
+ <testcase classname="dist/typescript.parser.spec.js" name="should parse arrowFunctions" time="0.097"/>
22
22
  <testcase classname="dist/typescript.parser.spec.js" name="should parse function exports"/>
23
23
  <testcase classname="dist/typescript.parser.spec.js" name="should parse classes"/>
24
- <testcase classname="dist/typescript.parser.spec.js" name="should parse declarations" time="0.001"/>
24
+ <testcase classname="dist/typescript.parser.spec.js" name="should parse declarations"/>
25
25
  <testcase classname="dist/typescript.parser.spec.js" name="should parse renamed declarations"/>
26
- <testcase classname="dist/typescript.parser.spec.js" name="should parse re-exports" time="0.001"/>
27
- <testcase classname="dist/typescript.parser.spec.js" name="should parse re-exports with default"/>
28
- <testcase classname="dist/typescript.parser.spec.js" name="should parse renamed re-exports all"/>
29
- <testcase classname="dist/typescript.parser.spec.js" name="should parse default exports" time="0.001"/>
30
- <testcase classname="dist/typescript.parser.spec.js" name="should include staticProperties, when on arrowFunctions"/>
31
- <testcase classname="dist/typescript.parser.spec.js" name="should include staticProperties, when on regular functions" time="0.001"/>
32
- <testcase classname="dist/typescript.parser.spec.js" name="should include staticProperties, when on classes"/>
26
+ <testcase classname="dist/typescript.parser.spec.js" name="should parse re-exports"/>
27
+ <testcase classname="dist/typescript.parser.spec.js" name="should parse re-exports with default" time="0.001"/>
28
+ <testcase classname="dist/typescript.parser.spec.js" name="should parse renamed re-exports all" time="0.001"/>
29
+ <testcase classname="dist/typescript.parser.spec.js" name="should parse default exports"/>
30
+ <testcase classname="dist/typescript.parser.spec.js" name="should include staticProperties, when on arrowFunctions" time="0.001"/>
31
+ <testcase classname="dist/typescript.parser.spec.js" name="should include staticProperties, when on regular functions"/>
32
+ <testcase classname="dist/typescript.parser.spec.js" name="should include staticProperties, when on classes" time="0.001"/>
33
33
  <testcase classname="dist/typescript.parser.spec.js" name="should parse all primitive values" time="0.001"/>
34
34
  <testcase classname="dist/typescript.parser.spec.js" name="should skip non primitive values" time="0.001"/>
35
35
  <testcase classname="dist/typescript.parser.spec.js" name="should skip non assignment statements"/>
@@ -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.typescript/typescript-preview"]=t():e["teambit.typescript/typescript-preview"]=t()}(self,(()=>(()=>{"use strict";var e={69326:(e,t,n)=>{Object.defineProperty(t,"S",{enumerable:!0,get:function(){return o.default}});var o=r(n(69074));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.typescript/aspect-docs/typescript@0.0.171",homepage:"https://bit.cloud/teambit/typescript/aspect-docs/typescript",exported:!0}},69074:(e,t,n)=>{var o={id:"teambit.typescript/aspect-docs/typescript@0.0.171",homepage:"https://bit.cloud/teambit/typescript/aspect-docs/typescript",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=m,p(n(41594));var r=n(5016),i=["components"];function p(e){return e&&e.__esModule?e:{default:e}}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)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(null,arguments)}function a(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[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,s.__bit_component=o,a.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function m(e){var t=e.components,n=a(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Typescript aspect implements the ",(0,r.mdx)("inlineCode",{parentName:"p"},"Compiler")," interface and provides the ability to transpile files on the workspace and build components in the isolated capsules."),(0,r.mdx)("h2",null,"Configuration - tsconfig.json"),(0,r.mdx)("p",null,"An env that uses typescript compiler can have two tsconfig.json files, one for the workspace and one for the build process."),(0,r.mdx)("p",null,"On the workspace, the following two configurations are overridden:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"compilerOptions.sourceRoot = <componentDir>;\ncompilerOptions.rootDir = '.';\n")),(0,r.mdx)("p",null,"The reason to override them is to make the source-map working on the workspace."),(0,r.mdx)("p",null,"As a reminder, the ",(0,r.mdx)("inlineCode",{parentName:"p"},"dists")," are written into the node_modules and not in the component-dir, without the configuration above, the source-map won't have the correct ",(0,r.mdx)("inlineCode",{parentName:"p"},"sourceRoot")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"sources")," values, and as a result, the debugger won't work."),(0,r.mdx)("p",null,"On the capsules, the following configurion is overridden:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"compilerOptions.outDir = <CompilerOptions.distDir>\n")),(0,r.mdx)("p",null,"This is done to avoid confusion when the distDir is ",(0,r.mdx)("inlineCode",{parentName:"p"},"x")," and ts-config outDir is ",(0,r.mdx)("inlineCode",{parentName:"p"},"y"),",\nin which case, the dists in the capsule are written into ",(0,r.mdx)("inlineCode",{parentName:"p"},"y"),", but other bit processes expect to find them in ",(0,r.mdx)("inlineCode",{parentName:"p"},"x"),"."),(0,r.mdx)("h1",null,"Override typescript configuration in a custom env:"),(0,r.mdx)("p",null,"When creating a new custom environment, use the following API to change the typescript compiler config."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"useTypescript(modifiers?: UseTypescriptModifiers, tsModule: any = ts)\n")),(0,r.mdx)("p",null,"The modifiers are:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"type UseTypescriptModifiers = {\n buildConfig?: TsConfigTransformer[];\n devConfig?: TsConfigTransformer[];\n};\n")),(0,r.mdx)("p",null,"As you can see, you can customize the configuration for both: the build process and for the compilation on the workspace."),(0,r.mdx)("p",null,"An example of a TsConfigTransformer used by ",(0,r.mdx)("inlineCode",{parentName:"p"},"teambit/aspect")," for the build process, which uses the typescript compiler only for generating the types:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"const tsconfig = require(\"./tsconfig.json\");\n\nconst transformer: TsConfigTransformer = (config: TypescriptConfigMutator) => {\n config\n .mergeTsConfig(tsconfig)\n .setArtifactName('declaration')\n .setDistGlobPatterns([`dist/**/*.d.ts`])\n .setShouldCopyNonSupportedFiles(false);\n return config;\n };\n")),(0,r.mdx)("p",null,"In the last example, a custom tsconfig.json was merged to the builtin tsconfig.json."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},'{\n "compilerOptions": {\n ...\n "emitDeclarationOnly": true,\n ...\n },\n}\n')),(0,r.mdx)("p",null,"Some more props were changed as well to accomodate this env"))}m.__bit_component=o,m.isMDXComponent=!0},55855:(e,t,n)=>{var o={id:"teambit.typescript/typescript@1.0.515",homepage:"https://bit.cloud/teambit/typescript/typescript",exported:!0};function r(){const e=i(n(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=o,i.__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/logo-typescript.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 i=t[o]={exports:{}};return e[o](i,i.exports,n),i.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:()=>h,overview:()=>y});var r={};n.r(r),n.d(r,{default:()=>u});var i=n(55855),p=(n(41594),n(5016));const s=TeambitMdxUiMdxScopeContext;var a=n(69326),c=["components"];function l(){return l=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},l.apply(null,arguments)}var d={},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 i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,c);return(0,p.mdx)(m,l({},d,n,{components:t,mdxType:"MDXLayout"}),(0,p.mdx)(s.MDXScopeProvider,{components:{Typescript:a.S},mdxType:"MDXScopeProvider"},(0,p.mdx)(a.S,{mdxType:"Typescript"})))}u.isMDXComponent=!0;const f=[i],y=[r],h={compositions:[{displayName:"Logo",identifier:"Logo"}]};return 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.typescript/typescript-preview"]=t():e["teambit.typescript/typescript-preview"]=t()}(self,(()=>(()=>{"use strict";var e={69326:(e,t,n)=>{Object.defineProperty(t,"S",{enumerable:!0,get:function(){return o.default}});var o=r(n(69074));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.typescript/aspect-docs/typescript@0.0.171",homepage:"https://bit.cloud/teambit/typescript/aspect-docs/typescript",exported:!0}},69074:(e,t,n)=>{var o={id:"teambit.typescript/aspect-docs/typescript@0.0.171",homepage:"https://bit.cloud/teambit/typescript/aspect-docs/typescript",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=m,p(n(41594));var r=n(5016),i=["components"];function p(e){return e&&e.__esModule?e:{default:e}}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)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(null,arguments)}function a(e,t){if(null==e)return{};var n,o,r=c(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[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,s.__bit_component=o,a.__bit_component=o,c.__bit_component=o;var l={},d="wrapper";function m(e){var t=e.components,n=a(e,i);return(0,r.mdx)(d,s({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"Typescript aspect implements the ",(0,r.mdx)("inlineCode",{parentName:"p"},"Compiler")," interface and provides the ability to transpile files on the workspace and build components in the isolated capsules."),(0,r.mdx)("h2",null,"Configuration - tsconfig.json"),(0,r.mdx)("p",null,"An env that uses typescript compiler can have two tsconfig.json files, one for the workspace and one for the build process."),(0,r.mdx)("p",null,"On the workspace, the following two configurations are overridden:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"compilerOptions.sourceRoot = <componentDir>;\ncompilerOptions.rootDir = '.';\n")),(0,r.mdx)("p",null,"The reason to override them is to make the source-map working on the workspace."),(0,r.mdx)("p",null,"As a reminder, the ",(0,r.mdx)("inlineCode",{parentName:"p"},"dists")," are written into the node_modules and not in the component-dir, without the configuration above, the source-map won't have the correct ",(0,r.mdx)("inlineCode",{parentName:"p"},"sourceRoot")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"sources")," values, and as a result, the debugger won't work."),(0,r.mdx)("p",null,"On the capsules, the following configurion is overridden:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"compilerOptions.outDir = <CompilerOptions.distDir>\n")),(0,r.mdx)("p",null,"This is done to avoid confusion when the distDir is ",(0,r.mdx)("inlineCode",{parentName:"p"},"x")," and ts-config outDir is ",(0,r.mdx)("inlineCode",{parentName:"p"},"y"),",\nin which case, the dists in the capsule are written into ",(0,r.mdx)("inlineCode",{parentName:"p"},"y"),", but other bit processes expect to find them in ",(0,r.mdx)("inlineCode",{parentName:"p"},"x"),"."),(0,r.mdx)("h1",null,"Override typescript configuration in a custom env:"),(0,r.mdx)("p",null,"When creating a new custom environment, use the following API to change the typescript compiler config."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"useTypescript(modifiers?: UseTypescriptModifiers, tsModule: any = ts)\n")),(0,r.mdx)("p",null,"The modifiers are:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"type UseTypescriptModifiers = {\n buildConfig?: TsConfigTransformer[];\n devConfig?: TsConfigTransformer[];\n};\n")),(0,r.mdx)("p",null,"As you can see, you can customize the configuration for both: the build process and for the compilation on the workspace."),(0,r.mdx)("p",null,"An example of a TsConfigTransformer used by ",(0,r.mdx)("inlineCode",{parentName:"p"},"teambit/aspect")," for the build process, which uses the typescript compiler only for generating the types:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"const tsconfig = require(\"./tsconfig.json\");\n\nconst transformer: TsConfigTransformer = (config: TypescriptConfigMutator) => {\n config\n .mergeTsConfig(tsconfig)\n .setArtifactName('declaration')\n .setDistGlobPatterns([`dist/**/*.d.ts`])\n .setShouldCopyNonSupportedFiles(false);\n return config;\n };\n")),(0,r.mdx)("p",null,"In the last example, a custom tsconfig.json was merged to the builtin tsconfig.json."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},'{\n "compilerOptions": {\n ...\n "emitDeclarationOnly": true,\n ...\n },\n}\n')),(0,r.mdx)("p",null,"Some more props were changed as well to accomodate this env"))}m.__bit_component=o,m.isMDXComponent=!0},34278:(e,t,n)=>{var o={id:"teambit.typescript/typescript@1.0.516",homepage:"https://bit.cloud/teambit/typescript/typescript",exported:!0};function r(){const e=i(n(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=o,i.__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/logo-typescript.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 i=t[o]={exports:{}};return e[o](i,i.exports,n),i.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:()=>h,overview:()=>y});var r={};n.r(r),n.d(r,{default:()=>u});var i=n(34278),p=(n(41594),n(5016));const s=TeambitMdxUiMdxScopeContext;var a=n(69326),c=["components"];function l(){return l=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},l.apply(null,arguments)}var d={},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 i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,c);return(0,p.mdx)(m,l({},d,n,{components:t,mdxType:"MDXLayout"}),(0,p.mdx)(s.MDXScopeProvider,{components:{Typescript:a.S},mdxType:"MDXScopeProvider"},(0,p.mdx)(a.S,{mdxType:"Typescript"})))}u.isMDXComponent=!0;const f=[i],y=[r],h={compositions:[{displayName:"Logo",identifier:"Logo"}]};return o})()));
@@ -382,7 +382,7 @@
382
382
  "componentId": {
383
383
  "scope": "teambit.component",
384
384
  "name": "sources",
385
- "version": "0.0.72"
385
+ "version": "0.0.73"
386
386
  }
387
387
  },
388
388
  "isOptional": false,
@@ -557,7 +557,7 @@
557
557
  "componentId": {
558
558
  "scope": "teambit.component",
559
559
  "name": "sources",
560
- "version": "0.0.72"
560
+ "version": "0.0.73"
561
561
  }
562
562
  }
563
563
  },
@@ -1064,7 +1064,7 @@
1064
1064
  "_legacy": {
1065
1065
  "scope": "teambit.typescript",
1066
1066
  "name": "typescript",
1067
- "version": "1.0.515"
1067
+ "version": "1.0.516"
1068
1068
  },
1069
1069
  "_scope": "teambit.typescript"
1070
1070
  }
@@ -8033,7 +8033,7 @@
8033
8033
  "componentId": {
8034
8034
  "scope": "teambit.component",
8035
8035
  "name": "sources",
8036
- "version": "0.0.72"
8036
+ "version": "0.0.73"
8037
8037
  }
8038
8038
  },
8039
8039
  "isOptional": false,
@@ -8208,7 +8208,7 @@
8208
8208
  "componentId": {
8209
8209
  "scope": "teambit.component",
8210
8210
  "name": "sources",
8211
- "version": "0.0.72"
8211
+ "version": "0.0.73"
8212
8212
  }
8213
8213
  }
8214
8214
  },
@@ -8715,7 +8715,7 @@
8715
8715
  "_legacy": {
8716
8716
  "scope": "teambit.typescript",
8717
8717
  "name": "typescript",
8718
- "version": "1.0.515"
8718
+ "version": "1.0.516"
8719
8719
  },
8720
8720
  "_scope": "teambit.typescript"
8721
8721
  }
@@ -8741,7 +8741,7 @@
8741
8741
  "line": 76,
8742
8742
  "character": 1
8743
8743
  },
8744
- "signature": "type TsMode = \"dev\" | \"build\"",
8744
+ "signature": "type TsMode = \"build\" | \"dev\"",
8745
8745
  "name": "TsMode",
8746
8746
  "type": {
8747
8747
  "__schema": "TypeUnionSchema",
@@ -15072,7 +15072,7 @@
15072
15072
  "componentId": {
15073
15073
  "scope": "teambit.typescript",
15074
15074
  "name": "typescript",
15075
- "version": "1.0.515"
15075
+ "version": "1.0.516"
15076
15076
  },
15077
15077
  "taggedModuleExports": []
15078
15078
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.typescript_typescript@1.0.515/dist/typescript.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.typescript_typescript@1.0.515/dist/typescript.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.typescript_typescript@1.0.516/dist/typescript.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.typescript_typescript@1.0.516/dist/typescript.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/typescript",
3
- "version": "1.0.515",
3
+ "version": "1.0.516",
4
4
  "homepage": "https://bit.cloud/teambit/typescript/typescript",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.typescript",
8
8
  "name": "typescript",
9
- "version": "1.0.515"
9
+ "version": "1.0.516"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -18,26 +18,26 @@
18
18
  "chalk": "2.4.2",
19
19
  "@teambit/typescript.typescript-compiler": "2.0.46",
20
20
  "@teambit/harmony": "0.4.6",
21
- "@teambit/compiler": "1.0.515",
21
+ "@teambit/compiler": "1.0.516",
22
22
  "@teambit/typescript.modules.ts-config-mutator": "0.0.85",
23
- "@teambit/builder": "1.0.515",
24
- "@teambit/component.sources": "0.0.72",
25
- "@teambit/component": "1.0.515",
26
- "@teambit/dependency-resolver": "1.0.515",
27
- "@teambit/formatter": "1.0.515",
23
+ "@teambit/builder": "1.0.516",
24
+ "@teambit/component.sources": "0.0.73",
25
+ "@teambit/component": "1.0.516",
26
+ "@teambit/dependency-resolver": "1.0.516",
27
+ "@teambit/formatter": "1.0.516",
28
28
  "@teambit/legacy.utils": "0.0.14",
29
29
  "@teambit/semantics.entities.semantic-schema": "0.0.77",
30
30
  "@teambit/ts-server": "0.0.60",
31
- "@teambit/aspect-loader": "1.0.515",
32
- "@teambit/envs": "1.0.515",
33
- "@teambit/logger": "0.0.1185",
34
- "@teambit/schema": "1.0.515",
35
- "@teambit/scope": "1.0.515",
36
- "@teambit/workspace": "1.0.515",
37
- "@teambit/cli": "0.0.1092",
38
- "@teambit/pkg": "1.0.515",
39
- "@teambit/watcher": "1.0.515",
40
- "@teambit/legacy.constants": "0.0.6"
31
+ "@teambit/aspect-loader": "1.0.516",
32
+ "@teambit/envs": "1.0.516",
33
+ "@teambit/logger": "0.0.1186",
34
+ "@teambit/schema": "1.0.516",
35
+ "@teambit/scope": "1.0.516",
36
+ "@teambit/workspace": "1.0.516",
37
+ "@teambit/cli": "0.0.1093",
38
+ "@teambit/pkg": "1.0.516",
39
+ "@teambit/watcher": "1.0.516",
40
+ "@teambit/legacy.constants": "0.0.7"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/lodash": "4.14.165",