if (!/pnpm/.test(process.env.npm_config_user_agent ?? ''))
throw new Error("Please use pnpm ('pnpm run snapshot') to generate snapshots!")
-const featureFlags = ['typescript', 'jsx', 'router', 'pinia', 'vitest', 'cypress', 'playwright', 'nightwatch']
+const featureFlags = [
+ 'typescript',
+ 'jsx',
+ 'router',
+ 'pinia',
+ 'vitest',
+ 'cypress',
+ 'playwright',
+ 'nightwatch'
+]
const featureFlagsDenylist = [['cypress', 'playwright', 'nightwatch']]
// The following code & comments are generated by GitHub CoPilot.
console.log(`Building ${projectName}`)
await $`pnpm build`
-
+
if ('@playwright/test' in packageJSON.devDependencies) {
await $`pnpm playwright install --with-deps`
}
min-height: 100vh;
color: var(--color-text);
background: var(--color-background);
- transition: color 0.5s, background-color 0.5s;
+ transition:
+ color 0.5s,
+ background-color 0.5s;
line-height: 1.6;
- font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
- Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
+ font-family:
+ Inter,
+ -apple-system,
+ BlinkMacSystemFont,
+ 'Segoe UI',
+ Roboto,
+ Oxygen,
+ Ubuntu,
+ Cantarell,
+ 'Fira Sans',
+ 'Droid Sans',
+ 'Helvetica Neue',
+ sans-serif;
font-size: 15px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
export default function getData() {
return {
- plugins: [{
- id: 'vue',
- importer: "import vue from '@vitejs/plugin-vue'",
- initializer: 'vue()'
- }]
+ plugins: [
+ {
+ id: 'vue',
+ importer: "import vue from '@vitejs/plugin-vue'",
+ initializer: 'vue()'
+ }
+ ]
}
}
return {
...oldData,
- plugins: oldData.plugins.map(plugin => {
+ plugins: oldData.plugins.map((plugin) => {
if (plugin.id !== 'nightwatch') {
return plugin
}