build(docs): Update dependencies (#20454)

Updates the dependencies in docs to the latest. Hugo is the exception,
since upgrading it may directly affect fluidframework.com and should be
tested more thoroughly. These updates are reasonably safe, despite being
major version bumps in some cases.

Additionally, this fixes the linkcheck-bin dependency to work properly
on arm64 mac and Linux systems.
This commit is contained in:
Tyler Butler 2024-04-08 11:19:17 -07:00 коммит произвёл GitHub
Родитель f8a71c2f32
Коммит d6566d7ea9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
5 изменённых файлов: 331 добавлений и 660 удалений

28
.github/workflows/website-validation.yml поставляемый
Просмотреть файл

@ -18,15 +18,15 @@ jobs:
runs-on: ubuntu-latest
name: Build site
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
with:
submodules: false
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # ratchet:pnpm/action-setup@v2
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # ratchet:pnpm/action-setup@v2
with:
version: "^7"
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # ratchet:actions/setup-node@v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # ratchet:actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
cache: "pnpm"
cache-dependency-path: docs/pnpm-lock.yaml
- name: Build site artifact
@ -34,7 +34,7 @@ jobs:
pnpm i --frozen-lockfile
npm run ci:build
- name: Upload site artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # ratchet:actions/upload-artifact@v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # ratchet:actions/upload-artifact@v3
with:
name: fluidframework-site
path: docs/public
@ -44,15 +44,15 @@ jobs:
runs-on: ubuntu-latest
name: pnpm lint
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
with:
submodules: false
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # ratchet:pnpm/action-setup@v2
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # ratchet:pnpm/action-setup@v2
with:
version: "^7"
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # ratchet:actions/setup-node@v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # ratchet:actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
cache: "pnpm"
cache-dependency-path: docs/pnpm-lock.yaml
- name: pnpm lint
@ -65,15 +65,15 @@ jobs:
name: 🔗 Broken Link Check
needs: build_site
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # ratchet:actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
with:
submodules: false
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # ratchet:pnpm/action-setup@v2
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # ratchet:pnpm/action-setup@v2
with:
version: "^7"
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # ratchet:actions/setup-node@v3
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # ratchet:actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
cache: "pnpm"
cache-dependency-path: docs/pnpm-lock.yaml
- name: Create results folder
@ -102,7 +102,7 @@ jobs:
cat ./results/linkcheck-output.txt | tee -a ./results/linkcheck
echo -e "\n\`\`\`" | tee -a ./results/linkcheck
- name: Upload results artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # ratchet:actions/upload-artifact@v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # ratchet:actions/upload-artifact@v3
with:
name: website-validation-results
path: ./docs/results

Просмотреть файл

@ -134,7 +134,7 @@ export function layoutContent(apiItem, itemSpecificContent, config) {
ApiItemUtilities.getHeadingForApiItem(apiItem, config),
),
),
];
];
}
/**

Просмотреть файл

@ -52,12 +52,12 @@ this compatibility across this boundary is important. Currently Fluid maintains
backwards *and* forwards compatible with the runtime by at least 1 version. For a given driver or loader version `2.x`,
it should be compatible with runtime versions `1.x`, `2.x`, and `3.x`. This is illustrated by the table below:
Driver/Loader | | 1.x | 2.x | 3.x
-------------:|-|:---:|:---:|:---:
Runtime | | | |
1.x | | C | BC | X
2.x | | FC | C | BC
3.x | | X | FC | C
| Driver/Loader | | 1.x | 2.x | 3.x |
|--------------:|-|:---:|:---:|:---:|
| Runtime | | | | |
| 1.x | | C | BC | X |
| 2.x | | FC | C | BC |
| 3.x | | X | FC | C |
- C - Fully compatible
- BC - Driver/loader backwards compatible with runtime

Просмотреть файл

@ -41,51 +41,39 @@
"dependencies": {
"@fluid-tools/api-markdown-documenter": "^0.11.3",
"@fluid-tools/markdown-magic": "file:../tools/markdown-magic",
"@fluidframework/build-common": "^2.0.0",
"@rushstack/node-core-library": "^3.59.4",
"@tylerbu/dl-cli": "1.1.2-tylerbu-0",
"@vscode/codicons": "0.0.33",
"chalk": "^4.1.2",
"concurrently": "^8.2.1",
"@fluidframework/build-common": "^2.0.3",
"@rushstack/node-core-library": "^4.0.2",
"@vscode/codicons": "0.0.35",
"chalk": "^5.3.0",
"concurrently": "^8.2.2",
"deepdash": "^5.3.9",
"download": "8.0.0",
"fs-extra": "^11.1.1",
"glob": "^7.2.3",
"fs-extra": "^11.2.0",
"glob": "^10.3.12",
"http-server": "^14.1.1",
"hugo-extended": "^0.113.0",
"js-yaml": "^4.1.0",
"linkcheck-bin": "3.0.0-0",
"linkcheck-bin": "3.0.0-1",
"markdown-magic": "npm:@tylerbu/markdown-magic@2.4.0-tylerbu-1",
"markdown-magic-package-json": "^2.0.2",
"markdown-magic-package-scripts": "^1.2.2",
"markdown-magic-template": "^1.0.1",
"markdownlint-cli2": "^0.8.1",
"markdownlint-cli2": "^0.12.1",
"markdownlint-rule-emphasis-style": "^1.0.1",
"markdownlint-rule-github-internal-links": "^0.1.0",
"markdownlint-rule-helpers": "^0.20.0",
"node-fetch": "^2.6.9",
"prettier": "~2.8.8",
"prettier-plugin-go-template": "^0.0.13",
"rimraf": "^5.0.1",
"markdownlint-rule-helpers": "^0.25.0",
"node-fetch": "^3.3.2",
"prettier": "~3.2.5",
"prettier-plugin-go-template": "^0.0.15",
"rimraf": "^5.0.5",
"start-server-and-test": "^2.0.3"
},
"pnpm": {
"overrides": {
"qs": "^6.11.0"
},
"peerDependencyRules": {
"ignoreMissing": [
"eslint",
"typescript"
]
},
"updateConfig": {
"ignoreDependencies": [
"chalk",
"cpy",
"glob",
"node-fetch"
]
}
}
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу