diff --git a/.circleci/config.yml b/.circleci/config.yml index b7200f22..ca8b268c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: build_and_test: executor: name: node/default # use the default executor defined within the orb - tag: '18.19' + tag: '20.11' steps: - checkout - restore_cache: @@ -21,7 +21,7 @@ jobs: name: Install pnpm package manager command: | sudo corepack enable - sudo corepack prepare pnpm@8.9.2 --activate + sudo corepack prepare pnpm --activate node --version pnpm --version - run: diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index a4d82a99..1637b86f 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -15,11 +15,11 @@ jobs: - name: Checkout the repository uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 - with: - version: 8.9.2 +# with: +# version: 8.9.2 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20.11 cache: 'pnpm' - name: Install run: pnpm install diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6a1727a8..093405cf 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,11 +17,11 @@ jobs: persist-credentials: false ref: ${{ github.event.inputs.commit }} - uses: pnpm/action-setup@v2 - with: - version: 8.9.2 +# with: +# version: 8.9.2 - uses: actions/setup-node@v4 with: - node-version: 18.18 + node-version: 20.11 cache: 'pnpm' registry-url: 'https://registry.npmjs.org' - name: Set NPM variables @@ -41,7 +41,7 @@ jobs: run: pnpm build:all - name: Semantic Release id: semantic - uses: cycjimmy/semantic-release-action@v3 + uses: cycjimmy/semantic-release-action@v4 env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - name: Release Summary diff --git a/.prettierrc b/.prettierrc index 49955e2e..ff0ec605 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,6 @@ { "semi": false, "singleQuote": true, - "trailingComma": "none" + "trailingComma": "none", + "plugins": ["prettier-plugin-sh"] } diff --git a/package.json b/package.json index 54fd4d18..a7b04540 100644 --- a/package.json +++ b/package.json @@ -32,9 +32,8 @@ "lint-staged": "^15.0.0", "prettier": "^3.0.3", "prettier-package-json": "^2.8.0", - "prettier-plugin-sh": "^0.13.1", + "prettier-plugin-sh": "^0.14.0", "semantic-release": "^19.0.5", - "semantic-release-monorepo": "^7.0.5", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "tslib": "^2.6.2", diff --git a/packages/aptos/package.json b/packages/aptos/package.json index 7d66726d..a2e35b61 100644 --- a/packages/aptos/package.json +++ b/packages/aptos/package.json @@ -39,7 +39,7 @@ }, "types": "./dist/cjs/index.d.ts", "dependencies": { - "@aptos-labs/ts-sdk": "~1.4.0", + "@aptos-labs/ts-sdk": "~1.5.0", "@typemove/move": "workspace:*", "chalk": "^5.3.0", "commander": "^11.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0a78b197..bd9240a9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -72,14 +72,11 @@ importers: specifier: ^2.8.0 version: 2.8.0 prettier-plugin-sh: - specifier: ^0.13.1 - version: 0.13.1(prettier@3.0.3) + specifier: ^0.14.0 + version: 0.14.0(prettier@3.0.3) semantic-release: specifier: ^19.0.5 version: 19.0.5 - semantic-release-monorepo: - specifier: ^7.0.5 - version: 7.0.5(semantic-release@19.0.5) ts-jest: specifier: ^29.1.1 version: 29.1.1(@babel/core@7.22.17)(@jest/types@29.6.3)(jest@29.6.4)(typescript@5.2.2) @@ -123,8 +120,8 @@ importers: packages/aptos: dependencies: '@aptos-labs/ts-sdk': - specifier: ~1.4.0 - version: 1.4.0 + specifier: ~1.5.0 + version: 1.5.1 '@typemove/move': specifier: workspace:* version: link:../move @@ -214,8 +211,8 @@ packages: - debug dev: false - /@aptos-labs/ts-sdk@1.4.0: - resolution: {integrity: sha512-t1GKynd5wGghi16AJORHTrjYRUBotRv85NH5FtOSadQWQ5/YlOSwVxCqq9U0ijRWzGz3VM0ndGsjBcCLfwNkUA==} + /@aptos-labs/ts-sdk@1.5.1: + resolution: {integrity: sha512-WkPiY8runHIpshnK2bTspPOPHRKqzNOB1tX0lpJoC5kw4Owy5a+m+U1NMM9uzOOCr2nB3NMiktmpCOG7AOQ3fQ==} engines: {node: '>=11.0.0'} dependencies: '@aptos-labs/aptos-client': 0.1.0 @@ -223,6 +220,7 @@ packages: '@noble/hashes': 1.3.3 '@scure/bip32': 1.3.3 '@scure/bip39': 1.2.1 + eventemitter3: 5.0.1 form-data: 4.0.0 tweetnacl: 1.0.3 transitivePeerDependencies: @@ -2275,14 +2273,6 @@ packages: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} dev: true - /cross-spawn@5.1.0: - resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} - dependencies: - lru-cache: 4.1.5 - shebang-command: 1.2.0 - which: 1.3.1 - dev: true - /cross-spawn@7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} @@ -2840,26 +2830,12 @@ packages: /eventemitter3@5.0.1: resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} - dev: true /events@3.3.0: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} engines: {node: '>=0.8.x'} dev: false - /execa@0.8.0: - resolution: {integrity: sha512-zDWS+Rb1E8BlqqhALSt9kUhss8Qq4nN3iof3gsOdyINksElaPyNBtKUMTR62qhvgVWR0CqCX7sdnKe4MnUbFEA==} - engines: {node: '>=4'} - dependencies: - cross-spawn: 5.1.0 - get-stream: 3.0.0 - is-stream: 1.1.0 - npm-run-path: 2.0.2 - p-finally: 1.0.0 - signal-exit: 3.0.7 - strip-eof: 1.0.0 - dev: true - /execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} @@ -3124,11 +3100,6 @@ packages: engines: {node: '>=8.0.0'} dev: true - /get-stream@3.0.0: - resolution: {integrity: sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==} - engines: {node: '>=4'} - dev: true - /get-stream@5.2.0: resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} engines: {node: '>=8'} @@ -3582,11 +3553,6 @@ packages: call-bind: 1.0.2 dev: true - /is-stream@1.1.0: - resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} - engines: {node: '>=0.10.0'} - dev: true - /is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} @@ -4389,13 +4355,6 @@ packages: engines: {node: '>=8'} dev: false - /lru-cache@4.1.5: - resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} - dependencies: - pseudomap: 1.0.2 - yallist: 2.1.2 - dev: true - /lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} dependencies: @@ -4646,13 +4605,6 @@ packages: resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} engines: {node: '>=10'} - /npm-run-path@2.0.2: - resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} - engines: {node: '>=4'} - dependencies: - path-key: 2.0.1 - dev: true - /npm-run-path@4.0.1: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} @@ -4841,11 +4793,6 @@ packages: p-map: 2.1.0 dev: true - /p-finally@1.0.0: - resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} - engines: {node: '>=4'} - dev: true - /p-is-promise@3.0.0: resolution: {integrity: sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==} engines: {node: '>=8'} @@ -4967,11 +4914,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /path-key@2.0.1: - resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} - engines: {node: '>=4'} - dev: true - /path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} @@ -5035,13 +4977,6 @@ packages: find-up: 4.1.0 dev: true - /pkg-up@2.0.0: - resolution: {integrity: sha512-fjAPuiws93rm7mPUu21RdBnkeZNrbfCFCwfAhPWY+rR3zG0ubpe5cEReHOw5fIbfmsxEV/g2kSxGTATY3Bpnwg==} - engines: {node: '>=4'} - dependencies: - find-up: 2.1.0 - dev: true - /prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} @@ -5062,11 +4997,11 @@ packages: sort-order: 1.0.1 dev: true - /prettier-plugin-sh@0.13.1(prettier@3.0.3): - resolution: {integrity: sha512-ytMcl1qK4s4BOFGvsc9b0+k9dYECal7U29bL/ke08FEUsF/JLN0j6Peo0wUkFDG4y2UHLMhvpyd6Sd3zDXe/eg==} + /prettier-plugin-sh@0.14.0(prettier@3.0.3): + resolution: {integrity: sha512-hfXulj5+zEl/ulrO5kMuuTPKmXvOg0bnLHY1hKFNN/N+/903iZbNp8NyZBTsgI8dtkSgFfAEIQq0IQTyP1ZVFQ==} engines: {node: '>=16.0.0'} peerDependencies: - prettier: ^3.0.0 + prettier: ^3.0.3 dependencies: mvdan-sh: 0.10.1 prettier: 3.0.3 @@ -5107,10 +5042,6 @@ packages: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} dev: false - /pseudomap@1.0.2: - resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} - dev: true - /pump@3.0.0: resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} dependencies: @@ -5151,10 +5082,6 @@ packages: engines: {node: '>=14.18.0'} dev: false - /ramda@0.25.0: - resolution: {integrity: sha512-GXpfrYVPwx3K7RQ6aYT8KPS8XViSXUVJT1ONhoKPE9VAleW42YE+U+8VEyGWt41EnEQW7gwecYJriTI0pKoecQ==} - dev: true - /rc@1.2.8: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true @@ -5345,31 +5272,6 @@ packages: is-regex: 1.1.4 dev: true - /semantic-release-monorepo@7.0.5(semantic-release@19.0.5): - resolution: {integrity: sha512-riOYD8eZ5PIST7o97Ltc01l8VQW7q01NmPDRPOBycaeZczJowyKkzkBfo92kTIWDFWbdO3G8A695JrrYjoTaiw==} - peerDependencies: - semantic-release: '>=15.11.x' - dependencies: - debug: 3.2.7 - execa: 0.8.0 - p-limit: 1.3.0 - pkg-up: 2.0.0 - ramda: 0.25.0 - read-pkg: 5.2.0 - semantic-release: 19.0.5 - semantic-release-plugin-decorators: 3.0.1(semantic-release@19.0.5) - transitivePeerDependencies: - - supports-color - dev: true - - /semantic-release-plugin-decorators@3.0.1(semantic-release@19.0.5): - resolution: {integrity: sha512-f5Qjvv/AJYByvkaj11a+05gQwfPwgQKo5OIhj8YVM2Dhf2rOPEOLD83jGrTdM7Nuf//sZYw77/cGUSVygUG9Kg==} - peerDependencies: - semantic-release: '>=11' - dependencies: - semantic-release: 19.0.5 - dev: true - /semantic-release@19.0.5: resolution: {integrity: sha512-NMPKdfpXTnPn49FDogMBi36SiBfXkSOJqCkk0E4iWOY1tusvvgBwqUmxTX1kmlT6kIYed9YwNKD1sfPpqa5yaA==} engines: {node: '>=16 || ^14.17'} @@ -5445,13 +5347,6 @@ packages: tslib: 2.6.2 dev: true - /shebang-command@1.2.0: - resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} - engines: {node: '>=0.10.0'} - dependencies: - shebang-regex: 1.0.0 - dev: true - /shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} @@ -5459,11 +5354,6 @@ packages: shebang-regex: 3.0.0 dev: true - /shebang-regex@1.0.0: - resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} - engines: {node: '>=0.10.0'} - dev: true - /shebang-regex@3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} @@ -5699,11 +5589,6 @@ packages: engines: {node: '>=8'} dev: true - /strip-eof@1.0.0: - resolution: {integrity: sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==} - engines: {node: '>=0.10.0'} - dev: true - /strip-final-newline@2.0.0: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} engines: {node: '>=6'} @@ -6199,13 +6084,6 @@ packages: has-tostringtag: 1.0.0 dev: true - /which@1.3.1: - resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} - hasBin: true - dependencies: - isexe: 2.0.0 - dev: true - /which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} @@ -6270,10 +6148,6 @@ packages: engines: {node: '>=10'} dev: true - /yallist@2.1.2: - resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} - dev: true - /yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} dev: true