feat: added nextjs example (#920)

* feat: added nextjs example

* chore: update

* chore: simplify nextjs demo

Co-authored-by: Rob Caldecott <robert.caldecott@keyloop.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
Rob Caldecott 2022-03-13 22:33:20 +00:00 committed by GitHub
parent 1a2dfd803f
commit 2e8a3b105d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 404 additions and 125 deletions

View File

@ -0,0 +1,13 @@
import { expect, test } from 'vitest'
import { render, screen, within } from '@testing-library/react'
import Home from '../pages'
test('home', () => {
render(<Home />)
const main = within(screen.getByRole('main'))
expect(main.getByRole('heading', { level: 1, name: /welcome to next\.js!/i })).toBeDefined()
const footer = within(screen.getByRole('contentinfo'))
const link = within(footer.getByRole('link'))
expect(link.getByRole('img', { name: /vercel logo/i })).toBeDefined()
})

5
examples/nextjs/next-env.d.ts vendored Normal file
View File

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

View File

@ -0,0 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
}
module.exports = nextConfig

View File

@ -0,0 +1,25 @@
{
"name": "@vitest/nextjs",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"test": "vitest"
},
"dependencies": {
"next": "12.1.0",
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"@testing-library/react": "^12.1.3",
"@types/node": "17.0.21",
"@types/react": "17.0.40",
"@vitejs/plugin-react": "1.2.0",
"jsdom": "^19.0.0",
"typescript": "4.6.2",
"vitest": "latest"
}
}

View File

@ -0,0 +1,8 @@
import '../styles/globals.css'
import type { AppProps } from 'next/app'
function MyApp({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />
}
export default MyApp

View File

@ -0,0 +1,33 @@
import type { NextPage } from 'next'
import Head from 'next/head'
import Image from 'next/image'
const Home: NextPage = () =>
<>
<Head>
<title>Create Next App</title>
<meta name="description" content="Generated by create next app" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main>
<h1>
Welcome to Next.js!
</h1>
<footer>
<a
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
<span>
<Image src="https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/57x57.png" alt="Vercel Logo" width={72} height={16} />
</span>
</a>
</footer>
</main>
</>
export default Home

View File

@ -0,0 +1,16 @@
html,
body {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}
a {
color: inherit;
text-decoration: none;
}
* {
box-sizing: border-box;
}

View File

@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}

View File

@ -0,0 +1,12 @@
/// <reference types="vitest" />
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
test: {
environment: 'jsdom',
},
})

391
pnpm-lock.yaml generated
View File

@ -142,7 +142,7 @@ importers:
lit: 2.2.0
devDependencies:
'@vitest/ui': link:../../packages/ui
happy-dom: 2.46.0
happy-dom: 2.46.3
vite: 2.8.6
vitest: link:../../packages/vitest
@ -163,6 +163,31 @@ importers:
vite: 2.8.6
vitest: link:../../packages/vitest
examples/nextjs:
specifiers:
'@testing-library/react': ^12.1.3
'@types/node': 17.0.21
'@types/react': 17.0.40
'@vitejs/plugin-react': 1.2.0
jsdom: ^19.0.0
next: 12.1.0
react: 17.0.2
react-dom: 17.0.2
typescript: 4.6.2
vitest: latest
dependencies:
next: 12.1.0_react-dom@17.0.2+react@17.0.2
react: 17.0.2
react-dom: 17.0.2_react@17.0.2
devDependencies:
'@testing-library/react': 12.1.3_react-dom@17.0.2+react@17.0.2
'@types/node': 17.0.21
'@types/react': 17.0.40
'@vitejs/plugin-react': 1.2.0
jsdom: 19.0.0
typescript: 4.6.2
vitest: link:../../packages/vitest
examples/puppeteer:
specifiers:
'@vitest/ui': latest
@ -412,7 +437,7 @@ importers:
solid-js: 1.3.10
devDependencies:
jsdom: 19.0.0
solid-start: 0.1.0-alpha.63_solid-js@1.3.10+vite@2.8.6
solid-start: 0.1.0-alpha.66_solid-js@1.3.10+vite@2.8.6
solid-testing-library: 0.3.0_solid-js@1.3.10
vitest: link:../../packages/vitest
@ -446,7 +471,7 @@ importers:
devDependencies:
'@vitejs/plugin-vue': 2.2.4_vite@2.8.6+vue@3.2.26
'@vue/test-utils': 2.0.0-rc.18_vue@3.2.26
happy-dom: 2.46.0
happy-dom: 2.46.3
unplugin-auto-import: 0.6.1_53c174e4a87b2d4cdf7e6c5220b293ba
unplugin-vue-components: 0.17.21_2c38086ff0f13f691258b880e48d3773
vitest: link:../../packages/vitest
@ -463,7 +488,7 @@ importers:
devDependencies:
'@vitejs/plugin-vue': 2.2.4_vite@2.8.6+vue@3.2.31
'@vue/test-utils': 2.0.0-rc.18_vue@3.2.31
happy-dom: 2.46.0
happy-dom: 2.46.3
vitest: link:../../packages/vitest
examples/vue-jsx:
@ -479,7 +504,7 @@ importers:
'@vitejs/plugin-vue': 2.2.4_vite@2.8.6+vue@3.2.26
'@vitejs/plugin-vue-jsx': 1.3.8
'@vue/test-utils': 2.0.0-rc.18_vue@3.2.26
happy-dom: 2.46.0
happy-dom: 2.46.3
vite: 2.8.6
vitest: link:../../packages/vitest
vue: 3.2.26
@ -2916,23 +2941,23 @@ packages:
'@babel/plugin-transform-react-jsx': 7.16.7_@babel+core@7.17.5
dev: true
/@babel/plugin-transform-react-jsx-self/7.16.7_@babel+core@7.17.4:
/@babel/plugin-transform-react-jsx-self/7.16.7_@babel+core@7.17.5:
resolution: {integrity: sha512-oe5VuWs7J9ilH3BCCApGoYjHoSO48vkjX2CbA5bFVhIuO2HKxA3vyF7rleA4o6/4rTDbk6r8hBW7Ul8E+UZrpA==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.17.4
'@babel/core': 7.17.5
'@babel/helper-plugin-utils': 7.16.7
dev: true
/@babel/plugin-transform-react-jsx-source/7.16.7_@babel+core@7.17.4:
/@babel/plugin-transform-react-jsx-source/7.16.7_@babel+core@7.17.5:
resolution: {integrity: sha512-rONFiQz9vgbsnaMtQlZCjIRwhJvlrPET8TabIUK2hzlXw9B9s2Ieaxte1SCOOXMbWRHodbKixNf3BLcWVOQ8Bw==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.17.4
'@babel/core': 7.17.5
'@babel/helper-plugin-utils': 7.16.7
dev: true
@ -3498,6 +3523,7 @@ packages:
engines: {node: '>=6.9.0'}
dependencies:
regenerator-runtime: 0.13.9
dev: true
/@babel/runtime/7.17.2:
resolution: {integrity: sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==}
@ -3878,7 +3904,7 @@ packages:
ignore: 4.0.6
import-fresh: 3.3.0
js-yaml: 4.1.0
minimatch: 3.0.4
minimatch: 3.1.2
strip-json-comments: 3.1.1
transitivePeerDependencies:
- supports-color
@ -3910,7 +3936,7 @@ packages:
dependencies:
'@humanwhocodes/object-schema': 1.2.1
debug: 4.3.3
minimatch: 3.0.4
minimatch: 3.1.2
transitivePeerDependencies:
- supports-color
dev: true
@ -3992,17 +4018,6 @@ packages:
chalk: 4.1.2
dev: true
/@jest/types/27.4.2:
resolution: {integrity: sha512-j35yw0PMTPpZsUoOBiuHzr1zTYoad1cVIE0ajEjcrJONxxrko/IRGKkXx3os0Nsi4Hu3+5VmDbVfq5WhG/pWAg==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
'@types/istanbul-lib-coverage': 2.0.3
'@types/istanbul-reports': 3.0.0
'@types/node': 17.0.8
'@types/yargs': 16.0.4
chalk: 4.1.2
dev: true
/@joshwooding/vite-plugin-react-docgen-typescript/0.0.2_typescript@4.6.2+vite@2.8.6:
resolution: {integrity: sha512-0hbsoX2c7Z3lJKY+88ToduiQDyh+Mggpd6Go0vVV3PchMRyE9iOCVUBiqd4FFfgNdFdk6iNKrO9bdIiHOpW6jA==}
peerDependencies:
@ -4138,9 +4153,9 @@ packages:
'@babel/runtime': 7.17.2
'@emotion/is-prop-valid': 1.1.2
'@mui/utils': 5.4.4_react@17.0.2
'@popperjs/core': 2.11.0
'@popperjs/core': 2.11.2
clsx: 1.1.1
prop-types: 15.7.2
prop-types: 15.8.1
react: 17.0.2
react-dom: 17.0.2_react@17.0.2
react-is: 17.0.2
@ -4261,7 +4276,7 @@ packages:
dependencies:
'@babel/runtime': 7.17.2
'@mui/utils': 5.4.4_react@17.0.2
prop-types: 15.7.2
prop-types: 15.8.1
react: 17.0.2
dev: false
@ -4282,7 +4297,7 @@ packages:
'@emotion/cache': 11.7.1
'@emotion/react': 11.8.1_react@17.0.2
'@emotion/styled': 11.8.1_6c7af6c424779b06aaaec9f6df8ba484
prop-types: 15.7.2
prop-types: 15.8.1
react: 17.0.2
dev: false
@ -4311,7 +4326,7 @@ packages:
'@mui/utils': 5.4.4_react@17.0.2
clsx: 1.1.1
csstype: 3.0.10
prop-types: 15.7.2
prop-types: 15.8.1
react: 17.0.2
dev: false
@ -4362,11 +4377,114 @@ packages:
'@babel/runtime': 7.17.2
'@types/prop-types': 15.7.4
'@types/react-is': 17.0.3
prop-types: 15.7.2
prop-types: 15.8.1
react: 17.0.2
react-is: 17.0.2
dev: false
/@next/env/12.1.0:
resolution: {integrity: sha512-nrIgY6t17FQ9xxwH3jj0a6EOiQ/WDHUos35Hghtr+SWN/ntHIQ7UpuvSi0vaLzZVHQWaDupKI+liO5vANcDeTQ==}
dev: false
/@next/swc-android-arm64/12.1.0:
resolution: {integrity: sha512-/280MLdZe0W03stA69iL+v6I+J1ascrQ6FrXBlXGCsGzrfMaGr7fskMa0T5AhQIVQD4nA/46QQWxG//DYuFBcA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [android]
requiresBuild: true
dev: false
optional: true
/@next/swc-darwin-arm64/12.1.0:
resolution: {integrity: sha512-R8vcXE2/iONJ1Unf5Ptqjk6LRW3bggH+8drNkkzH4FLEQkHtELhvcmJwkXcuipyQCsIakldAXhRbZmm3YN1vXg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
/@next/swc-darwin-x64/12.1.0:
resolution: {integrity: sha512-ieAz0/J0PhmbZBB8+EA/JGdhRHBogF8BWaeqR7hwveb6SYEIJaDNQy0I+ZN8gF8hLj63bEDxJAs/cEhdnTq+ug==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm-gnueabihf/12.1.0:
resolution: {integrity: sha512-njUd9hpl6o6A5d08dC0cKAgXKCzm5fFtgGe6i0eko8IAdtAPbtHxtpre3VeSxdZvuGFh+hb0REySQP9T1ttkog==}
engines: {node: '>= 10'}
cpu: [arm]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm64-gnu/12.1.0:
resolution: {integrity: sha512-OqangJLkRxVxMhDtcb7Qn1xjzFA3s50EIxY7mljbSCLybU+sByPaWAHY4px97ieOlr2y4S0xdPKkQ3BCAwyo6Q==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-arm64-musl/12.1.0:
resolution: {integrity: sha512-hB8cLSt4GdmOpcwRe2UzI5UWn6HHO/vLkr5OTuNvCJ5xGDwpPXelVkYW/0+C3g5axbDW2Tym4S+MQCkkH9QfWA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-x64-gnu/12.1.0:
resolution: {integrity: sha512-OKO4R/digvrVuweSw/uBM4nSdyzsBV5EwkUeeG4KVpkIZEe64ZwRpnFB65bC6hGwxIBnTv5NMSnJ+0K/WmG78A==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-linux-x64-musl/12.1.0:
resolution: {integrity: sha512-JohhgAHZvOD3rQY7tlp7NlmvtvYHBYgY0x5ZCecUT6eCCcl9lv6iV3nfu82ErkxNk1H893fqH0FUpznZ/H3pSw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-arm64-msvc/12.1.0:
resolution: {integrity: sha512-T/3gIE6QEfKIJ4dmJk75v9hhNiYZhQYAoYm4iVo1TgcsuaKLFa+zMPh4056AHiG6n9tn2UQ1CFE8EoybEsqsSw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-ia32-msvc/12.1.0:
resolution: {integrity: sha512-iwnKgHJdqhIW19H9PRPM9j55V6RdcOo6rX+5imx832BCWzkDbyomWnlzBfr6ByUYfhohb8QuH4hSGEikpPqI0Q==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@next/swc-win32-x64-msvc/12.1.0:
resolution: {integrity: sha512-aBvcbMwuanDH4EMrL2TthNJy+4nP59Bimn8egqv6GHMVj0a44cU6Au4PjOhLNqEh9l+IpRGBqMTzec94UdC5xg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: false
optional: true
/@nodelib/fs.scandir/2.1.4:
resolution: {integrity: sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==}
engines: {node: '>= 8'}
@ -4456,6 +4574,7 @@ packages:
/@popperjs/core/2.11.0:
resolution: {integrity: sha512-zrsUxjLOKAzdewIDRWy9nsV1GQsKBCWaGwsZQlCgr6/q+vjyZhFgqedLfFBuI9anTPEUT4APq9Mu0SZBTzIcGQ==}
dev: true
/@popperjs/core/2.11.2:
resolution: {integrity: sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==}
@ -4540,22 +4659,6 @@ packages:
rollup: 2.68.0
dev: true
/@rollup/plugin-node-resolve/11.2.1_rollup@2.70.0:
resolution: {integrity: sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==}
engines: {node: '>= 10.0.0'}
peerDependencies:
rollup: ^1.20.0||^2.0.0
dependencies:
'@rollup/pluginutils': 3.1.0_rollup@2.70.0
'@types/resolve': 1.17.1
builtin-modules: 3.2.0
deepmerge: 4.2.2
is-module: 1.0.0
resolve: 1.22.0
rollup: 2.70.0
dev: true
optional: true
/@rollup/plugin-node-resolve/13.1.3_rollup@2.70.0:
resolution: {integrity: sha512-BdxNk+LtmElRo5d06MGY4zoepyrXX1tkzX2hrnPEZ53k78GuOMWLqmJDGIIOPwVRIFZrLQOo+Yr6KtCuLIA0AQ==}
engines: {node: '>= 10.0.0'}
@ -6355,14 +6458,14 @@ packages:
resolution: {integrity: sha512-3KQDyx9r0RKYailW2MiYrSSKEfH0GTkI51UGEvJenvcoDoeRYs0PZpi2SXqtnMClQvCqdtTTpOfFETDTVADpAg==}
engines: {node: '>=12'}
dependencies:
'@babel/code-frame': 7.16.0
'@babel/runtime': 7.16.3
'@babel/code-frame': 7.16.7
'@babel/runtime': 7.17.2
'@types/aria-query': 4.2.2
aria-query: 5.0.0
chalk: 4.1.2
dom-accessibility-api: 0.5.10
lz-string: 1.4.4
pretty-format: 27.4.2
pretty-format: 27.5.1
dev: true
/@testing-library/jest-dom/5.16.2:
@ -6411,7 +6514,7 @@ packages:
dependencies:
'@babel/runtime': 7.17.2
'@testing-library/dom': 8.11.1
'@types/react-dom': 17.0.11
'@types/react-dom': 17.0.13
react: 17.0.2
react-dom: 17.0.2_react@17.0.2
dev: true
@ -6687,10 +6790,6 @@ packages:
resolution: {integrity: sha512-w3mrvNXLeDYV1GKTZorGJQivK6XLCoGwpnyJFbJVK/aTBQUxOCaa/GlFAAN3OTDFcb7h5tiFG+YXCO2By+riZw==}
dev: true
/@types/node/17.0.8:
resolution: {integrity: sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==}
dev: true
/@types/node/8.10.66:
resolution: {integrity: sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==}
dev: true
@ -6737,12 +6836,6 @@ packages:
resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==}
dev: true
/@types/react-dom/17.0.11:
resolution: {integrity: sha512-f96K3k+24RaLGVu/Y2Ng3e1EbZ8/cVJvypZWd7cy0ofCBaf2lcM46xNhycMZ2xGwbBjRql7hOlZ+e2WlJ5MH3Q==}
dependencies:
'@types/react': 17.0.39
dev: true
/@types/react-dom/17.0.13:
resolution: {integrity: sha512-wEP+B8hzvy6ORDv1QBhcQia4j6ea4SFIBttHYpXKPFZRviBvknq0FRh3VrIxeXUmsPkwuXVZrVGG7KUVONmXCQ==}
dependencies:
@ -6752,7 +6845,7 @@ packages:
/@types/react-is/17.0.3:
resolution: {integrity: sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==}
dependencies:
'@types/react': 17.0.39
'@types/react': 17.0.40
dev: false
/@types/react-syntax-highlighter/11.0.5:
@ -6780,6 +6873,13 @@ packages:
'@types/scheduler': 0.16.2
csstype: 3.0.10
/@types/react/17.0.40:
resolution: {integrity: sha512-UrXhD/JyLH+W70nNSufXqMZNuUD2cXHu6UjCllC6pmOQgBX4SGXOH8fjRka0O0Ee0HrFxapDD8Bwn81Kmiz6jQ==}
dependencies:
'@types/prop-types': 15.7.4
'@types/scheduler': 0.16.2
csstype: 3.0.11
/@types/resize-observer-browser/0.1.6:
resolution: {integrity: sha512-61IfTac0s9jvNtBCpyo86QeaN8qqpMGHdK0uGKCCIy2dt5/Yk84VduHIdWAcmkC5QvdkPL0p5eWYgUZtHKKUVg==}
dev: false
@ -6883,12 +6983,6 @@ packages:
'@types/yargs-parser': 20.2.0
dev: true
/@types/yargs/16.0.4:
resolution: {integrity: sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw==}
dependencies:
'@types/yargs-parser': 20.2.0
dev: true
/@types/yauzl/2.9.2:
resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==}
requiresBuild: true
@ -7171,11 +7265,11 @@ packages:
resolution: {integrity: sha512-Rywwt0IXXg6yQ0hv3cMT3mtdDcGIw31mGaa+MMMAT651LhoXLF2yFy4LrakiTs7UKs7RPBo9eNgaS8pgl2A6Qw==}
engines: {node: '>=12.0.0'}
dependencies:
'@babel/core': 7.17.4
'@babel/plugin-transform-react-jsx': 7.16.7_@babel+core@7.17.4
'@babel/plugin-transform-react-jsx-development': 7.16.7_@babel+core@7.17.4
'@babel/plugin-transform-react-jsx-self': 7.16.7_@babel+core@7.17.4
'@babel/plugin-transform-react-jsx-source': 7.16.7_@babel+core@7.17.4
'@babel/core': 7.17.5
'@babel/plugin-transform-react-jsx': 7.16.7_@babel+core@7.17.5
'@babel/plugin-transform-react-jsx-development': 7.16.7_@babel+core@7.17.5
'@babel/plugin-transform-react-jsx-self': 7.16.7_@babel+core@7.17.5
'@babel/plugin-transform-react-jsx-source': 7.16.7_@babel+core@7.17.5
'@rollup/pluginutils': 4.1.2
react-refresh: 0.11.0
resolve: 1.22.0
@ -7971,7 +8065,7 @@ packages:
resolution: {integrity: sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA==}
engines: {node: '>=6.0'}
dependencies:
'@babel/runtime': 7.16.3
'@babel/runtime': 7.17.2
'@babel/runtime-corejs3': 7.16.3
dev: true
@ -8276,7 +8370,7 @@ packages:
/babel-plugin-macros/2.8.0:
resolution: {integrity: sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==}
dependencies:
'@babel/runtime': 7.16.7
'@babel/runtime': 7.17.2
cosmiconfig: 6.0.0
resolve: 1.20.0
@ -8833,7 +8927,6 @@ packages:
/caniuse-lite/1.0.30001298:
resolution: {integrity: sha512-AcKqikjMLlvghZL/vfTHorlQsLDhGRalYf1+GmWCf5SCMziSGjRYQW/JEksj14NaYHIR6KIhrFAy0HV5C25UzQ==}
dev: true
/capture-exit/2.0.0:
resolution: {integrity: sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==}
@ -9604,7 +9697,6 @@ packages:
/csstype/3.0.11:
resolution: {integrity: sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==}
dev: false
/cyclist/1.0.1:
resolution: {integrity: sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=}
@ -10010,7 +10102,7 @@ packages:
resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}
dependencies:
'@babel/runtime': 7.17.2
csstype: 3.0.10
csstype: 3.0.11
dev: false
/dom-serializer/1.3.2:
@ -11351,7 +11443,7 @@ packages:
json-stable-stringify-without-jsonify: 1.0.1
levn: 0.4.1
lodash.merge: 4.6.2
minimatch: 3.0.4
minimatch: 3.1.2
natural-compare: 1.4.0
optionator: 0.9.1
regexpp: 3.2.0
@ -12358,6 +12450,20 @@ packages:
- encoding
dev: true
/happy-dom/2.46.3:
resolution: {integrity: sha512-bpzk1NjkB0EGRxb1Nxwjd87VjWcYYFS3v4BuVAZAnpBJAd/Uz3AFgE/0g0ntc30yfD8DzPo9Gd/2nicP0xGiWg==}
dependencies:
css.escape: 1.5.1
he: 1.2.0
node-fetch: 2.6.7
sync-request: 6.1.0
webidl-conversions: 7.0.0
whatwg-encoding: 1.0.5
whatwg-mimetype: 2.3.0
transitivePeerDependencies:
- encoding
dev: true
/has-bigints/1.0.1:
resolution: {integrity: sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==}
dev: true
@ -13527,7 +13633,7 @@ packages:
whatwg-encoding: 2.0.0
whatwg-mimetype: 3.0.0
whatwg-url: 10.0.0
ws: 8.4.2
ws: 8.5.0
xml-name-validator: 4.0.0
transitivePeerDependencies:
- bufferutil
@ -14425,11 +14531,6 @@ packages:
big-integer: 1.6.51
dev: false
/nanoid/3.1.30:
resolution: {integrity: sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
/nanoid/3.3.1:
resolution: {integrity: sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
@ -14479,6 +14580,48 @@ packages:
resolution: {integrity: sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==}
dev: true
/next/12.1.0_react-dom@17.0.2+react@17.0.2:
resolution: {integrity: sha512-s885kWvnIlxsUFHq9UGyIyLiuD0G3BUC/xrH0CEnH5lHEWkwQcHOORgbDF0hbrW9vr/7am4ETfX4A7M6DjrE7Q==}
engines: {node: '>=12.22.0'}
hasBin: true
peerDependencies:
fibers: '>= 3.1.0'
node-sass: ^6.0.0 || ^7.0.0
react: ^17.0.2 || ^18.0.0-0
react-dom: ^17.0.2 || ^18.0.0-0
sass: ^1.3.0
peerDependenciesMeta:
fibers:
optional: true
node-sass:
optional: true
sass:
optional: true
dependencies:
'@next/env': 12.1.0
caniuse-lite: 1.0.30001298
postcss: 8.4.5
react: 17.0.2
react-dom: 17.0.2_react@17.0.2
styled-jsx: 5.0.0_react@17.0.2
use-subscription: 1.5.1_react@17.0.2
optionalDependencies:
'@next/swc-android-arm64': 12.1.0
'@next/swc-darwin-arm64': 12.1.0
'@next/swc-darwin-x64': 12.1.0
'@next/swc-linux-arm-gnueabihf': 12.1.0
'@next/swc-linux-arm64-gnu': 12.1.0
'@next/swc-linux-arm64-musl': 12.1.0
'@next/swc-linux-x64-gnu': 12.1.0
'@next/swc-linux-x64-musl': 12.1.0
'@next/swc-win32-arm64-msvc': 12.1.0
'@next/swc-win32-ia32-msvc': 12.1.0
'@next/swc-win32-x64-msvc': 12.1.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dev: false
/nice-try/1.0.5:
resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==}
dev: true
@ -15400,7 +15543,7 @@ packages:
resolution: {integrity: sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==}
engines: {node: ^10 || ^12 || >=14}
dependencies:
nanoid: 3.1.30
nanoid: 3.3.1
picocolors: 1.0.0
source-map-js: 1.0.2
@ -15460,16 +15603,6 @@ packages:
react-is: 17.0.2
dev: true
/pretty-format/27.4.2:
resolution: {integrity: sha512-p0wNtJ9oLuvgOQDEIZ9zQjZffK7KtyR6Si0jnXULIDwrlNF8Cuir3AZP0hHv0jmKuNN/edOnbMjnzd4uTcmWiw==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
'@jest/types': 27.4.2
ansi-regex: 5.0.1
ansi-styles: 5.2.0
react-is: 17.0.2
dev: true
/pretty-format/27.4.6:
resolution: {integrity: sha512-NblstegA1y/RJW2VyML+3LlpFjzx62cUrtBIKIWDXEDkjNeleA7Od7nrzcs/VLQvAeV4CgSYhrN39DRN88Qi/g==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
@ -16092,7 +16225,7 @@ packages:
dependencies:
dom-helpers: 3.4.0
loose-envify: 1.4.0
prop-types: 15.7.2
prop-types: 15.8.1
react: 17.0.2
react-dom: 17.0.2_react@17.0.2
react-lifecycles-compat: 3.0.4
@ -16107,7 +16240,7 @@ packages:
'@babel/runtime': 7.17.2
dom-helpers: 5.2.1
loose-envify: 1.4.0
prop-types: 15.7.2
prop-types: 15.8.1
react: 17.0.2
react-dom: 17.0.2_react@17.0.2
dev: false
@ -17025,31 +17158,29 @@ packages:
solid-js: 1.3.10
dev: true
/solid-ssr/1.3.7:
resolution: {integrity: sha512-0nZ8kFZ105pmMuaVzIwTUUyugV15Jr7HGF2e5BwhoKK0WjAmICiWEbkQPu0zUa0wN99lbpbpmRevsrGa0bextA==}
dev: true
/solid-start-node/0.1.0-alpha.8_solid-start@0.1.0-alpha.63:
resolution: {integrity: sha512-0cLyLoDfr7mXLtRvEZ2YFuDAE/II0sa7OJZJ4YkyZOoxK/knvnoMxzd0YRTxs+xXyaODMPRhPcsTmqscZeP2JQ==}
/solid-start-node/0.1.0-alpha.66_0ea384134918338f1c5b6cb6cab097e3:
resolution: {integrity: sha512-K70hiZzTzKmA6RSBYOODFpYKGkzNBwattiFSHBFdhucvQiEHGyP3IsaCs5TKXuav/oX4pWRzE3ssUcPF5B6N7A==}
requiresBuild: true
peerDependencies:
solid-start: '*'
solid-start: next
undici: ^4.12.2
vite: '*'
dependencies:
'@rollup/plugin-commonjs': 21.0.2_rollup@2.70.0
'@rollup/plugin-json': 4.1.0_rollup@2.70.0
'@rollup/plugin-node-resolve': 11.2.1_rollup@2.70.0
'@rollup/plugin-node-resolve': 13.1.3_rollup@2.70.0
compression: 1.7.4
node-fetch: 2.6.7
polka: 1.0.0-next.22
rollup: 2.70.0
sirv: 1.0.19
solid-start: 0.1.0-alpha.63_solid-js@1.3.10+vite@2.8.6
transitivePeerDependencies:
- encoding
solid-start: 0.1.0-alpha.66_solid-js@1.3.10+vite@2.8.6
undici: 4.13.0
vite: 2.8.6
dev: true
optional: true
/solid-start/0.1.0-alpha.63_solid-js@1.3.10+vite@2.8.6:
resolution: {integrity: sha512-Fovju9r6hsMGoN+hi7p0+SRVVK6l4Wsdo69g5QoIBs/WPrZAbtBeqLQozl17OIZapRrNzCanTmyGjYTfSO1JVw==}
/solid-start/0.1.0-alpha.66_solid-js@1.3.10+vite@2.8.6:
resolution: {integrity: sha512-HGJUQy2FIxfwQZTFpfx2ibjBoLT8fTCKpGvGwl215RSl7zDve9DFMuSTqRZiay0l4ERbu6uziS+gFg6tk3V0CA==}
hasBin: true
peerDependencies:
solid-app-router: ^0.3.0
@ -17074,15 +17205,13 @@ packages:
sade: 1.8.1
sirv: 1.0.19
solid-js: 1.3.10
solid-ssr: 1.3.7
undici: 4.13.0
vite: 2.8.6
vite-plugin-inspect: 0.3.14_vite@2.8.6
vite-plugin-solid: 2.2.6
optionalDependencies:
solid-start-node: 0.1.0-alpha.8_solid-start@0.1.0-alpha.63
solid-start-node: 0.1.0-alpha.66_0ea384134918338f1c5b6cb6cab097e3
transitivePeerDependencies:
- encoding
- less
- sass
- stylus
@ -17527,6 +17656,22 @@ packages:
inline-style-parser: 0.1.1
dev: true
/styled-jsx/5.0.0_react@17.0.2:
resolution: {integrity: sha512-qUqsWoBquEdERe10EW8vLp3jT25s/ssG1/qX5gZ4wu15OZpmSMFI2v+fWlRhLfykA5rFtlJ1ME8A8pm/peV4WA==}
engines: {node: '>= 12.0.0'}
peerDependencies:
'@babel/core': '*'
babel-plugin-macros: '*'
react: '>= 16.8.0 || 17.x.x || 18.x.x'
peerDependenciesMeta:
'@babel/core':
optional: true
babel-plugin-macros:
optional: true
dependencies:
react: 17.0.2
dev: false
/stylis/4.0.13:
resolution: {integrity: sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==}
dev: false
@ -18576,6 +18721,15 @@ packages:
use-isomorphic-layout-effect: 1.1.1_a0c521d4794c7ad97f5f4c1c4a7d5818
dev: true
/use-subscription/1.5.1_react@17.0.2:
resolution: {integrity: sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0
dependencies:
object-assign: 4.1.1
react: 17.0.2
dev: false
/use/3.1.1:
resolution: {integrity: sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==}
engines: {node: '>=0.10.0'}
@ -19437,19 +19591,6 @@ packages:
optional: true
dev: true
/ws/8.4.2:
resolution: {integrity: sha512-Kbk4Nxyq7/ZWqr/tarI9yIt/+iNNFOjBXEWgTb4ydaNHBNGgvf2QHbS9fdfsndfjFlFwEd4Al+mw83YkaD10ZA==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
peerDependenciesMeta:
bufferutil:
optional: true
utf-8-validate:
optional: true
dev: true
/ws/8.5.0:
resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==}
engines: {node: '>=10.0.0'}