@teambit/aspect 0.0.590 → 0.0.594
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;
|
|
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"]}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/aspect",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.594",
|
|
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.
|
|
9
|
+
"version": "0.0.594"
|
|
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.
|
|
28
|
-
"@teambit/envs": "0.0.
|
|
29
|
-
"@teambit/react": "0.0.
|
|
30
|
-
"@teambit/aspect-loader": "0.0.
|
|
31
|
-
"@teambit/babel": "0.0.
|
|
32
|
-
"@teambit/builder": "0.0.
|
|
33
|
-
"@teambit/cli": "0.0.
|
|
34
|
-
"@teambit/generator": "0.0.
|
|
35
|
-
"@teambit/compositions": "0.0.
|
|
27
|
+
"@teambit/compiler": "0.0.594",
|
|
28
|
+
"@teambit/envs": "0.0.594",
|
|
29
|
+
"@teambit/react": "0.0.594",
|
|
30
|
+
"@teambit/aspect-loader": "0.0.594",
|
|
31
|
+
"@teambit/babel": "0.0.594",
|
|
32
|
+
"@teambit/builder": "0.0.594",
|
|
33
|
+
"@teambit/cli": "0.0.408",
|
|
34
|
+
"@teambit/generator": "0.0.594",
|
|
35
|
+
"@teambit/compositions": "0.0.594",
|
|
36
36
|
"@teambit/design.ui.empty-box": "0.0.352",
|
|
37
|
-
"@teambit/tester": "0.0.
|
|
38
|
-
"@teambit/ui": "0.0.
|
|
39
|
-
"@teambit/isolator": "0.0.
|
|
37
|
+
"@teambit/tester": "0.0.594",
|
|
38
|
+
"@teambit/ui": "0.0.594",
|
|
39
|
+
"@teambit/isolator": "0.0.594"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/react": "^17.0.8",
|
|
Binary file
|