From 63a0061338adf0f27852c9dd2755ddf2adb321b2 Mon Sep 17 00:00:00 2001 From: Andreas Richter <708186+richtera@users.noreply.github.com> Date: Fri, 9 Feb 2024 06:50:18 -0500 Subject: [PATCH] fix: Ci? :( --- .github/workflows/release.yml | 3 +- configs/jest-tests-browser/package.json | 1 + configs/jest-tests-node/package.json | 3 +- pnpm-lock.yaml | 105 ++++++++++++------------ 4 files changed, 58 insertions(+), 54 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20efe1f..af6cc4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,8 +42,7 @@ jobs: # `npm run build:js` will also generate the auto-generated constants for methods, errors and events, # including extracting their devdocs and userdocs - name: Prepare artifacts to publish - run: | - pnpm run build + run: pnpm run build - name: Tests run: pnpm run test diff --git a/configs/jest-tests-browser/package.json b/configs/jest-tests-browser/package.json index d7154b4..2b80066 100644 --- a/configs/jest-tests-browser/package.json +++ b/configs/jest-tests-browser/package.json @@ -8,6 +8,7 @@ "dist/**" ], "devDependencies": { + "@jest/globals": "^29.7.0", "@lukso/tsconfig": "workspace:*", "eslint": "^7.32.0", "eslint-config-lukso": "workspace:*", diff --git a/configs/jest-tests-node/package.json b/configs/jest-tests-node/package.json index bd907c8..1f1877a 100644 --- a/configs/jest-tests-node/package.json +++ b/configs/jest-tests-node/package.json @@ -8,6 +8,8 @@ "dist/**" ], "devDependencies": { + "@jest/globals": "^29.7.0", + "cross-blob": "^3.0.2", "eslint": "^7.32.0", "eslint-config-lukso": "workspace:*", "tsup": "^5.12.9", @@ -30,7 +32,6 @@ "@lukso/tsconfig": "workspace:*", "@types/jest": "^29.5.7", "@types/node": "^17.0.45", - "cross-blob": "^3.0.2", "fetch-blob": "^4.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f407cbf..ab54d7e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,10 +25,10 @@ importers: version: 20.11.17 '@typescript-eslint/eslint-plugin': specifier: ^6.21.0 - version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@7.32.0)(typescript@5.3.3) + version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@7.32.0)(typescript@4.9.5) '@typescript-eslint/parser': specifier: ^6.21.0 - version: 6.21.0(eslint@7.32.0)(typescript@5.3.3) + version: 6.21.0(eslint@7.32.0)(typescript@4.9.5) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -61,7 +61,7 @@ importers: version: 0.5.21 tsup: specifier: ^8.0.1 - version: 8.0.1(@microsoft/api-extractor@7.40.1)(typescript@5.3.3) + version: 8.0.1(@microsoft/api-extractor@7.40.1)(typescript@4.9.5) turbo: specifier: ^1.12.3 version: 1.12.3 @@ -76,7 +76,7 @@ importers: dependencies: eslint-config-next: specifier: ^13.4.1 - version: 13.4.1(eslint@8.56.0)(typescript@5.3.3) + version: 13.4.1(eslint@8.56.0)(typescript@4.9.5) eslint-config-prettier: specifier: ^8.3.0 version: 8.5.0(eslint@8.56.0) @@ -100,7 +100,7 @@ importers: version: 16.3.1 ts-jest: specifier: ^29.1.1 - version: 29.1.1(@babel/core@7.23.9)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.3.3) + version: 29.1.1(@babel/core@7.23.9)(esbuild@0.19.12)(jest@29.7.0)(typescript@4.9.5) devDependencies: '@jest/environment': specifier: ^29.7.0 @@ -142,6 +142,9 @@ importers: specifier: ^3.3.2 version: 3.3.2 devDependencies: + '@jest/globals': + specifier: ^29.7.0 + version: 29.7.0 '@lukso/tsconfig': specifier: workspace:* version: link:../tsconfig @@ -181,13 +184,16 @@ importers: '@types/node': specifier: ^17.0.45 version: 17.0.45 - cross-blob: - specifier: ^3.0.2 - version: 3.0.2 fetch-blob: specifier: ^4.0.0 version: 4.0.0 devDependencies: + '@jest/globals': + specifier: ^29.7.0 + version: 29.7.0 + cross-blob: + specifier: ^3.0.2 + version: 3.0.2 eslint: specifier: ^7.32.0 version: 7.32.0 @@ -2672,7 +2678,7 @@ packages: dependencies: '@types/yargs-parser': 21.0.3 - /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@7.32.0)(typescript@5.3.3): + /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@7.32.0)(typescript@4.9.5): resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2684,10 +2690,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.21.0(eslint@7.32.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@7.32.0)(typescript@4.9.5) '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/type-utils': 6.21.0(eslint@7.32.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@7.32.0)(typescript@5.3.3) + '@typescript-eslint/type-utils': 6.21.0(eslint@7.32.0)(typescript@4.9.5) + '@typescript-eslint/utils': 6.21.0(eslint@7.32.0)(typescript@4.9.5) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 7.32.0 @@ -2695,13 +2701,13 @@ packages: ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.0.3(typescript@4.9.5) + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@5.62.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/parser@5.62.0(eslint@8.56.0)(typescript@4.9.5): resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2713,15 +2719,15 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@4.9.5) debug: 4.3.4 eslint: 8.56.0 - typescript: 5.3.3 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser@6.21.0(eslint@7.32.0)(typescript@5.3.3): + /@typescript-eslint/parser@6.21.0(eslint@7.32.0)(typescript@4.9.5): resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2733,11 +2739,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@4.9.5) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 7.32.0 - typescript: 5.3.3 + typescript: 4.9.5 transitivePeerDependencies: - supports-color @@ -2756,7 +2762,7 @@ packages: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/visitor-keys': 6.21.0 - /@typescript-eslint/type-utils@6.21.0(eslint@7.32.0)(typescript@5.3.3): + /@typescript-eslint/type-utils@6.21.0(eslint@7.32.0)(typescript@4.9.5): resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2766,12 +2772,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@7.32.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@4.9.5) + '@typescript-eslint/utils': 6.21.0(eslint@7.32.0)(typescript@4.9.5) debug: 4.3.4 eslint: 7.32.0 - ts-api-utils: 1.0.3(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.0.3(typescript@4.9.5) + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true @@ -2785,7 +2791,7 @@ packages: resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} engines: {node: ^16.0.0 || >=18.0.0} - /@typescript-eslint/typescript-estree@5.62.0(typescript@5.3.3): + /@typescript-eslint/typescript-estree@5.62.0(typescript@4.9.5): resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2800,13 +2806,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - tsutils: 3.21.0(typescript@5.3.3) - typescript: 5.3.3 + tsutils: 3.21.0(typescript@4.9.5) + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/typescript-estree@6.21.0(typescript@5.3.3): + /@typescript-eslint/typescript-estree@6.21.0(typescript@4.9.5): resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2822,12 +2828,12 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.0 - ts-api-utils: 1.2.1(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.2.1(typescript@4.9.5) + typescript: 4.9.5 transitivePeerDependencies: - supports-color - /@typescript-eslint/utils@6.21.0(eslint@7.32.0)(typescript@5.3.3): + /@typescript-eslint/utils@6.21.0(eslint@7.32.0)(typescript@4.9.5): resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2838,7 +2844,7 @@ packages: '@types/semver': 7.5.6 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@4.9.5) eslint: 7.32.0 semver: 7.5.4 transitivePeerDependencies: @@ -3551,7 +3557,6 @@ packages: /blob-polyfill@7.0.20220408: resolution: {integrity: sha512-oD8Ydw+5lNoqq+en24iuPt1QixdPpe/nUF8azTHnviCZYu9zUC+TwdzIp5orpblJosNlgNbVmmAb//c6d6ImUQ==} - dev: false /boxen@7.1.1: resolution: {integrity: sha512-2hCgjEmP8YLWQ130n2FerGv7rYpfBmnmp9Uy2Le1vge6X3gZIfSmEzP5QTDElFxcvVcXlEn8Aq6MU/PZygIOog==} @@ -3969,7 +3974,6 @@ packages: dependencies: blob-polyfill: 7.0.20220408 fetch-blob: 3.2.0 - dev: false /cross-env@7.0.3: resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} @@ -4689,7 +4693,7 @@ packages: source-map: 0.6.1 dev: true - /eslint-config-next@13.4.1(eslint@8.56.0)(typescript@5.3.3): + /eslint-config-next@13.4.1(eslint@8.56.0)(typescript@4.9.5): resolution: {integrity: sha512-ajuxjCkW1hvirr0EQZb3/B/bFH52Z7CT89uCtTcICFL9l30i5c8hN4p0LXvTjdOXNPV5fEDcxBgGHgXdzTj1/A==} peerDependencies: eslint: ^7.23.0 || ^8.0.0 @@ -4700,7 +4704,7 @@ packages: dependencies: '@next/eslint-plugin-next': 13.4.1 '@rushstack/eslint-patch': 1.2.0 - '@typescript-eslint/parser': 5.62.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 5.62.0(eslint@8.56.0)(typescript@4.9.5) eslint: 8.56.0 eslint-import-resolver-node: 0.3.6 eslint-import-resolver-typescript: 3.5.2(eslint-plugin-import@2.26.0)(eslint@8.56.0) @@ -4708,7 +4712,7 @@ packages: eslint-plugin-jsx-a11y: 6.6.1(eslint@8.56.0) eslint-plugin-react: 7.31.11(eslint@8.56.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.56.0) - typescript: 5.3.3 + typescript: 4.9.5 transitivePeerDependencies: - eslint-import-resolver-webpack - supports-color @@ -4782,7 +4786,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@7.32.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@7.32.0)(typescript@4.9.5) debug: 3.2.7 eslint: 8.56.0 eslint-import-resolver-node: 0.3.6 @@ -4800,7 +4804,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@7.32.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@7.32.0)(typescript@4.9.5) array-includes: 3.1.6 array.prototype.flat: 1.3.1 debug: 2.6.9 @@ -9256,28 +9260,28 @@ packages: resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} dev: false - /ts-api-utils@1.0.3(typescript@5.3.3): + /ts-api-utils@1.0.3(typescript@4.9.5): resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} engines: {node: '>=16.13.0'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.3.3 + typescript: 4.9.5 dev: true - /ts-api-utils@1.2.1(typescript@5.3.3): + /ts-api-utils@1.2.1(typescript@4.9.5): resolution: {integrity: sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.3.3 + typescript: 4.9.5 /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true - /ts-jest@29.1.1(@babel/core@7.23.9)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.3.3): + /ts-jest@29.1.1(@babel/core@7.23.9)(esbuild@0.19.12)(jest@29.7.0)(typescript@4.9.5): resolution: {integrity: sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -9308,7 +9312,7 @@ packages: lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.5.4 - typescript: 5.3.3 + typescript: 4.9.5 yargs-parser: 21.1.1 dev: false @@ -9377,7 +9381,7 @@ packages: - ts-node dev: true - /tsup@8.0.1(@microsoft/api-extractor@7.40.1)(typescript@5.3.3): + /tsup@8.0.1(@microsoft/api-extractor@7.40.1)(typescript@4.9.5): resolution: {integrity: sha512-hvW7gUSG96j53ZTSlT4j/KL0q1Q2l6TqGBFc6/mu/L46IoNWqLLUzLRLP1R8Q7xrJTmkDxxDoojV5uCVs1sVOg==} engines: {node: '>=18'} hasBin: true @@ -9411,20 +9415,20 @@ packages: source-map: 0.8.0-beta.0 sucrase: 3.35.0 tree-kill: 1.2.2 - typescript: 5.3.3 + typescript: 4.9.5 transitivePeerDependencies: - supports-color - ts-node dev: true - /tsutils@3.21.0(typescript@5.3.3): + /tsutils@3.21.0(typescript@4.9.5): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.3.3 + typescript: 4.9.5 dev: false /tunnel-agent@0.6.0: @@ -9546,7 +9550,6 @@ packages: resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} engines: {node: '>=4.2.0'} hasBin: true - dev: true /typescript@5.3.3: resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==}