Browse Source

chore: move Vue project to repo root

pull/1/head
Diego Vester 2 months ago
parent
commit
b442fadee1
  1. 0
      .editorconfig
  2. 0
      .gitattributes
  3. 50
      .gitignore
  4. 0
      .oxlintrc.json
  5. 0
      .prettierrc.json
  6. 11
      .vscode/extensions.json
  7. 72
      README.md
  8. 39
      app/toonpets.corneruniverse.com/.gitignore
  9. 73
      app/toonpets.corneruniverse.com/README.md
  10. 0
      e2e/tsconfig.json
  11. 0
      e2e/vue.spec.ts
  12. 0
      env.d.ts
  13. 0
      eslint.config.ts
  14. 0
      index.html
  15. 0
      package-lock.json
  16. 0
      package.json
  17. 0
      playwright.config.ts
  18. 0
      public/favicon.ico
  19. 0
      src/App.vue
  20. 0
      src/assets/base.css
  21. 0
      src/assets/logo.svg
  22. 0
      src/assets/main.css
  23. 0
      src/components/HelloWorld.vue
  24. 0
      src/components/TheWelcome.vue
  25. 0
      src/components/WelcomeItem.vue
  26. 0
      src/components/__tests__/HelloWorld.spec.ts
  27. 0
      src/components/icons/IconCommunity.vue
  28. 0
      src/components/icons/IconDocumentation.vue
  29. 0
      src/components/icons/IconEcosystem.vue
  30. 0
      src/components/icons/IconSupport.vue
  31. 0
      src/components/icons/IconTooling.vue
  32. 0
      src/main.ts
  33. 0
      src/router/index.ts
  34. 0
      src/stores/counter.ts
  35. 0
      src/views/AboutView.vue
  36. 0
      src/views/HomeView.vue
  37. 0
      tsconfig.app.json
  38. 0
      tsconfig.json
  39. 0
      tsconfig.node.json
  40. 0
      tsconfig.vitest.json
  41. 0
      vite.config.ts
  42. 0
      vitest.config.ts

0
app/toonpets.corneruniverse.com/.editorconfig → .editorconfig

0
app/toonpets.corneruniverse.com/.gitattributes → .gitattributes vendored

50
.gitignore vendored

@ -1,33 +1,39 @@ @@ -1,33 +1,39 @@
# ---> Vue
# gitignore template for Vue.js projects
#
# Recommended template: Node.gitignore
# TODO: where does this rule come from?
docs/_book
# TODO: where does this rule come from?
test/
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
.DS_Store
dist
dist-ssr
coverage
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.sw?
*.tsbuildinfo
.eslintcache
# Cypress
/cypress/videos/
/cypress/screenshots/
# Vitest
__screenshots__/
test-results/
playwright-report/

0
app/toonpets.corneruniverse.com/.oxlintrc.json → .oxlintrc.json

0
app/toonpets.corneruniverse.com/.prettierrc.json → .prettierrc.json

11
.vscode/extensions.json vendored

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
{
"recommendations": [
"Vue.volar",
"vitest.explorer",
"ms-playwright.playwright",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"oxc.oxc-vscode",
"prettier.prettier-vscode"
]
}

72
README.md

@ -1,3 +1,73 @@ @@ -1,3 +1,73 @@
# toonpets.corneruniverse.com
Website for toonpets
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
[VS Code](https://code.visualstudio.com/) + [Vue (Official)](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
## Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- [Vue.js devtools](https://chromewebstore.google.com/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd)
- [Turn on Custom Object Formatter in Chrome DevTools](http://bit.ly/object-formatters)
- Firefox:
- [Vue.js devtools](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
- [Turn on Custom Object Formatter in Firefox DevTools](https://fxdx.dev/firefox-devtools-custom-object-formatters/)
## Type Support for `.vue` Imports in TS
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
## Customize configuration
See [Vite Configuration Reference](https://vite.dev/config/).
## Project Setup
```sh
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Type-Check, Compile and Minify for Production
```sh
npm run build
```
### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:unit
```
### Run End-to-End Tests with [Playwright](https://playwright.dev)
```sh
# Install browsers for the first run
npx playwright install
# When testing on CI, must build the project first
npm run build
# Runs the end-to-end tests
npm run test:e2e
# Runs the tests only on Chromium
npm run test:e2e -- --project=chromium
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.ts
# Runs the tests in debug mode
npm run test:e2e -- --debug
```
### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
```

39
app/toonpets.corneruniverse.com/.gitignore vendored

@ -1,39 +0,0 @@ @@ -1,39 +0,0 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
.DS_Store
dist
dist-ssr
coverage
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.tsbuildinfo
.eslintcache
# Cypress
/cypress/videos/
/cypress/screenshots/
# Vitest
__screenshots__/
test-results/
playwright-report/

73
app/toonpets.corneruniverse.com/README.md

@ -1,73 +0,0 @@ @@ -1,73 +0,0 @@
# toonpets.corneruniverse.com
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
[VS Code](https://code.visualstudio.com/) + [Vue (Official)](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
## Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- [Vue.js devtools](https://chromewebstore.google.com/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd)
- [Turn on Custom Object Formatter in Chrome DevTools](http://bit.ly/object-formatters)
- Firefox:
- [Vue.js devtools](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
- [Turn on Custom Object Formatter in Firefox DevTools](https://fxdx.dev/firefox-devtools-custom-object-formatters/)
## Type Support for `.vue` Imports in TS
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
## Customize configuration
See [Vite Configuration Reference](https://vite.dev/config/).
## Project Setup
```sh
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Type-Check, Compile and Minify for Production
```sh
npm run build
```
### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
npm run test:unit
```
### Run End-to-End Tests with [Playwright](https://playwright.dev)
```sh
# Install browsers for the first run
npx playwright install
# When testing on CI, must build the project first
npm run build
# Runs the end-to-end tests
npm run test:e2e
# Runs the tests only on Chromium
npm run test:e2e -- --project=chromium
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.ts
# Runs the tests in debug mode
npm run test:e2e -- --debug
```
### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
```

0
app/toonpets.corneruniverse.com/e2e/tsconfig.json → e2e/tsconfig.json

0
app/toonpets.corneruniverse.com/e2e/vue.spec.ts → e2e/vue.spec.ts

0
app/toonpets.corneruniverse.com/env.d.ts → env.d.ts vendored

0
app/toonpets.corneruniverse.com/eslint.config.ts → eslint.config.ts

0
app/toonpets.corneruniverse.com/index.html → index.html

0
app/toonpets.corneruniverse.com/package-lock.json → package-lock.json generated

0
app/toonpets.corneruniverse.com/package.json → package.json

0
app/toonpets.corneruniverse.com/playwright.config.ts → playwright.config.ts

0
app/toonpets.corneruniverse.com/public/favicon.ico → public/favicon.ico

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

0
app/toonpets.corneruniverse.com/src/App.vue → src/App.vue

0
app/toonpets.corneruniverse.com/src/assets/base.css → src/assets/base.css

0
app/toonpets.corneruniverse.com/src/assets/logo.svg → src/assets/logo.svg

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 276 B

0
app/toonpets.corneruniverse.com/src/assets/main.css → src/assets/main.css

0
app/toonpets.corneruniverse.com/src/components/HelloWorld.vue → src/components/HelloWorld.vue

0
app/toonpets.corneruniverse.com/src/components/TheWelcome.vue → src/components/TheWelcome.vue

0
app/toonpets.corneruniverse.com/src/components/WelcomeItem.vue → src/components/WelcomeItem.vue

0
app/toonpets.corneruniverse.com/src/components/__tests__/HelloWorld.spec.ts → src/components/__tests__/HelloWorld.spec.ts

0
app/toonpets.corneruniverse.com/src/components/icons/IconCommunity.vue → src/components/icons/IconCommunity.vue

0
app/toonpets.corneruniverse.com/src/components/icons/IconDocumentation.vue → src/components/icons/IconDocumentation.vue

0
app/toonpets.corneruniverse.com/src/components/icons/IconEcosystem.vue → src/components/icons/IconEcosystem.vue

0
app/toonpets.corneruniverse.com/src/components/icons/IconSupport.vue → src/components/icons/IconSupport.vue

0
app/toonpets.corneruniverse.com/src/components/icons/IconTooling.vue → src/components/icons/IconTooling.vue

0
app/toonpets.corneruniverse.com/src/main.ts → src/main.ts

0
app/toonpets.corneruniverse.com/src/router/index.ts → src/router/index.ts

0
app/toonpets.corneruniverse.com/src/stores/counter.ts → src/stores/counter.ts

0
app/toonpets.corneruniverse.com/src/views/AboutView.vue → src/views/AboutView.vue

0
app/toonpets.corneruniverse.com/src/views/HomeView.vue → src/views/HomeView.vue

0
app/toonpets.corneruniverse.com/tsconfig.app.json → tsconfig.app.json

0
app/toonpets.corneruniverse.com/tsconfig.json → tsconfig.json

0
app/toonpets.corneruniverse.com/tsconfig.node.json → tsconfig.node.json

0
app/toonpets.corneruniverse.com/tsconfig.vitest.json → tsconfig.vitest.json

0
app/toonpets.corneruniverse.com/vite.config.ts → vite.config.ts

0
app/toonpets.corneruniverse.com/vitest.config.ts → vitest.config.ts

Loading…
Cancel
Save