Unverified Commit 83bc5b6b authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Remove un-used app-dir test fixture (#44546)

This fixture is not being used as we aren't currently able to test the
ts plugin directly and will need to investigate using a headless vs code
instance to test against.

x-ref: https://vercel.slack.com/archives/C04DUD7EB1B/p1672784680457859
parent 87c3578c
/* eslint-disable */
// 'use client'
import { useCallback, useState } from 'react'
export default function Page({ whatIsThis }) {
return <div>hello app</div>
}
export const runtime = 'nodejs'
export const dynamic = 'auto',
revalidate = -100,
fetchCache = 'force-no-store',
preferredRegion = 'auto'
export const dynamicParams = true
/* eslint-disable */
export const revalidate = -1
export default function Root({ test, invalid }) {
return (
<html className="this-is-the-document-html">
<head>
<title>Hello</title>
</head>
<body className="this-is-the-document-body">{test}</body>
</html>
)
}
module.exports = {
distDir: 'dist/.next',
experimental: {
appDir: true,
},
}
{
"name": "app-typescript",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"typescript": "4.8.2"
}
}
/* eslint-disable */
import { useState } from 'react'
export default function Page() {
return <div>hello</div>
}
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"plugins": [
{
"name": "next"
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment