Skip to content

Commit

Permalink
deploy 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Aug 30, 2024
1 parent 66e8316 commit 4c7c8fa
Show file tree
Hide file tree
Showing 15 changed files with 3,412 additions and 1,297 deletions.
26 changes: 22 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
// 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/**', '**/src/**', '**/types.d.ts'],
ignores: ['truffle-config.cjs', '.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**', 'public', '.storybook', 'storybook-static', 'eslint.config.mjs', '**/docs/**/*.js'],
},
...xylabsConfig,
unicornConfig,
workspacesConfig,
rulesConfig,
{
rules: {},
...typescriptConfig,
rules: {
...typescriptConfig.rules,
'@typescript-eslint/consistent-type-imports': ['warn']
},
},
{
...importConfig,
rules: {
...importConfig.rules,
'import-x/no-cycle': ['warn', { maxDepth: 5 }]
}
}
]
99 changes: 49 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,84 +1,83 @@
{
"name": "@xyo-network/sdk-xyo-typechain",
"dependencies": {
"@xyo-network/open-zeppelin-typechain": "workspace:^",
"@xyo-network/typechain": "workspace:^",
"@xyo-network/uniswap-typechain": "workspace:^",
"@xyo-network/world-typechain": "workspace:^"
},
"author": {
"email": "[email protected]",
"name": "XYO Development Team",
"url": "https://xyo.network"
},
"version": "3.2.0",
"bugs": {
"email": "[email protected]",
"url": "https://github.com/XYOracleNetwork/sdk-xyo-typechain/issues"
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-typechain/issues",
"email": "support@xyo.network"
},
"repository": {
"type": "git",
"url": "https://github.com/XYOracleNetwork/sdk-xyo-typechain.git"
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-typechain.git"
},
"license": "LGPL-3.0-or-later",
"workspaces": [
"packages/**/*"
],
"devDependencies": {
"@stylistic/eslint-plugin": "^2.6.1",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@xylabs/eslint-config": "3.15.13",
"@xylabs/eslint-config-flat": "^3.15.13",
"@xylabs/ts-scripts-yarn3": "^3.15.13",
"@xylabs/tsconfig": "^3.15.13",
"eslint": "^9.8.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^1.0.4",
"eslint-plugin-workspaces": "^0.10.1",
"jest": "^29.7.0",
"solc": "0.8.26",
"typescript": "^5.5.4"
"author": {
"name": "XYO Development Team",
"email": "[email protected]",
"url": "https://xyo.network"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"node": {
"import": "./dist/node/index.mjs",
"require": "./dist/node/index.cjs"
"types": "./dist/node/index.d.ts",
"import": "./dist/node/index.mjs"
},
"browser": {
"import": "./dist/browser/index.mjs",
"require": "./dist/browser/index.cjs"
"types": "./dist/browser/index.d.ts",
"import": "./dist/browser/index.mjs"
}
},
"./package.json": "./package.json"
},
"main": "dist/node/index.cjs",
"module": "dist/node/index.mjs",
"types": "dist/node/index.d.ts",
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"workspaces": [
"packages/**/*"
],
"scripts": {
"build": "yarn xy clean && yarn compile",
"compile": "yarn workspaces foreach --all --topological-dev run package-compile",
"deploy": "yarn deploy-patch",
"deploy-common": "yarn build && yarn version apply --all && yarn workspaces foreach -pAtv npm publish",
"deploy-major": "yarn workspaces foreach --all version major --deferred && yarn deploy-common",
"deploy-minor": "yarn workspaces foreach --all version minor --deferred && yarn deploy-common",
"deploy-patch": "yarn workspaces foreach --all version patch --deferred && yarn deploy-common",
"deploy-common": "yarn build && yarn version apply --all && yarn workspaces foreach -pAtv npm publish",
"deploy-next": "yarn workspaces foreach --all version minor --deferred && yarn build && yarn version apply --all --prerelease && yarn workspaces foreach -ptv npm publish --tag next",
"deploy-next-major": "yarn workspaces foreach --all version major --deferred && yarn build && yarn version apply --all --prerelease && yarn workspaces foreach -ptv npm publish --tag next",
"deploy-next": "yarn workspaces foreach --all version minor --deferred && yarn build && yarn version apply --all --prerelease && yarn workspaces foreach -ptv npm publish --tag next"
"deploy-patch": "yarn workspaces foreach --all version patch --deferred && yarn deploy-common"
},
"dependencies": {
"@xyo-network/open-zeppelin-typechain": "workspace:^",
"@xyo-network/typechain": "workspace:^",
"@xyo-network/uniswap-typechain": "workspace:^",
"@xyo-network/world-typechain": "workspace:^"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^2.7.1",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@xylabs/eslint-config": "3.15.16",
"@xylabs/eslint-config-flat": "^4.0.7",
"@xylabs/ts-scripts-yarn3": "^4.0.7",
"@xylabs/tsconfig": "^4.0.7",
"eslint": "^9.9.1",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^2.0.1",
"eslint-plugin-workspaces": "^0.10.1",
"jest": "^29.7.0",
"solc": "0.8.26",
"typescript": "^5.5.4"
},
"version": "3.1.0",
"packageManager": "[email protected]",
"volta": {
"node": "20.9.0",
"yarn": "4.0.2"
},
"type": "module"
"publishConfig": {
"access": "public"
}
}
76 changes: 38 additions & 38 deletions packages/open-zeppelin-typechain/package.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"name": "@xyo-network/open-zeppelin-typechain",
"dependencies": {
"ethers": "^6.13.2"
},
"author": {
"email": "[email protected]",
"name": "XYO Development Team",
"url": "https://xyo.network"
},
"version": "3.2.0",
"bugs": {
"email": "[email protected]",
"url": "https://github.com/XYOracleNetwork/sdk-xyo-typechain/issues"
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-typechain/issues",
"email": "support@xyo.network"
},
"repository": {
"type": "git",
"url": "https://github.com/XYOracleNetwork/sdk-xyo-typechain.git"
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-typechain.git"
},
"workspaces": [
"packages/**/*"
],
"devDependencies": {
"@typechain/ethers-v6": "^0.5.1",
"@xylabs/ts-scripts-yarn3": "^3.15.13",
"ethers": "^6.13.2",
"rimraf": "^5.0.10",
"typechain": "^8.3.2",
"typescript": "^5.5.4"
"license": "LGPL-3.0-only",
"author": {
"name": "XYO Development Team",
"email": "[email protected]",
"url": "https://xyo.network"
},
"docs": "dist/docs.json",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"node": {
"import": "./dist/node/index.mjs",
"require": "./dist/node/index.cjs"
"types": "./dist/node/index.d.ts",
"import": "./dist/node/index.mjs"
},
"browser": {
"import": "./dist/browser/index.mjs",
"require": "./dist/browser/index.cjs"
"types": "./dist/browser/index.d.ts",
"import": "./dist/browser/index.mjs"
}
},
"./package.json": "./package.json"
},
"main": "dist/node/index.cjs",
"module": "dist/node/index.mjs",
"types": "./dist/browser/index.d.ts",
"publishConfig": {
"access": "public"
},
"license": "LGPL-3.0-only",
"types": "./dist/node/index.d.ts",
"workspaces": [
"packages/**/*"
],
"scripts": {
"generate:sdk": "typechain --node16-modules --out-dir=./src --target=ethers-v6 ../../node_modules/@openzeppelin/contracts/build/contracts/**/*.json",
"lint-pkg": "npmPkgJsonLint .",
"package-build": "yarn generate:sdk && yarn package-compile-only",
"package-clean": "rimraf dist && rimraf src",
"package-compile": "yarn generate:sdk && yarn package-compile-only",
"package-recompile": "yarn package-clean && yarn package-compile",
"generate:sdk": "typechain --node16-modules --out-dir=./src --target=ethers-v6 ../../node_modules/@openzeppelin/contracts/build/contracts/**/*.json",
"lint-pkg": "npmPkgJsonLint ."
"package-recompile": "yarn package-clean && yarn package-compile"
},
"sideEffects": false,
"version": "3.1.0",
"type": "module"
"dependencies": {
"ethers": "^6.13.2"
},
"devDependencies": {
"@typechain/ethers-v6": "^0.5.1",
"@xylabs/ts-scripts-yarn3": "^4.0.7",
"ethers": "^6.13.2",
"rimraf": "^5.0.10",
"typechain": "^8.3.2",
"typescript": "^5.5.4"
},
"publishConfig": {
"access": "public"
},
"docs": "dist/docs.json"
}
5 changes: 2 additions & 3 deletions packages/open-zeppelin-typechain/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/* eslint-disable import/no-internal-modules */
export type * from './dist/node'
export * from './dist/node/common'
/* eslint-disable import-x/no-internal-modules */
export type * from './dist/node/index.d.ts'
10 changes: 10 additions & 0 deletions packages/open-zeppelin-typechain/xy.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
const config: XyTsupConfig = {
compile: {
browser: { src: true },
neutral: { },
node: { src: true },
},
}

export default config
43 changes: 22 additions & 21 deletions packages/solidity/package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
{
"name": "@xyo-network/solidity",
"dependencies": {
"@openzeppelin/contracts": "^5.0.2"
},
"author": {
"email": "[email protected]",
"name": "XYO Development Team",
"url": "https://xyo.network"
},
"version": "3.2.0",
"bugs": {
"email": "[email protected]",
"url": "https://github.com/XYOracleNetwork/sdk-xyo-typechain/issues"
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-typechain/issues",
"email": "support@xyo.network"
},
"repository": {
"type": "git",
"url": "https://github.com/XYOracleNetwork/sdk-xyo-typechain.git"
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-typechain.git"
},
"license": "LGPL-3.0-only",
"author": {
"name": "XYO Development Team",
"email": "[email protected]",
"url": "https://xyo.network"
},
"sideEffects": false,
"workspaces": [
"packages/**/*"
],
"scripts": {
"package-build": "truffle compile --config truffle-config.cjs",
"package-clean": "rimraf build",
"package-compile": "truffle compile --config truffle-config.cjs",
"package-recompile": "yarn package-clean && yarn package-compile"
},
"dependencies": {
"@openzeppelin/contracts": "^5.0.2"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.15.13",
"@xylabs/ts-scripts-yarn3": "^4.0.7",
"rimraf": "^5.0.10",
"truffle": "^5.11.5"
},
"publishConfig": {
"access": "public"
},
"license": "LGPL-3.0-only",
"scripts": {
"package-clean": "rimraf build",
"package-compile": "truffle compile --config truffle-config.cjs",
"package-recompile": "yarn package-clean && yarn package-compile"
},
"sideEffects": false,
"version": "3.1.0"
}
}
Loading

0 comments on commit 4c7c8fa

Please sign in to comment.