From 5bebcb097cc03833a41949bff30cc18931dc5749 Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Tue, 24 Mar 2020 20:03:49 -0400 Subject: [PATCH] update deps --- website/.npm-upgrade.json | 4 +-- website/next.config.js | 13 +++++---- website/package-lock.json | 57 +++++++++++++++++++-------------------- website/package.json | 14 +++++----- 4 files changed, 43 insertions(+), 45 deletions(-) diff --git a/website/.npm-upgrade.json b/website/.npm-upgrade.json index 7bae204f4..f712226b3 100644 --- a/website/.npm-upgrade.json +++ b/website/.npm-upgrade.json @@ -1,8 +1,8 @@ { "ignore": { "marked": { - "versions": "0.8.0", - "reason": "Broken IE" + "versions": "0.8.2", + "reason": "IE breaks" } } } diff --git a/website/next.config.js b/website/next.config.js index c07cf846a..1f7b742ac 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -4,21 +4,20 @@ const path = require('path') module.exports = withHashicorp({ defaultLayout: true, transpileModules: ['is-absolute-url', '@hashicorp/react-mega-nav'], - mdx: { resolveIncludes: path.join(__dirname, 'pages/partials') } + mdx: { resolveIncludes: path.join(__dirname, 'pages/partials') }, })({ experimental: { css: true, modern: true, - polyfillsOptimization: true, rewrites: () => [ { source: '/api/:path*', - destination: '/api-docs/:path*' - } - ] + destination: '/api-docs/:path*', + }, + ], }, exportTrailingSlash: true, env: { - HASHI_ENV: process.env.HASHI_ENV - } + HASHI_ENV: process.env.HASHI_ENV, + }, }) diff --git a/website/package-lock.json b/website/package-lock.json index e003be65a..5e8f58c04 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -1,5 +1,5 @@ { - "name": "nomad-docs-platform", + "name": "packer-docs", "version": "0.0.1", "lockfileVersion": 1, "requires": true, @@ -3193,7 +3193,6 @@ "postcss-flexbugs-fixes": "^4.1.0", "postcss-normalize": "^8.0.1", "postcss-preset-env": "^6.7.0", - "prettier": "^1.19.1", "pretty-quick": "^2.0.1", "react": "^16.11.0", "react-apollo": "^3.1.2", @@ -3294,20 +3293,20 @@ "integrity": "sha512-c9eYZGu/1YC7tGWKE/mPsi4DLfHOTlpOwOjUCXgzauOOwqrjJHEfLiGzJsgd8CMDxWRswZ7Es/i/s8rZnCN5og==" }, "@hashicorp/react-docs-page": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-page/-/react-docs-page-0.1.1.tgz", - "integrity": "sha512-Z9I8VXa+ZM2Rc3NtphhZngoJpH0p9gbLw3CJDyV9y8JdN8JAeTjj08yyOWrSGUQeHqK/ulbyzGK5G8/O3b218Q==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-page/-/react-docs-page-0.1.3.tgz", + "integrity": "sha512-iMP2lCxo9zvpGSf8CYWrvE+TsnNVy/+zP7+Q89ZdqFe3I6q/eXlINP5Lk4b1567bUA5pcHr9R1hs18+BQm6nQw==", "requires": { "@hashicorp/react-content": "^2.2.0", - "@hashicorp/react-docs-sidenav": "^3.0.3", + "@hashicorp/react-docs-sidenav": "^3.0.4", "@hashicorp/react-head": "^0.1.1", "@hashicorp/react-inline-svg": "^1.0.0" } }, "@hashicorp/react-docs-sidenav": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-sidenav/-/react-docs-sidenav-3.0.3.tgz", - "integrity": "sha512-zoPbQ2VvwSJsy+f0/HiMfwLoGN5ot1ZkvoI/oqx/uOSzh3K+lIlu9OAu7xNRMmaTaXe9c6/68Ov62urj4bVuzw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-sidenav/-/react-docs-sidenav-3.0.4.tgz", + "integrity": "sha512-GoUPDEm63IB6XCsC6STcHSnKQLTl/4DBZzBhXf1MJjf0mhbn9h6gYvbliNBpfQoJHGShev+2jB7POsQT25MT0w==", "requires": { "@hashicorp/react-link-wrap": "^0.0.3", "fuzzysearch": "^1.0.3" @@ -3410,9 +3409,9 @@ } }, "@hashicorp/react-product-downloader": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-3.0.2.tgz", - "integrity": "sha512-c8PePhLgnZKfHpM5rZJR17E2Xpgg6fkRZy0dKVBpMEBXW8u+sNpXzb6tI7o/WAzMhIv/fQSKUWQwx+4M30cJrQ==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-3.0.3.tgz", + "integrity": "sha512-qg/hirxeFcWCd7p7FzA16c4nWQ8kddf5KSY6l+vC4Oox4YRYfrJrfRLHJGof1i4PQ1cUjeg+NK90WHOIQQiFyg==", "requires": { "@hashicorp/react-button": "^2.1.6" } @@ -7104,9 +7103,9 @@ "integrity": "sha512-JVrozIeElnj3QzfUIt8tB8YMluBJom4Vw9qTPpjGYQ9fYlB3D/rb6OordUxf3xeFB35LKWs0xqcO5U6ySvBtug==" }, "dart-linkcheck": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/dart-linkcheck/-/dart-linkcheck-2.0.12.tgz", - "integrity": "sha512-ReLhme4n6r1v47QcZgkz0yxrJ8qkSRMaHwichzK96OdwOMZ9DY4hHfHAnsLh2vU1rnYCwaVfo1LwwdnAM+nrzw==", + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/dart-linkcheck/-/dart-linkcheck-2.0.15.tgz", + "integrity": "sha512-ZMvxkAyEpBTvBFk+DPjcK0ObNy8GM4gmrGG1qIu0EXb/zj25vjRWNnhLHKZw4JlOLo02oWlwDeqo98GuBlJcIg==", "dev": true }, "date-fns": { @@ -15313,9 +15312,10 @@ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" }, "prettier": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", - "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.2.tgz", + "integrity": "sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==", + "dev": true }, "pretty-quick": { "version": "2.0.1", @@ -15684,9 +15684,9 @@ } }, "react": { - "version": "16.13.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.13.0.tgz", - "integrity": "sha512-TSavZz2iSLkq5/oiE7gnFzmURKZMltmi193rm5HEoUDAXpzT9Kzw6oNZnGoai/4+fUnm7FqS5dwgUL34TujcWQ==", + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz", + "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", @@ -15714,20 +15714,20 @@ } }, "react-dom": { - "version": "16.13.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.0.tgz", - "integrity": "sha512-y09d2c4cG220DzdlFkPTnVvGTszVvNpC73v+AaLGLHbkpy3SSgvYq8x0rNwPJ/Rk/CicTNgk0hbHNw1gMEZAXg==", + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz", + "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "scheduler": "^0.19.0" + "scheduler": "^0.19.1" }, "dependencies": { "scheduler": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.0.tgz", - "integrity": "sha512-xowbVaTPe9r7y7RUejcK73/j8tt2jfiyTednOvHbA8JoClvMYCp+r8QegLwK/n8zWQAtZb1fFnER4XLBZXrCxA==", + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", + "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" @@ -18091,7 +18091,6 @@ "latest-version": "^5.1.0", "lodash": "4.17.12", "node-machine-id": "^1.1.12", - "prettier": "^1.17.0", "react": "^16.9.0", "semver": "^6.3.0", "sort-keys": "^3.0.0", diff --git a/website/package.json b/website/package.json index 180d0ce28..7ca67a40e 100644 --- a/website/package.json +++ b/website/package.json @@ -11,8 +11,8 @@ "@hashicorp/react-button": "^2.1.6", "@hashicorp/react-consent-manager": "^2.0.6", "@hashicorp/react-content": "^2.2.0", - "@hashicorp/react-docs-page": "^0.1.1", - "@hashicorp/react-docs-sidenav": "^3.0.3", + "@hashicorp/react-docs-page": "^0.1.3", + "@hashicorp/react-docs-sidenav": "^3.0.4", "@hashicorp/react-docs-sitemap": "^1.0.0", "@hashicorp/react-footer": "^3.1.11", "@hashicorp/react-global-styles": "^4.0.10", @@ -21,7 +21,7 @@ "@hashicorp/react-image": "^2.0.1", "@hashicorp/react-inline-svg": "^1.0.0", "@hashicorp/react-mega-nav": "^4.0.1-2", - "@hashicorp/react-product-downloader": "^3.0.2", + "@hashicorp/react-product-downloader": "^3.0.3", "@hashicorp/react-section-header": "^2.0.0", "@hashicorp/react-subnav": "^2.2.0", "@hashicorp/react-text-and-content": "^4.0.6", @@ -39,18 +39,18 @@ "next": "9.3.1", "nprogress": "^0.2.0", "nuka-carousel": "^4.6.6", - "react": "^16.13.0", + "react": "^16.13.1", "react-device-detect": "^1.11.14", - "react-dom": "^16.13.0", + "react-dom": "^16.13.1", "slugify": "^1.4.0", "stringify-object": "^3.3.0" }, "devDependencies": { - "dart-linkcheck": "^2.0.12", + "dart-linkcheck": "^2.0.15", "glob": "^7.1.6", "husky": "^4.2.3", "inquirer": "^7.1.0", - "prettier": "^1.19.1" + "prettier": "^2.0.2" }, "husky": { "hooks": {