@layerzerolabs/context-node 0.2.68 → 0.2.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/context-node",
3
- "version": "0.2.68",
3
+ "version": "0.2.70",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,14 +13,17 @@
13
13
  "main": "./dist/index.cjs",
14
14
  "module": "./dist/index.js",
15
15
  "types": "./dist/index.d.ts",
16
+ "files": [
17
+ "dist/**/*"
18
+ ],
16
19
  "dependencies": {
17
20
  "zod": "4.3.5",
18
- "@layerzerolabs/base-definitions": "0.2.68"
21
+ "@layerzerolabs/base-definitions": "0.2.70"
19
22
  },
20
23
  "devDependencies": {
21
24
  "tsup": "^8.4.0",
22
- "@layerzerolabs/tsup-configuration": "0.2.68",
23
- "@layerzerolabs/typescript-configuration": "0.2.68"
25
+ "@layerzerolabs/typescript-configuration": "0.2.70",
26
+ "@layerzerolabs/tsup-configuration": "0.2.70"
24
27
  },
25
28
  "publishConfig": {
26
29
  "access": "public",
@@ -1,19 +0,0 @@
1
-  WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
2
-
3
- > @layerzerolabs/context-node@0.0.0 build /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/definitions/context-node
4
- > tsup
5
-
6
- CLI Building entry: src/index.ts
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.5.1
9
- CLI Using tsup config: /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/definitions/context-node/tsup.config.ts
10
- CLI Target: ES2023
11
- CLI Cleaning output folder
12
- CJS Build start
13
- ESM Build start
14
- ESM dist/index.js 490.00 B
15
- ESM dist/index.js.map 801.00 B
16
- ESM ⚡️ Build success in 190ms
17
- CJS dist/index.cjs 538.00 B
18
- CJS dist/index.cjs.map 804.00 B
19
- CJS ⚡️ Build success in 193ms
@@ -1,8 +0,0 @@
1
-
2
- > @layerzerolabs/context-node@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/framework/definitions/context-node
3
- > eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
4
-
5
- (node:67582) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1775777605148 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/src/index.ts DELETED
@@ -1,15 +0,0 @@
1
- import type { z } from 'zod';
2
-
3
- import { ObjectDefinition } from '@layerzerolabs/base-definitions';
4
-
5
- export class ContextDefinition<
6
- Name extends string,
7
- Schema extends z.ZodSchema,
8
- > extends ObjectDefinition<Name, Schema, {}> {
9
- public readonly type = 'ContextDefinition' as const;
10
- constructor({
11
- ...args
12
- }: Omit<ConstructorParameters<typeof ObjectDefinition<Name, Schema, {}>>[0], 'dependencies'>) {
13
- super(args);
14
- }
15
- }
package/tsconfig.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "extends": "@layerzerolabs/typescript-configuration/tsconfig.base.json",
3
- "compilerOptions": {
4
- "rootDir": "./src",
5
- "outDir": "./dist",
6
- "strictPropertyInitialization": false,
7
- "noUnusedLocals": false,
8
- "noUnusedParameters": false,
9
- "jsx": "react-jsx"
10
- },
11
- "exclude": [
12
- "node_modules",
13
- "**/__mocks__/*",
14
- "**/__tests__/*",
15
- "**/*.spec.ts",
16
- "**/*.test.ts",
17
- "dist"
18
- ],
19
- "include": ["src/**/*"]
20
- }
package/tsup.config.ts DELETED
@@ -1,8 +0,0 @@
1
- import { defineConfig } from 'tsup';
2
-
3
- import { createPackageTsupConfig } from '@layerzerolabs/tsup-configuration';
4
-
5
- export default defineConfig(({ watch }) => ({
6
- ...createPackageTsupConfig(),
7
- clean: !watch,
8
- }));