From 6c833658acaa0d1203eeba0e9ae4f182e615a458 Mon Sep 17 00:00:00 2001 From: Ian Macalinao Date: Wed, 29 Jun 2022 21:39:42 -0400 Subject: [PATCH] build: extract build common (#639) * Extract saber-build-common into separate repo * simplify docs * build tools update --- README.md | 21 +- package.json | 6 +- packages/anchor-contrib/package.json | 2 +- packages/browserslist-config/CHANGELOG.md | 89 -- packages/browserslist-config/LICENSE | 201 ---- packages/browserslist-config/README.md | 25 - packages/browserslist-config/index.js | 7 - packages/browserslist-config/package.json | 24 - packages/chai-solana/package.json | 2 +- packages/eslint-config-react/CHANGELOG.md | 887 ------------------ packages/eslint-config-react/LICENSE | 201 ---- packages/eslint-config-react/README.md | 28 - packages/eslint-config-react/package.json | 43 - .../src/eslint-config-react.cts | 20 - packages/eslint-config-react/tsconfig.json | 10 - packages/eslint-config/CHANGELOG.md | 887 ------------------ packages/eslint-config/LICENSE | 201 ---- packages/eslint-config/README.md | 28 - packages/eslint-config/package.json | 47 - packages/eslint-config/src/eslint-config.cts | 55 -- packages/eslint-config/tsconfig.json | 10 - packages/option-utils/package.json | 2 +- packages/solana-contrib/package.json | 2 +- packages/stableswap-sdk/package.json | 2 +- packages/token-utils/package.json | 2 +- packages/tsconfig/CHANGELOG.md | 829 ---------------- packages/tsconfig/LICENSE | 201 ---- packages/tsconfig/README.md | 68 -- packages/tsconfig/package.json | 22 - packages/tsconfig/tsconfig.cjs.json | 9 - packages/tsconfig/tsconfig.lib.json | 36 - packages/tsconfig/tsconfig.module.json | 8 - packages/tsconfig/tsconfig.module.react.json | 8 - packages/tsconfig/tsconfig.mono.json | 8 - packages/tsconfig/tsconfig.react.json | 10 - packages/tuple-utils/package.json | 2 +- packages/use-solana/package.json | 2 +- packages/wallet-adapter-icons/package.json | 2 +- tsconfig.json | 2 - yarn.lock | 75 +- 40 files changed, 52 insertions(+), 4032 deletions(-) delete mode 100644 packages/browserslist-config/CHANGELOG.md delete mode 100644 packages/browserslist-config/LICENSE delete mode 100644 packages/browserslist-config/README.md delete mode 100644 packages/browserslist-config/index.js delete mode 100644 packages/browserslist-config/package.json delete mode 100644 packages/eslint-config-react/CHANGELOG.md delete mode 100644 packages/eslint-config-react/LICENSE delete mode 100644 packages/eslint-config-react/README.md delete mode 100644 packages/eslint-config-react/package.json delete mode 100644 packages/eslint-config-react/src/eslint-config-react.cts delete mode 100644 packages/eslint-config-react/tsconfig.json delete mode 100644 packages/eslint-config/CHANGELOG.md delete mode 100644 packages/eslint-config/LICENSE delete mode 100644 packages/eslint-config/README.md delete mode 100644 packages/eslint-config/package.json delete mode 100644 packages/eslint-config/src/eslint-config.cts delete mode 100644 packages/eslint-config/tsconfig.json delete mode 100644 packages/tsconfig/CHANGELOG.md delete mode 100644 packages/tsconfig/LICENSE delete mode 100644 packages/tsconfig/README.md delete mode 100644 packages/tsconfig/package.json delete mode 100644 packages/tsconfig/tsconfig.cjs.json delete mode 100644 packages/tsconfig/tsconfig.lib.json delete mode 100644 packages/tsconfig/tsconfig.module.json delete mode 100644 packages/tsconfig/tsconfig.module.react.json delete mode 100644 packages/tsconfig/tsconfig.mono.json delete mode 100644 packages/tsconfig/tsconfig.react.json diff --git a/README.md b/README.md index a3fa9ae23..d78487ef6 100644 --- a/README.md +++ b/README.md @@ -16,18 +16,15 @@ Automatically generated TypeScript documentation can be found [on GitHub pages]( ## Packages -| Package | Description | Version | -| :----------------------------- | :------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------- | -| `@saberhq/anchor-contrib` | TypeScript client for Anchor programs | [![npm](https://img.shields.io/npm/v/@saberhq/anchor-contrib.svg)](https://www.npmjs.com/package/@saberhq/anchor-contrib) | -| `@saberhq/browserslist-config` | Saber shareable config for Browserslist. | [![npm](https://img.shields.io/npm/v/@saberhq/browserslist-config.svg)](https://www.npmjs.com/package/@saberhq/browserslist-config) | -| `@saberhq/chai-solana` | Chai test helpers | [![npm](https://img.shields.io/npm/v/@saberhq/chai-solana.svg)](https://www.npmjs.com/package/@saberhq/chai-solana) | -| `@saberhq/eslint-config` | ESLint config for TypeScript projects | [![npm](https://img.shields.io/npm/v/@saberhq/eslint-config.svg)](https://www.npmjs.com/package/@saberhq/eslint-config) | -| `@saberhq/eslint-config-react` | ESLint config for React projects | [![npm](https://img.shields.io/npm/v/@saberhq/eslint-config-react.svg)](https://www.npmjs.com/package/@saberhq/eslint-config-react) | -| `@saberhq/solana-contrib` | Solana TypeScript utilities | [![npm](https://img.shields.io/npm/v/@saberhq/solana-contrib.svg)](https://www.npmjs.com/package/@saberhq/solana-contrib) | -| `@saberhq/stableswap-sdk` | StableSwap SDK | [![npm](https://img.shields.io/npm/v/@saberhq/stableswap-sdk.svg)](https://www.npmjs.com/package/@saberhq/stableswap-sdk) | -| `@saberhq/token-utils` | SPL Token arithmetic and types | [![npm](https://img.shields.io/npm/v/@saberhq/token-utils.svg)](https://www.npmjs.com/package/@saberhq/token-utils) | -| `@saberhq/tsconfig` | Saber recommended TypeScript configurations | [![npm](https://img.shields.io/npm/v/@saberhq/tsconfig.svg)](https://www.npmjs.com/package/@saberhq/tsconfig) | -| `@saberhq/use-solana` | Solana React library | [![npm](https://img.shields.io/npm/v/@saberhq/use-solana.svg)](https://www.npmjs.com/package/@saberhq/use-solana) | +| Package | Description | Version | +| :----------------------------- | :--------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------- | +| `@saberhq/anchor-contrib` | TypeScript client for Anchor programs | [![npm](https://img.shields.io/npm/v/@saberhq/anchor-contrib.svg)](https://www.npmjs.com/package/@saberhq/anchor-contrib) | +| `@saberhq/browserslist-config` | Saber shareable config for Browserslist. | [![npm](https://img.shields.io/npm/v/@saberhq/browserslist-config.svg)](https://www.npmjs.com/package/@saberhq/browserslist-config) | +| `@saberhq/chai-solana` | Chai test helpers | [![npm](https://img.shields.io/npm/v/@saberhq/chai-solana.svg)](https://www.npmjs.com/package/@saberhq/chai-solana) | +| `@saberhq/solana-contrib` | Solana TypeScript utilities | [![npm](https://img.shields.io/npm/v/@saberhq/solana-contrib.svg)](https://www.npmjs.com/package/@saberhq/solana-contrib) | +| `@saberhq/stableswap-sdk` | StableSwap SDK | [![npm](https://img.shields.io/npm/v/@saberhq/stableswap-sdk.svg)](https://www.npmjs.com/package/@saberhq/stableswap-sdk) | +| `@saberhq/token-utils` | SPL Token arithmetic and types | [![npm](https://img.shields.io/npm/v/@saberhq/token-utils.svg)](https://www.npmjs.com/package/@saberhq/token-utils) | +| `@saberhq/use-solana` | Solana React library | [![npm](https://img.shields.io/npm/v/@saberhq/use-solana.svg)](https://www.npmjs.com/package/@saberhq/use-solana) | ## Release diff --git a/package.json b/package.json index 72d7a7f5b..fcded8691 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,9 @@ "@jest/types": "^28.1.1", "@project-serum/anchor": "^0.25.0-beta.1", "@rushstack/eslint-patch": "^1.1.4", - "@saberhq/eslint-config": "workspace:*", - "@saberhq/eslint-config-react": "workspace:*", - "@saberhq/tsconfig": "workspace:*", + "@saberhq/eslint-config": "^1.13.32", + "@saberhq/eslint-config-react": "^1.13.32", + "@saberhq/tsconfig": "^1.13.32", "@saberhq/use-solana": "workspace:*", "@size-limit/file": "^7.0.8", "@size-limit/webpack": "^7.0.8", diff --git a/packages/anchor-contrib/package.json b/packages/anchor-contrib/package.json index b38180562..f9e4882a5 100644 --- a/packages/anchor-contrib/package.json +++ b/packages/anchor-contrib/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@project-serum/anchor": "^0.25.0-beta.1", - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "@solana/web3.js": "^1.46.0", "@types/lodash.camelcase": "^4.3.7", "@types/lodash.mapvalues": "^4.6.7", diff --git a/packages/browserslist-config/CHANGELOG.md b/packages/browserslist-config/CHANGELOG.md deleted file mode 100644 index ee6e0afda..000000000 --- a/packages/browserslist-config/CHANGELOG.md +++ /dev/null @@ -1,89 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## 1.13.10 (2022-05-20) - -**Note:** Version bump only for package @saberhq/browserslist-config - - - - - -## 1.13.9 (2022-05-20) - - -### Features - -* implement tx spammer ([d776427](https://github.com/saber-hq/saber-common/commit/d776427980403b851343bf5770e6d756352bc739)) - - - - - -## 1.13.8 (2022-05-20) - -**Note:** Version bump only for package @saberhq/browserslist-config - - - - - -## 1.13.7 (2022-05-19) - - -### Features - -* **solana-contrib:** default to websocket-based confirmation rather than polling ([04f0b59](https://github.com/saber-hq/saber-common/commit/04f0b59d0cc5174927037e377575c900deb5e36f)) - - - - - -## 1.13.6 (2022-05-13) - -**Note:** Version bump only for package @saberhq/browserslist-config - - - - - -## 1.13.5 (2022-05-13) - -**Note:** Version bump only for package @saberhq/browserslist-config - - - - - -## 1.13.4 (2022-05-13) - -**Note:** Version bump only for package @saberhq/browserslist-config - - - - - -## 1.13.3 (2022-05-13) - -**Note:** Version bump only for package @saberhq/browserslist-config - - - - - -## 1.13.2 (2022-05-12) - - -### Features - -* add support for Exodus wallet ([#579](https://github.com/saber-hq/saber-common/issues/579)) ([2f9273d](https://github.com/saber-hq/saber-common/commit/2f9273d038266cfcbad199b329dda9db1c33fb70)) - - - - - -## 1.13.1 (2022-05-05) - -**Note:** Version bump only for package @saberhq/browserslist-config diff --git a/packages/browserslist-config/LICENSE b/packages/browserslist-config/LICENSE deleted file mode 100644 index 5a813ed06..000000000 --- a/packages/browserslist-config/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2021 Aurman Sachs, Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/packages/browserslist-config/README.md b/packages/browserslist-config/README.md deleted file mode 100644 index 967280054..000000000 --- a/packages/browserslist-config/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# `@saberhq/browserslist-config` - -Saber shareable config for [Browserslist](https://www.npmjs.com/package/browserslist). - -## Usage - -Add this to your `package.json` file: - -``` -"browserslist": [ - "extends @saberhq/browserslist-config" -] -``` - -Alternatively, add this to your `.browserslistrc` file: - -``` -extends @saberhq/browserslist-config -``` - -This package when imported returns an array of supported browsers, for more configuration examples including Autoprefixer, Babel, ESLint, PostCSS, and stylelint see the Browserslist examples repo. - -## License - -Saber Common is licensed under the Apache License, Version 2.0. diff --git a/packages/browserslist-config/index.js b/packages/browserslist-config/index.js deleted file mode 100644 index be3428548..000000000 --- a/packages/browserslist-config/index.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = [ - "last 2 major versions and >0.2%", - "Firefox ESR", - "not dead", - "not ie 11", - "not op_mini all", -]; diff --git a/packages/browserslist-config/package.json b/packages/browserslist-config/package.json deleted file mode 100644 index 561885c20..000000000 --- a/packages/browserslist-config/package.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "@saberhq/browserslist-config", - "version": "1.13.30", - "description": "Saber shareable config for Browserslist.", - "homepage": "https://github.com/saber-hq/saber-common/tree/master/packages/browserslist-config#readme", - "repository": "git+https://github.com/saber-hq/saber-common.git", - "bugs": "https://github.com/saber-hq/saber-common/issues", - "funding": "https://www.coingecko.com/en/coins/saber", - "author": "Saber Team ", - "license": "Apache-2.0", - "keywords": [ - "saber", - "browserslist", - "react", - "solana" - ], - "main": "index.js", - "files": [ - "index.js" - ], - "publishConfig": { - "access": "public" - } -} diff --git a/packages/chai-solana/package.json b/packages/chai-solana/package.json index 8ffbc605c..fed9b1014 100644 --- a/packages/chai-solana/package.json +++ b/packages/chai-solana/package.json @@ -49,7 +49,7 @@ }, "devDependencies": { "@project-serum/anchor": "^0.25.0-beta.1", - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "@solana/web3.js": "^1.46.0", "bn.js": "^5.2.1", "jsbi": "^4.3.0", diff --git a/packages/eslint-config-react/CHANGELOG.md b/packages/eslint-config-react/CHANGELOG.md deleted file mode 100644 index c368c6b4b..000000000 --- a/packages/eslint-config-react/CHANGELOG.md +++ /dev/null @@ -1,887 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## 1.13.10 (2022-05-20) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.13.9 (2022-05-20) - - -### Features - -* implement tx spammer ([d776427](https://github.com/saber-hq/saber-common/commit/d776427980403b851343bf5770e6d756352bc739)) - - - - - -## 1.13.8 (2022-05-20) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.13.7 (2022-05-19) - - -### Features - -* **solana-contrib:** default to websocket-based confirmation rather than polling ([04f0b59](https://github.com/saber-hq/saber-common/commit/04f0b59d0cc5174927037e377575c900deb5e36f)) - - - - - -## 1.13.6 (2022-05-13) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.13.5 (2022-05-13) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.13.4 (2022-05-13) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.13.3 (2022-05-13) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.13.2 (2022-05-12) - - -### Features - -* add support for Exodus wallet ([#579](https://github.com/saber-hq/saber-common/issues/579)) ([2f9273d](https://github.com/saber-hq/saber-common/commit/2f9273d038266cfcbad199b329dda9db1c33fb70)) - - - - - -## 1.13.1 (2022-05-05) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -# 1.13.0 (2022-05-02) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.72 (2022-05-01) - - -### Features - -* add ProgramAccount type to solana-contrib ([1bd35ea](https://github.com/saber-hq/saber-common/commit/1bd35eaf6e3ca43f90ba4847bd96fe23b0fdb792)) - - - - - -## 1.12.71 (2022-04-29) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.70 (2022-04-29) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.69 (2022-04-28) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.68 (2022-04-28) - - -### Bug Fixes - -* add PACKET_DATA_SIZE since it was removed from @solana/web3.js ([b67425d](https://github.com/saber-hq/saber-common/commit/b67425d662e853e89867cfb9cbdaf6ae63f36eef)) - - - - - -## 1.12.67 (2022-04-25) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.66 (2022-04-23) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.65 (2022-04-22) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.64 (2022-04-20) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.63 (2022-04-20) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.62 (2022-04-18) - - -### Bug Fixes - -* assign Anchor namespace to a variable to fix ESM import ([c732aa4](https://github.com/saber-hq/saber-common/commit/c732aa493bf67f139596ce0c246e38529f970a69)) - - - - - -## 1.12.61 (2022-04-15) - - -### Features - -* support Anchor 0.24 ([002c1de](https://github.com/saber-hq/saber-common/commit/002c1de5f2e3f6846e1530b116963987c4143bf2)) - - - - - -## 1.12.60 (2022-04-14) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.59 (2022-04-10) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.58 (2022-03-30) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.57 (2022-03-29) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.56 (2022-03-22) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.55 (2022-03-20) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.54 (2022-03-19) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.53 (2022-03-15) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.52 (2022-03-13) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.51 (2022-03-12) - - -### Features - -* **anchor-contrib:** adds method for fetching all accountTypeDefs of an IDL ([d79d2a4](https://github.com/saber-hq/saber-common/commit/d79d2a415d48cc4520438b176352d0b449497150)) - - - - - -## 1.12.50 (2022-03-11) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.49 (2022-03-10) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.48 (2022-03-03) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.47 (2022-02-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.46 (2022-02-24) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.45 (2022-02-17) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.44 (2022-02-14) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.43 (2022-02-14) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.42 (2022-02-11) - - -### Features - -* **tsconfig:** add noErrorTruncation to flags ([92d9ffe](https://github.com/saber-hq/saber-common/commit/92d9ffe5e8db444f122ed7e254cb29d9a833abd6)) - - - - - -## 1.12.41 (2022-02-10) - - -### Bug Fixes - -* **token-utils:** export correct TokenAccountData ([99af608](https://github.com/saber-hq/saber-common/commit/99af60817d1a4d7918d25452d19d5ea50509ab23)) - - - - - -## 1.12.40 (2022-02-08) - - -### Bug Fixes - -* **token-utils:** ensure mint keypair signer is included in mint creation ([f9b840b](https://github.com/saber-hq/saber-common/commit/f9b840b28bc7b88da25cb22a0228b10328639438)) - - - - - -## 1.12.39 (2022-02-08) - - -### Features - -* **token-utils:** add deserializers/fetchers for mints and token accounts ([c58fbcf](https://github.com/saber-hq/saber-common/commit/c58fbcf1cc32510e48a2868646b3ad550905a279)) - - - - - -## 1.12.38 (2022-02-08) - - -### Bug Fixes - -* **token-utils:** more defaults on TokenAugmentedProvider ([ac72367](https://github.com/saber-hq/saber-common/commit/ac72367f2981aa2b997f136f1285af05e5a60380)) - - - - - -## 1.12.37 (2022-02-06) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.36 (2022-01-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.35 (2022-01-24) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.34 (2022-01-20) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.33 (2022-01-20) - - -### Bug Fixes - -* clean up discriminator list ([eac5a58](https://github.com/saber-hq/saber-common/commit/eac5a58a595edb2cbdbca91cb7ea633663e09548)) - - - - - -## 1.12.32 (2022-01-18) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.31 (2022-01-18) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.30 (2022-01-16) - - -### Features - -* Adds TransactionEnvelope.pack ([#460](https://github.com/saber-hq/saber-common/issues/460)) ([45f9cba](https://github.com/saber-hq/saber-common/commit/45f9cba57b83bfc1e62fe826ef0503522a37f6db)) - - - - - -## 1.12.29 (2022-01-15) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.28 (2022-01-15) - - -### Bug Fixes - -* isPublicKey should not allow BNs to be public keys ([0fae87b](https://github.com/saber-hq/saber-common/commit/0fae87bd9f8c91c97fb643db047ebe12ed8ef4c5)) - - - - - -## 1.12.27 (2022-01-13) - - -### Bug Fixes - -* don't print error logs if error was expected ([3442cd4](https://github.com/saber-hq/saber-common/commit/3442cd4a05f152be8538b46886a2bf1c7aad612f)) - - - - - -## 1.12.26 (2022-01-12) - - -### Bug Fixes - -* fix incorrect size estiamtion ([398baab](https://github.com/saber-hq/saber-common/commit/398baab48279bb117aeef0a83133fe421df120b7)) - - - - - -## 1.12.25 (2022-01-12) - - -### Features - -* adds buildPartition ([de14b72](https://github.com/saber-hq/saber-common/commit/de14b725a94398050593daa3ae0b7b6939acbd63)) - - - - - -## 1.12.24 (2022-01-11) - - -### Features - -* Add partition helper for transaction envelope ([#457](https://github.com/saber-hq/saber-common/issues/457)) ([d2053cb](https://github.com/saber-hq/saber-common/commit/d2053cb71f78da7253dec7d5cc88e6a5f855c41b)) - - - - - -## 1.12.23 (2022-01-10) - - -### Features - -* default to using anchor.so for transaction inspection links ([b89a178](https://github.com/saber-hq/saber-common/commit/b89a178a621078304c61fcc2a1e53ebb6768f4ae)) - - - - - -## 1.12.22 (2022-01-10) - - -### Features - -* adds hex discriminator mapping to account names ([9acef8e](https://github.com/saber-hq/saber-common/commit/9acef8e795c29ba40abee724d10d043c725076fc)) - - - - - -## 1.12.21 (2022-01-10) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.20 (2022-01-05) - - -### Bug Fixes - -* change formatting of simulation error to be one line ([6c755fa](https://github.com/saber-hq/saber-common/commit/6c755fab9d28d481c28792dfd33ec8876654d987)) - - - - - -## 1.12.19 (2022-01-05) - - -### Bug Fixes - -* Refactor and fix readonly provider ([#444](https://github.com/saber-hq/saber-common/issues/444)) ([de4c6ce](https://github.com/saber-hq/saber-common/commit/de4c6ce422969f82b928dc1f0559e9c86c8a94e4)) - - - - - -## 1.12.18 (2022-01-05) - - -### Features - -* Improve transaction error logs ([#443](https://github.com/saber-hq/saber-common/issues/443)) ([f967790](https://github.com/saber-hq/saber-common/commit/f967790753da80864ddefcb0a21009cd9c5ae992)) - - - - - -## 1.12.17 (2022-01-05) - - -### Bug Fixes - -* instruction logs should return a string ([9e288fb](https://github.com/saber-hq/saber-common/commit/9e288fb1811cd62759e0e9bb13fff1334013f086)) - - - - - -## 1.12.16 (2022-01-05) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.15 (2022-01-05) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.14 (2022-01-05) - - -### Features - -* Improve transaction log parsing ([#442](https://github.com/saber-hq/saber-common/issues/442)) ([e4ba36f](https://github.com/saber-hq/saber-common/commit/e4ba36f8bcfde2576d50b20e717a12a251e140a6)) - - - - - -## 1.12.13 (2022-01-05) - - -### Bug Fixes - -* Fix readonly provider icon URL ([af911b3](https://github.com/saber-hq/saber-common/commit/af911b352c67d053e41640fa135d381f0badef3e)) - - - - - -## 1.12.12 (2022-01-04) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.11 (2022-01-04) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.10 (2022-01-04) - - -### Features - -* adds loadExchangeInfoFromSwapAccount ([02d8de7](https://github.com/saber-hq/saber-common/commit/02d8de778f0753e85313b23a12d13c23862ba296)) - - - - - -## 1.12.9 (2021-12-29) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.8 (2021-12-29) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.7 (2021-12-28) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.6 (2021-12-28) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.5 (2021-12-28) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.4 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.3 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.2 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.12.1 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -# 1.12.0 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.11.5 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.11.4 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.11.3 (2021-12-21) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.11.2 (2021-12-17) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.11.1 (2021-12-16) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -# 1.11.0 (2021-12-15) - -**Note:** Version bump only for package @saberhq/eslint-config-react - - - - - -## 1.10.17 (2021-12-15) - -### Bug Fixes - -- stringify PublicKey before passing to Anchor ([66c70ba](https://github.com/saber-hq/saber-common/commit/66c70ba0c6fd88e9eb8a9361ce31c6c157d2f37d)) - -## 1.10.16 (2021-12-13) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.15 (2021-12-13) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.14 (2021-12-13) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.13 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.12 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.11 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.10 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.9 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.8 (2021-12-10) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.7 (2021-12-10) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.6 (2021-12-09) - -### Bug Fixes - -- eslint: enforce that private members are prefixed with an underscore ([#397](https://github.com/saber-hq/saber-common/issues/397)) ([1a50afa](https://github.com/saber-hq/saber-common/commit/1a50afaf13cb4389ba009fd4bdf206a4db2cad93)) - -## 1.10.5 (2021-12-06) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.4 (2021-11-30) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.3 (2021-11-29) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.2 (2021-11-29) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -## 1.10.1 (2021-11-28) - -**Note:** Version bump only for package @saberhq/eslint-config-react - -# 1.10.0 (2021-11-28) - -**Note:** Version bump only for package @saberhq/eslint-config-react diff --git a/packages/eslint-config-react/LICENSE b/packages/eslint-config-react/LICENSE deleted file mode 100644 index 5a813ed06..000000000 --- a/packages/eslint-config-react/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2021 Aurman Sachs, Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/packages/eslint-config-react/README.md b/packages/eslint-config-react/README.md deleted file mode 100644 index 47f6bcb8f..000000000 --- a/packages/eslint-config-react/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# `@saber-hq/eslint-config-react` - -Saber React ESLint config. - -## Installation - -### With Plug-n-Play (PNP) - -ESLint has issues with PNP. First, install the following: - -```bash -yarn add -D eslint eslint-import-resolver-node eslint-plugin-import @rushstack/eslint-patch -``` - -Then, in your `.eslintrc.js`, add: - -```js -"use strict"; - -require("@rushstack/eslint-patch/modern-module-resolution"); - -module.exports = { - extends: ["@saberhq/eslint-config-react"], - parserOptions: { - project: "tsconfig.json", - }, -}; -``` diff --git a/packages/eslint-config-react/package.json b/packages/eslint-config-react/package.json deleted file mode 100644 index 62c255ce5..000000000 --- a/packages/eslint-config-react/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "@saberhq/eslint-config-react", - "version": "1.13.30", - "description": "Saber base React ESLint config", - "homepage": "https://github.com/saber-hq/saber-common/tree/master/packages/eslint-config-react#readme", - "repository": "git+https://github.com/saber-hq/saber-common.git", - "bugs": "https://github.com/saber-hq/saber-common/issues", - "author": "Saber Team ", - "license": "Apache-2.0", - "keywords": [ - "eslint", - "saber", - "react" - ], - "type": "commonjs", - "main": "dist/cjs/eslint-config-react.cjs", - "files": [ - "lib" - ], - "scripts": { - "build": "tsc", - "clean": "rm -fr dist/" - }, - "publishConfig": { - "access": "public" - }, - "peerDependencies": { - "eslint": ">=7" - }, - "dependencies": { - "@saberhq/eslint-config": "workspace:^", - "eslint-plugin-jsx-a11y": "^6.6.0", - "eslint-plugin-react": "^7.30.1", - "eslint-plugin-react-hooks": "^4.6.0" - }, - "devDependencies": { - "@saberhq/tsconfig": "workspace:^", - "@types/eslint": "^8.4.3", - "@types/node": "^18.0.0", - "eslint": "^8.18.0", - "typescript": "^4.7.4" - } -} diff --git a/packages/eslint-config-react/src/eslint-config-react.cts b/packages/eslint-config-react/src/eslint-config-react.cts deleted file mode 100644 index 55326c25f..000000000 --- a/packages/eslint-config-react/src/eslint-config-react.cts +++ /dev/null @@ -1,20 +0,0 @@ -import type { Linter } from "eslint"; - -const config: Linter.Config = { - env: { - browser: true, - }, - extends: [ - "@saberhq", - "plugin:react/recommended", - "plugin:react-hooks/recommended", - "plugin:jsx-a11y/recommended", - ], - settings: { react: { version: "detect" } }, - rules: { - "react/react-in-jsx-scope": "off", - "react/no-unescaped-entities": "off", - }, -}; - -module.exports = config; diff --git a/packages/eslint-config-react/tsconfig.json b/packages/eslint-config-react/tsconfig.json deleted file mode 100644 index 7e450cc84..000000000 --- a/packages/eslint-config-react/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "@saberhq/tsconfig/tsconfig.cjs.json", - "compilerOptions": { - "rootDir": "src/", - "composite": true, - "outDir": "dist/cjs/", - "types": ["node"] - }, - "include": ["src/"] -} diff --git a/packages/eslint-config/CHANGELOG.md b/packages/eslint-config/CHANGELOG.md deleted file mode 100644 index a513e455b..000000000 --- a/packages/eslint-config/CHANGELOG.md +++ /dev/null @@ -1,887 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## 1.13.10 (2022-05-20) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.13.9 (2022-05-20) - - -### Features - -* implement tx spammer ([d776427](https://github.com/saber-hq/saber-common/commit/d776427980403b851343bf5770e6d756352bc739)) - - - - - -## 1.13.8 (2022-05-20) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.13.7 (2022-05-19) - - -### Features - -* **solana-contrib:** default to websocket-based confirmation rather than polling ([04f0b59](https://github.com/saber-hq/saber-common/commit/04f0b59d0cc5174927037e377575c900deb5e36f)) - - - - - -## 1.13.6 (2022-05-13) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.13.5 (2022-05-13) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.13.4 (2022-05-13) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.13.3 (2022-05-13) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.13.2 (2022-05-12) - - -### Features - -* add support for Exodus wallet ([#579](https://github.com/saber-hq/saber-common/issues/579)) ([2f9273d](https://github.com/saber-hq/saber-common/commit/2f9273d038266cfcbad199b329dda9db1c33fb70)) - - - - - -## 1.13.1 (2022-05-05) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -# 1.13.0 (2022-05-02) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.72 (2022-05-01) - - -### Features - -* add ProgramAccount type to solana-contrib ([1bd35ea](https://github.com/saber-hq/saber-common/commit/1bd35eaf6e3ca43f90ba4847bd96fe23b0fdb792)) - - - - - -## 1.12.71 (2022-04-29) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.70 (2022-04-29) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.69 (2022-04-28) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.68 (2022-04-28) - - -### Bug Fixes - -* add PACKET_DATA_SIZE since it was removed from @solana/web3.js ([b67425d](https://github.com/saber-hq/saber-common/commit/b67425d662e853e89867cfb9cbdaf6ae63f36eef)) - - - - - -## 1.12.67 (2022-04-25) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.66 (2022-04-23) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.65 (2022-04-22) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.64 (2022-04-20) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.63 (2022-04-20) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.62 (2022-04-18) - - -### Bug Fixes - -* assign Anchor namespace to a variable to fix ESM import ([c732aa4](https://github.com/saber-hq/saber-common/commit/c732aa493bf67f139596ce0c246e38529f970a69)) - - - - - -## 1.12.61 (2022-04-15) - - -### Features - -* support Anchor 0.24 ([002c1de](https://github.com/saber-hq/saber-common/commit/002c1de5f2e3f6846e1530b116963987c4143bf2)) - - - - - -## 1.12.60 (2022-04-14) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.59 (2022-04-10) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.58 (2022-03-30) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.57 (2022-03-29) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.56 (2022-03-22) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.55 (2022-03-20) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.54 (2022-03-19) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.53 (2022-03-15) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.52 (2022-03-13) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.51 (2022-03-12) - - -### Features - -* **anchor-contrib:** adds method for fetching all accountTypeDefs of an IDL ([d79d2a4](https://github.com/saber-hq/saber-common/commit/d79d2a415d48cc4520438b176352d0b449497150)) - - - - - -## 1.12.50 (2022-03-11) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.49 (2022-03-10) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.48 (2022-03-03) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.47 (2022-02-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.46 (2022-02-24) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.45 (2022-02-17) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.44 (2022-02-14) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.43 (2022-02-14) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.42 (2022-02-11) - - -### Features - -* **tsconfig:** add noErrorTruncation to flags ([92d9ffe](https://github.com/saber-hq/saber-common/commit/92d9ffe5e8db444f122ed7e254cb29d9a833abd6)) - - - - - -## 1.12.41 (2022-02-10) - - -### Bug Fixes - -* **token-utils:** export correct TokenAccountData ([99af608](https://github.com/saber-hq/saber-common/commit/99af60817d1a4d7918d25452d19d5ea50509ab23)) - - - - - -## 1.12.40 (2022-02-08) - - -### Bug Fixes - -* **token-utils:** ensure mint keypair signer is included in mint creation ([f9b840b](https://github.com/saber-hq/saber-common/commit/f9b840b28bc7b88da25cb22a0228b10328639438)) - - - - - -## 1.12.39 (2022-02-08) - - -### Features - -* **token-utils:** add deserializers/fetchers for mints and token accounts ([c58fbcf](https://github.com/saber-hq/saber-common/commit/c58fbcf1cc32510e48a2868646b3ad550905a279)) - - - - - -## 1.12.38 (2022-02-08) - - -### Bug Fixes - -* **token-utils:** more defaults on TokenAugmentedProvider ([ac72367](https://github.com/saber-hq/saber-common/commit/ac72367f2981aa2b997f136f1285af05e5a60380)) - - - - - -## 1.12.37 (2022-02-06) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.36 (2022-01-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.35 (2022-01-24) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.34 (2022-01-20) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.33 (2022-01-20) - - -### Bug Fixes - -* clean up discriminator list ([eac5a58](https://github.com/saber-hq/saber-common/commit/eac5a58a595edb2cbdbca91cb7ea633663e09548)) - - - - - -## 1.12.32 (2022-01-18) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.31 (2022-01-18) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.30 (2022-01-16) - - -### Features - -* Adds TransactionEnvelope.pack ([#460](https://github.com/saber-hq/saber-common/issues/460)) ([45f9cba](https://github.com/saber-hq/saber-common/commit/45f9cba57b83bfc1e62fe826ef0503522a37f6db)) - - - - - -## 1.12.29 (2022-01-15) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.28 (2022-01-15) - - -### Bug Fixes - -* isPublicKey should not allow BNs to be public keys ([0fae87b](https://github.com/saber-hq/saber-common/commit/0fae87bd9f8c91c97fb643db047ebe12ed8ef4c5)) - - - - - -## 1.12.27 (2022-01-13) - - -### Bug Fixes - -* don't print error logs if error was expected ([3442cd4](https://github.com/saber-hq/saber-common/commit/3442cd4a05f152be8538b46886a2bf1c7aad612f)) - - - - - -## 1.12.26 (2022-01-12) - - -### Bug Fixes - -* fix incorrect size estiamtion ([398baab](https://github.com/saber-hq/saber-common/commit/398baab48279bb117aeef0a83133fe421df120b7)) - - - - - -## 1.12.25 (2022-01-12) - - -### Features - -* adds buildPartition ([de14b72](https://github.com/saber-hq/saber-common/commit/de14b725a94398050593daa3ae0b7b6939acbd63)) - - - - - -## 1.12.24 (2022-01-11) - - -### Features - -* Add partition helper for transaction envelope ([#457](https://github.com/saber-hq/saber-common/issues/457)) ([d2053cb](https://github.com/saber-hq/saber-common/commit/d2053cb71f78da7253dec7d5cc88e6a5f855c41b)) - - - - - -## 1.12.23 (2022-01-10) - - -### Features - -* default to using anchor.so for transaction inspection links ([b89a178](https://github.com/saber-hq/saber-common/commit/b89a178a621078304c61fcc2a1e53ebb6768f4ae)) - - - - - -## 1.12.22 (2022-01-10) - - -### Features - -* adds hex discriminator mapping to account names ([9acef8e](https://github.com/saber-hq/saber-common/commit/9acef8e795c29ba40abee724d10d043c725076fc)) - - - - - -## 1.12.21 (2022-01-10) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.20 (2022-01-05) - - -### Bug Fixes - -* change formatting of simulation error to be one line ([6c755fa](https://github.com/saber-hq/saber-common/commit/6c755fab9d28d481c28792dfd33ec8876654d987)) - - - - - -## 1.12.19 (2022-01-05) - - -### Bug Fixes - -* Refactor and fix readonly provider ([#444](https://github.com/saber-hq/saber-common/issues/444)) ([de4c6ce](https://github.com/saber-hq/saber-common/commit/de4c6ce422969f82b928dc1f0559e9c86c8a94e4)) - - - - - -## 1.12.18 (2022-01-05) - - -### Features - -* Improve transaction error logs ([#443](https://github.com/saber-hq/saber-common/issues/443)) ([f967790](https://github.com/saber-hq/saber-common/commit/f967790753da80864ddefcb0a21009cd9c5ae992)) - - - - - -## 1.12.17 (2022-01-05) - - -### Bug Fixes - -* instruction logs should return a string ([9e288fb](https://github.com/saber-hq/saber-common/commit/9e288fb1811cd62759e0e9bb13fff1334013f086)) - - - - - -## 1.12.16 (2022-01-05) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.15 (2022-01-05) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.14 (2022-01-05) - - -### Features - -* Improve transaction log parsing ([#442](https://github.com/saber-hq/saber-common/issues/442)) ([e4ba36f](https://github.com/saber-hq/saber-common/commit/e4ba36f8bcfde2576d50b20e717a12a251e140a6)) - - - - - -## 1.12.13 (2022-01-05) - - -### Bug Fixes - -* Fix readonly provider icon URL ([af911b3](https://github.com/saber-hq/saber-common/commit/af911b352c67d053e41640fa135d381f0badef3e)) - - - - - -## 1.12.12 (2022-01-04) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.11 (2022-01-04) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.10 (2022-01-04) - - -### Features - -* adds loadExchangeInfoFromSwapAccount ([02d8de7](https://github.com/saber-hq/saber-common/commit/02d8de778f0753e85313b23a12d13c23862ba296)) - - - - - -## 1.12.9 (2021-12-29) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.8 (2021-12-29) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.7 (2021-12-28) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.6 (2021-12-28) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.5 (2021-12-28) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.4 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.3 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.2 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.12.1 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -# 1.12.0 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.11.5 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.11.4 (2021-12-26) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.11.3 (2021-12-21) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.11.2 (2021-12-17) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.11.1 (2021-12-16) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -# 1.11.0 (2021-12-15) - -**Note:** Version bump only for package @saberhq/eslint-config - - - - - -## 1.10.17 (2021-12-15) - -### Bug Fixes - -- stringify PublicKey before passing to Anchor ([66c70ba](https://github.com/saber-hq/saber-common/commit/66c70ba0c6fd88e9eb8a9361ce31c6c157d2f37d)) - -## 1.10.16 (2021-12-13) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.15 (2021-12-13) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.14 (2021-12-13) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.13 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.12 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.11 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.10 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.9 (2021-12-11) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.8 (2021-12-10) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.7 (2021-12-10) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.6 (2021-12-09) - -### Bug Fixes - -- eslint: enforce that private members are prefixed with an underscore ([#397](https://github.com/saber-hq/saber-common/issues/397)) ([1a50afa](https://github.com/saber-hq/saber-common/commit/1a50afaf13cb4389ba009fd4bdf206a4db2cad93)) - -## 1.10.5 (2021-12-06) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.4 (2021-11-30) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.3 (2021-11-29) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.2 (2021-11-29) - -**Note:** Version bump only for package @saberhq/eslint-config - -## 1.10.1 (2021-11-28) - -**Note:** Version bump only for package @saberhq/eslint-config - -# 1.10.0 (2021-11-28) - -**Note:** Version bump only for package @saberhq/eslint-config diff --git a/packages/eslint-config/LICENSE b/packages/eslint-config/LICENSE deleted file mode 100644 index 5a813ed06..000000000 --- a/packages/eslint-config/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2021 Aurman Sachs, Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/packages/eslint-config/README.md b/packages/eslint-config/README.md deleted file mode 100644 index f43200e10..000000000 --- a/packages/eslint-config/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# `@saberhq/eslint-config` - -Saber ESLint config. - -## Installation - -### With Plug-n-Play (PNP) - -ESLint has issues with PNP. First, install the following: - -```bash -yarn add -D eslint eslint-import-resolver-node eslint-plugin-import @rushstack/eslint-patch -``` - -Then, in your `.eslintrc.js`, add: - -```js -"use strict"; - -require("@rushstack/eslint-patch/modern-module-resolution"); - -module.exports = { - extends: ["@saberhq/eslint-config"], - parserOptions: { - project: "tsconfig.json", - }, -}; -``` diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json deleted file mode 100644 index 2abe9840c..000000000 --- a/packages/eslint-config/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@saberhq/eslint-config", - "version": "1.13.30", - "description": "Saber base ESLint config", - "homepage": "https://github.com/saber-hq/saber-common/tree/master/packages/eslint-config#readme", - "repository": "git+https://github.com/saber-hq/saber-common.git", - "bugs": "https://github.com/saber-hq/saber-common/issues", - "author": "Saber Team ", - "license": "Apache-2.0", - "keywords": [ - "eslint", - "saber" - ], - "type": "commonjs", - "main": "dist/cjs/eslint-config.cjs", - "files": [ - "lib" - ], - "scripts": { - "build": "tsc", - "clean": "rm -fr dist/" - }, - "publishConfig": { - "access": "public" - }, - "peerDependencies": { - "eslint": ">=7" - }, - "dependencies": { - "@typescript-eslint/eslint-plugin": "^5.30.0", - "@typescript-eslint/parser": "^5.30.0", - "eslint-config-prettier": "^8.5.0", - "eslint-import-resolver-node": "^0.3.6", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-prettier": "^4.1.0", - "eslint-plugin-simple-import-sort": "^7.0.0", - "eslint-plugin-unused-imports": "^2.0.0", - "prettier": "^2.7.1" - }, - "devDependencies": { - "@saberhq/tsconfig": "workspace:^", - "@types/eslint": "^8.4.3", - "@types/node": "^18.0.0", - "eslint": "^8.18.0", - "typescript": "^4.7.4" - } -} diff --git a/packages/eslint-config/src/eslint-config.cts b/packages/eslint-config/src/eslint-config.cts deleted file mode 100644 index 7a44829f6..000000000 --- a/packages/eslint-config/src/eslint-config.cts +++ /dev/null @@ -1,55 +0,0 @@ -import "@typescript-eslint/eslint-plugin"; - -import type { Linter } from "eslint"; - -const config: Linter.Config = { - root: true, - ignorePatterns: ["dist/", "*.js"], - parser: "@typescript-eslint/parser", - plugins: ["simple-import-sort", "import", "unused-imports"], - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/recommended-requiring-type-checking", - "plugin:prettier/recommended", - ], - env: { - node: true, - }, - rules: { - eqeqeq: "error", - "@typescript-eslint/explicit-member-accessibility": [ - "error", - { accessibility: "no-public" }, - ], - "import/order": "off", - "simple-import-sort/imports": "warn", - "simple-import-sort/exports": "warn", - "import/first": "warn", - "import/newline-after-import": "warn", - "import/no-duplicates": "warn", - "unused-imports/no-unused-imports": "error", - "@typescript-eslint/consistent-type-imports": "error", - "@typescript-eslint/no-unused-vars": [ - "warn", - { - vars: "all", - varsIgnorePattern: "^_", - args: "after-used", - argsIgnorePattern: "^_", - }, - ], - // Enforce that private members are prefixed with an underscore - "@typescript-eslint/naming-convention": [ - "error", - { - selector: "memberLike", - modifiers: ["private"], - format: ["camelCase"], - leadingUnderscore: "require", - }, - ], - }, -}; - -module.exports = config; diff --git a/packages/eslint-config/tsconfig.json b/packages/eslint-config/tsconfig.json deleted file mode 100644 index 7e450cc84..000000000 --- a/packages/eslint-config/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "@saberhq/tsconfig/tsconfig.cjs.json", - "compilerOptions": { - "rootDir": "src/", - "composite": true, - "outDir": "dist/cjs/", - "types": ["node"] - }, - "include": ["src/"] -} diff --git a/packages/option-utils/package.json b/packages/option-utils/package.json index 872843c89..a4a160951 100644 --- a/packages/option-utils/package.json +++ b/packages/option-utils/package.json @@ -36,7 +36,7 @@ "tslib": "^2.4.0" }, "devDependencies": { - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "typescript": "^4.7.4" } } diff --git a/packages/solana-contrib/package.json b/packages/solana-contrib/package.json index 72452d38a..f4bd9bfbb 100644 --- a/packages/solana-contrib/package.json +++ b/packages/solana-contrib/package.json @@ -36,7 +36,7 @@ "tslib": "^2.4.0" }, "devDependencies": { - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "@solana/web3.js": "^1.46.0", "@types/bn.js": "^5.1.0", "@types/jest": "^28.1.3", diff --git a/packages/stableswap-sdk/package.json b/packages/stableswap-sdk/package.json index 1147a9c80..a555b569c 100644 --- a/packages/stableswap-sdk/package.json +++ b/packages/stableswap-sdk/package.json @@ -27,7 +27,7 @@ "node": ">=12.x" }, "devDependencies": { - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "@solana/web3.js": "^1.46.0", "@types/bn.js": "^5.1.0", "@types/lodash": "^4.14.182", diff --git a/packages/token-utils/package.json b/packages/token-utils/package.json index bc1a5823a..dbfe01af8 100644 --- a/packages/token-utils/package.json +++ b/packages/token-utils/package.json @@ -38,7 +38,7 @@ "src/" ], "devDependencies": { - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "@solana/web3.js": "^1.46.0", "@types/bn.js": "^5.1.0", "jsbi": "^4.3.0", diff --git a/packages/tsconfig/CHANGELOG.md b/packages/tsconfig/CHANGELOG.md deleted file mode 100644 index 921deff31..000000000 --- a/packages/tsconfig/CHANGELOG.md +++ /dev/null @@ -1,829 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## 1.13.10 (2022-05-20) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.13.9 (2022-05-20) - - -### Features - -* implement tx spammer ([d776427](https://github.com/saber-hq/saber-common/commit/d776427980403b851343bf5770e6d756352bc739)) - - - - - -## 1.13.8 (2022-05-20) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.13.7 (2022-05-19) - - -### Features - -* **solana-contrib:** default to websocket-based confirmation rather than polling ([04f0b59](https://github.com/saber-hq/saber-common/commit/04f0b59d0cc5174927037e377575c900deb5e36f)) - - - - - -## 1.13.6 (2022-05-13) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.13.5 (2022-05-13) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.13.4 (2022-05-13) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.13.3 (2022-05-13) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.13.2 (2022-05-12) - - -### Features - -* add support for Exodus wallet ([#579](https://github.com/saber-hq/saber-common/issues/579)) ([2f9273d](https://github.com/saber-hq/saber-common/commit/2f9273d038266cfcbad199b329dda9db1c33fb70)) - - - - - -## 1.13.1 (2022-05-05) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -# 1.13.0 (2022-05-02) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.72 (2022-05-01) - - -### Features - -* add ProgramAccount type to solana-contrib ([1bd35ea](https://github.com/saber-hq/saber-common/commit/1bd35eaf6e3ca43f90ba4847bd96fe23b0fdb792)) - - - - - -## 1.12.71 (2022-04-29) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.70 (2022-04-29) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.69 (2022-04-28) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.68 (2022-04-28) - - -### Bug Fixes - -* add PACKET_DATA_SIZE since it was removed from @solana/web3.js ([b67425d](https://github.com/saber-hq/saber-common/commit/b67425d662e853e89867cfb9cbdaf6ae63f36eef)) - - - - - -## 1.12.67 (2022-04-25) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.66 (2022-04-23) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.65 (2022-04-22) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.64 (2022-04-20) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.63 (2022-04-20) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.62 (2022-04-18) - - -### Bug Fixes - -* assign Anchor namespace to a variable to fix ESM import ([c732aa4](https://github.com/saber-hq/saber-common/commit/c732aa493bf67f139596ce0c246e38529f970a69)) - - - - - -## 1.12.61 (2022-04-15) - - -### Features - -* support Anchor 0.24 ([002c1de](https://github.com/saber-hq/saber-common/commit/002c1de5f2e3f6846e1530b116963987c4143bf2)) - - - - - -## 1.12.60 (2022-04-14) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.59 (2022-04-10) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.58 (2022-03-30) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.57 (2022-03-29) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.56 (2022-03-22) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.55 (2022-03-20) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.54 (2022-03-19) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.53 (2022-03-15) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.52 (2022-03-13) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.51 (2022-03-12) - - -### Features - -* **anchor-contrib:** adds method for fetching all accountTypeDefs of an IDL ([d79d2a4](https://github.com/saber-hq/saber-common/commit/d79d2a415d48cc4520438b176352d0b449497150)) - - - - - -## 1.12.50 (2022-03-11) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.49 (2022-03-10) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.48 (2022-03-03) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.47 (2022-02-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.46 (2022-02-24) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.45 (2022-02-17) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.44 (2022-02-14) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.43 (2022-02-14) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.42 (2022-02-11) - - -### Features - -* **tsconfig:** add noErrorTruncation to flags ([92d9ffe](https://github.com/saber-hq/saber-common/commit/92d9ffe5e8db444f122ed7e254cb29d9a833abd6)) - - - - - -## 1.12.41 (2022-02-10) - - -### Bug Fixes - -* **token-utils:** export correct TokenAccountData ([99af608](https://github.com/saber-hq/saber-common/commit/99af60817d1a4d7918d25452d19d5ea50509ab23)) - - - - - -## 1.12.40 (2022-02-08) - - -### Bug Fixes - -* **token-utils:** ensure mint keypair signer is included in mint creation ([f9b840b](https://github.com/saber-hq/saber-common/commit/f9b840b28bc7b88da25cb22a0228b10328639438)) - - - - - -## 1.12.39 (2022-02-08) - - -### Features - -* **token-utils:** add deserializers/fetchers for mints and token accounts ([c58fbcf](https://github.com/saber-hq/saber-common/commit/c58fbcf1cc32510e48a2868646b3ad550905a279)) - - - - - -## 1.12.38 (2022-02-08) - - -### Bug Fixes - -* **token-utils:** more defaults on TokenAugmentedProvider ([ac72367](https://github.com/saber-hq/saber-common/commit/ac72367f2981aa2b997f136f1285af05e5a60380)) - - - - - -## 1.12.37 (2022-02-06) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.36 (2022-01-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.35 (2022-01-24) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.34 (2022-01-20) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.33 (2022-01-20) - - -### Bug Fixes - -* clean up discriminator list ([eac5a58](https://github.com/saber-hq/saber-common/commit/eac5a58a595edb2cbdbca91cb7ea633663e09548)) - - - - - -## 1.12.32 (2022-01-18) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.31 (2022-01-18) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.30 (2022-01-16) - - -### Features - -* Adds TransactionEnvelope.pack ([#460](https://github.com/saber-hq/saber-common/issues/460)) ([45f9cba](https://github.com/saber-hq/saber-common/commit/45f9cba57b83bfc1e62fe826ef0503522a37f6db)) - - - - - -## 1.12.29 (2022-01-15) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.28 (2022-01-15) - - -### Bug Fixes - -* isPublicKey should not allow BNs to be public keys ([0fae87b](https://github.com/saber-hq/saber-common/commit/0fae87bd9f8c91c97fb643db047ebe12ed8ef4c5)) - - - - - -## 1.12.27 (2022-01-13) - - -### Bug Fixes - -* don't print error logs if error was expected ([3442cd4](https://github.com/saber-hq/saber-common/commit/3442cd4a05f152be8538b46886a2bf1c7aad612f)) - - - - - -## 1.12.26 (2022-01-12) - - -### Bug Fixes - -* fix incorrect size estiamtion ([398baab](https://github.com/saber-hq/saber-common/commit/398baab48279bb117aeef0a83133fe421df120b7)) - - - - - -## 1.12.25 (2022-01-12) - - -### Features - -* adds buildPartition ([de14b72](https://github.com/saber-hq/saber-common/commit/de14b725a94398050593daa3ae0b7b6939acbd63)) - - - - - -## 1.12.24 (2022-01-11) - - -### Features - -* Add partition helper for transaction envelope ([#457](https://github.com/saber-hq/saber-common/issues/457)) ([d2053cb](https://github.com/saber-hq/saber-common/commit/d2053cb71f78da7253dec7d5cc88e6a5f855c41b)) - - - - - -## 1.12.23 (2022-01-10) - - -### Features - -* default to using anchor.so for transaction inspection links ([b89a178](https://github.com/saber-hq/saber-common/commit/b89a178a621078304c61fcc2a1e53ebb6768f4ae)) - - - - - -## 1.12.22 (2022-01-10) - - -### Features - -* adds hex discriminator mapping to account names ([9acef8e](https://github.com/saber-hq/saber-common/commit/9acef8e795c29ba40abee724d10d043c725076fc)) - - - - - -## 1.12.21 (2022-01-10) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.20 (2022-01-05) - - -### Bug Fixes - -* change formatting of simulation error to be one line ([6c755fa](https://github.com/saber-hq/saber-common/commit/6c755fab9d28d481c28792dfd33ec8876654d987)) - - - - - -## 1.12.19 (2022-01-05) - - -### Bug Fixes - -* Refactor and fix readonly provider ([#444](https://github.com/saber-hq/saber-common/issues/444)) ([de4c6ce](https://github.com/saber-hq/saber-common/commit/de4c6ce422969f82b928dc1f0559e9c86c8a94e4)) - - - - - -## 1.12.18 (2022-01-05) - - -### Features - -* Improve transaction error logs ([#443](https://github.com/saber-hq/saber-common/issues/443)) ([f967790](https://github.com/saber-hq/saber-common/commit/f967790753da80864ddefcb0a21009cd9c5ae992)) - - - - - -## 1.12.17 (2022-01-05) - - -### Bug Fixes - -* instruction logs should return a string ([9e288fb](https://github.com/saber-hq/saber-common/commit/9e288fb1811cd62759e0e9bb13fff1334013f086)) - - - - - -## 1.12.16 (2022-01-05) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.15 (2022-01-05) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.14 (2022-01-05) - - -### Features - -* Improve transaction log parsing ([#442](https://github.com/saber-hq/saber-common/issues/442)) ([e4ba36f](https://github.com/saber-hq/saber-common/commit/e4ba36f8bcfde2576d50b20e717a12a251e140a6)) - - - - - -## 1.12.13 (2022-01-05) - - -### Bug Fixes - -* Fix readonly provider icon URL ([af911b3](https://github.com/saber-hq/saber-common/commit/af911b352c67d053e41640fa135d381f0badef3e)) - - - - - -## 1.12.12 (2022-01-04) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.11 (2022-01-04) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.10 (2022-01-04) - - -### Features - -* adds loadExchangeInfoFromSwapAccount ([02d8de7](https://github.com/saber-hq/saber-common/commit/02d8de778f0753e85313b23a12d13c23862ba296)) - - - - - -## 1.12.9 (2021-12-29) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.8 (2021-12-29) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.7 (2021-12-28) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.6 (2021-12-28) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.5 (2021-12-28) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.4 (2021-12-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.3 (2021-12-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.2 (2021-12-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.12.1 (2021-12-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -# 1.12.0 (2021-12-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.11.5 (2021-12-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.11.4 (2021-12-26) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.11.3 (2021-12-21) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.11.2 (2021-12-17) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.11.1 (2021-12-16) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -# 1.11.0 (2021-12-15) - -**Note:** Version bump only for package @saberhq/tsconfig - - - - - -## 1.10.17 (2021-12-15) - -### Bug Fixes - -- stringify PublicKey before passing to Anchor ([66c70ba](https://github.com/saber-hq/saber-common/commit/66c70ba0c6fd88e9eb8a9361ce31c6c157d2f37d)) - -## 1.10.16 (2021-12-13) - -**Note:** Version bump only for package @saberhq/tsconfig - -## 1.10.15 (2021-12-13) - -**Note:** Version bump only for package @saberhq/tsconfig - -## 1.10.14 (2021-12-13) - -**Note:** Version bump only for package @saberhq/tsconfig diff --git a/packages/tsconfig/LICENSE b/packages/tsconfig/LICENSE deleted file mode 100644 index 5a813ed06..000000000 --- a/packages/tsconfig/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2021 Aurman Sachs, Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/packages/tsconfig/README.md b/packages/tsconfig/README.md deleted file mode 100644 index 88e480f23..000000000 --- a/packages/tsconfig/README.md +++ /dev/null @@ -1,68 +0,0 @@ -# @saberhq/tsconfig - -Saber TypeScript configurations. - -## Usage - -The TSConfig adds the `importHelpers`, so first run: - -```bash -yarn add tslib -``` - -### Libraries - -In your `tsconfig.json`, use the following: - -```json -{ - "extends": "@saberhq/tsconfig/tsconfig.lib.json", - "include": ["src/", "tests/"] -} -``` - -Note that `noEmit` is enabled by default, for typechecking. - -We recommend creating both a CommonJS and ESM build. The CommonJS build is useful for web apps, and the ESM build is useful for server-side apps and some web apps. For this, add the following two files: - -#### `tsconfig.esm.json` - -```json -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "noEmit": false, - "outDir": "dist/esm/" - }, - "include": ["src/"] -} -``` - -#### `tsconfig.cjs.json` - -```json -{ - "extends": "./tsconfig.esm.json", - "compilerOptions": { - "module": "CommonJS", - "outDir": "dist/cjs/" - }, - "include": ["src/"] -} -``` - -Additionally, modify `package.json` with the following: - -```json -{ - // ... - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "scripts": { - // ... - "build": "tsc -P tsconfig.cjs.json && tsc -P tsconfig.esm.json", - "clean": "rm -fr dist/", - "typecheck": "tsc" - } -} -``` diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json deleted file mode 100644 index 4ba5e5416..000000000 --- a/packages/tsconfig/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@saberhq/tsconfig", - "description": "Saber TypeScript configurations.", - "version": "1.13.30", - "homepage": "https://github.com/saber-hq/saber-common/tree/master/packages/tsconfig#readme", - "repository": "git+https://github.com/saber-hq/saber-common.git", - "bugs": "https://github.com/saber-hq/saber-common/issues", - "author": "Saber Team ", - "license": "Apache-2.0", - "keywords": [ - "solana", - "saber", - "typescript" - ], - "files": [ - "tsconfig.*.json" - ], - "publishConfig": { - "access": "public" - }, - "gitHead": "f9fd3fbd36a7a6dd6f5e9597af5309affe50ac0e" -} diff --git a/packages/tsconfig/tsconfig.cjs.json b/packages/tsconfig/tsconfig.cjs.json deleted file mode 100644 index 347baf836..000000000 --- a/packages/tsconfig/tsconfig.cjs.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "./tsconfig.lib.json", - "display": "Saber CommonJS TSConfig", - "compilerOptions": { - "module": "CommonJS", - "moduleResolution": "node" - } -} diff --git a/packages/tsconfig/tsconfig.lib.json b/packages/tsconfig/tsconfig.lib.json deleted file mode 100644 index c11d259d5..000000000 --- a/packages/tsconfig/tsconfig.lib.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Saber Library TSConfig", - "compilerOptions": { - // target - "target": "ES2019", - "module": "ES2020", - "moduleResolution": "node", - "lib": ["ES2019"], - - // build - "types": [], - "esModuleInterop": true, - "preserveConstEnums": true, - "skipLibCheck": true, - "importHelpers": true, - "resolveJsonModule": true, - "isolatedModules": true, - - // linting - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noImplicitOverride": true, - "noUncheckedIndexedAccess": true, - "noFallthroughCasesInSwitch": true, - "forceConsistentCasingInFileNames": true, - "noErrorTruncation": true, - - // sources - "sourceMap": true, - "declaration": true, - "declarationMap": true, - "inlineSources": true - } -} diff --git a/packages/tsconfig/tsconfig.module.json b/packages/tsconfig/tsconfig.module.json deleted file mode 100644 index 39795d435..000000000 --- a/packages/tsconfig/tsconfig.module.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "./tsconfig.lib.json", - "display": "Saber Node16 TSConfig (recommended)", - "compilerOptions": { - "moduleResolution": "Node16" - } -} diff --git a/packages/tsconfig/tsconfig.module.react.json b/packages/tsconfig/tsconfig.module.react.json deleted file mode 100644 index f179b621a..000000000 --- a/packages/tsconfig/tsconfig.module.react.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "./tsconfig.react.json", - "display": "Saber Node16 React TSConfig (recommended)", - "compilerOptions": { - "moduleResolution": "node16" - } -} diff --git a/packages/tsconfig/tsconfig.mono.json b/packages/tsconfig/tsconfig.mono.json deleted file mode 100644 index 16a1a065f..000000000 --- a/packages/tsconfig/tsconfig.mono.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "./tsconfig.module.json", - "display": "Saber Node16 TSConfig for monorepos (recommended)", - "compilerOptions": { - "composite": true - } -} diff --git a/packages/tsconfig/tsconfig.react.json b/packages/tsconfig/tsconfig.react.json deleted file mode 100644 index 9809722ad..000000000 --- a/packages/tsconfig/tsconfig.react.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "./tsconfig.lib.json", - "display": "Saber Emotion TSConfig", - "compilerOptions": { - "lib": ["DOM", "ES2019", "ES2021.Promise"], - "jsx": "react-jsx", - "jsxImportSource": "@emotion/react" - } -} diff --git a/packages/tuple-utils/package.json b/packages/tuple-utils/package.json index 22a1434fd..112340d61 100644 --- a/packages/tuple-utils/package.json +++ b/packages/tuple-utils/package.json @@ -37,7 +37,7 @@ "tslib": "^2.4.0" }, "devDependencies": { - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "typescript": "^4.7.4" } } diff --git a/packages/use-solana/package.json b/packages/use-solana/package.json index 180341427..c2891e473 100644 --- a/packages/use-solana/package.json +++ b/packages/use-solana/package.json @@ -19,7 +19,7 @@ "prepublishOnly": "npm run build" }, "devDependencies": { - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "@solana/web3.js": "^1.46.0", "@types/bn.js": "^5.1.0", "@types/node": "^18.0.0", diff --git a/packages/wallet-adapter-icons/package.json b/packages/wallet-adapter-icons/package.json index e0285c009..259189b7c 100644 --- a/packages/wallet-adapter-icons/package.json +++ b/packages/wallet-adapter-icons/package.json @@ -40,7 +40,7 @@ "react": "^17.0.2 || ^18" }, "devDependencies": { - "@saberhq/tsconfig": "workspace:^", + "@saberhq/tsconfig": "^1.13.32", "@types/react": "^18.0.14", "react": "^18.2.0", "typescript": "^4.7.4" diff --git a/tsconfig.json b/tsconfig.json index 82ec36d0b..ef1085624 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,8 +11,6 @@ "references": [ { "path": "packages/anchor-contrib/" }, { "path": "packages/chai-solana/" }, - { "path": "packages/eslint-config/" }, - { "path": "packages/eslint-config-react/" }, { "path": "packages/option-utils/" }, { "path": "packages/solana-contrib/" }, { "path": "packages/stableswap-sdk/" }, diff --git a/yarn.lock b/yarn.lock index 5c3dd566e..6d441c909 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2240,7 +2240,7 @@ __metadata: dependencies: "@project-serum/anchor": ^0.25.0-beta.1 "@saberhq/solana-contrib": "workspace:^" - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 "@solana/web3.js": ^1.46.0 "@types/lodash.camelcase": ^4.3.7 "@types/lodash.mapvalues": ^4.6.7 @@ -2257,12 +2257,6 @@ __metadata: languageName: unknown linkType: soft -"@saberhq/browserslist-config@workspace:packages/browserslist-config": - version: 0.0.0-use.local - resolution: "@saberhq/browserslist-config@workspace:packages/browserslist-config" - languageName: unknown - linkType: soft - "@saberhq/chai-solana@workspace:packages/chai-solana": version: 0.0.0-use.local resolution: "@saberhq/chai-solana@workspace:packages/chai-solana" @@ -2271,7 +2265,7 @@ __metadata: "@saberhq/anchor-contrib": "workspace:^" "@saberhq/solana-contrib": "workspace:^" "@saberhq/token-utils": "workspace:^" - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 "@solana/web3.js": ^1.46.0 "@types/chai": ^4.3.1 "@types/chai-as-promised": ^7.1.5 @@ -2292,34 +2286,26 @@ __metadata: languageName: unknown linkType: soft -"@saberhq/eslint-config-react@workspace:*, @saberhq/eslint-config-react@workspace:packages/eslint-config-react": - version: 0.0.0-use.local - resolution: "@saberhq/eslint-config-react@workspace:packages/eslint-config-react" +"@saberhq/eslint-config-react@npm:^1.13.32": + version: 1.13.32 + resolution: "@saberhq/eslint-config-react@npm:1.13.32" dependencies: - "@saberhq/eslint-config": "workspace:^" - "@saberhq/tsconfig": "workspace:^" - "@types/eslint": ^8.4.3 - "@types/node": ^18.0.0 - eslint: ^8.18.0 + "@saberhq/eslint-config": ^1.13.32 eslint-plugin-jsx-a11y: ^6.6.0 eslint-plugin-react: ^7.30.1 eslint-plugin-react-hooks: ^4.6.0 - typescript: ^4.7.4 peerDependencies: eslint: ">=7" - languageName: unknown - linkType: soft + checksum: e1338d85325555541f5ded2caf605887cf473049a4131d3886c94d50e4161ca2c5223b7345ac28642c7eb022584d737831ed1b9a975d8d76cc46eaf19bd3d08b + languageName: node + linkType: hard -"@saberhq/eslint-config@workspace:*, @saberhq/eslint-config@workspace:^, @saberhq/eslint-config@workspace:packages/eslint-config": - version: 0.0.0-use.local - resolution: "@saberhq/eslint-config@workspace:packages/eslint-config" +"@saberhq/eslint-config@npm:^1.13.32": + version: 1.13.32 + resolution: "@saberhq/eslint-config@npm:1.13.32" dependencies: - "@saberhq/tsconfig": "workspace:^" - "@types/eslint": ^8.4.3 - "@types/node": ^18.0.0 "@typescript-eslint/eslint-plugin": ^5.30.0 "@typescript-eslint/parser": ^5.30.0 - eslint: ^8.18.0 eslint-config-prettier: ^8.5.0 eslint-import-resolver-node: ^0.3.6 eslint-plugin-import: ^2.26.0 @@ -2327,17 +2313,17 @@ __metadata: eslint-plugin-simple-import-sort: ^7.0.0 eslint-plugin-unused-imports: ^2.0.0 prettier: ^2.7.1 - typescript: ^4.7.4 peerDependencies: eslint: ">=7" - languageName: unknown - linkType: soft + checksum: dc85b0a91fd054bbeb0cda36d0b41ade1dcd3668890fe12d08c8cb870c8efd0f23d8f0ae5368041b459739149611df74e6396487937b8a5eaddca630037b700c + languageName: node + linkType: hard "@saberhq/option-utils@workspace:^, @saberhq/option-utils@workspace:packages/option-utils": version: 0.0.0-use.local resolution: "@saberhq/option-utils@workspace:packages/option-utils" dependencies: - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 tslib: ^2.4.0 typescript: ^4.7.4 languageName: unknown @@ -2353,9 +2339,9 @@ __metadata: "@jest/types": ^28.1.1 "@project-serum/anchor": ^0.25.0-beta.1 "@rushstack/eslint-patch": ^1.1.4 - "@saberhq/eslint-config": "workspace:*" - "@saberhq/eslint-config-react": "workspace:*" - "@saberhq/tsconfig": "workspace:*" + "@saberhq/eslint-config": ^1.13.32 + "@saberhq/eslint-config-react": ^1.13.32 + "@saberhq/tsconfig": ^1.13.32 "@saberhq/use-solana": "workspace:*" "@size-limit/file": ^7.0.8 "@size-limit/webpack": ^7.0.8 @@ -2396,7 +2382,7 @@ __metadata: resolution: "@saberhq/solana-contrib@workspace:packages/solana-contrib" dependencies: "@saberhq/option-utils": "workspace:^" - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 "@solana/buffer-layout": ^4.0.0 "@solana/web3.js": ^1.46.0 "@types/bn.js": ^5.1.0 @@ -2422,7 +2408,7 @@ __metadata: dependencies: "@saberhq/solana-contrib": "workspace:^" "@saberhq/token-utils": "workspace:^" - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 "@solana/buffer-layout": ^4.0.0 "@solana/web3.js": ^1.46.0 "@types/bn.js": ^5.1.0 @@ -2446,7 +2432,7 @@ __metadata: resolution: "@saberhq/token-utils@workspace:packages/token-utils" dependencies: "@saberhq/solana-contrib": "workspace:^" - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 "@solana/buffer-layout": ^4.0.0 "@solana/spl-token": ^0.1.8 "@solana/web3.js": ^1.46.0 @@ -2463,18 +2449,19 @@ __metadata: languageName: unknown linkType: soft -"@saberhq/tsconfig@workspace:*, @saberhq/tsconfig@workspace:^, @saberhq/tsconfig@workspace:packages/tsconfig": - version: 0.0.0-use.local - resolution: "@saberhq/tsconfig@workspace:packages/tsconfig" - languageName: unknown - linkType: soft +"@saberhq/tsconfig@npm:^1.13.32": + version: 1.13.32 + resolution: "@saberhq/tsconfig@npm:1.13.32" + checksum: 77767690d5219a40e35d30d2f64e9b291a32060dc7feae1da46953c7bf5f2a47eced433dd0cf9827a8cfb4ca845fcbe56d7c9cf0a6e8d88bc725341fe3ef87d4 + languageName: node + linkType: hard "@saberhq/tuple-utils@workspace:packages/tuple-utils": version: 0.0.0-use.local resolution: "@saberhq/tuple-utils@workspace:packages/tuple-utils" dependencies: "@saberhq/option-utils": "workspace:^" - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 tslib: ^2.4.0 typescript: ^4.7.4 languageName: unknown @@ -2487,7 +2474,7 @@ __metadata: "@ledgerhq/hw-transport": ^6.27.1 "@ledgerhq/hw-transport-webusb": ^6.27.1 "@saberhq/solana-contrib": "workspace:^" - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 "@saberhq/wallet-adapter-icons": "workspace:^" "@solana/wallet-adapter-base": ^0.9.6 "@solana/wallet-adapter-clover": ^0.4.5 @@ -2524,7 +2511,7 @@ __metadata: version: 0.0.0-use.local resolution: "@saberhq/wallet-adapter-icons@workspace:packages/wallet-adapter-icons" dependencies: - "@saberhq/tsconfig": "workspace:^" + "@saberhq/tsconfig": ^1.13.32 "@types/react": ^18.0.14 react: ^18.2.0 tslib: ^2.4.0