@layerzerolabs/context-node 0.2.6 → 0.2.8
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 +7 -7
- package/.turbo/turbo-lint.log +4 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -5
- package/src/index.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.
|
|
7
|
+
[34mCLI[39m tsup v8.5.1
|
|
8
8
|
[34mCLI[39m Using tsup config: /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/definitions/context-node/tsup.config.ts
|
|
9
9
|
[34mCLI[39m Target: ES2023
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[34mESM[39m Build start
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m538.00 B[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m807.00 B[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 170ms
|
|
16
|
+
[32mESM[39m [1mdist/index.js [22m[32m490.00 B[39m
|
|
17
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m804.00 B[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 170ms
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -2,3 +2,7 @@
|
|
|
2
2
|
> @layerzerolabs/context-node@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/definitions/context-node
|
|
3
3
|
> eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
|
|
4
4
|
|
|
5
|
+
(node:28445) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1766427679294 is not specified and it doesn't parse as CommonJS.
|
|
6
|
+
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
7
|
+
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
8
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
package/dist/index.cjs
CHANGED
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["ContextDefinition","ObjectDefinition","args"],"mappings":";;;;;;AAIO,IAAMA,iBAAAA,GAAN,cAGGC,gCAAAA,CAAAA;EALV;;;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["ContextDefinition","ObjectDefinition","type","args"],"mappings":";;;;;;AAIO,IAAMA,iBAAAA,GAAN,cAGGC,gCAAAA,CAAAA;EALV;;;EAMoBC,IAAAA,GAAO,mBAAA;EACvB,WAAA,CAAY,EACR,GAAGC,IAAAA,EAAAA,EACuF;AAC1F,IAAA,KAAA,CAAMA,IAAAA,CAAAA;AACV,EAAA;AACJ","file":"index.cjs","sourcesContent":["import type { z } from 'zod/v4';\n\nimport { ObjectDefinition } from '@layerzerolabs/base-definitions';\n\nexport class ContextDefinition<\n Name extends string,\n Schema extends z.ZodSchema,\n> extends ObjectDefinition<Name, Schema, {}> {\n public readonly type = 'ContextDefinition' as const;\n constructor({\n ...args\n }: Omit<ConstructorParameters<typeof ObjectDefinition<Name, Schema, {}>>[0], 'dependencies'>) {\n super(args);\n }\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { z } from 'zod/v4';
|
|
2
2
|
import { ObjectDefinition } from '@layerzerolabs/base-definitions';
|
|
3
3
|
export declare class ContextDefinition<Name extends string, Schema extends z.ZodSchema> extends ObjectDefinition<Name, Schema, {}> {
|
|
4
|
+
readonly type: "ContextDefinition";
|
|
4
5
|
constructor({ ...args }: Omit<ConstructorParameters<typeof ObjectDefinition<Name, Schema, {}>>[0], 'dependencies'>);
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,qBAAa,iBAAiB,CAC1B,IAAI,SAAS,MAAM,EACnB,MAAM,SAAS,CAAC,CAAC,SAAS,CAC5B,SAAQ,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,qBAAa,iBAAiB,CAC1B,IAAI,SAAS,MAAM,EACnB,MAAM,SAAS,CAAC,CAAC,SAAS,CAC5B,SAAQ,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;IACxC,SAAgB,IAAI,EAAG,mBAAmB,CAAU;gBACxC,EACR,GAAG,IAAI,EACV,EAAE,IAAI,CAAC,qBAAqB,CAAC,OAAO,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC;CAG/F"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["ContextDefinition","ObjectDefinition","args"],"mappings":";;;;AAIO,IAAMA,iBAAAA,GAAN,cAGGC,gBAAAA,CAAAA;EALV;;;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["ContextDefinition","ObjectDefinition","type","args"],"mappings":";;;;AAIO,IAAMA,iBAAAA,GAAN,cAGGC,gBAAAA,CAAAA;EALV;;;EAMoBC,IAAAA,GAAO,mBAAA;EACvB,WAAA,CAAY,EACR,GAAGC,IAAAA,EAAAA,EACuF;AAC1F,IAAA,KAAA,CAAMA,IAAAA,CAAAA;AACV,EAAA;AACJ","file":"index.js","sourcesContent":["import type { z } from 'zod/v4';\n\nimport { ObjectDefinition } from '@layerzerolabs/base-definitions';\n\nexport class ContextDefinition<\n Name extends string,\n Schema extends z.ZodSchema,\n> extends ObjectDefinition<Name, Schema, {}> {\n public readonly type = 'ContextDefinition' as const;\n constructor({\n ...args\n }: Omit<ConstructorParameters<typeof ObjectDefinition<Name, Schema, {}>>[0], 'dependencies'>) {\n super(args);\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/context-node",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"types": "./dist/index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"zod": "3.25.56",
|
|
18
|
-
"@layerzerolabs/base-definitions": "0.2.
|
|
18
|
+
"@layerzerolabs/base-definitions": "0.2.8"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"tsup": "^8.4.0",
|
|
22
|
-
"@layerzerolabs/tsup-configuration": "0.2.
|
|
23
|
-
"@layerzerolabs/typescript-configuration": "0.2.
|
|
22
|
+
"@layerzerolabs/tsup-configuration": "0.2.8",
|
|
23
|
+
"@layerzerolabs/typescript-configuration": "0.2.8"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "restricted",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsup",
|
|
31
|
-
"clean": "rm -rf ./node_modules .turbo ./dist",
|
|
32
31
|
"lint": "eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)"
|
|
33
32
|
}
|
|
34
33
|
}
|
package/src/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ export class ContextDefinition<
|
|
|
6
6
|
Name extends string,
|
|
7
7
|
Schema extends z.ZodSchema,
|
|
8
8
|
> extends ObjectDefinition<Name, Schema, {}> {
|
|
9
|
+
public readonly type = 'ContextDefinition' as const;
|
|
9
10
|
constructor({
|
|
10
11
|
...args
|
|
11
12
|
}: Omit<ConstructorParameters<typeof ObjectDefinition<Name, Schema, {}>>[0], 'dependencies'>) {
|