Browse Source

build: update deps

fix/enable-imgix
Thomas Osmonson 4 years ago
parent
commit
95f0734362
  1. 1
      next.config.js
  2. 2
      package.json
  3. 70
      src/pages/home.tsx
  4. 74
      yarn.lock

1
next.config.js

@ -83,6 +83,7 @@ module.exports = withFonts(
modern: true, modern: true,
polyfillsOptimization: true, polyfillsOptimization: true,
jsconfigPaths: true, jsconfigPaths: true,
trailingSlash: true,
}, },
pageExtensions: ['js', 'ts', 'tsx', 'md', 'mdx'], pageExtensions: ['js', 'ts', 'tsx', 'md', 'mdx'],
webpack: (config, options) => { webpack: (config, options) => {

2
package.json

@ -34,7 +34,7 @@
"lodash.debounce": "^4.0.8", "lodash.debounce": "^4.0.8",
"mdi-react": "7.3.0", "mdi-react": "7.3.0",
"micro-memoize": "^4.0.9", "micro-memoize": "^4.0.9",
"next": "^9.5.2-canary.1", "next": "^9.5.2-canary.4",
"next-fonts": "^1.4.0", "next-fonts": "^1.4.0",
"next-google-fonts": "^1.1.0", "next-google-fonts": "^1.1.0",
"next-mdx-remote": "^0.6.0", "next-mdx-remote": "^0.6.0",

70
src/pages/home.tsx

@ -1,70 +0,0 @@
import React from 'react';
import Head from 'next/head';
import { Hero } from '@components/home/sections/hero';
import { AtomAltIcon } from '@components/icons/atom-alt';
import { CodeIcon } from '@components/icons/code';
import { AppsIcon } from '@components/icons/apps';
import { StackIcon } from '@components/icons/stack';
import { WorldIcon } from '@components/icons/world';
import { ServerIcon } from '@components/icons/server';
const cards = [
{
title: 'Build an app',
subtitle: 'Start building your own decentralized app.',
href: '/browser/todo-list',
icon: AppsIcon,
},
{
title: 'Write a smart contract',
subtitle: 'Learn how to write your contract in the Clarity language.',
href: '/core/smart/overview',
icon: CodeIcon,
},
{
title: 'Stacks blockchain',
subtitle: 'Learn how to work with nodes, namespaces, zone files, and other advanced topics.',
href: '/core/naming/introduction',
icon: StackIcon,
},
{
title: 'Gaia storage',
subtitle: 'Learn about storage, interactions between developer APIs, and the Gaia service.',
href: '/storage/overview',
icon: ServerIcon,
},
{
title: 'Evaluate the ecosystem',
subtitle:
'Learn the components that make up the Blockstack Ecosystem. Understand the value a blockchain offers.',
href: '/org/overview',
icon: WorldIcon,
},
{
title: 'Join the community',
subtitle: 'View upcoming events and become a contributor or evangelist.',
href: '/common/community_ref',
icon: AtomAltIcon,
},
];
const Homepage = () => {
return (
<>
<Head>
<title>Documentation | Blockstack</title>
</Head>
<Hero cards={cards} />
</>
);
};
export async function getStaticProps(context) {
return {
props: {
isHome: true,
}, // will be passed to the page component as props
};
}
export default Homepage;

74
yarn.lock

@ -487,6 +487,14 @@
"@babel/helper-plugin-utils" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4"
"@babel/plugin-syntax-dynamic-import" "^7.8.0" "@babel/plugin-syntax-dynamic-import" "^7.8.0"
"@babel/plugin-proposal-export-namespace-from@7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.10.4.tgz#570d883b91031637b3e2958eea3c438e62c05f54"
integrity sha512-aNdf0LY6/3WXkhh0Fdb6Zk9j1NMD8ovj3F6r0+3j837Pn1S1PdNtcwJ5EG9WkVPNHPxyJDaxMaAOVq4eki0qbg==
dependencies:
"@babel/helper-plugin-utils" "^7.10.4"
"@babel/plugin-syntax-export-namespace-from" "^7.8.3"
"@babel/plugin-proposal-json-strings@^7.10.4", "@babel/plugin-proposal-json-strings@^7.8.3": "@babel/plugin-proposal-json-strings@^7.10.4", "@babel/plugin-proposal-json-strings@^7.8.3":
version "7.10.4" version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.10.4.tgz#593e59c63528160233bd321b1aebe0820c2341db" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.10.4.tgz#593e59c63528160233bd321b1aebe0820c2341db"
@ -613,6 +621,13 @@
dependencies: dependencies:
"@babel/helper-plugin-utils" "^7.8.0" "@babel/helper-plugin-utils" "^7.8.0"
"@babel/plugin-syntax-export-namespace-from@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a"
integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-syntax-json-strings@^7.8.0": "@babel/plugin-syntax-json-strings@^7.8.0":
version "7.8.3" version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a"
@ -1452,10 +1467,10 @@
resolved "https://registry.yarnpkg.com/@next/mdx/-/mdx-9.5.0.tgz#c2bd7ed76b16294171db830b7714a0133b89756f" resolved "https://registry.yarnpkg.com/@next/mdx/-/mdx-9.5.0.tgz#c2bd7ed76b16294171db830b7714a0133b89756f"
integrity sha512-ixBgQTSpStGh+KiMal9q+g1m/6UhpBq1dhaXGbACjmUF2wGny+J08BJtoPlx2QtNM87dRJ32PZf4i8tYkWxdTw== integrity sha512-ixBgQTSpStGh+KiMal9q+g1m/6UhpBq1dhaXGbACjmUF2wGny+J08BJtoPlx2QtNM87dRJ32PZf4i8tYkWxdTw==
"@next/react-dev-overlay@9.5.2-canary.1": "@next/react-dev-overlay@9.5.2-canary.4":
version "9.5.2-canary.1" version "9.5.2-canary.4"
resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-9.5.2-canary.1.tgz#1ac1a6987435f90c192cec6bce2f89667533fd37" resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-9.5.2-canary.4.tgz#d9fea4dd68a6a6cffd21b29b9f102617babfde58"
integrity sha512-HDhNmaPyccTJqYU2tQOsvA+wtqzoeK4Tp7k6FZsuQz8C4sow66iuvWpT7Giq0mgI4cuaIeAzuHkM+dgIcxe/xQ== integrity sha512-6NB8pcm6TikrwWwFK5Xmf0PEspN5X+i9sxTHknt6z0SaUKn+KBemdtGEbgkkQS0mNUOyBnrcs6K6nJ0+qAm1Sg==
dependencies: dependencies:
"@babel/code-frame" "7.8.3" "@babel/code-frame" "7.8.3"
ally.js "1.4.1" ally.js "1.4.1"
@ -1468,10 +1483,10 @@
stacktrace-parser "0.1.10" stacktrace-parser "0.1.10"
strip-ansi "6.0.0" strip-ansi "6.0.0"
"@next/react-refresh-utils@9.5.2-canary.1": "@next/react-refresh-utils@9.5.2-canary.4":
version "9.5.2-canary.1" version "9.5.2-canary.4"
resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-9.5.2-canary.1.tgz#075c22f7a6deefed556ca71301a491629fce3e59" resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-9.5.2-canary.4.tgz#a612f5da712f74218bf8d7929433da68f39145e3"
integrity sha512-0XPNmYWUjDE8GEWp06rMNCCoji+HKYH5cf2jMvxLYi9dJuWZPi1gZ+FmyUJ2BiajJ+2z/wmD+Xkyn+KSJ7qOzg== integrity sha512-w/st+aJ3EGbvMgGW/dInkTeLE8MquorvpJ8wKd/wXyKm1nboJnxCSqtIsZBJcsznCsltm8P9V6mCZUTuzcXkCA==
"@popperjs/core@^2.4.0": "@popperjs/core@^2.4.0":
version "2.4.4" version "2.4.4"
@ -3482,19 +3497,19 @@ cssnano-preset-default@^4.0.7:
postcss-svgo "^4.0.2" postcss-svgo "^4.0.2"
postcss-unique-selectors "^4.0.1" postcss-unique-selectors "^4.0.1"
cssnano-preset-simple@1.1.4: cssnano-preset-simple@1.1.5:
version "1.1.4" version "1.1.5"
resolved "https://registry.yarnpkg.com/cssnano-preset-simple/-/cssnano-preset-simple-1.1.4.tgz#7b287a31df786348565d02342df71af8f758ac82" resolved "https://registry.yarnpkg.com/cssnano-preset-simple/-/cssnano-preset-simple-1.1.5.tgz#3a26829988ca20f5ffdb6d41c1df5b791db8a192"
integrity sha512-EYKDo65W+AxMViUijv/hvhbEnxUjmu3V7omcH1MatPOwjRLrAgVArUOE8wTUyc1ePFEtvV8oCT4/QSRJDorm/A== integrity sha512-/zuE8EMVg7KFNR5Olj0ZnaMs3vtswcUcnr86zdVVCrhx3rY5DVDHWSiFE9/IGNl0SSVqi3AekPEnoNoLcQFHQw==
dependencies: dependencies:
postcss "^7.0.32" postcss "^7.0.32"
cssnano-simple@1.0.5: cssnano-simple@1.0.6:
version "1.0.5" version "1.0.6"
resolved "https://registry.yarnpkg.com/cssnano-simple/-/cssnano-simple-1.0.5.tgz#66ee528f3a4e60754e2625ea9f51ac315f5f0a92" resolved "https://registry.yarnpkg.com/cssnano-simple/-/cssnano-simple-1.0.6.tgz#e2e33c57b2b829a330467c7dbb15100bac37c8ea"
integrity sha512-NJjx2Er1C3pa75v1GwMKm0w6xAp1GsW2Ql1As4CWPNFxTgYFN5e8wblYeHfna13sANAhyIdSIPqKJjBO4CU5Eg== integrity sha512-q34pHOD8TFmZ6Etua7zJiebAl+8dV3Jb5O2pOdmCNJ/Ia8By9NQXk8at5WVW8qCVBFLm9ge5oaFXgU3FBFVTYw==
dependencies: dependencies:
cssnano-preset-simple "1.1.4" cssnano-preset-simple "1.1.5"
postcss "^7.0.32" postcss "^7.0.32"
cssnano-util-get-arguments@^4.0.0: cssnano-util-get-arguments@^4.0.0:
@ -6275,15 +6290,16 @@ next-transpile-modules@^4.0.2:
micromatch "^4.0.2" micromatch "^4.0.2"
slash "^3.0.0" slash "^3.0.0"
next@^9.5.2-canary.1: next@^9.5.2-canary.4:
version "9.5.2-canary.1" version "9.5.2-canary.4"
resolved "https://registry.yarnpkg.com/next/-/next-9.5.2-canary.1.tgz#4837796f0407d1527d4d49091617974110f8ed7a" resolved "https://registry.yarnpkg.com/next/-/next-9.5.2-canary.4.tgz#8023fc2c59eec015f5dbd4a0a287f41a96e6b613"
integrity sha512-3EwSl6RjH4QH67h5tHHL4Kir1JiXMkpjo/o7xFK3NVHJYZkRKNsFDJhgLJlVOMYjFn69fPkIAqgpmRVd2NbPkA== integrity sha512-LCoQVcT8u+cLmAQClpl2UdYUcVMKu0GVL3eqfTiNZI08JONhGAuX2OrWMsj6KeKVpDdGZ0T47z5VO4q8/QFNIw==
dependencies: dependencies:
"@ampproject/toolbox-optimizer" "2.5.14" "@ampproject/toolbox-optimizer" "2.5.14"
"@babel/code-frame" "7.8.3" "@babel/code-frame" "7.8.3"
"@babel/core" "7.7.7" "@babel/core" "7.7.7"
"@babel/plugin-proposal-class-properties" "7.8.3" "@babel/plugin-proposal-class-properties" "7.8.3"
"@babel/plugin-proposal-export-namespace-from" "7.10.4"
"@babel/plugin-proposal-nullish-coalescing-operator" "7.8.3" "@babel/plugin-proposal-nullish-coalescing-operator" "7.8.3"
"@babel/plugin-proposal-numeric-separator" "7.8.3" "@babel/plugin-proposal-numeric-separator" "7.8.3"
"@babel/plugin-proposal-object-rest-spread" "7.9.6" "@babel/plugin-proposal-object-rest-spread" "7.9.6"
@ -6298,8 +6314,8 @@ next@^9.5.2-canary.1:
"@babel/preset-typescript" "7.9.0" "@babel/preset-typescript" "7.9.0"
"@babel/runtime" "7.9.6" "@babel/runtime" "7.9.6"
"@babel/types" "7.9.6" "@babel/types" "7.9.6"
"@next/react-dev-overlay" "9.5.2-canary.1" "@next/react-dev-overlay" "9.5.2-canary.4"
"@next/react-refresh-utils" "9.5.2-canary.1" "@next/react-refresh-utils" "9.5.2-canary.4"
ast-types "0.13.2" ast-types "0.13.2"
babel-plugin-syntax-jsx "6.18.0" babel-plugin-syntax-jsx "6.18.0"
babel-plugin-transform-define "2.0.0" babel-plugin-transform-define "2.0.0"
@ -6309,7 +6325,7 @@ next@^9.5.2-canary.1:
cacache "13.0.1" cacache "13.0.1"
chokidar "2.1.8" chokidar "2.1.8"
css-loader "3.5.3" css-loader "3.5.3"
cssnano-simple "1.0.5" cssnano-simple "1.0.6"
find-cache-dir "3.3.1" find-cache-dir "3.3.1"
jest-worker "24.9.0" jest-worker "24.9.0"
loader-utils "2.0.0" loader-utils "2.0.0"
@ -6333,7 +6349,7 @@ next@^9.5.2-canary.1:
use-subscription "1.4.1" use-subscription "1.4.1"
watchpack "2.0.0-beta.13" watchpack "2.0.0-beta.13"
web-vitals "0.2.1" web-vitals "0.2.1"
webpack "4.44.0" webpack "4.44.1"
webpack-sources "1.4.3" webpack-sources "1.4.3"
node-emoji@^1.10.0: node-emoji@^1.10.0:
@ -9691,10 +9707,10 @@ webpack-sources@1.4.3, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-s
source-list-map "^2.0.0" source-list-map "^2.0.0"
source-map "~0.6.1" source-map "~0.6.1"
webpack@4.44.0: webpack@4.44.1:
version "4.44.0" version "4.44.1"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.0.tgz#3b08f88a89470175f036f4a9496b8a0428668802" resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.1.tgz#17e69fff9f321b8f117d1fda714edfc0b939cc21"
integrity sha512-wAuJxK123sqAw31SpkPiPW3iKHgFUiKvO7E7UZjtdExcsRe3fgav4mvoMM7vvpjLHVoJ6a0Mtp2fzkoA13e0Zw== integrity sha512-4UOGAohv/VGUNQJstzEywwNxqX417FnjZgZJpJQegddzPmTvph37eBIRbRTfdySXzVtJXLJfbMN3mMYhM6GdmQ==
dependencies: dependencies:
"@webassemblyjs/ast" "1.9.0" "@webassemblyjs/ast" "1.9.0"
"@webassemblyjs/helper-module-context" "1.9.0" "@webassemblyjs/helper-module-context" "1.9.0"

Loading…
Cancel
Save