From a65f0da390762e5ab141c2ebb075d6aa3e919aa8 Mon Sep 17 00:00:00 2001 From: Arie Trouw Date: Thu, 29 Aug 2024 16:43:14 -0700 Subject: [PATCH] deploy 3.0.2 --- eslint.config.mjs | 41 ++++++++++-------------- package.json | 46 +++++++++++++-------------- packages/ethers-wrappers/package.json | 40 +++++++++++------------ packages/geo/package.json | 38 +++++++++++----------- packages/meta/package.json | 38 +++++++++++----------- 5 files changed, 97 insertions(+), 106 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 4ce1ec7..725c221 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,34 +1,25 @@ // eslint.config.mjs -import { config as xylabsConfig, rulesConfig } from '@xylabs/eslint-config-flat' +import { + typescriptConfig, + unicornConfig, + workspacesConfig, + rulesConfig, + importConfig, +} from '@xylabs/eslint-config-flat' export default [ - { ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**'] }, - ...xylabsConfig, + { ignores: + ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**', 'public', '.storybook', 'storybook-static', 'eslint.config.mjs'] }, + unicornConfig, + workspacesConfig, + rulesConfig, + importConfig, { + ...typescriptConfig, rules: { - 'no-restricted-imports': [ - 'warn', - { - paths: [ - ...rulesConfig.rules['no-restricted-imports'][1].paths, - '@types/node', - '@xyo-network/archivist', - '@xyo-network/bridge', - '@xyo-network/core', - '@xyo-network/diviner', - '@xyo-network/module', - '@xyo-network/modules', - '@xyo-network/node', - '@xyo-network/sdk', - '@xyo-network/plugins', - '@xyo-network/protocol', - '@xyo-network/sentinel', - '@xyo-network/witness', - '@xyo-network/core-payload-plugins', - ], - }, - ], + ...typescriptConfig.rules, + '@typescript-eslint/consistent-type-imports': ['warn'], }, }, ] diff --git a/package.json b/package.json index 57e21a4..0c47395 100644 --- a/package.json +++ b/package.json @@ -1,31 +1,30 @@ { "name": "@xyo-network/sdk-xyo-js", - "version": "3.0.1", + "version": "3.0.2", + "description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", + "keywords": [ + "xyo", + "utility", + "typescript", + "esm" + ], "homepage": "https://xyo.network", "bugs": { "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-js/issues", "email": "support@xyo.network" }, - "description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", - "author": { - "name": "XYO Development Team", - "url": "https://xyo.network", - "email": "support@xyo.network" - }, "repository": { "type": "git", "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-js.git" }, - "publishConfig": { - "access": "public" + "license": "LGPL-3.0-only", + "author": { + "name": "XYO Development Team", + "email": "support@xyo.network", + "url": "https://xyo.network" }, - "keywords": [ - "xyo", - "utility", - "typescript", - "esm" - ], - "docs": "dist/docs.json", + "sideEffects": false, + "type": "module", "exports": { ".": { "types": "./dist/neutral/index.d.ts", @@ -35,11 +34,13 @@ }, "module": "dist/neutral/index.mjs", "types": "dist/neutral/index.d.ts", - "license": "LGPL-3.0-only", - "packageManager": "yarn@4.4.1", "workspaces": [ "packages/*" ], + "scripts": { + "build-typedoc-site": "xy gen-docs @xyo-network/sdk-xyo-js", + "test": "yarn jest" + }, "dependencies": { "@xyo-network/ethers-wrappers": "workspace:^", "@xyo-network/sdk-geo": "workspace:^" @@ -64,10 +65,9 @@ "typescript": "^5.5.4", "vitest": "^2.0.5" }, - "scripts": { - "test": "yarn jest", - "build-typedoc-site": "xy gen-docs @xyo-network/sdk-xyo-js" + "packageManager": "yarn@4.4.1", + "publishConfig": { + "access": "public" }, - "sideEffects": false, - "type": "module" + "docs": "dist/docs.json" } diff --git a/packages/ethers-wrappers/package.json b/packages/ethers-wrappers/package.json index 6f181ab..ab3115f 100644 --- a/packages/ethers-wrappers/package.json +++ b/packages/ethers-wrappers/package.json @@ -1,32 +1,31 @@ { "name": "@xyo-network/ethers-wrappers", - "version": "3.0.1", + "version": "3.0.2", + "description": "Ethers wrappers for basic contracts", + "keywords": [ + "xyo", + "utility", + "ethers", + "typescript", + "esm" + ], "homepage": "https://xyo.network", "bugs": { "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-js/issues", "email": "support@xyo.network" }, - "description": "Ethers wrappers for basic contracts", - "author": { - "name": "XYO Development Team", - "url": "https://xyo.network", - "email": "support@xyo.network" - }, "repository": { "type": "git", "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-js.git" }, - "publishConfig": { - "access": "public" + "license": "LGPL-3.0-only", + "author": { + "name": "XYO Development Team", + "email": "support@xyo.network", + "url": "https://xyo.network" }, - "keywords": [ - "xyo", - "utility", - "ethers", - "typescript", - "esm" - ], - "docs": "dist/docs.json", + "sideEffects": false, + "type": "module", "exports": { ".": { "types": "./dist/neutral/index.d.ts", @@ -36,7 +35,6 @@ }, "module": "dist/neutral/index.mjs", "types": "dist/neutral/index.d.ts", - "license": "LGPL-3.0-only", "dependencies": { "@xylabs/assert": "^4.0.9", "@xylabs/eth-address": "^4.0.9", @@ -49,7 +47,9 @@ "ethers": "^6.13.2", "typescript": "^5.5.4" }, - "sideEffects": false, "packageManager": "yarn@3.2.0", - "type": "module" + "publishConfig": { + "access": "public" + }, + "docs": "dist/docs.json" } diff --git a/packages/geo/package.json b/packages/geo/package.json index d939a6f..4849a69 100644 --- a/packages/geo/package.json +++ b/packages/geo/package.json @@ -1,31 +1,30 @@ { "name": "@xyo-network/sdk-geo", - "version": "3.0.1", + "version": "3.0.2", + "description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", + "keywords": [ + "xyo", + "utility", + "typescript", + "esm" + ], "homepage": "https://xyo.network", "bugs": { "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-js/issues", "email": "support@xyo.network" }, - "description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", - "author": { - "name": "XYO Development Team", - "url": "https://xyo.network", - "email": "support@xyo.network" - }, "repository": { "type": "git", "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-js.git" }, - "publishConfig": { - "access": "public" + "license": "LGPL-3.0-only", + "author": { + "name": "XYO Development Team", + "email": "support@xyo.network", + "url": "https://xyo.network" }, - "keywords": [ - "xyo", - "utility", - "typescript", - "esm" - ], - "docs": "dist/docs.json", + "sideEffects": false, + "type": "module", "exports": { ".": { "types": "./dist/neutral/index.d.ts", @@ -35,7 +34,6 @@ }, "module": "dist/neutral/index.mjs", "types": "dist/neutral/index.d.ts", - "license": "LGPL-3.0-only", "dependencies": { "geojson": "^0.5.0", "mapbox-gl": "^3.6.0" @@ -45,7 +43,9 @@ "@xylabs/tsconfig": "^4.0.7", "typescript": "^5.5.4" }, - "sideEffects": false, "packageManager": "yarn@3.2.0", - "type": "module" + "publishConfig": { + "access": "public" + }, + "docs": "dist/docs.json" } diff --git a/packages/meta/package.json b/packages/meta/package.json index 289467f..bdc942d 100644 --- a/packages/meta/package.json +++ b/packages/meta/package.json @@ -1,31 +1,30 @@ { "name": "@xyo-network/sdk-meta", - "version": "3.0.1", + "version": "3.0.2", + "description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", + "keywords": [ + "xyo", + "utility", + "typescript", + "esm" + ], "homepage": "https://xyo.network", "bugs": { "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-js/issues", "email": "support@xyo.network" }, - "description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", - "author": { - "name": "XYO Development Team", - "url": "https://xyo.network", - "email": "support@xyo.network" - }, "repository": { "type": "git", "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-js.git" }, - "publishConfig": { - "access": "public" + "license": "LGPL-3.0-only", + "author": { + "name": "XYO Development Team", + "email": "support@xyo.network", + "url": "https://xyo.network" }, - "keywords": [ - "xyo", - "utility", - "typescript", - "esm" - ], - "docs": "dist/docs.json", + "sideEffects": false, + "type": "module", "exports": { ".": { "types": "./dist/neutral/index.d.ts", @@ -35,7 +34,6 @@ }, "module": "dist/neutral/index.mjs", "types": "dist/neutral/index.d.ts", - "license": "LGPL-3.0-only", "dependencies": { "cheerio": "^1.0.0" }, @@ -45,7 +43,9 @@ "jest-serializer-html": "^7.1.0", "typescript": "^5.5.4" }, - "sideEffects": false, "packageManager": "yarn@3.2.0", - "type": "module" + "publishConfig": { + "access": "public" + }, + "docs": "dist/docs.json" }