Skip to content

Commit

Permalink
Merge pull request #814 from dc7290/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
dc7290 authored Mar 10, 2024
2 parents 553453f + f89f438 commit e7e793c
Show file tree
Hide file tree
Showing 13 changed files with 1,756 additions and 1,579 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@ jobs:
node:
- 16
- 18
- 19
- 20
os:
- ubuntu-latest
- macos-latest
- windows-latest
name: Node.js v${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.17.1
nodejs 18.19.1
8 changes: 8 additions & 0 deletions docs/docs/03-Features/01-external-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,11 @@ Also, no downloading to local is performed.
src="https://next-export-optimize-images.vercel.app/og.png?width=3840"
/>
```

### `remoteImagesDownloadsDelay`

- Type: number

In case you need to download a large amount of images from an external CDN with a rate limit, this will add delays between downloading images.

effectively this will add `sleep` function between downloads.
6 changes: 6 additions & 0 deletions docs/docs/04-Configurations/01-basic-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,9 @@ You can directly specify the URL of an external image.
This is useful in cases where it is not known what images will be used for the build using variables, for example.

https://next-export-optimize-images.vercel.app/docs/Features/external-images#when-specifying-an-external-image-url-with-a-variable

### `remoteImagesDownloadsDelay`

- Type: number

In case you need to download a large amount of images from an external CDN with a rate limit, this will add delays between downloading images.
18 changes: 9 additions & 9 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
},
"dependencies": {},
"devDependencies": {
"@docusaurus/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"@heroicons/react": "2.0.18",
"@docusaurus/core": "2.4.3",
"@docusaurus/preset-classic": "2.4.3",
"@heroicons/react": "2.1.1",
"@mdx-js/react": "1.6.22",
"autoprefixer": "10.4.15",
"clsx": "2.0.0",
"postcss": "8.4.29",
"prettier": "3.0.3",
"prettier-plugin-tailwindcss": "0.4.1",
"autoprefixer": "10.4.18",
"clsx": "2.1.0",
"postcss": "8.4.35",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.5.12",
"prism-react-renderer": "1.3.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.3.3"
"tailwindcss": "3.4.1"
}
}
Loading

0 comments on commit e7e793c

Please sign in to comment.