@layerzerolabs/dependency-graph 0.0.19 → 0.0.21
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.
- package/.turbo/turbo-build.log +9 -9
- package/.turbo/turbo-lint.log +1 -1
- package/dist/{RL6YOPZH.js → UBM64M7K.js} +2 -2
- package/dist/{RL6YOPZH.js.map → UBM64M7K.js.map} +1 -1
- package/dist/{QHT3NC3M.cjs → XBOMFZB4.cjs} +2 -2
- package/dist/{QHT3NC3M.cjs.map → XBOMFZB4.cjs.map} +1 -1
- package/dist/dependencyNode.cjs +2 -2
- package/dist/dependencyNode.d.ts +1 -1
- package/dist/dependencyNode.d.ts.map +1 -1
- package/dist/dependencyNode.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/src/dependencyNode.ts +4 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
|
-
> @layerzerolabs/dependency-graph@0.0.2 build /home/runner/work/monorepo-internal/monorepo-internal/packages/dependency-graph
|
|
2
|
+
> @layerzerolabs/dependency-graph@0.0.2 build /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/dependency-graph
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/dependencyNode.ts, src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.4.0
|
|
8
|
-
[34mCLI[39m Using tsup config: /home/runner/work/monorepo-internal/monorepo-internal/packages/dependency-graph/tsup.config.ts
|
|
8
|
+
[34mCLI[39m Using tsup config: /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/dependency-graph/tsup.config.ts
|
|
9
9
|
[34mCLI[39m Target: es2022
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[34mESM[39m Build start
|
|
13
13
|
[32mCJS[39m [1mdist/dependencyNode.cjs [22m[32m285.00 B[39m
|
|
14
14
|
[32mCJS[39m [1mdist/index.cjs [22m[32m267.00 B[39m
|
|
15
|
-
[32mCJS[39m [1mdist/
|
|
15
|
+
[32mCJS[39m [1mdist/XBOMFZB4.cjs [22m[32m503.00 B[39m
|
|
16
16
|
[32mCJS[39m [1mdist/dependencyNode.cjs.map [22m[32m79.00 B[39m
|
|
17
|
-
[32mCJS[39m [1mdist/QHT3NC3M.cjs.map [22m[32m1.48 KB[39m
|
|
18
17
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m70.00 B[39m
|
|
19
|
-
[32mCJS[39m
|
|
20
|
-
[
|
|
18
|
+
[32mCJS[39m [1mdist/XBOMFZB4.cjs.map [22m[32m1.51 KB[39m
|
|
19
|
+
[32mCJS[39m ⚡️ Build success in 73ms
|
|
21
20
|
[32mESM[39m [1mdist/index.js [22m[32m115.00 B[39m
|
|
22
|
-
[32mESM[39m [1mdist/
|
|
21
|
+
[32mESM[39m [1mdist/dependencyNode.js [22m[32m133.00 B[39m
|
|
22
|
+
[32mESM[39m [1mdist/UBM64M7K.js [22m[32m472.00 B[39m
|
|
23
23
|
[32mESM[39m [1mdist/dependencyNode.js.map [22m[32m78.00 B[39m
|
|
24
|
-
[32mESM[39m [1mdist/RL6YOPZH.js.map [22m[32m1.47 KB[39m
|
|
25
24
|
[32mESM[39m [1mdist/index.js.map [22m[32m69.00 B[39m
|
|
26
|
-
[32mESM[39m
|
|
25
|
+
[32mESM[39m [1mdist/UBM64M7K.js.map [22m[32m1.51 KB[39m
|
|
26
|
+
[32mESM[39m ⚡️ Build success in 74ms
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @layerzerolabs/dependency-graph@0.0.2 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/dependency-graph
|
|
2
|
+
> @layerzerolabs/dependency-graph@0.0.2 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/dependency-graph
|
|
3
3
|
> eslint . --max-warnings 0
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/dependencyNode.ts"],"names":["DependencyNode","name","dependencies"],"mappings":";;;;AASO,IAAeA,iBAAf,MAAeA;EATtB;;;
|
|
1
|
+
{"version":3,"sources":["../src/dependencyNode.ts"],"names":["DependencyNode","name","dependencies"],"mappings":";;;;AASO,IAAeA,iBAAf,MAAeA;EATtB;;;AAaoBC,EAAAA,IAAAA;AACAC,EAAAA,YAAAA;AAChB,EAAA,WAAA,CAAY,EACRD,IAAAA,EACAC,YAAAA,GAAe,IAAmB,EAInC;AACC,IAAA,IAAA,CAAKD,IAAAA,GAAOA,IAAAA;AACZ,IAAA,IAAA,CAAKC,YAAAA,GAAeA,YAAAA;AACxB,EAAA;AACJ","file":"UBM64M7K.js","sourcesContent":["/**\n * Dependency nodes are abstract nodes in the dependency graph. They're used to build the graph,\n * but as an abstract class, lacks the required information to actually be resolved to anything.\n * If you want to implement a new dependency node, see ObjectDefinition or FactoryDefinition\n * @param name the name of this node. It should be unique across the entire graph.\n * @param dependencies a map of other nodes that this node depends on. These children will be resolved first.\n * The key of the dependencies map should be some arbitrary name within the context of *this* node. It does\n * not have to be unique.\n */\nexport abstract class DependencyNode<\n Name extends string = string,\n _Dependencies extends Dependencies = Dependencies,\n> {\n public readonly name: Name;\n public readonly dependencies: _Dependencies;\n constructor({\n name,\n dependencies = {} as _Dependencies,\n }: {\n name: Name;\n dependencies?: _Dependencies;\n }) {\n this.name = name;\n this.dependencies = dependencies;\n }\n}\n\nexport type Dependencies = { [key: string]: DependencyNode<any, any> };\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/dependencyNode.ts"],"names":["DependencyNode","name","dependencies"],"mappings":";;;;;;AASO,IAAeA,iBAAf,MAAeA;EATtB;;;
|
|
1
|
+
{"version":3,"sources":["../src/dependencyNode.ts"],"names":["DependencyNode","name","dependencies"],"mappings":";;;;;;AASO,IAAeA,iBAAf,MAAeA;EATtB;;;AAaoBC,EAAAA,IAAAA;AACAC,EAAAA,YAAAA;AAChB,EAAA,WAAA,CAAY,EACRD,IAAAA,EACAC,YAAAA,GAAe,IAAmB,EAInC;AACC,IAAA,IAAA,CAAKD,IAAAA,GAAOA,IAAAA;AACZ,IAAA,IAAA,CAAKC,YAAAA,GAAeA,YAAAA;AACxB,EAAA;AACJ","file":"XBOMFZB4.cjs","sourcesContent":["/**\n * Dependency nodes are abstract nodes in the dependency graph. They're used to build the graph,\n * but as an abstract class, lacks the required information to actually be resolved to anything.\n * If you want to implement a new dependency node, see ObjectDefinition or FactoryDefinition\n * @param name the name of this node. It should be unique across the entire graph.\n * @param dependencies a map of other nodes that this node depends on. These children will be resolved first.\n * The key of the dependencies map should be some arbitrary name within the context of *this* node. It does\n * not have to be unique.\n */\nexport abstract class DependencyNode<\n Name extends string = string,\n _Dependencies extends Dependencies = Dependencies,\n> {\n public readonly name: Name;\n public readonly dependencies: _Dependencies;\n constructor({\n name,\n dependencies = {} as _Dependencies,\n }: {\n name: Name;\n dependencies?: _Dependencies;\n }) {\n this.name = name;\n this.dependencies = dependencies;\n }\n}\n\nexport type Dependencies = { [key: string]: DependencyNode<any, any> };\n"]}
|
package/dist/dependencyNode.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var XBOMFZB4_cjs = require('./XBOMFZB4.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DependencyNode", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return XBOMFZB4_cjs.DependencyNode; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=dependencyNode.cjs.map
|
|
12
12
|
//# sourceMappingURL=dependencyNode.cjs.map
|
package/dist/dependencyNode.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* The key of the dependencies map should be some arbitrary name within the context of *this* node. It does
|
|
8
8
|
* not have to be unique.
|
|
9
9
|
*/
|
|
10
|
-
export declare abstract class DependencyNode<Name extends string, _Dependencies extends Dependencies> {
|
|
10
|
+
export declare abstract class DependencyNode<Name extends string = string, _Dependencies extends Dependencies = Dependencies> {
|
|
11
11
|
readonly name: Name;
|
|
12
12
|
readonly dependencies: _Dependencies;
|
|
13
13
|
constructor({ name, dependencies, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencyNode.d.ts","sourceRoot":"","sources":["../src/dependencyNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,8BAAsB,cAAc,
|
|
1
|
+
{"version":3,"file":"dependencyNode.d.ts","sourceRoot":"","sources":["../src/dependencyNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,8BAAsB,cAAc,CAChC,IAAI,SAAS,MAAM,GAAG,MAAM,EAC5B,aAAa,SAAS,YAAY,GAAG,YAAY;IAEjD,SAAgB,IAAI,EAAE,IAAI,CAAC;IAC3B,SAAgB,YAAY,EAAE,aAAa,CAAC;gBAChC,EACR,IAAI,EACJ,YAAkC,GACrC,EAAE;QACC,IAAI,EAAE,IAAI,CAAC;QACX,YAAY,CAAC,EAAE,aAAa,CAAC;KAChC;CAIJ;AAED,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;CAAE,CAAC"}
|
package/dist/dependencyNode.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var XBOMFZB4_cjs = require('./XBOMFZB4.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DependencyNode", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return XBOMFZB4_cjs.DependencyNode; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/dependency-graph",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"types": "./dist/index.d.ts",
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"tsup": "^8.4.0",
|
|
18
|
-
"@layerzerolabs/
|
|
19
|
-
"@layerzerolabs/typescript-
|
|
20
|
-
"@layerzerolabs/
|
|
18
|
+
"@layerzerolabs/tsup-configuration": "0.0.21",
|
|
19
|
+
"@layerzerolabs/typescript-configuration": "0.0.21",
|
|
20
|
+
"@layerzerolabs/typescript-utils": "0.0.21"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "restricted",
|
package/src/dependencyNode.ts
CHANGED
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
* The key of the dependencies map should be some arbitrary name within the context of *this* node. It does
|
|
8
8
|
* not have to be unique.
|
|
9
9
|
*/
|
|
10
|
-
export abstract class DependencyNode<
|
|
10
|
+
export abstract class DependencyNode<
|
|
11
|
+
Name extends string = string,
|
|
12
|
+
_Dependencies extends Dependencies = Dependencies,
|
|
13
|
+
> {
|
|
11
14
|
public readonly name: Name;
|
|
12
15
|
public readonly dependencies: _Dependencies;
|
|
13
16
|
constructor({
|