@teambit/aspect 0.0.592 → 0.0.596

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.
@@ -50,6 +50,12 @@ const aspectTemplate = {
50
50
  relativePath: `${context.name}.main.runtime.ts`,
51
51
  content: (0, _mainRuntime().mainRuntime)(context)
52
52
  }];
53
+ },
54
+ config: {
55
+ 'teambit.harmony/aspect': {},
56
+ 'teambit.envs/envs': {
57
+ env: 'teambit.harmony/aspect'
58
+ }
53
59
  }
54
60
  };
55
61
  exports.aspectTemplate = aspectTemplate;
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":["aspectTemplate","name","description","generateFiles","context","relativePath","content","isMain"],"mappings":";;;;;;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,cAAiC,GAAG;AAC/CC,EAAAA,IAAI,EAAE,QADyC;AAE/CC,EAAAA,WAAW,EAAE,yBAFkC;AAG/CC,EAAAA,aAAa,EAAGC,OAAD,IAA+B;AAC5C,WAAO,CACL;AACEC,MAAAA,YAAY,EAAE,UADhB;AAEEC,MAAAA,OAAO,EAAE,wBAAUF,OAAV,CAFX;AAGEG,MAAAA,MAAM,EAAE;AAHV,KADK,EAML;AACEF,MAAAA,YAAY,EAAG,GAAED,OAAO,CAACH,IAAK,YADhC;AAEEK,MAAAA,OAAO,EAAE,8BAAWF,OAAX;AAFX,KANK,EAUL;AACEC,MAAAA,YAAY,EAAG,GAAED,OAAO,CAACH,IAAK,kBADhC;AAEEK,MAAAA,OAAO,EAAE,gCAAYF,OAAZ;AAFX,KAVK,CAAP;AAeD;AAnB8C,CAA1C","sourcesContent":["import { ComponentContext, ComponentTemplate } from '@teambit/generator';\nimport { indexFile } from './files/index';\nimport { aspectFile } from './files/aspect-file';\nimport { mainRuntime } from './files/main-runtime';\n\nexport const aspectTemplate: ComponentTemplate = {\n name: 'aspect',\n description: 'extend Bit capabilities',\n generateFiles: (context: ComponentContext) => {\n return [\n {\n relativePath: 'index.ts',\n content: indexFile(context),\n isMain: true,\n },\n {\n relativePath: `${context.name}.aspect.ts`,\n content: aspectFile(context),\n },\n {\n relativePath: `${context.name}.main.runtime.ts`,\n content: mainRuntime(context),\n },\n ];\n },\n};\n"]}
1
+ {"version":3,"sources":["index.ts"],"names":["aspectTemplate","name","description","generateFiles","context","relativePath","content","isMain","config","env"],"mappings":";;;;;;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,cAAiC,GAAG;AAC/CC,EAAAA,IAAI,EAAE,QADyC;AAE/CC,EAAAA,WAAW,EAAE,yBAFkC;AAG/CC,EAAAA,aAAa,EAAGC,OAAD,IAA+B;AAC5C,WAAO,CACL;AACEC,MAAAA,YAAY,EAAE,UADhB;AAEEC,MAAAA,OAAO,EAAE,wBAAUF,OAAV,CAFX;AAGEG,MAAAA,MAAM,EAAE;AAHV,KADK,EAML;AACEF,MAAAA,YAAY,EAAG,GAAED,OAAO,CAACH,IAAK,YADhC;AAEEK,MAAAA,OAAO,EAAE,8BAAWF,OAAX;AAFX,KANK,EAUL;AACEC,MAAAA,YAAY,EAAG,GAAED,OAAO,CAACH,IAAK,kBADhC;AAEEK,MAAAA,OAAO,EAAE,gCAAYF,OAAZ;AAFX,KAVK,CAAP;AAeD,GAnB8C;AAoB/CI,EAAAA,MAAM,EAAE;AACN,8BAA0B,EADpB;AAEN,yBAAqB;AACnBC,MAAAA,GAAG,EAAE;AADc;AAFf;AApBuC,CAA1C","sourcesContent":["import { ComponentContext, ComponentTemplate } from '@teambit/generator';\nimport { indexFile } from './files/index';\nimport { aspectFile } from './files/aspect-file';\nimport { mainRuntime } from './files/main-runtime';\n\nexport const aspectTemplate: ComponentTemplate = {\n name: 'aspect',\n description: 'extend Bit capabilities',\n generateFiles: (context: ComponentContext) => {\n return [\n {\n relativePath: 'index.ts',\n content: indexFile(context),\n isMain: true,\n },\n {\n relativePath: `${context.name}.aspect.ts`,\n content: aspectFile(context),\n },\n {\n relativePath: `${context.name}.main.runtime.ts`,\n content: mainRuntime(context),\n },\n ];\n },\n config: {\n 'teambit.harmony/aspect': {},\n 'teambit.envs/envs': {\n env: 'teambit.harmony/aspect',\n },\n },\n};\n"]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/aspect",
3
- "version": "0.0.592",
3
+ "version": "0.0.596",
4
4
  "homepage": "https://bit.dev/teambit/harmony/aspect",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "aspect",
9
- "version": "0.0.592"
9
+ "version": "0.0.596"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.2.11",
@@ -24,19 +24,19 @@
24
24
  "@babel/plugin-proposal-class-properties": "7.12.13",
25
25
  "@babel/runtime": "7.12.18",
26
26
  "core-js": "^3.0.0",
27
- "@teambit/compiler": "0.0.592",
28
- "@teambit/envs": "0.0.592",
29
- "@teambit/react": "0.0.592",
30
- "@teambit/aspect-loader": "0.0.592",
31
- "@teambit/babel": "0.0.592",
32
- "@teambit/builder": "0.0.592",
33
- "@teambit/cli": "0.0.406",
34
- "@teambit/generator": "0.0.592",
35
- "@teambit/compositions": "0.0.592",
27
+ "@teambit/compiler": "0.0.596",
28
+ "@teambit/envs": "0.0.596",
29
+ "@teambit/react": "0.0.596",
30
+ "@teambit/aspect-loader": "0.0.596",
31
+ "@teambit/babel": "0.0.596",
32
+ "@teambit/builder": "0.0.596",
33
+ "@teambit/cli": "0.0.409",
34
+ "@teambit/generator": "0.0.596",
35
+ "@teambit/compositions": "0.0.596",
36
36
  "@teambit/design.ui.empty-box": "0.0.352",
37
- "@teambit/tester": "0.0.592",
38
- "@teambit/ui": "0.0.592",
39
- "@teambit/isolator": "0.0.592"
37
+ "@teambit/tester": "0.0.596",
38
+ "@teambit/ui": "0.0.596",
39
+ "@teambit/isolator": "0.0.596"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/react": "^17.0.8",
@@ -23,4 +23,10 @@ export const aspectTemplate: ComponentTemplate = {
23
23
  },
24
24
  ];
25
25
  },
26
+ config: {
27
+ 'teambit.harmony/aspect': {},
28
+ 'teambit.envs/envs': {
29
+ env: 'teambit.harmony/aspect',
30
+ },
31
+ },
26
32
  };