Skip to content

Commit

Permalink
update all dependencies (#2693)
Browse files Browse the repository at this point in the history
* incomplete: update all dependencies

* fix build commands

* chore: build succeeds

* chore: unit tests are working

* chore: integration tests are working

* chore: downgrade some dependencies in website

* chore: test dapp is working

* chore: update all dependencies again

* chore: format all changed files

* chore: remove unneeded rollup plugin

* chore: update node version in CI

* chore: fix lint errors

* chore: improvements to website

* chore: remoce polynomial regular expression

* chore: trying to fix website build in ci

* chore: remove the outdated rollup-plugin-sourcemap

* chore: update all dependencies again

* undo unintended change of visibility

* chore: undo lint-staged upgrade: cause error with lerna+nx

* chore: fix package-lock.json
  • Loading branch information
ac10n authored Oct 18, 2023
1 parent a8dac9c commit d15c5ec
Show file tree
Hide file tree
Showing 302 changed files with 22,209 additions and 78,766 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bundle_webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
-
uses: actions/setup-node@v2
with:
node-version: lts/gallium
node-version: lts/hydrogen
- run: npm ci
- run: npm run build
- run: cd packages/taquito-local-forging && npm run build-webpack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/gallium
node-version: lts/hydrogen
- run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- run: echo "PACKAGE_VERSION=`node -p "require('./packages/taquito/package.json').version"`" >> $GITHUB_ENV
- run: echo "BRANCH_NAME=$(git branch --show-current)" >> $GITHUB_ENV
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/gallium
node-version: lts/hydrogen
- run: npm ci
- run: npm run build
- run: npm ci
working-directory: website
- run: npm run build
working-directory: website
env:
NODE_OPTIONS: "--max_old_space_size=4096"
ALGOLIA_APPLICATION_ID: ${{ github.ref != 'refs/heads/master' && 'example' || secrets.ALGOLIA_APPLICATION_ID }}
ALGOLIA_SEARCH_API_KEY: ${{ github.ref != 'refs/heads/master' && 'example' || secrets.ALGOLIA_SEARCH_API_KEY }}
ALGOLIA_UPDATE_API_KEY: ${{ github.ref != 'refs/heads/master' && 'example' || secrets.ALGOLIA_UPDATE_API_KEY }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
fail-fast: false
matrix:
node:
- 'lts/gallium'
- 'lts/hydrogen'
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -49,7 +48,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/gallium
node-version: lts/hydrogen
- run: npm ci
- run: npm run build
- if: ${{ !github.event.pull_request.head.repo.fork }}
Expand Down Expand Up @@ -77,7 +76,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/gallium
node-version: lts/hydrogen

## The 4 Bootstrap Accounts (alias, pk, pkh, sk)
# alice,edpkvGfYw3LyB1UcCahKQk4rF2tvbMUk8GFiTuMjL75uGXrpvKXhjn,tz1VSUr8wwNhLAzempoch5d6hLRiTh8Cjcjb,unencrypted:edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mondaynet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/gallium
node-version: lts/hydrogen
- run: npm ci
- run: npm run build
-
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v18
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Docker to run Taquito integration tests
FROM node:16
FROM node:18

COPY tsconfig.base.json /taquito/
COPY ./integration-tests /taquito/integration-tests/
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ Taquito currently supports the following versions of Node.js®:
| ---------------- | ---------- |
| v12 LTS ||
| v14 LTS ||
| v16.13.1 | |
| v16 LTS/Gallium | |
| 17.3.x | |
| v16.13.1 | |
| v16 LTS/Gallium | |
| 17.3.x | |
| v18 LTS/Hydrogen ||
| v20 ||

While other versions often work, the above are what we officially support. YMMV!

Expand Down
27 changes: 14 additions & 13 deletions apps/taquito-test-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,27 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.1.0",
"@tsconfig/svelte": "^2.0.1",
"@sveltejs/vite-plugin-svelte": "^2.4.6",
"@tsconfig/svelte": "^5.0.2",
"events": "^3.3.0",
"lerna": "^6.0.3",
"prettier-plugin-svelte": "^2.7.0",
"sass": "^1.51.0",
"svelte": "^3.52.0",
"svelte-check": "^2.2.7",
"svelte-preprocess": "^4.9.8",
"tslib": "^2.3.1",
"typescript": "^4.5.4",
"vite": "^3.2.0"
"lerna": "^7.3.1",
"prettier-plugin-svelte": "^3.0.3",
"sass": "^1.69.3",
"svelte": "^4.2.1",
"svelte-check": "^3.5.2",
"svelte-preprocess": "^5.0.4",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^4.4.11"
},
"dependencies": {
"@airgap/beacon-sdk": "4.0.12",
"@taquito/beacon-wallet": "^17.3.2",
"@taquito/taquito": "^17.3.2",
"@taquito/utils": "^17.3.2",
"@taquito/core": "^17.3.1",
"buffer": "^6.0.3",
"svelte-select": "^4.4.7",
"svelte-select": "^5.7.0",
"vite-compatible-readable-stream": "^3.6.1"
},
"alias": {
Expand All @@ -38,4 +39,4 @@
"prettier": {
"svelteSortOrder": "options-scripts-styles-markup"
}
}
}
9 changes: 7 additions & 2 deletions apps/taquito-test-dapp/src/lib/TestContainer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import type { TestSettings, TestResult } from "../types";
import { shortenHash } from "../utils";
import { NetworkType } from "@airgap/beacon-sdk";
import { stringify } from "@taquito/core";
let test: TestSettings | undefined;
let executionTime = 0;
Expand Down Expand Up @@ -276,7 +277,9 @@
</div>
{#if test.documentation}
<div class="learn-more">
<a href={test.documentation} target="_blank" rel="noopener noreferrer">Learn more about <b>{test.keyword}</b> with Taquito</a>
<a href={test.documentation} target="_blank" rel="noopener noreferrer"
>Learn more about <b>{test.keyword}</b> with Taquito</a
>
</div>
{/if}
</div>
Expand Down Expand Up @@ -385,7 +388,9 @@
</div>
{#if test.documentation}
<div class="learn-more">
<a href={test.documentation} target="_blank" rel="noopener noreferrer">Learn more about <b>{test.keyword}</b> with Taquito</a>
<a href={test.documentation} target="_blank" rel="noopener noreferrer"
>Learn more about <b>{test.keyword}</b> with Taquito</a
>
</div>
{/if}
{/if}
Expand Down
Loading

0 comments on commit d15c5ec

Please sign in to comment.