website: upgrades dependencies (#11178)

This commit is contained in:
Bryce Kalow 2021-10-05 13:32:41 -05:00 committed by GitHub
parent 5446009299
commit 08667d01a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 23480 additions and 6283 deletions

1
website/.nvmrc Normal file
View File

@ -0,0 +1 @@
v14

View File

@ -28,6 +28,7 @@ export default function HomepageHero({
{
name: uiVideo.name ?? 'UI',
playbackRate: uiVideo.playbackRate,
aspectRatio: uiVideo.aspectRatio,
src: [
{
srcType: uiVideo.srcType,
@ -42,6 +43,7 @@ export default function HomepageHero({
{
name: cliVideo.name ?? 'CLI',
playbackRate: cliVideo.playbackRate,
aspectRatio: cliVideo.aspectRatio,
src: [
{
srcType: cliVideo.srcType,

1
website/global.d.ts vendored Normal file
View File

@ -0,0 +1 @@
/// <reference types="@hashicorp/platform-types" />

View File

@ -1,3 +1,5 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="@hashicorp/platform-types" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.

View File

@ -2,7 +2,7 @@ const withHashicorp = require('@hashicorp/platform-nextjs-plugin')
const redirects = require('./redirects.next')
module.exports = withHashicorp({
transpileModules: ['@hashicorp/versioned-docs'],
nextOptimizedImages: true,
})({
svgo: { plugins: [{ removeViewBox: false }] },
rewrites: () => [

29657
website/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,52 +4,52 @@
"version": "0.0.1",
"author": "HashiCorp",
"dependencies": {
"@hashicorp/mktg-global-styles": "4.0.0",
"@hashicorp/mktg-global-styles": "^4.0.0",
"@hashicorp/mktg-logos": "^1.2.0",
"@hashicorp/platform-code-highlighting": "^0.1.1",
"@hashicorp/platform-code-highlighting": "^0.1.2",
"@hashicorp/platform-runtime-error-monitoring": "^0.1.0",
"@hashicorp/platform-util": "^0.1.0",
"@hashicorp/react-alert": "^5.0.1",
"@hashicorp/react-alert-banner": "6.2.0",
"@hashicorp/react-button": "^5.2.1",
"@hashicorp/react-call-to-action": "^3.1.2",
"@hashicorp/react-callouts": "^7.1.2",
"@hashicorp/react-code-block": "^4.1.4",
"@hashicorp/react-consent-manager": "6.0.0",
"@hashicorp/react-content": "8.0.1",
"@hashicorp/react-docs-page": "14.0.1",
"@hashicorp/react-enterprise-alert": "^5.0.1",
"@hashicorp/react-featured-slider": "^4.1.2",
"@hashicorp/react-hashi-stack-menu": "^2.0.6",
"@hashicorp/react-head": "^3.1.1",
"@hashicorp/react-hero": "7.3.3",
"@hashicorp/react-image": "^4.0.2",
"@hashicorp/react-inline-svg": "^6.0.2",
"@hashicorp/react-learn-callout": "^1.1.2",
"@hashicorp/react-markdown-page": "1.4.2",
"@hashicorp/react-product-downloads-page": "2.4.0",
"@hashicorp/react-product-features-list": "^4.1.2",
"@hashicorp/react-section-header": "^5.0.3",
"@hashicorp/react-stepped-feature-list": "^4.0.2",
"@hashicorp/react-subnav": "^8.4.0",
"@hashicorp/react-tabs": "^6.0.1",
"@hashicorp/react-text-split": "^3.2.2",
"@hashicorp/react-text-split-with-code": "^3.3.5",
"@hashicorp/react-text-split-with-image": "^4.2.2",
"@hashicorp/react-use-cases": "^4.0.1",
"@hashicorp/react-vertical-text-block-list": "^6.0.3",
"next": "10.2.2",
"@hashicorp/react-alert": "^6.0.1",
"@hashicorp/react-alert-banner": "^7.0.1",
"@hashicorp/react-button": "^6.0.1",
"@hashicorp/react-call-to-action": "^4.0.0",
"@hashicorp/react-callouts": "^8.0.1",
"@hashicorp/react-code-block": "^4.1.5",
"@hashicorp/react-consent-manager": "^7.0.1",
"@hashicorp/react-content": "^8.0.2",
"@hashicorp/react-docs-page": "^14.4.0",
"@hashicorp/react-enterprise-alert": "^6.0.1",
"@hashicorp/react-featured-slider": "^5.0.1",
"@hashicorp/react-hashi-stack-menu": "^2.0.7",
"@hashicorp/react-head": "^3.1.2",
"@hashicorp/react-hero": "^8.0.2",
"@hashicorp/react-image": "^4.0.3",
"@hashicorp/react-inline-svg": "^6.0.3",
"@hashicorp/react-learn-callout": "^2.0.1",
"@hashicorp/react-markdown-page": "^1.4.3",
"@hashicorp/react-product-downloads-page": "^2.5.2",
"@hashicorp/react-product-features-list": "^5.0.0",
"@hashicorp/react-section-header": "^5.0.4",
"@hashicorp/react-stepped-feature-list": "^4.0.3",
"@hashicorp/react-subnav": "^9.0.1",
"@hashicorp/react-tabs": "^7.0.1",
"@hashicorp/react-text-split": "^4.0.0",
"@hashicorp/react-text-split-with-code": "^3.3.8",
"@hashicorp/react-text-split-with-image": "^4.2.5",
"@hashicorp/react-use-cases": "^5.0.0",
"@hashicorp/react-vertical-text-block-list": "^7.0.0",
"next": "^11.1.2",
"next-mdx-remote": "3.0.1",
"next-remote-watch": "1.0.0",
"nuka-carousel": "4.7.7",
"react": "16.13.1",
"react": "^17.0.2",
"react-device-detect": "1.17.0",
"react-dom": "16.13.1"
"react-dom": "^17.0.2"
},
"devDependencies": {
"@hashicorp/platform-cli": "^0.2.0",
"@hashicorp/platform-nextjs-plugin": "^0.1.0",
"@hashicorp/platform-types": "^0.1.0",
"@hashicorp/platform-cli": "^1.2.0",
"@hashicorp/platform-nextjs-plugin": "^1.0.1",
"@hashicorp/platform-types": "^0.1.1",
"@types/react": "^17.0.3",
"dart-linkcheck": "2.0.15",
"husky": "4.3.7",
@ -73,5 +73,8 @@
"start": "next-remote-watch './content/**/*.mdx'",
"static": "npm run build && npm run export && cp _redirects out/.",
"linkcheck": "linkcheck https://consul.io"
},
"engines": {
"npm": ">=7.0.0"
}
}

View File

@ -6,25 +6,6 @@
--highlight-color-text: var(--consul-link);
}
@import '~@hashicorp/react-alert-banner/style.css';
@import '~@hashicorp/react-alert/style.css';
@import '~@hashicorp/react-hero/style.css';
@import '~@hashicorp/react-button/styles/index.css';
@import '~@hashicorp/react-callouts/style.css';
@import '~@hashicorp/react-call-to-action/style.css';
@import '~@hashicorp/react-consent-manager/style.css';
@import '~@hashicorp/react-enterprise-alert/style.css';
@import '~@hashicorp/react-featured-slider/style.css';
@import '~@hashicorp/react-learn-callout/style.css';
@import '~@hashicorp/react-product-features-list/style.css';
@import '~@hashicorp/react-search/style.css';
@import '~@hashicorp/react-subnav/style.css';
@import '~@hashicorp/react-tabs/style.css';
@import '~@hashicorp/react-text-split/style.css';
@import '~@hashicorp/react-toggle/style.css';
@import '~@hashicorp/react-use-cases/style.css';
@import '~@hashicorp/react-vertical-text-block-list/style.css';
/* Local Components */
@import '../components/basic-hero/style.css';
@import '../components/case-study-carousel/style.css';