Skip to content

Commit 20f17d8

Browse files
authored
Add files via upload
1 parent 27c35a3 commit 20f17d8

File tree

7 files changed

+56
-30
lines changed

7 files changed

+56
-30
lines changed

e2e/vue.spec.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { test, expect } from '@playwright/test';
2+
3+
// See here how to get started:
4+
// https://playwright.dev/docs/intro
5+
test('visits the app root url', async ({ page }) => {
6+
await page.goto('/');
7+
await expect(page.locator('div.greetings > h1')).toHaveText('You did it!');
8+
})

eslintrc.cjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* eslint-env node */
2+
require('@rushstack/eslint-patch/modern-module-resolution')
3+
4+
module.exports = {
5+
root: true,
6+
'extends': [
7+
'plugin:vue/vue3-essential',
8+
'eslint:recommended',
9+
'@vue/eslint-config-prettier/skip-formatting'
10+
],
11+
parserOptions: {
12+
ecmaVersion: 'latest'
13+
}
14+
}

prettierrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"semi": false,
4+
"tabWidth": 2,
5+
"singleQuote": true,
6+
"printWidth": 100,
7+
"trailingComma": "none"
8+
}

public/favicon.ico

4.19 KB
Binary file not shown.

replit.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{ pkgs }: {
2+
deps = [
3+
pkgs.gh
4+
pkgs.git-lfs
5+
pkgs.nodejs-18_x
6+
];
7+
}

tsconfig.json

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,8 @@
11
{
2-
"compilerOptions": {
3-
"target": "ESNext",
4-
"module": "ESNext",
5-
"moduleResolution": "node",
6-
"strict": false,
7-
"jsx": "preserve",
8-
"sourceMap": true,
9-
"resolveJsonModule": true,
10-
"esModuleInterop": true,
11-
"noImplicitAny": false,
12-
"experimentalDecorators": true,
13-
"emitDecoratorMetadata": true,
14-
"baseUrl": ".",
2+
"compilerOptions": {
153
"paths": {
16-
"@app/*": ["/app/*"],
17-
"@src/*": ["/src/*"]
18-
},
19-
"include": [
20-
"*.ts",
21-
"*.d.ts",
22-
"*.tsx"
23-
],
24-
"lib": [
25-
"esnext",
26-
"dom"
27-
],
28-
"types": [
29-
"vite/client"
30-
],
31-
32-
}
4+
"@/*": ["./src/*"]
5+
}
6+
},
7+
"exclude": ["node_modules", "dist"]
338
}

vitest.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { fileURLToPath } from 'node:url'
2+
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
3+
import viteConfig from './vite.config'
4+
5+
export default mergeConfig(
6+
viteConfig,
7+
defineConfig({
8+
test: {
9+
environment: 'jsdom',
10+
exclude: [...configDefaults.exclude, 'e2e/*'],
11+
root: fileURLToPath(new URL('./', import.meta.url))
12+
}
13+
})
14+
)

0 commit comments

Comments
 (0)