@teambit/harmony 0.4.7 → 0.4.9
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.
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
36
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
37
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.cli.js","sourceRoot":"","sources":["../../../../fixtures/aspects/react/react.cli.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react.cli.js","sourceRoot":"","sources":["../../../../fixtures/aspects/react/react.cli.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAyD;AACzD,yEAA8D;AAC9D,0CAAoD;AAEpD,MAAa,QAAQ;IACnB,YACU,KAAe;QAAf,UAAK,GAAL,KAAK,CAAU;IACtB,CAAC;IAIJ,KAAK;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;IAC9B,CAAC;IAMD,MAAM,CAAO,QAAQ;6DAAC,CAAC,QAAQ,CAAa,EAAE,MAAU,EAAE,CAAC,UAAU,CAAyB;YAC5F,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;YAChC,OAAO,IAAI,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAChC,CAAC;KAAA;;AAlBH,4BAmBC;AAdQ,gBAAO,GAAG,yBAAU,CAAC;AAMrB,qBAAY,GAAG,CAAC,sBAAW,CAAC,CAAC;AAE7B,cAAK,GAAG,CAAC,YAAI,CAAC,QAAQ,EAAU,CAAC,CAAC;AAQ3C,sBAAW,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC"}
|
package/dist/harmony.docs.mdx
CHANGED
|
@@ -103,7 +103,7 @@ async run(requireFn?: RequireFn)
|
|
|
103
103
|
|
|
104
104
|
* Harmony does not allow circular dependencies between Aspects.
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
{/*
|
|
107
107
|
|
|
108
108
|
-------------------------for reference only - to remove ------------------
|
|
109
109
|
|
|
@@ -247,4 +247,4 @@ const extension = resolve('doc-gen');
|
|
|
247
247
|
- how can one extension run from both server and client? how capsule is related?
|
|
248
248
|
- in which process extensions will run from? also, what will happen from the backend?
|
|
249
249
|
-
|
|
250
|
-
|
|
250
|
+
*/}
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,8 @@ var runtimes_1 = require("./runtimes");
|
|
|
25
25
|
Object.defineProperty(exports, "RuntimeDefinition", { enumerable: true, get: function () { return runtimes_1.RuntimeDefinition; } });
|
|
26
26
|
var extension_graph_1 = require("./extension-graph/extension-graph");
|
|
27
27
|
Object.defineProperty(exports, "AspectGraph", { enumerable: true, get: function () { return __importDefault(extension_graph_1).default; } });
|
|
28
|
-
//
|
|
29
|
-
//
|
|
30
|
-
//
|
|
28
|
+
// `Config` / `ConfigOptions` are not re-exported from the root because they
|
|
29
|
+
// pull in node-only modules and would break browser bundles. They are exposed
|
|
30
|
+
// via the subpath `@teambit/harmony/harmony-config` with a `node` exports
|
|
31
|
+
// condition — see this component's `packageJson.exports` in component.json.
|
|
31
32
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;AAAA,yCAAgH;AAAvG,+GAAA,kBAAkB,OAAA;AAAE,sGAAA,SAAS,OAAA;AAAE,qGAAA,QAAQ,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,iGAAA,IAAI,OAAA;AAAE,qGAAA,QAAQ,OAAA;AAAE,uGAAA,UAAU,OAAA;AAC1F,qCAAkD;AAAzC,kGAAA,OAAO,OAAA;AAChB,iCAA6C;AAApC,6FAAA,IAAI,OAAA;AAAE,qGAAA,YAAY,OAAA;AAG3B,4DAA0D;AAAjD,6GAAA,YAAY,OAAA;AACrB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAgE;AAAvD,6GAAA,iBAAiB,OAAA;AAC1B,qEAA2E;AAAlE,+HAAA,OAAO,OAAe;AAC/B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;AAAA,yCAAgH;AAAvG,+GAAA,kBAAkB,OAAA;AAAE,sGAAA,SAAS,OAAA;AAAE,qGAAA,QAAQ,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,iGAAA,IAAI,OAAA;AAAE,qGAAA,QAAQ,OAAA;AAAE,uGAAA,UAAU,OAAA;AAC1F,qCAAkD;AAAzC,kGAAA,OAAO,OAAA;AAChB,iCAA6C;AAApC,6FAAA,IAAI,OAAA;AAAE,qGAAA,YAAY,OAAA;AAG3B,4DAA0D;AAAjD,6GAAA,YAAY,OAAA;AACrB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAgE;AAAvD,6GAAA,iBAAiB,OAAA;AAC1B,qEAA2E;AAAlE,+HAAA,OAAO,OAAe;AAC/B,4EAA4E;AAC5E,8EAA8E;AAC9E,0EAA0E;AAC1E,4EAA4E"}
|
package/harmony.docs.mdx
CHANGED
|
@@ -103,7 +103,7 @@ async run(requireFn?: RequireFn)
|
|
|
103
103
|
|
|
104
104
|
* Harmony does not allow circular dependencies between Aspects.
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
{/*
|
|
107
107
|
|
|
108
108
|
-------------------------for reference only - to remove ------------------
|
|
109
109
|
|
|
@@ -247,4 +247,4 @@ const extension = resolve('doc-gen');
|
|
|
247
247
|
- how can one extension run from both server and client? how capsule is related?
|
|
248
248
|
- in which process extensions will run from? also, what will happen from the backend?
|
|
249
249
|
-
|
|
250
|
-
|
|
250
|
+
*/}
|
package/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { HarmonyError } from './exceptions/harmony-error';
|
|
|
7
7
|
export { Aspect } from './aspect';
|
|
8
8
|
export { RuntimeDefinition, RuntimeManifest } from './runtimes';
|
|
9
9
|
export { default as AspectGraph } from './extension-graph/extension-graph';
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
//
|
|
10
|
+
// `Config` / `ConfigOptions` are not re-exported from the root because they
|
|
11
|
+
// pull in node-only modules and would break browser bundles. They are exposed
|
|
12
|
+
// via the subpath `@teambit/harmony/harmony-config` with a `node` exports
|
|
13
|
+
// condition — see this component's `packageJson.exports` in component.json.
|
package/package.json
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/harmony",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/harmony",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "harmony",
|
|
9
|
-
"version": "0.4.
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"reflect-metadata": "^0.1.13",
|
|
13
|
-
"cleargraph": "^5.6.0",
|
|
14
|
-
"comment-json": "4.2.5",
|
|
15
|
-
"user-home": "3.0.0"
|
|
9
|
+
"version": "0.4.9"
|
|
16
10
|
},
|
|
11
|
+
"dependencies": {},
|
|
17
12
|
"devDependencies": {
|
|
18
13
|
"@types/comment-json": "^2.4.5",
|
|
19
14
|
"@types/jest": "26.0.20",
|
|
@@ -40,5 +35,29 @@
|
|
|
40
35
|
"harmony",
|
|
41
36
|
"aspects",
|
|
42
37
|
"extensions"
|
|
43
|
-
]
|
|
38
|
+
],
|
|
39
|
+
"exports": {
|
|
40
|
+
".": {
|
|
41
|
+
"types": "./index.ts",
|
|
42
|
+
"node": {
|
|
43
|
+
"require": "./dist/index.js",
|
|
44
|
+
"import": "./dist/esm.mjs"
|
|
45
|
+
},
|
|
46
|
+
"default": "./dist/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./harmony-config": {
|
|
49
|
+
"node": {
|
|
50
|
+
"types": "./dist/harmony-config/index.d.ts",
|
|
51
|
+
"default": "./dist/harmony-config/index.js"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"./harmony-config/config-reader": {
|
|
55
|
+
"node": {
|
|
56
|
+
"types": "./dist/harmony-config/config-reader.d.ts",
|
|
57
|
+
"default": "./dist/harmony-config/config-reader.js"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"./dist/harmony-config": "./dist/harmony-config/index.js",
|
|
61
|
+
"./dist/harmony-config/config-reader": "./dist/harmony-config/config-reader.js"
|
|
62
|
+
}
|
|
44
63
|
}
|