-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
97 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'], | ||
}, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": "[email protected]" | ||
}, | ||
"description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", | ||
"author": { | ||
"name": "XYO Development Team", | ||
"url": "https://xyo.network", | ||
"email": "[email protected]" | ||
}, | ||
"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": "[email protected]", | ||
"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": "[email protected]", | ||
"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": "[email protected]", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false, | ||
"type": "module" | ||
"docs": "dist/docs.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": "[email protected]" | ||
}, | ||
"description": "Ethers wrappers for basic contracts", | ||
"author": { | ||
"name": "XYO Development Team", | ||
"url": "https://xyo.network", | ||
"email": "[email protected]" | ||
}, | ||
"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": "[email protected]", | ||
"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": "[email protected]", | ||
"type": "module" | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"docs": "dist/docs.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": "[email protected]" | ||
}, | ||
"description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", | ||
"author": { | ||
"name": "XYO Development Team", | ||
"url": "https://xyo.network", | ||
"email": "[email protected]" | ||
}, | ||
"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": "[email protected]", | ||
"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": "[email protected]", | ||
"type": "module" | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"docs": "dist/docs.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": "[email protected]" | ||
}, | ||
"description": "Base functionality used throughout XYO TypeScript/JavaScript libraries", | ||
"author": { | ||
"name": "XYO Development Team", | ||
"url": "https://xyo.network", | ||
"email": "[email protected]" | ||
}, | ||
"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": "[email protected]", | ||
"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": "[email protected]", | ||
"type": "module" | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"docs": "dist/docs.json" | ||
} |