From a5e5c3815c4b1387a7a74de5f5f2113f298537a0 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 6 Jan 2022 11:20:24 +0800 Subject: [PATCH] workflow: remove playground (preparing for submodule) --- playground/default/.gitignore | 27 ---- playground/default/.vscode/extensions.json | 3 - playground/default/README.md | 29 ----- playground/default/index.html | 13 -- playground/default/package.json | 16 --- playground/default/public/favicon.ico | Bin 4286 -> 0 bytes playground/default/src/App.vue | 81 ------------ playground/default/src/assets/base.css | 74 ----------- playground/default/src/assets/logo.svg | 1 - .../default/src/components/HelloWorld.vue | 43 ------- .../default/src/components/TheWelcome.vue | 84 ------------- .../default/src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/default/src/main.js | 4 - playground/default/vite.config.js | 14 --- playground/jsx-pinia-with-tests/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - playground/jsx-pinia-with-tests/README.md | 42 ------- playground/jsx-pinia-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.js | 8 -- .../cypress/jsconfig.json | 8 -- .../cypress/plugins/index.js | 29 ----- .../cypress/support/commands.js | 25 ---- .../cypress/support/index.js | 20 --- playground/jsx-pinia-with-tests/index.html | 13 -- playground/jsx-pinia-with-tests/package.json | 26 ---- .../jsx-pinia-with-tests/public/favicon.ico | Bin 4286 -> 0 bytes playground/jsx-pinia-with-tests/src/App.vue | 81 ------------ .../jsx-pinia-with-tests/src/assets/base.css | 74 ----------- .../jsx-pinia-with-tests/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.js | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/jsx-pinia-with-tests/src/main.js | 9 -- .../src/stores/counter.js | 16 --- .../jsx-pinia-with-tests/vite.config.js | 15 --- playground/jsx-pinia/.gitignore | 27 ---- playground/jsx-pinia/.vscode/extensions.json | 3 - playground/jsx-pinia/README.md | 29 ----- playground/jsx-pinia/index.html | 13 -- playground/jsx-pinia/package.json | 18 --- playground/jsx-pinia/public/favicon.ico | Bin 4286 -> 0 bytes playground/jsx-pinia/src/App.vue | 81 ------------ playground/jsx-pinia/src/assets/base.css | 74 ----------- playground/jsx-pinia/src/assets/logo.svg | 1 - .../jsx-pinia/src/components/HelloWorld.vue | 43 ------- .../jsx-pinia/src/components/TheWelcome.vue | 84 ------------- .../jsx-pinia/src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/jsx-pinia/src/main.js | 9 -- playground/jsx-pinia/src/stores/counter.js | 16 --- playground/jsx-pinia/vite.config.js | 15 --- .../jsx-router-pinia-with-tests/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../jsx-router-pinia-with-tests/README.md | 42 ------- .../jsx-router-pinia-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.js | 13 -- .../cypress/jsconfig.json | 8 -- .../cypress/plugins/index.js | 29 ----- .../cypress/support/commands.js | 25 ---- .../cypress/support/index.js | 20 --- .../jsx-router-pinia-with-tests/index.html | 13 -- .../jsx-router-pinia-with-tests/package.json | 27 ---- .../public/favicon.ico | Bin 4286 -> 0 bytes .../jsx-router-pinia-with-tests/src/App.vue | 119 ------------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.js | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../jsx-router-pinia-with-tests/src/main.js | 12 -- .../src/router/index.js | 23 ---- .../src/stores/counter.js | 16 --- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../vite.config.js | 15 --- playground/jsx-router-pinia/.gitignore | 27 ---- .../jsx-router-pinia/.vscode/extensions.json | 3 - playground/jsx-router-pinia/README.md | 29 ----- playground/jsx-router-pinia/index.html | 13 -- playground/jsx-router-pinia/package.json | 19 --- .../jsx-router-pinia/public/favicon.ico | Bin 4286 -> 0 bytes playground/jsx-router-pinia/src/App.vue | 119 ------------------ .../jsx-router-pinia/src/assets/base.css | 74 ----------- .../jsx-router-pinia/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/jsx-router-pinia/src/main.js | 12 -- .../jsx-router-pinia/src/router/index.js | 23 ---- .../jsx-router-pinia/src/stores/counter.js | 16 --- .../jsx-router-pinia/src/views/AboutView.vue | 15 --- .../jsx-router-pinia/src/views/HomeView.vue | 9 -- playground/jsx-router-pinia/vite.config.js | 15 --- playground/jsx-router-with-tests/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - playground/jsx-router-with-tests/README.md | 42 ------- playground/jsx-router-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.js | 13 -- .../cypress/jsconfig.json | 8 -- .../cypress/plugins/index.js | 29 ----- .../cypress/support/commands.js | 25 ---- .../cypress/support/index.js | 20 --- playground/jsx-router-with-tests/index.html | 13 -- playground/jsx-router-with-tests/package.json | 26 ---- .../jsx-router-with-tests/public/favicon.ico | Bin 4286 -> 0 bytes playground/jsx-router-with-tests/src/App.vue | 119 ------------------ .../jsx-router-with-tests/src/assets/base.css | 74 ----------- .../jsx-router-with-tests/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.js | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/jsx-router-with-tests/src/main.js | 9 -- .../jsx-router-with-tests/src/router/index.js | 23 ---- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../jsx-router-with-tests/vite.config.js | 15 --- playground/jsx-router/.gitignore | 27 ---- playground/jsx-router/.vscode/extensions.json | 3 - playground/jsx-router/README.md | 29 ----- playground/jsx-router/index.html | 13 -- playground/jsx-router/package.json | 18 --- playground/jsx-router/public/favicon.ico | Bin 4286 -> 0 bytes playground/jsx-router/src/App.vue | 119 ------------------ playground/jsx-router/src/assets/base.css | 74 ----------- playground/jsx-router/src/assets/logo.svg | 1 - .../jsx-router/src/components/HelloWorld.vue | 43 ------- .../jsx-router/src/components/TheWelcome.vue | 84 ------------- .../jsx-router/src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/jsx-router/src/main.js | 9 -- playground/jsx-router/src/router/index.js | 23 ---- playground/jsx-router/src/views/AboutView.vue | 15 --- playground/jsx-router/src/views/HomeView.vue | 9 -- playground/jsx-router/vite.config.js | 15 --- playground/jsx-with-tests/.gitignore | 27 ---- .../jsx-with-tests/.vscode/extensions.json | 3 - playground/jsx-with-tests/README.md | 42 ------- playground/jsx-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.js | 8 -- .../jsx-with-tests/cypress/jsconfig.json | 8 -- .../jsx-with-tests/cypress/plugins/index.js | 29 ----- .../cypress/support/commands.js | 25 ---- .../jsx-with-tests/cypress/support/index.js | 20 --- playground/jsx-with-tests/index.html | 13 -- playground/jsx-with-tests/package.json | 25 ---- playground/jsx-with-tests/public/favicon.ico | Bin 4286 -> 0 bytes playground/jsx-with-tests/src/App.vue | 81 ------------ playground/jsx-with-tests/src/assets/base.css | 74 ----------- playground/jsx-with-tests/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.js | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/jsx-with-tests/src/main.js | 4 - playground/jsx-with-tests/vite.config.js | 15 --- playground/jsx/.gitignore | 27 ---- playground/jsx/.vscode/extensions.json | 3 - playground/jsx/README.md | 29 ----- playground/jsx/index.html | 13 -- playground/jsx/package.json | 17 --- playground/jsx/public/favicon.ico | Bin 4286 -> 0 bytes playground/jsx/src/App.vue | 81 ------------ playground/jsx/src/assets/base.css | 74 ----------- playground/jsx/src/assets/logo.svg | 1 - playground/jsx/src/components/HelloWorld.vue | 43 ------- playground/jsx/src/components/TheWelcome.vue | 84 ------------- playground/jsx/src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../jsx/src/components/icons/IconSupport.vue | 7 -- .../jsx/src/components/icons/IconTooling.vue | 19 --- playground/jsx/src/main.js | 4 - playground/jsx/vite.config.js | 15 --- playground/pinia-with-tests/.gitignore | 27 ---- .../pinia-with-tests/.vscode/extensions.json | 3 - playground/pinia-with-tests/README.md | 42 ------- playground/pinia-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.js | 8 -- .../pinia-with-tests/cypress/jsconfig.json | 8 -- .../pinia-with-tests/cypress/plugins/index.js | 29 ----- .../cypress/support/commands.js | 25 ---- .../pinia-with-tests/cypress/support/index.js | 20 --- playground/pinia-with-tests/index.html | 13 -- playground/pinia-with-tests/package.json | 25 ---- .../pinia-with-tests/public/favicon.ico | Bin 4286 -> 0 bytes playground/pinia-with-tests/src/App.vue | 81 ------------ .../pinia-with-tests/src/assets/base.css | 74 ----------- .../pinia-with-tests/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.js | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/pinia-with-tests/src/main.js | 9 -- .../pinia-with-tests/src/stores/counter.js | 16 --- playground/pinia-with-tests/vite.config.js | 14 --- playground/pinia/.gitignore | 27 ---- playground/pinia/.vscode/extensions.json | 3 - playground/pinia/README.md | 29 ----- playground/pinia/index.html | 13 -- playground/pinia/package.json | 17 --- playground/pinia/public/favicon.ico | Bin 4286 -> 0 bytes playground/pinia/src/App.vue | 81 ------------ playground/pinia/src/assets/base.css | 74 ----------- playground/pinia/src/assets/logo.svg | 1 - .../pinia/src/components/HelloWorld.vue | 43 ------- .../pinia/src/components/TheWelcome.vue | 84 ------------- .../pinia/src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/pinia/src/main.js | 9 -- playground/pinia/src/stores/counter.js | 16 --- playground/pinia/vite.config.js | 14 --- playground/router-pinia-with-tests/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - playground/router-pinia-with-tests/README.md | 42 ------- .../router-pinia-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.js | 13 -- .../cypress/jsconfig.json | 8 -- .../cypress/plugins/index.js | 29 ----- .../cypress/support/commands.js | 25 ---- .../cypress/support/index.js | 20 --- playground/router-pinia-with-tests/index.html | 13 -- .../router-pinia-with-tests/package.json | 26 ---- .../public/favicon.ico | Bin 4286 -> 0 bytes .../router-pinia-with-tests/src/App.vue | 119 ------------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.js | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../router-pinia-with-tests/src/main.js | 12 -- .../src/router/index.js | 23 ---- .../src/stores/counter.js | 16 --- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../router-pinia-with-tests/vite.config.js | 14 --- playground/router-pinia/.gitignore | 27 ---- .../router-pinia/.vscode/extensions.json | 3 - playground/router-pinia/README.md | 29 ----- playground/router-pinia/index.html | 13 -- playground/router-pinia/package.json | 18 --- playground/router-pinia/public/favicon.ico | Bin 4286 -> 0 bytes playground/router-pinia/src/App.vue | 119 ------------------ playground/router-pinia/src/assets/base.css | 74 ----------- playground/router-pinia/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/router-pinia/src/main.js | 12 -- playground/router-pinia/src/router/index.js | 23 ---- playground/router-pinia/src/stores/counter.js | 16 --- .../router-pinia/src/views/AboutView.vue | 15 --- .../router-pinia/src/views/HomeView.vue | 9 -- playground/router-pinia/vite.config.js | 14 --- playground/router-with-tests/.gitignore | 27 ---- .../router-with-tests/.vscode/extensions.json | 3 - playground/router-with-tests/README.md | 42 ------- playground/router-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.js | 13 -- .../router-with-tests/cypress/jsconfig.json | 8 -- .../cypress/plugins/index.js | 29 ----- .../cypress/support/commands.js | 25 ---- .../cypress/support/index.js | 20 --- playground/router-with-tests/index.html | 13 -- playground/router-with-tests/package.json | 25 ---- .../router-with-tests/public/favicon.ico | Bin 4286 -> 0 bytes playground/router-with-tests/src/App.vue | 119 ------------------ .../router-with-tests/src/assets/base.css | 74 ----------- .../router-with-tests/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.js | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/router-with-tests/src/main.js | 9 -- .../router-with-tests/src/router/index.js | 23 ---- .../router-with-tests/src/views/AboutView.vue | 15 --- .../router-with-tests/src/views/HomeView.vue | 9 -- playground/router-with-tests/vite.config.js | 14 --- playground/router/.gitignore | 27 ---- playground/router/.vscode/extensions.json | 3 - playground/router/README.md | 29 ----- playground/router/index.html | 13 -- playground/router/package.json | 17 --- playground/router/public/favicon.ico | Bin 4286 -> 0 bytes playground/router/src/App.vue | 119 ------------------ playground/router/src/assets/base.css | 74 ----------- playground/router/src/assets/logo.svg | 1 - .../router/src/components/HelloWorld.vue | 43 ------- .../router/src/components/TheWelcome.vue | 84 ------------- .../router/src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/router/src/main.js | 9 -- playground/router/src/router/index.js | 23 ---- playground/router/src/views/AboutView.vue | 15 --- playground/router/src/views/HomeView.vue | 9 -- playground/router/vite.config.js | 14 --- .../.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../typescript-jsx-pinia-with-tests/README.md | 48 ------- .../cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.ts | 8 -- .../cypress/plugins/index.ts | 26 ---- .../cypress/support/commands.ts | 25 ---- .../cypress/support/index.ts | 20 --- .../cypress/tsconfig.json | 8 -- .../typescript-jsx-pinia-with-tests/env.d.ts | 8 -- .../index.html | 13 -- .../package.json | 30 ----- .../public/favicon.ico | Bin 4286 -> 0 bytes .../src/App.vue | 81 ------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.ts | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../src/main.ts | 9 -- .../src/stores/counter.ts | 16 --- .../tsconfig.json | 21 ---- .../vite.config.ts | 15 --- playground/typescript-jsx-pinia/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - playground/typescript-jsx-pinia/README.md | 35 ------ playground/typescript-jsx-pinia/env.d.ts | 8 -- playground/typescript-jsx-pinia/index.html | 13 -- playground/typescript-jsx-pinia/package.json | 22 ---- .../typescript-jsx-pinia/public/favicon.ico | Bin 4286 -> 0 bytes playground/typescript-jsx-pinia/src/App.vue | 81 ------------ .../typescript-jsx-pinia/src/assets/base.css | 74 ----------- .../typescript-jsx-pinia/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/typescript-jsx-pinia/src/main.ts | 9 -- .../src/stores/counter.ts | 16 --- playground/typescript-jsx-pinia/tsconfig.json | 21 ---- .../typescript-jsx-pinia/vite.config.ts | 15 --- .../.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../README.md | 48 ------- .../cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.ts | 13 -- .../cypress/plugins/index.ts | 26 ---- .../cypress/support/commands.ts | 25 ---- .../cypress/support/index.ts | 20 --- .../cypress/tsconfig.json | 8 -- .../env.d.ts | 8 -- .../index.html | 13 -- .../package.json | 31 ----- .../public/favicon.ico | Bin 4286 -> 0 bytes .../src/App.vue | 119 ------------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.ts | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../src/main.ts | 12 -- .../src/router/index.ts | 23 ---- .../src/stores/counter.ts | 16 --- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../tsconfig.json | 21 ---- .../vite.config.ts | 15 --- .../typescript-jsx-router-pinia/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../typescript-jsx-router-pinia/README.md | 35 ------ .../typescript-jsx-router-pinia/env.d.ts | 8 -- .../typescript-jsx-router-pinia/index.html | 13 -- .../typescript-jsx-router-pinia/package.json | 23 ---- .../public/favicon.ico | Bin 4286 -> 0 bytes .../typescript-jsx-router-pinia/src/App.vue | 119 ------------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../typescript-jsx-router-pinia/src/main.ts | 12 -- .../src/router/index.ts | 23 ---- .../src/stores/counter.ts | 16 --- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../typescript-jsx-router-pinia/tsconfig.json | 21 ---- .../vite.config.ts | 15 --- .../.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../README.md | 48 ------- .../cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.ts | 13 -- .../cypress/plugins/index.ts | 26 ---- .../cypress/support/commands.ts | 25 ---- .../cypress/support/index.ts | 20 --- .../cypress/tsconfig.json | 8 -- .../typescript-jsx-router-with-tests/env.d.ts | 8 -- .../index.html | 13 -- .../package.json | 30 ----- .../public/favicon.ico | Bin 4286 -> 0 bytes .../src/App.vue | 119 ------------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.ts | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../src/main.ts | 9 -- .../src/router/index.ts | 23 ---- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../tsconfig.json | 21 ---- .../vite.config.ts | 15 --- playground/typescript-jsx-router/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - playground/typescript-jsx-router/README.md | 35 ------ playground/typescript-jsx-router/env.d.ts | 8 -- playground/typescript-jsx-router/index.html | 13 -- playground/typescript-jsx-router/package.json | 22 ---- .../typescript-jsx-router/public/favicon.ico | Bin 4286 -> 0 bytes playground/typescript-jsx-router/src/App.vue | 119 ------------------ .../typescript-jsx-router/src/assets/base.css | 74 ----------- .../typescript-jsx-router/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/typescript-jsx-router/src/main.ts | 9 -- .../typescript-jsx-router/src/router/index.ts | 23 ---- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../typescript-jsx-router/tsconfig.json | 21 ---- .../typescript-jsx-router/vite.config.ts | 15 --- .../typescript-jsx-with-tests/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../typescript-jsx-with-tests/README.md | 48 ------- .../typescript-jsx-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.ts | 8 -- .../cypress/plugins/index.ts | 26 ---- .../cypress/support/commands.ts | 25 ---- .../cypress/support/index.ts | 20 --- .../cypress/tsconfig.json | 8 -- playground/typescript-jsx-with-tests/env.d.ts | 8 -- .../typescript-jsx-with-tests/index.html | 13 -- .../typescript-jsx-with-tests/package.json | 29 ----- .../public/favicon.ico | Bin 4286 -> 0 bytes .../typescript-jsx-with-tests/src/App.vue | 81 ------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.ts | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../typescript-jsx-with-tests/src/main.ts | 4 - .../typescript-jsx-with-tests/tsconfig.json | 21 ---- .../typescript-jsx-with-tests/vite.config.ts | 15 --- playground/typescript-jsx/.gitignore | 27 ---- .../typescript-jsx/.vscode/extensions.json | 3 - playground/typescript-jsx/README.md | 35 ------ playground/typescript-jsx/env.d.ts | 8 -- playground/typescript-jsx/index.html | 13 -- playground/typescript-jsx/package.json | 21 ---- playground/typescript-jsx/public/favicon.ico | Bin 4286 -> 0 bytes playground/typescript-jsx/src/App.vue | 81 ------------ playground/typescript-jsx/src/assets/base.css | 74 ----------- playground/typescript-jsx/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/typescript-jsx/src/main.ts | 4 - playground/typescript-jsx/tsconfig.json | 21 ---- playground/typescript-jsx/vite.config.ts | 15 --- .../typescript-pinia-with-tests/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../typescript-pinia-with-tests/README.md | 48 ------- .../typescript-pinia-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.ts | 8 -- .../cypress/plugins/index.ts | 26 ---- .../cypress/support/commands.ts | 25 ---- .../cypress/support/index.ts | 20 --- .../cypress/tsconfig.json | 8 -- .../typescript-pinia-with-tests/env.d.ts | 8 -- .../typescript-pinia-with-tests/index.html | 13 -- .../typescript-pinia-with-tests/package.json | 29 ----- .../public/favicon.ico | Bin 4286 -> 0 bytes .../typescript-pinia-with-tests/src/App.vue | 81 ------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.ts | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../typescript-pinia-with-tests/src/main.ts | 9 -- .../src/stores/counter.ts | 16 --- .../typescript-pinia-with-tests/tsconfig.json | 21 ---- .../vite.config.ts | 14 --- playground/typescript-pinia/.gitignore | 27 ---- .../typescript-pinia/.vscode/extensions.json | 3 - playground/typescript-pinia/README.md | 35 ------ playground/typescript-pinia/env.d.ts | 8 -- playground/typescript-pinia/index.html | 13 -- playground/typescript-pinia/package.json | 21 ---- .../typescript-pinia/public/favicon.ico | Bin 4286 -> 0 bytes playground/typescript-pinia/src/App.vue | 81 ------------ .../typescript-pinia/src/assets/base.css | 74 ----------- .../typescript-pinia/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/typescript-pinia/src/main.ts | 9 -- .../typescript-pinia/src/stores/counter.ts | 16 --- playground/typescript-pinia/tsconfig.json | 21 ---- playground/typescript-pinia/vite.config.ts | 14 --- .../.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../README.md | 48 ------- .../cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.ts | 13 -- .../cypress/plugins/index.ts | 26 ---- .../cypress/support/commands.ts | 25 ---- .../cypress/support/index.ts | 20 --- .../cypress/tsconfig.json | 8 -- .../env.d.ts | 8 -- .../index.html | 13 -- .../package.json | 30 ----- .../public/favicon.ico | Bin 4286 -> 0 bytes .../src/App.vue | 119 ------------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.ts | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../src/main.ts | 12 -- .../src/router/index.ts | 23 ---- .../src/stores/counter.ts | 16 --- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../tsconfig.json | 21 ---- .../vite.config.ts | 14 --- playground/typescript-router-pinia/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - playground/typescript-router-pinia/README.md | 35 ------ playground/typescript-router-pinia/env.d.ts | 8 -- playground/typescript-router-pinia/index.html | 13 -- .../typescript-router-pinia/package.json | 22 ---- .../public/favicon.ico | Bin 4286 -> 0 bytes .../typescript-router-pinia/src/App.vue | 119 ------------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../typescript-router-pinia/src/main.ts | 12 -- .../src/router/index.ts | 23 ---- .../src/stores/counter.ts | 16 --- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../typescript-router-pinia/tsconfig.json | 21 ---- .../typescript-router-pinia/vite.config.ts | 14 --- .../typescript-router-with-tests/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - .../typescript-router-with-tests/README.md | 48 ------- .../typescript-router-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.ts | 13 -- .../cypress/plugins/index.ts | 26 ---- .../cypress/support/commands.ts | 25 ---- .../cypress/support/index.ts | 20 --- .../cypress/tsconfig.json | 8 -- .../typescript-router-with-tests/env.d.ts | 8 -- .../typescript-router-with-tests/index.html | 13 -- .../typescript-router-with-tests/package.json | 29 ----- .../public/favicon.ico | Bin 4286 -> 0 bytes .../typescript-router-with-tests/src/App.vue | 119 ------------------ .../src/assets/base.css | 74 ----------- .../src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.ts | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- .../typescript-router-with-tests/src/main.ts | 9 -- .../src/router/index.ts | 23 ---- .../src/views/AboutView.vue | 15 --- .../src/views/HomeView.vue | 9 -- .../tsconfig.json | 21 ---- .../vite.config.ts | 14 --- playground/typescript-router/.gitignore | 27 ---- .../typescript-router/.vscode/extensions.json | 3 - playground/typescript-router/README.md | 35 ------ playground/typescript-router/env.d.ts | 8 -- playground/typescript-router/index.html | 13 -- playground/typescript-router/package.json | 21 ---- .../typescript-router/public/favicon.ico | Bin 4286 -> 0 bytes playground/typescript-router/src/App.vue | 119 ------------------ .../typescript-router/src/assets/base.css | 74 ----------- .../typescript-router/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/typescript-router/src/main.ts | 9 -- .../typescript-router/src/router/index.ts | 23 ---- .../typescript-router/src/views/AboutView.vue | 15 --- .../typescript-router/src/views/HomeView.vue | 9 -- playground/typescript-router/tsconfig.json | 21 ---- playground/typescript-router/vite.config.ts | 14 --- playground/typescript-with-tests/.gitignore | 27 ---- .../.vscode/extensions.json | 3 - playground/typescript-with-tests/README.md | 48 ------- playground/typescript-with-tests/cypress.json | 7 -- .../cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.ts | 8 -- .../cypress/plugins/index.ts | 26 ---- .../cypress/support/commands.ts | 25 ---- .../cypress/support/index.ts | 20 --- .../cypress/tsconfig.json | 8 -- playground/typescript-with-tests/env.d.ts | 8 -- playground/typescript-with-tests/index.html | 13 -- playground/typescript-with-tests/package.json | 28 ----- .../typescript-with-tests/public/favicon.ico | Bin 4286 -> 0 bytes playground/typescript-with-tests/src/App.vue | 81 ------------ .../typescript-with-tests/src/assets/base.css | 74 ----------- .../typescript-with-tests/src/assets/logo.svg | 1 - .../src/components/HelloWorld.vue | 40 ------ .../src/components/TheWelcome.vue | 84 ------------- .../src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.ts | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/typescript-with-tests/src/main.ts | 4 - .../typescript-with-tests/tsconfig.json | 21 ---- .../typescript-with-tests/vite.config.ts | 14 --- playground/typescript/.gitignore | 27 ---- playground/typescript/.vscode/extensions.json | 3 - playground/typescript/README.md | 35 ------ playground/typescript/env.d.ts | 8 -- playground/typescript/index.html | 13 -- playground/typescript/package.json | 20 --- playground/typescript/public/favicon.ico | Bin 4286 -> 0 bytes playground/typescript/src/App.vue | 81 ------------ playground/typescript/src/assets/base.css | 74 ----------- playground/typescript/src/assets/logo.svg | 1 - .../typescript/src/components/HelloWorld.vue | 40 ------ .../typescript/src/components/TheWelcome.vue | 84 ------------- .../typescript/src/components/WelcomeItem.vue | 86 ------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/typescript/src/main.ts | 4 - playground/typescript/tsconfig.json | 21 ---- playground/typescript/vite.config.ts | 14 --- playground/with-tests/.gitignore | 27 ---- playground/with-tests/.vscode/extensions.json | 3 - playground/with-tests/README.md | 42 ------- playground/with-tests/cypress.json | 7 -- .../with-tests/cypress/fixtures/example.json | 5 - .../cypress/integration/example.spec.js | 8 -- playground/with-tests/cypress/jsconfig.json | 8 -- .../with-tests/cypress/plugins/index.js | 29 ----- .../with-tests/cypress/support/commands.js | 25 ---- .../with-tests/cypress/support/index.js | 20 --- playground/with-tests/index.html | 13 -- playground/with-tests/package.json | 24 ---- playground/with-tests/public/favicon.ico | Bin 4286 -> 0 bytes playground/with-tests/src/App.vue | 81 ------------ playground/with-tests/src/assets/base.css | 74 ----------- playground/with-tests/src/assets/logo.svg | 1 - .../with-tests/src/components/HelloWorld.vue | 43 ------- .../with-tests/src/components/TheWelcome.vue | 84 ------------- .../with-tests/src/components/WelcomeItem.vue | 86 ------------- .../components/__tests__/HelloWorld.spec.js | 13 -- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 --- playground/with-tests/src/main.js | 4 - playground/with-tests/vite.config.js | 14 --- 832 files changed, 21296 deletions(-) delete mode 100644 playground/default/.gitignore delete mode 100644 playground/default/.vscode/extensions.json delete mode 100644 playground/default/README.md delete mode 100644 playground/default/index.html delete mode 100644 playground/default/package.json delete mode 100644 playground/default/public/favicon.ico delete mode 100644 playground/default/src/App.vue delete mode 100644 playground/default/src/assets/base.css delete mode 100644 playground/default/src/assets/logo.svg delete mode 100644 playground/default/src/components/HelloWorld.vue delete mode 100644 playground/default/src/components/TheWelcome.vue delete mode 100644 playground/default/src/components/WelcomeItem.vue delete mode 100644 playground/default/src/components/icons/IconCommunity.vue delete mode 100644 playground/default/src/components/icons/IconDocumentation.vue delete mode 100644 playground/default/src/components/icons/IconEcosystem.vue delete mode 100644 playground/default/src/components/icons/IconSupport.vue delete mode 100644 playground/default/src/components/icons/IconTooling.vue delete mode 100644 playground/default/src/main.js delete mode 100644 playground/default/vite.config.js delete mode 100644 playground/jsx-pinia-with-tests/.gitignore delete mode 100644 playground/jsx-pinia-with-tests/.vscode/extensions.json delete mode 100644 playground/jsx-pinia-with-tests/README.md delete mode 100644 playground/jsx-pinia-with-tests/cypress.json delete mode 100644 playground/jsx-pinia-with-tests/cypress/fixtures/example.json delete mode 100644 playground/jsx-pinia-with-tests/cypress/integration/example.spec.js delete mode 100644 playground/jsx-pinia-with-tests/cypress/jsconfig.json delete mode 100644 playground/jsx-pinia-with-tests/cypress/plugins/index.js delete mode 100644 playground/jsx-pinia-with-tests/cypress/support/commands.js delete mode 100644 playground/jsx-pinia-with-tests/cypress/support/index.js delete mode 100644 playground/jsx-pinia-with-tests/index.html delete mode 100644 playground/jsx-pinia-with-tests/package.json delete mode 100644 playground/jsx-pinia-with-tests/public/favicon.ico delete mode 100644 playground/jsx-pinia-with-tests/src/App.vue delete mode 100644 playground/jsx-pinia-with-tests/src/assets/base.css delete mode 100644 playground/jsx-pinia-with-tests/src/assets/logo.svg delete mode 100644 playground/jsx-pinia-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/jsx-pinia-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/jsx-pinia-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js delete mode 100644 playground/jsx-pinia-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/jsx-pinia-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/jsx-pinia-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/jsx-pinia-with-tests/src/main.js delete mode 100644 playground/jsx-pinia-with-tests/src/stores/counter.js delete mode 100644 playground/jsx-pinia-with-tests/vite.config.js delete mode 100644 playground/jsx-pinia/.gitignore delete mode 100644 playground/jsx-pinia/.vscode/extensions.json delete mode 100644 playground/jsx-pinia/README.md delete mode 100644 playground/jsx-pinia/index.html delete mode 100644 playground/jsx-pinia/package.json delete mode 100644 playground/jsx-pinia/public/favicon.ico delete mode 100644 playground/jsx-pinia/src/App.vue delete mode 100644 playground/jsx-pinia/src/assets/base.css delete mode 100644 playground/jsx-pinia/src/assets/logo.svg delete mode 100644 playground/jsx-pinia/src/components/HelloWorld.vue delete mode 100644 playground/jsx-pinia/src/components/TheWelcome.vue delete mode 100644 playground/jsx-pinia/src/components/WelcomeItem.vue delete mode 100644 playground/jsx-pinia/src/components/icons/IconCommunity.vue delete mode 100644 playground/jsx-pinia/src/components/icons/IconDocumentation.vue delete mode 100644 playground/jsx-pinia/src/components/icons/IconEcosystem.vue delete mode 100644 playground/jsx-pinia/src/components/icons/IconSupport.vue delete mode 100644 playground/jsx-pinia/src/components/icons/IconTooling.vue delete mode 100644 playground/jsx-pinia/src/main.js delete mode 100644 playground/jsx-pinia/src/stores/counter.js delete mode 100644 playground/jsx-pinia/vite.config.js delete mode 100644 playground/jsx-router-pinia-with-tests/.gitignore delete mode 100644 playground/jsx-router-pinia-with-tests/.vscode/extensions.json delete mode 100644 playground/jsx-router-pinia-with-tests/README.md delete mode 100644 playground/jsx-router-pinia-with-tests/cypress.json delete mode 100644 playground/jsx-router-pinia-with-tests/cypress/fixtures/example.json delete mode 100644 playground/jsx-router-pinia-with-tests/cypress/integration/example.spec.js delete mode 100644 playground/jsx-router-pinia-with-tests/cypress/jsconfig.json delete mode 100644 playground/jsx-router-pinia-with-tests/cypress/plugins/index.js delete mode 100644 playground/jsx-router-pinia-with-tests/cypress/support/commands.js delete mode 100644 playground/jsx-router-pinia-with-tests/cypress/support/index.js delete mode 100644 playground/jsx-router-pinia-with-tests/index.html delete mode 100644 playground/jsx-router-pinia-with-tests/package.json delete mode 100644 playground/jsx-router-pinia-with-tests/public/favicon.ico delete mode 100644 playground/jsx-router-pinia-with-tests/src/App.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/assets/base.css delete mode 100644 playground/jsx-router-pinia-with-tests/src/assets/logo.svg delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/main.js delete mode 100644 playground/jsx-router-pinia-with-tests/src/router/index.js delete mode 100644 playground/jsx-router-pinia-with-tests/src/stores/counter.js delete mode 100644 playground/jsx-router-pinia-with-tests/src/views/AboutView.vue delete mode 100644 playground/jsx-router-pinia-with-tests/src/views/HomeView.vue delete mode 100644 playground/jsx-router-pinia-with-tests/vite.config.js delete mode 100644 playground/jsx-router-pinia/.gitignore delete mode 100644 playground/jsx-router-pinia/.vscode/extensions.json delete mode 100644 playground/jsx-router-pinia/README.md delete mode 100644 playground/jsx-router-pinia/index.html delete mode 100644 playground/jsx-router-pinia/package.json delete mode 100644 playground/jsx-router-pinia/public/favicon.ico delete mode 100644 playground/jsx-router-pinia/src/App.vue delete mode 100644 playground/jsx-router-pinia/src/assets/base.css delete mode 100644 playground/jsx-router-pinia/src/assets/logo.svg delete mode 100644 playground/jsx-router-pinia/src/components/HelloWorld.vue delete mode 100644 playground/jsx-router-pinia/src/components/TheWelcome.vue delete mode 100644 playground/jsx-router-pinia/src/components/WelcomeItem.vue delete mode 100644 playground/jsx-router-pinia/src/components/icons/IconCommunity.vue delete mode 100644 playground/jsx-router-pinia/src/components/icons/IconDocumentation.vue delete mode 100644 playground/jsx-router-pinia/src/components/icons/IconEcosystem.vue delete mode 100644 playground/jsx-router-pinia/src/components/icons/IconSupport.vue delete mode 100644 playground/jsx-router-pinia/src/components/icons/IconTooling.vue delete mode 100644 playground/jsx-router-pinia/src/main.js delete mode 100644 playground/jsx-router-pinia/src/router/index.js delete mode 100644 playground/jsx-router-pinia/src/stores/counter.js delete mode 100644 playground/jsx-router-pinia/src/views/AboutView.vue delete mode 100644 playground/jsx-router-pinia/src/views/HomeView.vue delete mode 100644 playground/jsx-router-pinia/vite.config.js delete mode 100644 playground/jsx-router-with-tests/.gitignore delete mode 100644 playground/jsx-router-with-tests/.vscode/extensions.json delete mode 100644 playground/jsx-router-with-tests/README.md delete mode 100644 playground/jsx-router-with-tests/cypress.json delete mode 100644 playground/jsx-router-with-tests/cypress/fixtures/example.json delete mode 100644 playground/jsx-router-with-tests/cypress/integration/example.spec.js delete mode 100644 playground/jsx-router-with-tests/cypress/jsconfig.json delete mode 100644 playground/jsx-router-with-tests/cypress/plugins/index.js delete mode 100644 playground/jsx-router-with-tests/cypress/support/commands.js delete mode 100644 playground/jsx-router-with-tests/cypress/support/index.js delete mode 100644 playground/jsx-router-with-tests/index.html delete mode 100644 playground/jsx-router-with-tests/package.json delete mode 100644 playground/jsx-router-with-tests/public/favicon.ico delete mode 100644 playground/jsx-router-with-tests/src/App.vue delete mode 100644 playground/jsx-router-with-tests/src/assets/base.css delete mode 100644 playground/jsx-router-with-tests/src/assets/logo.svg delete mode 100644 playground/jsx-router-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/jsx-router-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/jsx-router-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.js delete mode 100644 playground/jsx-router-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/jsx-router-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/jsx-router-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/jsx-router-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/jsx-router-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/jsx-router-with-tests/src/main.js delete mode 100644 playground/jsx-router-with-tests/src/router/index.js delete mode 100644 playground/jsx-router-with-tests/src/views/AboutView.vue delete mode 100644 playground/jsx-router-with-tests/src/views/HomeView.vue delete mode 100644 playground/jsx-router-with-tests/vite.config.js delete mode 100644 playground/jsx-router/.gitignore delete mode 100644 playground/jsx-router/.vscode/extensions.json delete mode 100644 playground/jsx-router/README.md delete mode 100644 playground/jsx-router/index.html delete mode 100644 playground/jsx-router/package.json delete mode 100644 playground/jsx-router/public/favicon.ico delete mode 100644 playground/jsx-router/src/App.vue delete mode 100644 playground/jsx-router/src/assets/base.css delete mode 100644 playground/jsx-router/src/assets/logo.svg delete mode 100644 playground/jsx-router/src/components/HelloWorld.vue delete mode 100644 playground/jsx-router/src/components/TheWelcome.vue delete mode 100644 playground/jsx-router/src/components/WelcomeItem.vue delete mode 100644 playground/jsx-router/src/components/icons/IconCommunity.vue delete mode 100644 playground/jsx-router/src/components/icons/IconDocumentation.vue delete mode 100644 playground/jsx-router/src/components/icons/IconEcosystem.vue delete mode 100644 playground/jsx-router/src/components/icons/IconSupport.vue delete mode 100644 playground/jsx-router/src/components/icons/IconTooling.vue delete mode 100644 playground/jsx-router/src/main.js delete mode 100644 playground/jsx-router/src/router/index.js delete mode 100644 playground/jsx-router/src/views/AboutView.vue delete mode 100644 playground/jsx-router/src/views/HomeView.vue delete mode 100644 playground/jsx-router/vite.config.js delete mode 100644 playground/jsx-with-tests/.gitignore delete mode 100644 playground/jsx-with-tests/.vscode/extensions.json delete mode 100644 playground/jsx-with-tests/README.md delete mode 100644 playground/jsx-with-tests/cypress.json delete mode 100644 playground/jsx-with-tests/cypress/fixtures/example.json delete mode 100644 playground/jsx-with-tests/cypress/integration/example.spec.js delete mode 100644 playground/jsx-with-tests/cypress/jsconfig.json delete mode 100644 playground/jsx-with-tests/cypress/plugins/index.js delete mode 100644 playground/jsx-with-tests/cypress/support/commands.js delete mode 100644 playground/jsx-with-tests/cypress/support/index.js delete mode 100644 playground/jsx-with-tests/index.html delete mode 100644 playground/jsx-with-tests/package.json delete mode 100644 playground/jsx-with-tests/public/favicon.ico delete mode 100644 playground/jsx-with-tests/src/App.vue delete mode 100644 playground/jsx-with-tests/src/assets/base.css delete mode 100644 playground/jsx-with-tests/src/assets/logo.svg delete mode 100644 playground/jsx-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/jsx-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/jsx-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/jsx-with-tests/src/components/__tests__/HelloWorld.spec.js delete mode 100644 playground/jsx-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/jsx-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/jsx-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/jsx-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/jsx-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/jsx-with-tests/src/main.js delete mode 100644 playground/jsx-with-tests/vite.config.js delete mode 100644 playground/jsx/.gitignore delete mode 100644 playground/jsx/.vscode/extensions.json delete mode 100644 playground/jsx/README.md delete mode 100644 playground/jsx/index.html delete mode 100644 playground/jsx/package.json delete mode 100644 playground/jsx/public/favicon.ico delete mode 100644 playground/jsx/src/App.vue delete mode 100644 playground/jsx/src/assets/base.css delete mode 100644 playground/jsx/src/assets/logo.svg delete mode 100644 playground/jsx/src/components/HelloWorld.vue delete mode 100644 playground/jsx/src/components/TheWelcome.vue delete mode 100644 playground/jsx/src/components/WelcomeItem.vue delete mode 100644 playground/jsx/src/components/icons/IconCommunity.vue delete mode 100644 playground/jsx/src/components/icons/IconDocumentation.vue delete mode 100644 playground/jsx/src/components/icons/IconEcosystem.vue delete mode 100644 playground/jsx/src/components/icons/IconSupport.vue delete mode 100644 playground/jsx/src/components/icons/IconTooling.vue delete mode 100644 playground/jsx/src/main.js delete mode 100644 playground/jsx/vite.config.js delete mode 100644 playground/pinia-with-tests/.gitignore delete mode 100644 playground/pinia-with-tests/.vscode/extensions.json delete mode 100644 playground/pinia-with-tests/README.md delete mode 100644 playground/pinia-with-tests/cypress.json delete mode 100644 playground/pinia-with-tests/cypress/fixtures/example.json delete mode 100644 playground/pinia-with-tests/cypress/integration/example.spec.js delete mode 100644 playground/pinia-with-tests/cypress/jsconfig.json delete mode 100644 playground/pinia-with-tests/cypress/plugins/index.js delete mode 100644 playground/pinia-with-tests/cypress/support/commands.js delete mode 100644 playground/pinia-with-tests/cypress/support/index.js delete mode 100644 playground/pinia-with-tests/index.html delete mode 100644 playground/pinia-with-tests/package.json delete mode 100644 playground/pinia-with-tests/public/favicon.ico delete mode 100644 playground/pinia-with-tests/src/App.vue delete mode 100644 playground/pinia-with-tests/src/assets/base.css delete mode 100644 playground/pinia-with-tests/src/assets/logo.svg delete mode 100644 playground/pinia-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/pinia-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/pinia-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/pinia-with-tests/src/components/__tests__/HelloWorld.spec.js delete mode 100644 playground/pinia-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/pinia-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/pinia-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/pinia-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/pinia-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/pinia-with-tests/src/main.js delete mode 100644 playground/pinia-with-tests/src/stores/counter.js delete mode 100644 playground/pinia-with-tests/vite.config.js delete mode 100644 playground/pinia/.gitignore delete mode 100644 playground/pinia/.vscode/extensions.json delete mode 100644 playground/pinia/README.md delete mode 100644 playground/pinia/index.html delete mode 100644 playground/pinia/package.json delete mode 100644 playground/pinia/public/favicon.ico delete mode 100644 playground/pinia/src/App.vue delete mode 100644 playground/pinia/src/assets/base.css delete mode 100644 playground/pinia/src/assets/logo.svg delete mode 100644 playground/pinia/src/components/HelloWorld.vue delete mode 100644 playground/pinia/src/components/TheWelcome.vue delete mode 100644 playground/pinia/src/components/WelcomeItem.vue delete mode 100644 playground/pinia/src/components/icons/IconCommunity.vue delete mode 100644 playground/pinia/src/components/icons/IconDocumentation.vue delete mode 100644 playground/pinia/src/components/icons/IconEcosystem.vue delete mode 100644 playground/pinia/src/components/icons/IconSupport.vue delete mode 100644 playground/pinia/src/components/icons/IconTooling.vue delete mode 100644 playground/pinia/src/main.js delete mode 100644 playground/pinia/src/stores/counter.js delete mode 100644 playground/pinia/vite.config.js delete mode 100644 playground/router-pinia-with-tests/.gitignore delete mode 100644 playground/router-pinia-with-tests/.vscode/extensions.json delete mode 100644 playground/router-pinia-with-tests/README.md delete mode 100644 playground/router-pinia-with-tests/cypress.json delete mode 100644 playground/router-pinia-with-tests/cypress/fixtures/example.json delete mode 100644 playground/router-pinia-with-tests/cypress/integration/example.spec.js delete mode 100644 playground/router-pinia-with-tests/cypress/jsconfig.json delete mode 100644 playground/router-pinia-with-tests/cypress/plugins/index.js delete mode 100644 playground/router-pinia-with-tests/cypress/support/commands.js delete mode 100644 playground/router-pinia-with-tests/cypress/support/index.js delete mode 100644 playground/router-pinia-with-tests/index.html delete mode 100644 playground/router-pinia-with-tests/package.json delete mode 100644 playground/router-pinia-with-tests/public/favicon.ico delete mode 100644 playground/router-pinia-with-tests/src/App.vue delete mode 100644 playground/router-pinia-with-tests/src/assets/base.css delete mode 100644 playground/router-pinia-with-tests/src/assets/logo.svg delete mode 100644 playground/router-pinia-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/router-pinia-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/router-pinia-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js delete mode 100644 playground/router-pinia-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/router-pinia-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/router-pinia-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/router-pinia-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/router-pinia-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/router-pinia-with-tests/src/main.js delete mode 100644 playground/router-pinia-with-tests/src/router/index.js delete mode 100644 playground/router-pinia-with-tests/src/stores/counter.js delete mode 100644 playground/router-pinia-with-tests/src/views/AboutView.vue delete mode 100644 playground/router-pinia-with-tests/src/views/HomeView.vue delete mode 100644 playground/router-pinia-with-tests/vite.config.js delete mode 100644 playground/router-pinia/.gitignore delete mode 100644 playground/router-pinia/.vscode/extensions.json delete mode 100644 playground/router-pinia/README.md delete mode 100644 playground/router-pinia/index.html delete mode 100644 playground/router-pinia/package.json delete mode 100644 playground/router-pinia/public/favicon.ico delete mode 100644 playground/router-pinia/src/App.vue delete mode 100644 playground/router-pinia/src/assets/base.css delete mode 100644 playground/router-pinia/src/assets/logo.svg delete mode 100644 playground/router-pinia/src/components/HelloWorld.vue delete mode 100644 playground/router-pinia/src/components/TheWelcome.vue delete mode 100644 playground/router-pinia/src/components/WelcomeItem.vue delete mode 100644 playground/router-pinia/src/components/icons/IconCommunity.vue delete mode 100644 playground/router-pinia/src/components/icons/IconDocumentation.vue delete mode 100644 playground/router-pinia/src/components/icons/IconEcosystem.vue delete mode 100644 playground/router-pinia/src/components/icons/IconSupport.vue delete mode 100644 playground/router-pinia/src/components/icons/IconTooling.vue delete mode 100644 playground/router-pinia/src/main.js delete mode 100644 playground/router-pinia/src/router/index.js delete mode 100644 playground/router-pinia/src/stores/counter.js delete mode 100644 playground/router-pinia/src/views/AboutView.vue delete mode 100644 playground/router-pinia/src/views/HomeView.vue delete mode 100644 playground/router-pinia/vite.config.js delete mode 100644 playground/router-with-tests/.gitignore delete mode 100644 playground/router-with-tests/.vscode/extensions.json delete mode 100644 playground/router-with-tests/README.md delete mode 100644 playground/router-with-tests/cypress.json delete mode 100644 playground/router-with-tests/cypress/fixtures/example.json delete mode 100644 playground/router-with-tests/cypress/integration/example.spec.js delete mode 100644 playground/router-with-tests/cypress/jsconfig.json delete mode 100644 playground/router-with-tests/cypress/plugins/index.js delete mode 100644 playground/router-with-tests/cypress/support/commands.js delete mode 100644 playground/router-with-tests/cypress/support/index.js delete mode 100644 playground/router-with-tests/index.html delete mode 100644 playground/router-with-tests/package.json delete mode 100644 playground/router-with-tests/public/favicon.ico delete mode 100644 playground/router-with-tests/src/App.vue delete mode 100644 playground/router-with-tests/src/assets/base.css delete mode 100644 playground/router-with-tests/src/assets/logo.svg delete mode 100644 playground/router-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/router-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/router-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/router-with-tests/src/components/__tests__/HelloWorld.spec.js delete mode 100644 playground/router-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/router-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/router-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/router-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/router-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/router-with-tests/src/main.js delete mode 100644 playground/router-with-tests/src/router/index.js delete mode 100644 playground/router-with-tests/src/views/AboutView.vue delete mode 100644 playground/router-with-tests/src/views/HomeView.vue delete mode 100644 playground/router-with-tests/vite.config.js delete mode 100644 playground/router/.gitignore delete mode 100644 playground/router/.vscode/extensions.json delete mode 100644 playground/router/README.md delete mode 100644 playground/router/index.html delete mode 100644 playground/router/package.json delete mode 100644 playground/router/public/favicon.ico delete mode 100644 playground/router/src/App.vue delete mode 100644 playground/router/src/assets/base.css delete mode 100644 playground/router/src/assets/logo.svg delete mode 100644 playground/router/src/components/HelloWorld.vue delete mode 100644 playground/router/src/components/TheWelcome.vue delete mode 100644 playground/router/src/components/WelcomeItem.vue delete mode 100644 playground/router/src/components/icons/IconCommunity.vue delete mode 100644 playground/router/src/components/icons/IconDocumentation.vue delete mode 100644 playground/router/src/components/icons/IconEcosystem.vue delete mode 100644 playground/router/src/components/icons/IconSupport.vue delete mode 100644 playground/router/src/components/icons/IconTooling.vue delete mode 100644 playground/router/src/main.js delete mode 100644 playground/router/src/router/index.js delete mode 100644 playground/router/src/views/AboutView.vue delete mode 100644 playground/router/src/views/HomeView.vue delete mode 100644 playground/router/vite.config.js delete mode 100644 playground/typescript-jsx-pinia-with-tests/.gitignore delete mode 100644 playground/typescript-jsx-pinia-with-tests/.vscode/extensions.json delete mode 100644 playground/typescript-jsx-pinia-with-tests/README.md delete mode 100644 playground/typescript-jsx-pinia-with-tests/cypress.json delete mode 100644 playground/typescript-jsx-pinia-with-tests/cypress/fixtures/example.json delete mode 100644 playground/typescript-jsx-pinia-with-tests/cypress/integration/example.spec.ts delete mode 100644 playground/typescript-jsx-pinia-with-tests/cypress/plugins/index.ts delete mode 100644 playground/typescript-jsx-pinia-with-tests/cypress/support/commands.ts delete mode 100644 playground/typescript-jsx-pinia-with-tests/cypress/support/index.ts delete mode 100644 playground/typescript-jsx-pinia-with-tests/cypress/tsconfig.json delete mode 100644 playground/typescript-jsx-pinia-with-tests/env.d.ts delete mode 100644 playground/typescript-jsx-pinia-with-tests/index.html delete mode 100644 playground/typescript-jsx-pinia-with-tests/package.json delete mode 100644 playground/typescript-jsx-pinia-with-tests/public/favicon.ico delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/App.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/assets/base.css delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/assets/logo.svg delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/main.ts delete mode 100644 playground/typescript-jsx-pinia-with-tests/src/stores/counter.ts delete mode 100644 playground/typescript-jsx-pinia-with-tests/tsconfig.json delete mode 100644 playground/typescript-jsx-pinia-with-tests/vite.config.ts delete mode 100644 playground/typescript-jsx-pinia/.gitignore delete mode 100644 playground/typescript-jsx-pinia/.vscode/extensions.json delete mode 100644 playground/typescript-jsx-pinia/README.md delete mode 100644 playground/typescript-jsx-pinia/env.d.ts delete mode 100644 playground/typescript-jsx-pinia/index.html delete mode 100644 playground/typescript-jsx-pinia/package.json delete mode 100644 playground/typescript-jsx-pinia/public/favicon.ico delete mode 100644 playground/typescript-jsx-pinia/src/App.vue delete mode 100644 playground/typescript-jsx-pinia/src/assets/base.css delete mode 100644 playground/typescript-jsx-pinia/src/assets/logo.svg delete mode 100644 playground/typescript-jsx-pinia/src/components/HelloWorld.vue delete mode 100644 playground/typescript-jsx-pinia/src/components/TheWelcome.vue delete mode 100644 playground/typescript-jsx-pinia/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-jsx-pinia/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-jsx-pinia/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-jsx-pinia/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-jsx-pinia/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-jsx-pinia/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx-pinia/src/main.ts delete mode 100644 playground/typescript-jsx-pinia/src/stores/counter.ts delete mode 100644 playground/typescript-jsx-pinia/tsconfig.json delete mode 100644 playground/typescript-jsx-pinia/vite.config.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/.gitignore delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/.vscode/extensions.json delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/README.md delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/cypress.json delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/cypress/fixtures/example.json delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/cypress/integration/example.spec.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/cypress/plugins/index.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/cypress/support/commands.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/cypress/support/index.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/cypress/tsconfig.json delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/env.d.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/index.html delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/package.json delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/public/favicon.ico delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/App.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/assets/base.css delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/assets/logo.svg delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/main.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/router/index.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/stores/counter.ts delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/views/AboutView.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/src/views/HomeView.vue delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/tsconfig.json delete mode 100644 playground/typescript-jsx-router-pinia-with-tests/vite.config.ts delete mode 100644 playground/typescript-jsx-router-pinia/.gitignore delete mode 100644 playground/typescript-jsx-router-pinia/.vscode/extensions.json delete mode 100644 playground/typescript-jsx-router-pinia/README.md delete mode 100644 playground/typescript-jsx-router-pinia/env.d.ts delete mode 100644 playground/typescript-jsx-router-pinia/index.html delete mode 100644 playground/typescript-jsx-router-pinia/package.json delete mode 100644 playground/typescript-jsx-router-pinia/public/favicon.ico delete mode 100644 playground/typescript-jsx-router-pinia/src/App.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/assets/base.css delete mode 100644 playground/typescript-jsx-router-pinia/src/assets/logo.svg delete mode 100644 playground/typescript-jsx-router-pinia/src/components/HelloWorld.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/components/TheWelcome.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/main.ts delete mode 100644 playground/typescript-jsx-router-pinia/src/router/index.ts delete mode 100644 playground/typescript-jsx-router-pinia/src/stores/counter.ts delete mode 100644 playground/typescript-jsx-router-pinia/src/views/AboutView.vue delete mode 100644 playground/typescript-jsx-router-pinia/src/views/HomeView.vue delete mode 100644 playground/typescript-jsx-router-pinia/tsconfig.json delete mode 100644 playground/typescript-jsx-router-pinia/vite.config.ts delete mode 100644 playground/typescript-jsx-router-with-tests/.gitignore delete mode 100644 playground/typescript-jsx-router-with-tests/.vscode/extensions.json delete mode 100644 playground/typescript-jsx-router-with-tests/README.md delete mode 100644 playground/typescript-jsx-router-with-tests/cypress.json delete mode 100644 playground/typescript-jsx-router-with-tests/cypress/fixtures/example.json delete mode 100644 playground/typescript-jsx-router-with-tests/cypress/integration/example.spec.ts delete mode 100644 playground/typescript-jsx-router-with-tests/cypress/plugins/index.ts delete mode 100644 playground/typescript-jsx-router-with-tests/cypress/support/commands.ts delete mode 100644 playground/typescript-jsx-router-with-tests/cypress/support/index.ts delete mode 100644 playground/typescript-jsx-router-with-tests/cypress/tsconfig.json delete mode 100644 playground/typescript-jsx-router-with-tests/env.d.ts delete mode 100644 playground/typescript-jsx-router-with-tests/index.html delete mode 100644 playground/typescript-jsx-router-with-tests/package.json delete mode 100644 playground/typescript-jsx-router-with-tests/public/favicon.ico delete mode 100644 playground/typescript-jsx-router-with-tests/src/App.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/assets/base.css delete mode 100644 playground/typescript-jsx-router-with-tests/src/assets/logo.svg delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/main.ts delete mode 100644 playground/typescript-jsx-router-with-tests/src/router/index.ts delete mode 100644 playground/typescript-jsx-router-with-tests/src/views/AboutView.vue delete mode 100644 playground/typescript-jsx-router-with-tests/src/views/HomeView.vue delete mode 100644 playground/typescript-jsx-router-with-tests/tsconfig.json delete mode 100644 playground/typescript-jsx-router-with-tests/vite.config.ts delete mode 100644 playground/typescript-jsx-router/.gitignore delete mode 100644 playground/typescript-jsx-router/.vscode/extensions.json delete mode 100644 playground/typescript-jsx-router/README.md delete mode 100644 playground/typescript-jsx-router/env.d.ts delete mode 100644 playground/typescript-jsx-router/index.html delete mode 100644 playground/typescript-jsx-router/package.json delete mode 100644 playground/typescript-jsx-router/public/favicon.ico delete mode 100644 playground/typescript-jsx-router/src/App.vue delete mode 100644 playground/typescript-jsx-router/src/assets/base.css delete mode 100644 playground/typescript-jsx-router/src/assets/logo.svg delete mode 100644 playground/typescript-jsx-router/src/components/HelloWorld.vue delete mode 100644 playground/typescript-jsx-router/src/components/TheWelcome.vue delete mode 100644 playground/typescript-jsx-router/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-jsx-router/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-jsx-router/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-jsx-router/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-jsx-router/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-jsx-router/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx-router/src/main.ts delete mode 100644 playground/typescript-jsx-router/src/router/index.ts delete mode 100644 playground/typescript-jsx-router/src/views/AboutView.vue delete mode 100644 playground/typescript-jsx-router/src/views/HomeView.vue delete mode 100644 playground/typescript-jsx-router/tsconfig.json delete mode 100644 playground/typescript-jsx-router/vite.config.ts delete mode 100644 playground/typescript-jsx-with-tests/.gitignore delete mode 100644 playground/typescript-jsx-with-tests/.vscode/extensions.json delete mode 100644 playground/typescript-jsx-with-tests/README.md delete mode 100644 playground/typescript-jsx-with-tests/cypress.json delete mode 100644 playground/typescript-jsx-with-tests/cypress/fixtures/example.json delete mode 100644 playground/typescript-jsx-with-tests/cypress/integration/example.spec.ts delete mode 100644 playground/typescript-jsx-with-tests/cypress/plugins/index.ts delete mode 100644 playground/typescript-jsx-with-tests/cypress/support/commands.ts delete mode 100644 playground/typescript-jsx-with-tests/cypress/support/index.ts delete mode 100644 playground/typescript-jsx-with-tests/cypress/tsconfig.json delete mode 100644 playground/typescript-jsx-with-tests/env.d.ts delete mode 100644 playground/typescript-jsx-with-tests/index.html delete mode 100644 playground/typescript-jsx-with-tests/package.json delete mode 100644 playground/typescript-jsx-with-tests/public/favicon.ico delete mode 100644 playground/typescript-jsx-with-tests/src/App.vue delete mode 100644 playground/typescript-jsx-with-tests/src/assets/base.css delete mode 100644 playground/typescript-jsx-with-tests/src/assets/logo.svg delete mode 100644 playground/typescript-jsx-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/typescript-jsx-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/typescript-jsx-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-jsx-with-tests/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx-with-tests/src/main.ts delete mode 100644 playground/typescript-jsx-with-tests/tsconfig.json delete mode 100644 playground/typescript-jsx-with-tests/vite.config.ts delete mode 100644 playground/typescript-jsx/.gitignore delete mode 100644 playground/typescript-jsx/.vscode/extensions.json delete mode 100644 playground/typescript-jsx/README.md delete mode 100644 playground/typescript-jsx/env.d.ts delete mode 100644 playground/typescript-jsx/index.html delete mode 100644 playground/typescript-jsx/package.json delete mode 100644 playground/typescript-jsx/public/favicon.ico delete mode 100644 playground/typescript-jsx/src/App.vue delete mode 100644 playground/typescript-jsx/src/assets/base.css delete mode 100644 playground/typescript-jsx/src/assets/logo.svg delete mode 100644 playground/typescript-jsx/src/components/HelloWorld.vue delete mode 100644 playground/typescript-jsx/src/components/TheWelcome.vue delete mode 100644 playground/typescript-jsx/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-jsx/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-jsx/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-jsx/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-jsx/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-jsx/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx/src/main.ts delete mode 100644 playground/typescript-jsx/tsconfig.json delete mode 100644 playground/typescript-jsx/vite.config.ts delete mode 100644 playground/typescript-pinia-with-tests/.gitignore delete mode 100644 playground/typescript-pinia-with-tests/.vscode/extensions.json delete mode 100644 playground/typescript-pinia-with-tests/README.md delete mode 100644 playground/typescript-pinia-with-tests/cypress.json delete mode 100644 playground/typescript-pinia-with-tests/cypress/fixtures/example.json delete mode 100644 playground/typescript-pinia-with-tests/cypress/integration/example.spec.ts delete mode 100644 playground/typescript-pinia-with-tests/cypress/plugins/index.ts delete mode 100644 playground/typescript-pinia-with-tests/cypress/support/commands.ts delete mode 100644 playground/typescript-pinia-with-tests/cypress/support/index.ts delete mode 100644 playground/typescript-pinia-with-tests/cypress/tsconfig.json delete mode 100644 playground/typescript-pinia-with-tests/env.d.ts delete mode 100644 playground/typescript-pinia-with-tests/index.html delete mode 100644 playground/typescript-pinia-with-tests/package.json delete mode 100644 playground/typescript-pinia-with-tests/public/favicon.ico delete mode 100644 playground/typescript-pinia-with-tests/src/App.vue delete mode 100644 playground/typescript-pinia-with-tests/src/assets/base.css delete mode 100644 playground/typescript-pinia-with-tests/src/assets/logo.svg delete mode 100644 playground/typescript-pinia-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/typescript-pinia-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/typescript-pinia-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 playground/typescript-pinia-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-pinia-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-pinia-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-pinia-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-pinia-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-pinia-with-tests/src/main.ts delete mode 100644 playground/typescript-pinia-with-tests/src/stores/counter.ts delete mode 100644 playground/typescript-pinia-with-tests/tsconfig.json delete mode 100644 playground/typescript-pinia-with-tests/vite.config.ts delete mode 100644 playground/typescript-pinia/.gitignore delete mode 100644 playground/typescript-pinia/.vscode/extensions.json delete mode 100644 playground/typescript-pinia/README.md delete mode 100644 playground/typescript-pinia/env.d.ts delete mode 100644 playground/typescript-pinia/index.html delete mode 100644 playground/typescript-pinia/package.json delete mode 100644 playground/typescript-pinia/public/favicon.ico delete mode 100644 playground/typescript-pinia/src/App.vue delete mode 100644 playground/typescript-pinia/src/assets/base.css delete mode 100644 playground/typescript-pinia/src/assets/logo.svg delete mode 100644 playground/typescript-pinia/src/components/HelloWorld.vue delete mode 100644 playground/typescript-pinia/src/components/TheWelcome.vue delete mode 100644 playground/typescript-pinia/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-pinia/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-pinia/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-pinia/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-pinia/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-pinia/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-pinia/src/main.ts delete mode 100644 playground/typescript-pinia/src/stores/counter.ts delete mode 100644 playground/typescript-pinia/tsconfig.json delete mode 100644 playground/typescript-pinia/vite.config.ts delete mode 100644 playground/typescript-router-pinia-with-tests/.gitignore delete mode 100644 playground/typescript-router-pinia-with-tests/.vscode/extensions.json delete mode 100644 playground/typescript-router-pinia-with-tests/README.md delete mode 100644 playground/typescript-router-pinia-with-tests/cypress.json delete mode 100644 playground/typescript-router-pinia-with-tests/cypress/fixtures/example.json delete mode 100644 playground/typescript-router-pinia-with-tests/cypress/integration/example.spec.ts delete mode 100644 playground/typescript-router-pinia-with-tests/cypress/plugins/index.ts delete mode 100644 playground/typescript-router-pinia-with-tests/cypress/support/commands.ts delete mode 100644 playground/typescript-router-pinia-with-tests/cypress/support/index.ts delete mode 100644 playground/typescript-router-pinia-with-tests/cypress/tsconfig.json delete mode 100644 playground/typescript-router-pinia-with-tests/env.d.ts delete mode 100644 playground/typescript-router-pinia-with-tests/index.html delete mode 100644 playground/typescript-router-pinia-with-tests/package.json delete mode 100644 playground/typescript-router-pinia-with-tests/public/favicon.ico delete mode 100644 playground/typescript-router-pinia-with-tests/src/App.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/assets/base.css delete mode 100644 playground/typescript-router-pinia-with-tests/src/assets/logo.svg delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/main.ts delete mode 100644 playground/typescript-router-pinia-with-tests/src/router/index.ts delete mode 100644 playground/typescript-router-pinia-with-tests/src/stores/counter.ts delete mode 100644 playground/typescript-router-pinia-with-tests/src/views/AboutView.vue delete mode 100644 playground/typescript-router-pinia-with-tests/src/views/HomeView.vue delete mode 100644 playground/typescript-router-pinia-with-tests/tsconfig.json delete mode 100644 playground/typescript-router-pinia-with-tests/vite.config.ts delete mode 100644 playground/typescript-router-pinia/.gitignore delete mode 100644 playground/typescript-router-pinia/.vscode/extensions.json delete mode 100644 playground/typescript-router-pinia/README.md delete mode 100644 playground/typescript-router-pinia/env.d.ts delete mode 100644 playground/typescript-router-pinia/index.html delete mode 100644 playground/typescript-router-pinia/package.json delete mode 100644 playground/typescript-router-pinia/public/favicon.ico delete mode 100644 playground/typescript-router-pinia/src/App.vue delete mode 100644 playground/typescript-router-pinia/src/assets/base.css delete mode 100644 playground/typescript-router-pinia/src/assets/logo.svg delete mode 100644 playground/typescript-router-pinia/src/components/HelloWorld.vue delete mode 100644 playground/typescript-router-pinia/src/components/TheWelcome.vue delete mode 100644 playground/typescript-router-pinia/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-router-pinia/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-router-pinia/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-router-pinia/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-router-pinia/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-router-pinia/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-router-pinia/src/main.ts delete mode 100644 playground/typescript-router-pinia/src/router/index.ts delete mode 100644 playground/typescript-router-pinia/src/stores/counter.ts delete mode 100644 playground/typescript-router-pinia/src/views/AboutView.vue delete mode 100644 playground/typescript-router-pinia/src/views/HomeView.vue delete mode 100644 playground/typescript-router-pinia/tsconfig.json delete mode 100644 playground/typescript-router-pinia/vite.config.ts delete mode 100644 playground/typescript-router-with-tests/.gitignore delete mode 100644 playground/typescript-router-with-tests/.vscode/extensions.json delete mode 100644 playground/typescript-router-with-tests/README.md delete mode 100644 playground/typescript-router-with-tests/cypress.json delete mode 100644 playground/typescript-router-with-tests/cypress/fixtures/example.json delete mode 100644 playground/typescript-router-with-tests/cypress/integration/example.spec.ts delete mode 100644 playground/typescript-router-with-tests/cypress/plugins/index.ts delete mode 100644 playground/typescript-router-with-tests/cypress/support/commands.ts delete mode 100644 playground/typescript-router-with-tests/cypress/support/index.ts delete mode 100644 playground/typescript-router-with-tests/cypress/tsconfig.json delete mode 100644 playground/typescript-router-with-tests/env.d.ts delete mode 100644 playground/typescript-router-with-tests/index.html delete mode 100644 playground/typescript-router-with-tests/package.json delete mode 100644 playground/typescript-router-with-tests/public/favicon.ico delete mode 100644 playground/typescript-router-with-tests/src/App.vue delete mode 100644 playground/typescript-router-with-tests/src/assets/base.css delete mode 100644 playground/typescript-router-with-tests/src/assets/logo.svg delete mode 100644 playground/typescript-router-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/typescript-router-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/typescript-router-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-router-with-tests/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 playground/typescript-router-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-router-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-router-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-router-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-router-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-router-with-tests/src/main.ts delete mode 100644 playground/typescript-router-with-tests/src/router/index.ts delete mode 100644 playground/typescript-router-with-tests/src/views/AboutView.vue delete mode 100644 playground/typescript-router-with-tests/src/views/HomeView.vue delete mode 100644 playground/typescript-router-with-tests/tsconfig.json delete mode 100644 playground/typescript-router-with-tests/vite.config.ts delete mode 100644 playground/typescript-router/.gitignore delete mode 100644 playground/typescript-router/.vscode/extensions.json delete mode 100644 playground/typescript-router/README.md delete mode 100644 playground/typescript-router/env.d.ts delete mode 100644 playground/typescript-router/index.html delete mode 100644 playground/typescript-router/package.json delete mode 100644 playground/typescript-router/public/favicon.ico delete mode 100644 playground/typescript-router/src/App.vue delete mode 100644 playground/typescript-router/src/assets/base.css delete mode 100644 playground/typescript-router/src/assets/logo.svg delete mode 100644 playground/typescript-router/src/components/HelloWorld.vue delete mode 100644 playground/typescript-router/src/components/TheWelcome.vue delete mode 100644 playground/typescript-router/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-router/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-router/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-router/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-router/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-router/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-router/src/main.ts delete mode 100644 playground/typescript-router/src/router/index.ts delete mode 100644 playground/typescript-router/src/views/AboutView.vue delete mode 100644 playground/typescript-router/src/views/HomeView.vue delete mode 100644 playground/typescript-router/tsconfig.json delete mode 100644 playground/typescript-router/vite.config.ts delete mode 100644 playground/typescript-with-tests/.gitignore delete mode 100644 playground/typescript-with-tests/.vscode/extensions.json delete mode 100644 playground/typescript-with-tests/README.md delete mode 100644 playground/typescript-with-tests/cypress.json delete mode 100644 playground/typescript-with-tests/cypress/fixtures/example.json delete mode 100644 playground/typescript-with-tests/cypress/integration/example.spec.ts delete mode 100644 playground/typescript-with-tests/cypress/plugins/index.ts delete mode 100644 playground/typescript-with-tests/cypress/support/commands.ts delete mode 100644 playground/typescript-with-tests/cypress/support/index.ts delete mode 100644 playground/typescript-with-tests/cypress/tsconfig.json delete mode 100644 playground/typescript-with-tests/env.d.ts delete mode 100644 playground/typescript-with-tests/index.html delete mode 100644 playground/typescript-with-tests/package.json delete mode 100644 playground/typescript-with-tests/public/favicon.ico delete mode 100644 playground/typescript-with-tests/src/App.vue delete mode 100644 playground/typescript-with-tests/src/assets/base.css delete mode 100644 playground/typescript-with-tests/src/assets/logo.svg delete mode 100644 playground/typescript-with-tests/src/components/HelloWorld.vue delete mode 100644 playground/typescript-with-tests/src/components/TheWelcome.vue delete mode 100644 playground/typescript-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/typescript-with-tests/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 playground/typescript-with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript-with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript-with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript-with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-with-tests/src/main.ts delete mode 100644 playground/typescript-with-tests/tsconfig.json delete mode 100644 playground/typescript-with-tests/vite.config.ts delete mode 100644 playground/typescript/.gitignore delete mode 100644 playground/typescript/.vscode/extensions.json delete mode 100644 playground/typescript/README.md delete mode 100644 playground/typescript/env.d.ts delete mode 100644 playground/typescript/index.html delete mode 100644 playground/typescript/package.json delete mode 100644 playground/typescript/public/favicon.ico delete mode 100644 playground/typescript/src/App.vue delete mode 100644 playground/typescript/src/assets/base.css delete mode 100644 playground/typescript/src/assets/logo.svg delete mode 100644 playground/typescript/src/components/HelloWorld.vue delete mode 100644 playground/typescript/src/components/TheWelcome.vue delete mode 100644 playground/typescript/src/components/WelcomeItem.vue delete mode 100644 playground/typescript/src/components/icons/IconCommunity.vue delete mode 100644 playground/typescript/src/components/icons/IconDocumentation.vue delete mode 100644 playground/typescript/src/components/icons/IconEcosystem.vue delete mode 100644 playground/typescript/src/components/icons/IconSupport.vue delete mode 100644 playground/typescript/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript/src/main.ts delete mode 100644 playground/typescript/tsconfig.json delete mode 100644 playground/typescript/vite.config.ts delete mode 100644 playground/with-tests/.gitignore delete mode 100644 playground/with-tests/.vscode/extensions.json delete mode 100644 playground/with-tests/README.md delete mode 100644 playground/with-tests/cypress.json delete mode 100644 playground/with-tests/cypress/fixtures/example.json delete mode 100644 playground/with-tests/cypress/integration/example.spec.js delete mode 100644 playground/with-tests/cypress/jsconfig.json delete mode 100644 playground/with-tests/cypress/plugins/index.js delete mode 100644 playground/with-tests/cypress/support/commands.js delete mode 100644 playground/with-tests/cypress/support/index.js delete mode 100644 playground/with-tests/index.html delete mode 100644 playground/with-tests/package.json delete mode 100644 playground/with-tests/public/favicon.ico delete mode 100644 playground/with-tests/src/App.vue delete mode 100644 playground/with-tests/src/assets/base.css delete mode 100644 playground/with-tests/src/assets/logo.svg delete mode 100644 playground/with-tests/src/components/HelloWorld.vue delete mode 100644 playground/with-tests/src/components/TheWelcome.vue delete mode 100644 playground/with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/with-tests/src/components/__tests__/HelloWorld.spec.js delete mode 100644 playground/with-tests/src/components/icons/IconCommunity.vue delete mode 100644 playground/with-tests/src/components/icons/IconDocumentation.vue delete mode 100644 playground/with-tests/src/components/icons/IconEcosystem.vue delete mode 100644 playground/with-tests/src/components/icons/IconSupport.vue delete mode 100644 playground/with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/with-tests/src/main.js delete mode 100644 playground/with-tests/vite.config.js diff --git a/playground/default/.gitignore b/playground/default/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/default/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/default/.vscode/extensions.json b/playground/default/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/default/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/default/README.md b/playground/default/README.md deleted file mode 100644 index c1783556..00000000 --- a/playground/default/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# default - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/default/index.html b/playground/default/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/default/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/default/package.json b/playground/default/package.json deleted file mode 100644 index 39b4e4a9..00000000 --- a/playground/default/package.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "default", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050" - }, - "dependencies": { - "vue": "^3.2.26" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^2.0.1", - "vite": "^2.7.7" - } -} diff --git a/playground/default/public/favicon.ico b/playground/default/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/default/src/App.vue b/playground/default/src/App.vue deleted file mode 100644 index b0b6901b..00000000 --- a/playground/default/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/default/src/assets/base.css b/playground/default/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/default/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/default/src/assets/logo.svg b/playground/default/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/default/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/default/src/components/HelloWorld.vue b/playground/default/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/default/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/default/src/components/TheWelcome.vue b/playground/default/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/default/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/default/src/components/WelcomeItem.vue b/playground/default/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/default/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/default/src/components/icons/IconCommunity.vue b/playground/default/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/default/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/default/src/components/icons/IconDocumentation.vue b/playground/default/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/default/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/default/src/components/icons/IconEcosystem.vue b/playground/default/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/default/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/default/src/components/icons/IconSupport.vue b/playground/default/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/default/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/default/src/components/icons/IconTooling.vue b/playground/default/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/default/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/default/src/main.js b/playground/default/src/main.js deleted file mode 100644 index 01433bca..00000000 --- a/playground/default/src/main.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/playground/default/vite.config.js b/playground/default/vite.config.js deleted file mode 100644 index 116273fb..00000000 --- a/playground/default/vite.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/jsx-pinia-with-tests/.gitignore b/playground/jsx-pinia-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/jsx-pinia-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/jsx-pinia-with-tests/.vscode/extensions.json b/playground/jsx-pinia-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/jsx-pinia-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/jsx-pinia-with-tests/README.md b/playground/jsx-pinia-with-tests/README.md deleted file mode 100644 index 9e8bcaa7..00000000 --- a/playground/jsx-pinia-with-tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# jsx-pinia-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/jsx-pinia-with-tests/cypress.json b/playground/jsx-pinia-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/jsx-pinia-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/jsx-pinia-with-tests/cypress/fixtures/example.json b/playground/jsx-pinia-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/jsx-pinia-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/jsx-pinia-with-tests/cypress/integration/example.spec.js b/playground/jsx-pinia-with-tests/cypress/integration/example.spec.js deleted file mode 100644 index 7a8c909f..00000000 --- a/playground/jsx-pinia-with-tests/cypress/integration/example.spec.js +++ /dev/null @@ -1,8 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) -}) diff --git a/playground/jsx-pinia-with-tests/cypress/jsconfig.json b/playground/jsx-pinia-with-tests/cypress/jsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/jsx-pinia-with-tests/cypress/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/jsx-pinia-with-tests/cypress/plugins/index.js b/playground/jsx-pinia-with-tests/cypress/plugins/index.js deleted file mode 100644 index db04a79b..00000000 --- a/playground/jsx-pinia-with-tests/cypress/plugins/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-env node */ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const { startDevServer } = require('@cypress/vite-dev-server') - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -} diff --git a/playground/jsx-pinia-with-tests/cypress/support/commands.js b/playground/jsx-pinia-with-tests/cypress/support/commands.js deleted file mode 100644 index 119ab03f..00000000 --- a/playground/jsx-pinia-with-tests/cypress/support/commands.js +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/jsx-pinia-with-tests/cypress/support/index.js b/playground/jsx-pinia-with-tests/cypress/support/index.js deleted file mode 100644 index d68db96d..00000000 --- a/playground/jsx-pinia-with-tests/cypress/support/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/jsx-pinia-with-tests/index.html b/playground/jsx-pinia-with-tests/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/jsx-pinia-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/jsx-pinia-with-tests/package.json b/playground/jsx-pinia-with-tests/package.json deleted file mode 100644 index 420d6c88..00000000 --- a/playground/jsx-pinia-with-tests/package.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "jsx-pinia-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "vite": "^2.7.7" - } -} diff --git a/playground/jsx-pinia-with-tests/public/favicon.ico b/playground/jsx-pinia-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/jsx-pinia-with-tests/src/App.vue b/playground/jsx-pinia-with-tests/src/App.vue deleted file mode 100644 index b0b6901b..00000000 --- a/playground/jsx-pinia-with-tests/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/jsx-pinia-with-tests/src/assets/base.css b/playground/jsx-pinia-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/jsx-pinia-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/jsx-pinia-with-tests/src/assets/logo.svg b/playground/jsx-pinia-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/jsx-pinia-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/jsx-pinia-with-tests/src/components/HelloWorld.vue b/playground/jsx-pinia-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/jsx-pinia-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/jsx-pinia-with-tests/src/components/TheWelcome.vue b/playground/jsx-pinia-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/jsx-pinia-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/jsx-pinia-with-tests/src/components/WelcomeItem.vue b/playground/jsx-pinia-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/jsx-pinia-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/jsx-pinia-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/jsx-pinia-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/jsx-pinia-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/jsx-pinia-with-tests/src/main.js b/playground/jsx-pinia-with-tests/src/main.js deleted file mode 100644 index 5f77a891..00000000 --- a/playground/jsx-pinia-with-tests/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' - -const app = createApp(App) - -app.use(createPinia()) - -app.mount('#app') diff --git a/playground/jsx-pinia-with-tests/src/stores/counter.js b/playground/jsx-pinia-with-tests/src/stores/counter.js deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/jsx-pinia-with-tests/src/stores/counter.js +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/jsx-pinia-with-tests/vite.config.js b/playground/jsx-pinia-with-tests/vite.config.js deleted file mode 100644 index db4edfd9..00000000 --- a/playground/jsx-pinia-with-tests/vite.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/jsx-pinia/.gitignore b/playground/jsx-pinia/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/jsx-pinia/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/jsx-pinia/.vscode/extensions.json b/playground/jsx-pinia/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/jsx-pinia/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/jsx-pinia/README.md b/playground/jsx-pinia/README.md deleted file mode 100644 index 4f10fb57..00000000 --- a/playground/jsx-pinia/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# jsx-pinia - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/jsx-pinia/index.html b/playground/jsx-pinia/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/jsx-pinia/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/jsx-pinia/package.json b/playground/jsx-pinia/package.json deleted file mode 100644 index 70d594c1..00000000 --- a/playground/jsx-pinia/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "jsx-pinia", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "vite": "^2.7.7" - } -} diff --git a/playground/jsx-pinia/public/favicon.ico b/playground/jsx-pinia/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/jsx-pinia/src/App.vue b/playground/jsx-pinia/src/App.vue deleted file mode 100644 index b0b6901b..00000000 --- a/playground/jsx-pinia/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/jsx-pinia/src/assets/base.css b/playground/jsx-pinia/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/jsx-pinia/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/jsx-pinia/src/assets/logo.svg b/playground/jsx-pinia/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/jsx-pinia/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/jsx-pinia/src/components/HelloWorld.vue b/playground/jsx-pinia/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/jsx-pinia/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/jsx-pinia/src/components/TheWelcome.vue b/playground/jsx-pinia/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/jsx-pinia/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/jsx-pinia/src/components/WelcomeItem.vue b/playground/jsx-pinia/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/jsx-pinia/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/jsx-pinia/src/components/icons/IconCommunity.vue b/playground/jsx-pinia/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/jsx-pinia/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-pinia/src/components/icons/IconDocumentation.vue b/playground/jsx-pinia/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/jsx-pinia/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-pinia/src/components/icons/IconEcosystem.vue b/playground/jsx-pinia/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/jsx-pinia/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-pinia/src/components/icons/IconSupport.vue b/playground/jsx-pinia/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/jsx-pinia/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-pinia/src/components/icons/IconTooling.vue b/playground/jsx-pinia/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/jsx-pinia/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/jsx-pinia/src/main.js b/playground/jsx-pinia/src/main.js deleted file mode 100644 index 5f77a891..00000000 --- a/playground/jsx-pinia/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' - -const app = createApp(App) - -app.use(createPinia()) - -app.mount('#app') diff --git a/playground/jsx-pinia/src/stores/counter.js b/playground/jsx-pinia/src/stores/counter.js deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/jsx-pinia/src/stores/counter.js +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/jsx-pinia/vite.config.js b/playground/jsx-pinia/vite.config.js deleted file mode 100644 index db4edfd9..00000000 --- a/playground/jsx-pinia/vite.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/jsx-router-pinia-with-tests/.gitignore b/playground/jsx-router-pinia-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/jsx-router-pinia-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/jsx-router-pinia-with-tests/.vscode/extensions.json b/playground/jsx-router-pinia-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/jsx-router-pinia-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/jsx-router-pinia-with-tests/README.md b/playground/jsx-router-pinia-with-tests/README.md deleted file mode 100644 index 10533b71..00000000 --- a/playground/jsx-router-pinia-with-tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# jsx-router-pinia-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/jsx-router-pinia-with-tests/cypress.json b/playground/jsx-router-pinia-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/jsx-router-pinia-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/jsx-router-pinia-with-tests/cypress/fixtures/example.json b/playground/jsx-router-pinia-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/jsx-router-pinia-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/jsx-router-pinia-with-tests/cypress/integration/example.spec.js b/playground/jsx-router-pinia-with-tests/cypress/integration/example.spec.js deleted file mode 100644 index 13a2922b..00000000 --- a/playground/jsx-router-pinia-with-tests/cypress/integration/example.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) - - it('navigates to the about page', () => { - cy.visit('/about') - cy.contains('h1', 'This is an about page') - }) -}) diff --git a/playground/jsx-router-pinia-with-tests/cypress/jsconfig.json b/playground/jsx-router-pinia-with-tests/cypress/jsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/jsx-router-pinia-with-tests/cypress/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/jsx-router-pinia-with-tests/cypress/plugins/index.js b/playground/jsx-router-pinia-with-tests/cypress/plugins/index.js deleted file mode 100644 index db04a79b..00000000 --- a/playground/jsx-router-pinia-with-tests/cypress/plugins/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-env node */ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const { startDevServer } = require('@cypress/vite-dev-server') - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -} diff --git a/playground/jsx-router-pinia-with-tests/cypress/support/commands.js b/playground/jsx-router-pinia-with-tests/cypress/support/commands.js deleted file mode 100644 index 119ab03f..00000000 --- a/playground/jsx-router-pinia-with-tests/cypress/support/commands.js +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/jsx-router-pinia-with-tests/cypress/support/index.js b/playground/jsx-router-pinia-with-tests/cypress/support/index.js deleted file mode 100644 index d68db96d..00000000 --- a/playground/jsx-router-pinia-with-tests/cypress/support/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/jsx-router-pinia-with-tests/index.html b/playground/jsx-router-pinia-with-tests/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/jsx-router-pinia-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/jsx-router-pinia-with-tests/package.json b/playground/jsx-router-pinia-with-tests/package.json deleted file mode 100644 index 6b7aee58..00000000 --- a/playground/jsx-router-pinia-with-tests/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "jsx-router-pinia-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "vite": "^2.7.7" - } -} diff --git a/playground/jsx-router-pinia-with-tests/public/favicon.ico b/playground/jsx-router-pinia-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/jsx-router-pinia-with-tests/src/App.vue b/playground/jsx-router-pinia-with-tests/src/App.vue deleted file mode 100644 index 460e5b29..00000000 --- a/playground/jsx-router-pinia-with-tests/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/jsx-router-pinia-with-tests/src/assets/base.css b/playground/jsx-router-pinia-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/jsx-router-pinia-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/jsx-router-pinia-with-tests/src/assets/logo.svg b/playground/jsx-router-pinia-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/jsx-router-pinia-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/jsx-router-pinia-with-tests/src/components/HelloWorld.vue b/playground/jsx-router-pinia-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/jsx-router-pinia-with-tests/src/components/TheWelcome.vue b/playground/jsx-router-pinia-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/jsx-router-pinia-with-tests/src/components/WelcomeItem.vue b/playground/jsx-router-pinia-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/jsx-router-pinia-with-tests/src/main.js b/playground/jsx-router-pinia-with-tests/src/main.js deleted file mode 100644 index fda1e6e3..00000000 --- a/playground/jsx-router-pinia-with-tests/src/main.js +++ /dev/null @@ -1,12 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' - -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(createPinia()) -app.use(router) - -app.mount('#app') diff --git a/playground/jsx-router-pinia-with-tests/src/router/index.js b/playground/jsx-router-pinia-with-tests/src/router/index.js deleted file mode 100644 index a49ae507..00000000 --- a/playground/jsx-router-pinia-with-tests/src/router/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/jsx-router-pinia-with-tests/src/stores/counter.js b/playground/jsx-router-pinia-with-tests/src/stores/counter.js deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/jsx-router-pinia-with-tests/src/stores/counter.js +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/jsx-router-pinia-with-tests/src/views/AboutView.vue b/playground/jsx-router-pinia-with-tests/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/jsx-router-pinia-with-tests/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/jsx-router-pinia-with-tests/src/views/HomeView.vue b/playground/jsx-router-pinia-with-tests/src/views/HomeView.vue deleted file mode 100644 index 225d93a9..00000000 --- a/playground/jsx-router-pinia-with-tests/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/jsx-router-pinia-with-tests/vite.config.js b/playground/jsx-router-pinia-with-tests/vite.config.js deleted file mode 100644 index db4edfd9..00000000 --- a/playground/jsx-router-pinia-with-tests/vite.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/jsx-router-pinia/.gitignore b/playground/jsx-router-pinia/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/jsx-router-pinia/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/jsx-router-pinia/.vscode/extensions.json b/playground/jsx-router-pinia/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/jsx-router-pinia/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/jsx-router-pinia/README.md b/playground/jsx-router-pinia/README.md deleted file mode 100644 index 5fec2b3c..00000000 --- a/playground/jsx-router-pinia/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# jsx-router-pinia - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/jsx-router-pinia/index.html b/playground/jsx-router-pinia/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/jsx-router-pinia/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/jsx-router-pinia/package.json b/playground/jsx-router-pinia/package.json deleted file mode 100644 index b3cceae0..00000000 --- a/playground/jsx-router-pinia/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "jsx-router-pinia", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "vite": "^2.7.7" - } -} diff --git a/playground/jsx-router-pinia/public/favicon.ico b/playground/jsx-router-pinia/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/jsx-router-pinia/src/App.vue b/playground/jsx-router-pinia/src/App.vue deleted file mode 100644 index 460e5b29..00000000 --- a/playground/jsx-router-pinia/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/jsx-router-pinia/src/assets/base.css b/playground/jsx-router-pinia/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/jsx-router-pinia/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/jsx-router-pinia/src/assets/logo.svg b/playground/jsx-router-pinia/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/jsx-router-pinia/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/jsx-router-pinia/src/components/HelloWorld.vue b/playground/jsx-router-pinia/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/jsx-router-pinia/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/jsx-router-pinia/src/components/TheWelcome.vue b/playground/jsx-router-pinia/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/jsx-router-pinia/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/jsx-router-pinia/src/components/WelcomeItem.vue b/playground/jsx-router-pinia/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/jsx-router-pinia/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/jsx-router-pinia/src/components/icons/IconCommunity.vue b/playground/jsx-router-pinia/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/jsx-router-pinia/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-pinia/src/components/icons/IconDocumentation.vue b/playground/jsx-router-pinia/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/jsx-router-pinia/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-pinia/src/components/icons/IconEcosystem.vue b/playground/jsx-router-pinia/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/jsx-router-pinia/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-pinia/src/components/icons/IconSupport.vue b/playground/jsx-router-pinia/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/jsx-router-pinia/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-pinia/src/components/icons/IconTooling.vue b/playground/jsx-router-pinia/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/jsx-router-pinia/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/jsx-router-pinia/src/main.js b/playground/jsx-router-pinia/src/main.js deleted file mode 100644 index fda1e6e3..00000000 --- a/playground/jsx-router-pinia/src/main.js +++ /dev/null @@ -1,12 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' - -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(createPinia()) -app.use(router) - -app.mount('#app') diff --git a/playground/jsx-router-pinia/src/router/index.js b/playground/jsx-router-pinia/src/router/index.js deleted file mode 100644 index a49ae507..00000000 --- a/playground/jsx-router-pinia/src/router/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/jsx-router-pinia/src/stores/counter.js b/playground/jsx-router-pinia/src/stores/counter.js deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/jsx-router-pinia/src/stores/counter.js +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/jsx-router-pinia/src/views/AboutView.vue b/playground/jsx-router-pinia/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/jsx-router-pinia/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/jsx-router-pinia/src/views/HomeView.vue b/playground/jsx-router-pinia/src/views/HomeView.vue deleted file mode 100644 index 225d93a9..00000000 --- a/playground/jsx-router-pinia/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/jsx-router-pinia/vite.config.js b/playground/jsx-router-pinia/vite.config.js deleted file mode 100644 index db4edfd9..00000000 --- a/playground/jsx-router-pinia/vite.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/jsx-router-with-tests/.gitignore b/playground/jsx-router-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/jsx-router-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/jsx-router-with-tests/.vscode/extensions.json b/playground/jsx-router-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/jsx-router-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/jsx-router-with-tests/README.md b/playground/jsx-router-with-tests/README.md deleted file mode 100644 index 45cc392b..00000000 --- a/playground/jsx-router-with-tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# jsx-router-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/jsx-router-with-tests/cypress.json b/playground/jsx-router-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/jsx-router-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/jsx-router-with-tests/cypress/fixtures/example.json b/playground/jsx-router-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/jsx-router-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/jsx-router-with-tests/cypress/integration/example.spec.js b/playground/jsx-router-with-tests/cypress/integration/example.spec.js deleted file mode 100644 index 13a2922b..00000000 --- a/playground/jsx-router-with-tests/cypress/integration/example.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) - - it('navigates to the about page', () => { - cy.visit('/about') - cy.contains('h1', 'This is an about page') - }) -}) diff --git a/playground/jsx-router-with-tests/cypress/jsconfig.json b/playground/jsx-router-with-tests/cypress/jsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/jsx-router-with-tests/cypress/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/jsx-router-with-tests/cypress/plugins/index.js b/playground/jsx-router-with-tests/cypress/plugins/index.js deleted file mode 100644 index db04a79b..00000000 --- a/playground/jsx-router-with-tests/cypress/plugins/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-env node */ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const { startDevServer } = require('@cypress/vite-dev-server') - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -} diff --git a/playground/jsx-router-with-tests/cypress/support/commands.js b/playground/jsx-router-with-tests/cypress/support/commands.js deleted file mode 100644 index 119ab03f..00000000 --- a/playground/jsx-router-with-tests/cypress/support/commands.js +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/jsx-router-with-tests/cypress/support/index.js b/playground/jsx-router-with-tests/cypress/support/index.js deleted file mode 100644 index d68db96d..00000000 --- a/playground/jsx-router-with-tests/cypress/support/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/jsx-router-with-tests/index.html b/playground/jsx-router-with-tests/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/jsx-router-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/jsx-router-with-tests/package.json b/playground/jsx-router-with-tests/package.json deleted file mode 100644 index 673b7581..00000000 --- a/playground/jsx-router-with-tests/package.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "jsx-router-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'" - }, - "dependencies": { - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "vite": "^2.7.7" - } -} diff --git a/playground/jsx-router-with-tests/public/favicon.ico b/playground/jsx-router-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/jsx-router-with-tests/src/App.vue b/playground/jsx-router-with-tests/src/App.vue deleted file mode 100644 index 460e5b29..00000000 --- a/playground/jsx-router-with-tests/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/jsx-router-with-tests/src/assets/base.css b/playground/jsx-router-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/jsx-router-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/jsx-router-with-tests/src/assets/logo.svg b/playground/jsx-router-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/jsx-router-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/jsx-router-with-tests/src/components/HelloWorld.vue b/playground/jsx-router-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/jsx-router-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/jsx-router-with-tests/src/components/TheWelcome.vue b/playground/jsx-router-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/jsx-router-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/jsx-router-with-tests/src/components/WelcomeItem.vue b/playground/jsx-router-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/jsx-router-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.js deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/jsx-router-with-tests/src/components/icons/IconCommunity.vue b/playground/jsx-router-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/jsx-router-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-with-tests/src/components/icons/IconDocumentation.vue b/playground/jsx-router-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/jsx-router-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-with-tests/src/components/icons/IconEcosystem.vue b/playground/jsx-router-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/jsx-router-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-with-tests/src/components/icons/IconSupport.vue b/playground/jsx-router-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/jsx-router-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router-with-tests/src/components/icons/IconTooling.vue b/playground/jsx-router-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/jsx-router-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/jsx-router-with-tests/src/main.js b/playground/jsx-router-with-tests/src/main.js deleted file mode 100644 index c8e37b03..00000000 --- a/playground/jsx-router-with-tests/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(router) - -app.mount('#app') diff --git a/playground/jsx-router-with-tests/src/router/index.js b/playground/jsx-router-with-tests/src/router/index.js deleted file mode 100644 index a49ae507..00000000 --- a/playground/jsx-router-with-tests/src/router/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/jsx-router-with-tests/src/views/AboutView.vue b/playground/jsx-router-with-tests/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/jsx-router-with-tests/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/jsx-router-with-tests/src/views/HomeView.vue b/playground/jsx-router-with-tests/src/views/HomeView.vue deleted file mode 100644 index 225d93a9..00000000 --- a/playground/jsx-router-with-tests/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/jsx-router-with-tests/vite.config.js b/playground/jsx-router-with-tests/vite.config.js deleted file mode 100644 index db4edfd9..00000000 --- a/playground/jsx-router-with-tests/vite.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/jsx-router/.gitignore b/playground/jsx-router/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/jsx-router/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/jsx-router/.vscode/extensions.json b/playground/jsx-router/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/jsx-router/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/jsx-router/README.md b/playground/jsx-router/README.md deleted file mode 100644 index 67c8371f..00000000 --- a/playground/jsx-router/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# jsx-router - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/jsx-router/index.html b/playground/jsx-router/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/jsx-router/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/jsx-router/package.json b/playground/jsx-router/package.json deleted file mode 100644 index 4174cb26..00000000 --- a/playground/jsx-router/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "jsx-router", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050" - }, - "dependencies": { - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "vite": "^2.7.7" - } -} diff --git a/playground/jsx-router/public/favicon.ico b/playground/jsx-router/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/jsx-router/src/App.vue b/playground/jsx-router/src/App.vue deleted file mode 100644 index 460e5b29..00000000 --- a/playground/jsx-router/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/jsx-router/src/assets/base.css b/playground/jsx-router/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/jsx-router/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/jsx-router/src/assets/logo.svg b/playground/jsx-router/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/jsx-router/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/jsx-router/src/components/HelloWorld.vue b/playground/jsx-router/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/jsx-router/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/jsx-router/src/components/TheWelcome.vue b/playground/jsx-router/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/jsx-router/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/jsx-router/src/components/WelcomeItem.vue b/playground/jsx-router/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/jsx-router/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/jsx-router/src/components/icons/IconCommunity.vue b/playground/jsx-router/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/jsx-router/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router/src/components/icons/IconDocumentation.vue b/playground/jsx-router/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/jsx-router/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router/src/components/icons/IconEcosystem.vue b/playground/jsx-router/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/jsx-router/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router/src/components/icons/IconSupport.vue b/playground/jsx-router/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/jsx-router/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-router/src/components/icons/IconTooling.vue b/playground/jsx-router/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/jsx-router/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/jsx-router/src/main.js b/playground/jsx-router/src/main.js deleted file mode 100644 index c8e37b03..00000000 --- a/playground/jsx-router/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(router) - -app.mount('#app') diff --git a/playground/jsx-router/src/router/index.js b/playground/jsx-router/src/router/index.js deleted file mode 100644 index a49ae507..00000000 --- a/playground/jsx-router/src/router/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/jsx-router/src/views/AboutView.vue b/playground/jsx-router/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/jsx-router/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/jsx-router/src/views/HomeView.vue b/playground/jsx-router/src/views/HomeView.vue deleted file mode 100644 index 225d93a9..00000000 --- a/playground/jsx-router/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/jsx-router/vite.config.js b/playground/jsx-router/vite.config.js deleted file mode 100644 index db4edfd9..00000000 --- a/playground/jsx-router/vite.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/jsx-with-tests/.gitignore b/playground/jsx-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/jsx-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/jsx-with-tests/.vscode/extensions.json b/playground/jsx-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/jsx-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/jsx-with-tests/README.md b/playground/jsx-with-tests/README.md deleted file mode 100644 index 336d942c..00000000 --- a/playground/jsx-with-tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# jsx-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/jsx-with-tests/cypress.json b/playground/jsx-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/jsx-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/jsx-with-tests/cypress/fixtures/example.json b/playground/jsx-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/jsx-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/jsx-with-tests/cypress/integration/example.spec.js b/playground/jsx-with-tests/cypress/integration/example.spec.js deleted file mode 100644 index 7a8c909f..00000000 --- a/playground/jsx-with-tests/cypress/integration/example.spec.js +++ /dev/null @@ -1,8 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) -}) diff --git a/playground/jsx-with-tests/cypress/jsconfig.json b/playground/jsx-with-tests/cypress/jsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/jsx-with-tests/cypress/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/jsx-with-tests/cypress/plugins/index.js b/playground/jsx-with-tests/cypress/plugins/index.js deleted file mode 100644 index db04a79b..00000000 --- a/playground/jsx-with-tests/cypress/plugins/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-env node */ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const { startDevServer } = require('@cypress/vite-dev-server') - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -} diff --git a/playground/jsx-with-tests/cypress/support/commands.js b/playground/jsx-with-tests/cypress/support/commands.js deleted file mode 100644 index 119ab03f..00000000 --- a/playground/jsx-with-tests/cypress/support/commands.js +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/jsx-with-tests/cypress/support/index.js b/playground/jsx-with-tests/cypress/support/index.js deleted file mode 100644 index d68db96d..00000000 --- a/playground/jsx-with-tests/cypress/support/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/jsx-with-tests/index.html b/playground/jsx-with-tests/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/jsx-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/jsx-with-tests/package.json b/playground/jsx-with-tests/package.json deleted file mode 100644 index a9b40c91..00000000 --- a/playground/jsx-with-tests/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "jsx-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'" - }, - "dependencies": { - "vue": "^3.2.26" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "vite": "^2.7.7" - } -} diff --git a/playground/jsx-with-tests/public/favicon.ico b/playground/jsx-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/jsx-with-tests/src/App.vue b/playground/jsx-with-tests/src/App.vue deleted file mode 100644 index b0b6901b..00000000 --- a/playground/jsx-with-tests/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/jsx-with-tests/src/assets/base.css b/playground/jsx-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/jsx-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/jsx-with-tests/src/assets/logo.svg b/playground/jsx-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/jsx-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/jsx-with-tests/src/components/HelloWorld.vue b/playground/jsx-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/jsx-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/jsx-with-tests/src/components/TheWelcome.vue b/playground/jsx-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/jsx-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/jsx-with-tests/src/components/WelcomeItem.vue b/playground/jsx-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/jsx-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/jsx-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/jsx-with-tests/src/components/__tests__/HelloWorld.spec.js deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/jsx-with-tests/src/components/__tests__/HelloWorld.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/jsx-with-tests/src/components/icons/IconCommunity.vue b/playground/jsx-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/jsx-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-with-tests/src/components/icons/IconDocumentation.vue b/playground/jsx-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/jsx-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-with-tests/src/components/icons/IconEcosystem.vue b/playground/jsx-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/jsx-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-with-tests/src/components/icons/IconSupport.vue b/playground/jsx-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/jsx-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx-with-tests/src/components/icons/IconTooling.vue b/playground/jsx-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/jsx-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/jsx-with-tests/src/main.js b/playground/jsx-with-tests/src/main.js deleted file mode 100644 index 01433bca..00000000 --- a/playground/jsx-with-tests/src/main.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/playground/jsx-with-tests/vite.config.js b/playground/jsx-with-tests/vite.config.js deleted file mode 100644 index db4edfd9..00000000 --- a/playground/jsx-with-tests/vite.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/jsx/.gitignore b/playground/jsx/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/jsx/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/jsx/.vscode/extensions.json b/playground/jsx/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/jsx/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/jsx/README.md b/playground/jsx/README.md deleted file mode 100644 index d689403f..00000000 --- a/playground/jsx/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# jsx - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/jsx/index.html b/playground/jsx/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/jsx/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/jsx/package.json b/playground/jsx/package.json deleted file mode 100644 index 0ea937c8..00000000 --- a/playground/jsx/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "jsx", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050" - }, - "dependencies": { - "vue": "^3.2.26" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "vite": "^2.7.7" - } -} diff --git a/playground/jsx/public/favicon.ico b/playground/jsx/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/jsx/src/App.vue b/playground/jsx/src/App.vue deleted file mode 100644 index b0b6901b..00000000 --- a/playground/jsx/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/jsx/src/assets/base.css b/playground/jsx/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/jsx/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/jsx/src/assets/logo.svg b/playground/jsx/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/jsx/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/jsx/src/components/HelloWorld.vue b/playground/jsx/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/jsx/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/jsx/src/components/TheWelcome.vue b/playground/jsx/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/jsx/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/jsx/src/components/WelcomeItem.vue b/playground/jsx/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/jsx/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/jsx/src/components/icons/IconCommunity.vue b/playground/jsx/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/jsx/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx/src/components/icons/IconDocumentation.vue b/playground/jsx/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/jsx/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx/src/components/icons/IconEcosystem.vue b/playground/jsx/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/jsx/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx/src/components/icons/IconSupport.vue b/playground/jsx/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/jsx/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/jsx/src/components/icons/IconTooling.vue b/playground/jsx/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/jsx/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/jsx/src/main.js b/playground/jsx/src/main.js deleted file mode 100644 index 01433bca..00000000 --- a/playground/jsx/src/main.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/playground/jsx/vite.config.js b/playground/jsx/vite.config.js deleted file mode 100644 index db4edfd9..00000000 --- a/playground/jsx/vite.config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/pinia-with-tests/.gitignore b/playground/pinia-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/pinia-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/pinia-with-tests/.vscode/extensions.json b/playground/pinia-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/pinia-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/pinia-with-tests/README.md b/playground/pinia-with-tests/README.md deleted file mode 100644 index ce0f774d..00000000 --- a/playground/pinia-with-tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# pinia-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/pinia-with-tests/cypress.json b/playground/pinia-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/pinia-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/pinia-with-tests/cypress/fixtures/example.json b/playground/pinia-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/pinia-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/pinia-with-tests/cypress/integration/example.spec.js b/playground/pinia-with-tests/cypress/integration/example.spec.js deleted file mode 100644 index 7a8c909f..00000000 --- a/playground/pinia-with-tests/cypress/integration/example.spec.js +++ /dev/null @@ -1,8 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) -}) diff --git a/playground/pinia-with-tests/cypress/jsconfig.json b/playground/pinia-with-tests/cypress/jsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/pinia-with-tests/cypress/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/pinia-with-tests/cypress/plugins/index.js b/playground/pinia-with-tests/cypress/plugins/index.js deleted file mode 100644 index db04a79b..00000000 --- a/playground/pinia-with-tests/cypress/plugins/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-env node */ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const { startDevServer } = require('@cypress/vite-dev-server') - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -} diff --git a/playground/pinia-with-tests/cypress/support/commands.js b/playground/pinia-with-tests/cypress/support/commands.js deleted file mode 100644 index 119ab03f..00000000 --- a/playground/pinia-with-tests/cypress/support/commands.js +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/pinia-with-tests/cypress/support/index.js b/playground/pinia-with-tests/cypress/support/index.js deleted file mode 100644 index d68db96d..00000000 --- a/playground/pinia-with-tests/cypress/support/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/pinia-with-tests/index.html b/playground/pinia-with-tests/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/pinia-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/pinia-with-tests/package.json b/playground/pinia-with-tests/package.json deleted file mode 100644 index eedc098e..00000000 --- a/playground/pinia-with-tests/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "pinia-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@vitejs/plugin-vue": "^2.0.1", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "vite": "^2.7.7" - } -} diff --git a/playground/pinia-with-tests/public/favicon.ico b/playground/pinia-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/pinia-with-tests/src/App.vue b/playground/pinia-with-tests/src/App.vue deleted file mode 100644 index b0b6901b..00000000 --- a/playground/pinia-with-tests/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/pinia-with-tests/src/assets/base.css b/playground/pinia-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/pinia-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/pinia-with-tests/src/assets/logo.svg b/playground/pinia-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/pinia-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/pinia-with-tests/src/components/HelloWorld.vue b/playground/pinia-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/pinia-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/pinia-with-tests/src/components/TheWelcome.vue b/playground/pinia-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/pinia-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/pinia-with-tests/src/components/WelcomeItem.vue b/playground/pinia-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/pinia-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/pinia-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/pinia-with-tests/src/components/__tests__/HelloWorld.spec.js deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/pinia-with-tests/src/components/__tests__/HelloWorld.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/pinia-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/pinia-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/pinia-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/pinia-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/pinia-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/pinia-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/pinia-with-tests/src/components/icons/IconSupport.vue b/playground/pinia-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/pinia-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/pinia-with-tests/src/components/icons/IconTooling.vue b/playground/pinia-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/pinia-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/pinia-with-tests/src/main.js b/playground/pinia-with-tests/src/main.js deleted file mode 100644 index 5f77a891..00000000 --- a/playground/pinia-with-tests/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' - -const app = createApp(App) - -app.use(createPinia()) - -app.mount('#app') diff --git a/playground/pinia-with-tests/src/stores/counter.js b/playground/pinia-with-tests/src/stores/counter.js deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/pinia-with-tests/src/stores/counter.js +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/pinia-with-tests/vite.config.js b/playground/pinia-with-tests/vite.config.js deleted file mode 100644 index 116273fb..00000000 --- a/playground/pinia-with-tests/vite.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/pinia/.gitignore b/playground/pinia/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/pinia/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/pinia/.vscode/extensions.json b/playground/pinia/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/pinia/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/pinia/README.md b/playground/pinia/README.md deleted file mode 100644 index d1d32134..00000000 --- a/playground/pinia/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# pinia - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/pinia/index.html b/playground/pinia/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/pinia/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/pinia/package.json b/playground/pinia/package.json deleted file mode 100644 index 2a5ce366..00000000 --- a/playground/pinia/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "pinia", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^2.0.1", - "vite": "^2.7.7" - } -} diff --git a/playground/pinia/public/favicon.ico b/playground/pinia/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/pinia/src/App.vue b/playground/pinia/src/App.vue deleted file mode 100644 index b0b6901b..00000000 --- a/playground/pinia/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/pinia/src/assets/base.css b/playground/pinia/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/pinia/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/pinia/src/assets/logo.svg b/playground/pinia/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/pinia/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/pinia/src/components/HelloWorld.vue b/playground/pinia/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/pinia/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/pinia/src/components/TheWelcome.vue b/playground/pinia/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/pinia/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/pinia/src/components/WelcomeItem.vue b/playground/pinia/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/pinia/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/pinia/src/components/icons/IconCommunity.vue b/playground/pinia/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/pinia/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/pinia/src/components/icons/IconDocumentation.vue b/playground/pinia/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/pinia/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/pinia/src/components/icons/IconEcosystem.vue b/playground/pinia/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/pinia/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/pinia/src/components/icons/IconSupport.vue b/playground/pinia/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/pinia/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/pinia/src/components/icons/IconTooling.vue b/playground/pinia/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/pinia/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/pinia/src/main.js b/playground/pinia/src/main.js deleted file mode 100644 index 5f77a891..00000000 --- a/playground/pinia/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' - -const app = createApp(App) - -app.use(createPinia()) - -app.mount('#app') diff --git a/playground/pinia/src/stores/counter.js b/playground/pinia/src/stores/counter.js deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/pinia/src/stores/counter.js +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/pinia/vite.config.js b/playground/pinia/vite.config.js deleted file mode 100644 index 116273fb..00000000 --- a/playground/pinia/vite.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/router-pinia-with-tests/.gitignore b/playground/router-pinia-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/router-pinia-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/router-pinia-with-tests/.vscode/extensions.json b/playground/router-pinia-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/router-pinia-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/router-pinia-with-tests/README.md b/playground/router-pinia-with-tests/README.md deleted file mode 100644 index 84468dc1..00000000 --- a/playground/router-pinia-with-tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# router-pinia-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/router-pinia-with-tests/cypress.json b/playground/router-pinia-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/router-pinia-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/router-pinia-with-tests/cypress/fixtures/example.json b/playground/router-pinia-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/router-pinia-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/router-pinia-with-tests/cypress/integration/example.spec.js b/playground/router-pinia-with-tests/cypress/integration/example.spec.js deleted file mode 100644 index 13a2922b..00000000 --- a/playground/router-pinia-with-tests/cypress/integration/example.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) - - it('navigates to the about page', () => { - cy.visit('/about') - cy.contains('h1', 'This is an about page') - }) -}) diff --git a/playground/router-pinia-with-tests/cypress/jsconfig.json b/playground/router-pinia-with-tests/cypress/jsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/router-pinia-with-tests/cypress/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/router-pinia-with-tests/cypress/plugins/index.js b/playground/router-pinia-with-tests/cypress/plugins/index.js deleted file mode 100644 index db04a79b..00000000 --- a/playground/router-pinia-with-tests/cypress/plugins/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-env node */ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const { startDevServer } = require('@cypress/vite-dev-server') - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -} diff --git a/playground/router-pinia-with-tests/cypress/support/commands.js b/playground/router-pinia-with-tests/cypress/support/commands.js deleted file mode 100644 index 119ab03f..00000000 --- a/playground/router-pinia-with-tests/cypress/support/commands.js +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/router-pinia-with-tests/cypress/support/index.js b/playground/router-pinia-with-tests/cypress/support/index.js deleted file mode 100644 index d68db96d..00000000 --- a/playground/router-pinia-with-tests/cypress/support/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/router-pinia-with-tests/index.html b/playground/router-pinia-with-tests/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/router-pinia-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/router-pinia-with-tests/package.json b/playground/router-pinia-with-tests/package.json deleted file mode 100644 index b7eff1b0..00000000 --- a/playground/router-pinia-with-tests/package.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "router-pinia-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@vitejs/plugin-vue": "^2.0.1", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "vite": "^2.7.7" - } -} diff --git a/playground/router-pinia-with-tests/public/favicon.ico b/playground/router-pinia-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/router-pinia-with-tests/src/App.vue b/playground/router-pinia-with-tests/src/App.vue deleted file mode 100644 index 460e5b29..00000000 --- a/playground/router-pinia-with-tests/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/router-pinia-with-tests/src/assets/base.css b/playground/router-pinia-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/router-pinia-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/router-pinia-with-tests/src/assets/logo.svg b/playground/router-pinia-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/router-pinia-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/router-pinia-with-tests/src/components/HelloWorld.vue b/playground/router-pinia-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/router-pinia-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/router-pinia-with-tests/src/components/TheWelcome.vue b/playground/router-pinia-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/router-pinia-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/router-pinia-with-tests/src/components/WelcomeItem.vue b/playground/router-pinia-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/router-pinia-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/router-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/router-pinia-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/router-pinia-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/router-pinia-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/router-pinia-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/router-pinia-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/router-pinia-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/router-pinia-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/router-pinia-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/router-pinia-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/router-pinia-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/router-pinia-with-tests/src/main.js b/playground/router-pinia-with-tests/src/main.js deleted file mode 100644 index fda1e6e3..00000000 --- a/playground/router-pinia-with-tests/src/main.js +++ /dev/null @@ -1,12 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' - -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(createPinia()) -app.use(router) - -app.mount('#app') diff --git a/playground/router-pinia-with-tests/src/router/index.js b/playground/router-pinia-with-tests/src/router/index.js deleted file mode 100644 index a49ae507..00000000 --- a/playground/router-pinia-with-tests/src/router/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/router-pinia-with-tests/src/stores/counter.js b/playground/router-pinia-with-tests/src/stores/counter.js deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/router-pinia-with-tests/src/stores/counter.js +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/router-pinia-with-tests/src/views/AboutView.vue b/playground/router-pinia-with-tests/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/router-pinia-with-tests/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/router-pinia-with-tests/src/views/HomeView.vue b/playground/router-pinia-with-tests/src/views/HomeView.vue deleted file mode 100644 index 225d93a9..00000000 --- a/playground/router-pinia-with-tests/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/router-pinia-with-tests/vite.config.js b/playground/router-pinia-with-tests/vite.config.js deleted file mode 100644 index 116273fb..00000000 --- a/playground/router-pinia-with-tests/vite.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/router-pinia/.gitignore b/playground/router-pinia/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/router-pinia/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/router-pinia/.vscode/extensions.json b/playground/router-pinia/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/router-pinia/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/router-pinia/README.md b/playground/router-pinia/README.md deleted file mode 100644 index 165d525e..00000000 --- a/playground/router-pinia/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# router-pinia - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/router-pinia/index.html b/playground/router-pinia/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/router-pinia/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/router-pinia/package.json b/playground/router-pinia/package.json deleted file mode 100644 index 02fc31a2..00000000 --- a/playground/router-pinia/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "router-pinia", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^2.0.1", - "vite": "^2.7.7" - } -} diff --git a/playground/router-pinia/public/favicon.ico b/playground/router-pinia/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/router-pinia/src/App.vue b/playground/router-pinia/src/App.vue deleted file mode 100644 index 460e5b29..00000000 --- a/playground/router-pinia/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/router-pinia/src/assets/base.css b/playground/router-pinia/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/router-pinia/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/router-pinia/src/assets/logo.svg b/playground/router-pinia/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/router-pinia/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/router-pinia/src/components/HelloWorld.vue b/playground/router-pinia/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/router-pinia/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/router-pinia/src/components/TheWelcome.vue b/playground/router-pinia/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/router-pinia/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/router-pinia/src/components/WelcomeItem.vue b/playground/router-pinia/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/router-pinia/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/router-pinia/src/components/icons/IconCommunity.vue b/playground/router-pinia/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/router-pinia/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-pinia/src/components/icons/IconDocumentation.vue b/playground/router-pinia/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/router-pinia/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-pinia/src/components/icons/IconEcosystem.vue b/playground/router-pinia/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/router-pinia/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-pinia/src/components/icons/IconSupport.vue b/playground/router-pinia/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/router-pinia/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-pinia/src/components/icons/IconTooling.vue b/playground/router-pinia/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/router-pinia/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/router-pinia/src/main.js b/playground/router-pinia/src/main.js deleted file mode 100644 index fda1e6e3..00000000 --- a/playground/router-pinia/src/main.js +++ /dev/null @@ -1,12 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' - -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(createPinia()) -app.use(router) - -app.mount('#app') diff --git a/playground/router-pinia/src/router/index.js b/playground/router-pinia/src/router/index.js deleted file mode 100644 index a49ae507..00000000 --- a/playground/router-pinia/src/router/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/router-pinia/src/stores/counter.js b/playground/router-pinia/src/stores/counter.js deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/router-pinia/src/stores/counter.js +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/router-pinia/src/views/AboutView.vue b/playground/router-pinia/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/router-pinia/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/router-pinia/src/views/HomeView.vue b/playground/router-pinia/src/views/HomeView.vue deleted file mode 100644 index 225d93a9..00000000 --- a/playground/router-pinia/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/router-pinia/vite.config.js b/playground/router-pinia/vite.config.js deleted file mode 100644 index 116273fb..00000000 --- a/playground/router-pinia/vite.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/router-with-tests/.gitignore b/playground/router-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/router-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/router-with-tests/.vscode/extensions.json b/playground/router-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/router-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/router-with-tests/README.md b/playground/router-with-tests/README.md deleted file mode 100644 index 4a91f41f..00000000 --- a/playground/router-with-tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# router-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/router-with-tests/cypress.json b/playground/router-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/router-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/router-with-tests/cypress/fixtures/example.json b/playground/router-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/router-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/router-with-tests/cypress/integration/example.spec.js b/playground/router-with-tests/cypress/integration/example.spec.js deleted file mode 100644 index 13a2922b..00000000 --- a/playground/router-with-tests/cypress/integration/example.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) - - it('navigates to the about page', () => { - cy.visit('/about') - cy.contains('h1', 'This is an about page') - }) -}) diff --git a/playground/router-with-tests/cypress/jsconfig.json b/playground/router-with-tests/cypress/jsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/router-with-tests/cypress/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/router-with-tests/cypress/plugins/index.js b/playground/router-with-tests/cypress/plugins/index.js deleted file mode 100644 index db04a79b..00000000 --- a/playground/router-with-tests/cypress/plugins/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-env node */ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const { startDevServer } = require('@cypress/vite-dev-server') - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -} diff --git a/playground/router-with-tests/cypress/support/commands.js b/playground/router-with-tests/cypress/support/commands.js deleted file mode 100644 index 119ab03f..00000000 --- a/playground/router-with-tests/cypress/support/commands.js +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/router-with-tests/cypress/support/index.js b/playground/router-with-tests/cypress/support/index.js deleted file mode 100644 index d68db96d..00000000 --- a/playground/router-with-tests/cypress/support/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/router-with-tests/index.html b/playground/router-with-tests/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/router-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/router-with-tests/package.json b/playground/router-with-tests/package.json deleted file mode 100644 index 5e70d7dd..00000000 --- a/playground/router-with-tests/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "router-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'" - }, - "dependencies": { - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@vitejs/plugin-vue": "^2.0.1", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "vite": "^2.7.7" - } -} diff --git a/playground/router-with-tests/public/favicon.ico b/playground/router-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/router-with-tests/src/App.vue b/playground/router-with-tests/src/App.vue deleted file mode 100644 index 460e5b29..00000000 --- a/playground/router-with-tests/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/router-with-tests/src/assets/base.css b/playground/router-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/router-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/router-with-tests/src/assets/logo.svg b/playground/router-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/router-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/router-with-tests/src/components/HelloWorld.vue b/playground/router-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/router-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/router-with-tests/src/components/TheWelcome.vue b/playground/router-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/router-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/router-with-tests/src/components/WelcomeItem.vue b/playground/router-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/router-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/router-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/router-with-tests/src/components/__tests__/HelloWorld.spec.js deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/router-with-tests/src/components/__tests__/HelloWorld.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/router-with-tests/src/components/icons/IconCommunity.vue b/playground/router-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/router-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-with-tests/src/components/icons/IconDocumentation.vue b/playground/router-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/router-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-with-tests/src/components/icons/IconEcosystem.vue b/playground/router-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/router-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-with-tests/src/components/icons/IconSupport.vue b/playground/router-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/router-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router-with-tests/src/components/icons/IconTooling.vue b/playground/router-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/router-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/router-with-tests/src/main.js b/playground/router-with-tests/src/main.js deleted file mode 100644 index c8e37b03..00000000 --- a/playground/router-with-tests/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(router) - -app.mount('#app') diff --git a/playground/router-with-tests/src/router/index.js b/playground/router-with-tests/src/router/index.js deleted file mode 100644 index a49ae507..00000000 --- a/playground/router-with-tests/src/router/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/router-with-tests/src/views/AboutView.vue b/playground/router-with-tests/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/router-with-tests/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/router-with-tests/src/views/HomeView.vue b/playground/router-with-tests/src/views/HomeView.vue deleted file mode 100644 index 225d93a9..00000000 --- a/playground/router-with-tests/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/router-with-tests/vite.config.js b/playground/router-with-tests/vite.config.js deleted file mode 100644 index 116273fb..00000000 --- a/playground/router-with-tests/vite.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/router/.gitignore b/playground/router/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/router/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/router/.vscode/extensions.json b/playground/router/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/router/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/router/README.md b/playground/router/README.md deleted file mode 100644 index a5c883e6..00000000 --- a/playground/router/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# router - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/router/index.html b/playground/router/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/router/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/router/package.json b/playground/router/package.json deleted file mode 100644 index a1a05dfc..00000000 --- a/playground/router/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "router", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050" - }, - "dependencies": { - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^2.0.1", - "vite": "^2.7.7" - } -} diff --git a/playground/router/public/favicon.ico b/playground/router/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/router/src/App.vue b/playground/router/src/App.vue deleted file mode 100644 index 460e5b29..00000000 --- a/playground/router/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/router/src/assets/base.css b/playground/router/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/router/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/router/src/assets/logo.svg b/playground/router/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/router/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/router/src/components/HelloWorld.vue b/playground/router/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/router/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/router/src/components/TheWelcome.vue b/playground/router/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/router/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/router/src/components/WelcomeItem.vue b/playground/router/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/router/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/router/src/components/icons/IconCommunity.vue b/playground/router/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/router/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router/src/components/icons/IconDocumentation.vue b/playground/router/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/router/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router/src/components/icons/IconEcosystem.vue b/playground/router/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/router/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router/src/components/icons/IconSupport.vue b/playground/router/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/router/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/router/src/components/icons/IconTooling.vue b/playground/router/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/router/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/router/src/main.js b/playground/router/src/main.js deleted file mode 100644 index c8e37b03..00000000 --- a/playground/router/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(router) - -app.mount('#app') diff --git a/playground/router/src/router/index.js b/playground/router/src/router/index.js deleted file mode 100644 index a49ae507..00000000 --- a/playground/router/src/router/index.js +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/router/src/views/AboutView.vue b/playground/router/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/router/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/router/src/views/HomeView.vue b/playground/router/src/views/HomeView.vue deleted file mode 100644 index 225d93a9..00000000 --- a/playground/router/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/router/vite.config.js b/playground/router/vite.config.js deleted file mode 100644 index 116273fb..00000000 --- a/playground/router/vite.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-jsx-pinia-with-tests/.gitignore b/playground/typescript-jsx-pinia-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-jsx-pinia-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-jsx-pinia-with-tests/.vscode/extensions.json b/playground/typescript-jsx-pinia-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-jsx-pinia-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-jsx-pinia-with-tests/README.md b/playground/typescript-jsx-pinia-with-tests/README.md deleted file mode 100644 index 79fac8f7..00000000 --- a/playground/typescript-jsx-pinia-with-tests/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# typescript-jsx-pinia-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/typescript-jsx-pinia-with-tests/cypress.json b/playground/typescript-jsx-pinia-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/typescript-jsx-pinia-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/fixtures/example.json b/playground/typescript-jsx-pinia-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/typescript-jsx-pinia-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/integration/example.spec.ts b/playground/typescript-jsx-pinia-with-tests/cypress/integration/example.spec.ts deleted file mode 100644 index 7a8c909f..00000000 --- a/playground/typescript-jsx-pinia-with-tests/cypress/integration/example.spec.ts +++ /dev/null @@ -1,8 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) -}) diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/plugins/index.ts b/playground/typescript-jsx-pinia-with-tests/cypress/plugins/index.ts deleted file mode 100644 index 640496ba..00000000 --- a/playground/typescript-jsx-pinia-with-tests/cypress/plugins/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env node */ -/// -/// -// *********************************************************** -// This example plugins/index.ts can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -import { startDevServer } from '@cypress/vite-dev-server' - -export default ((on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -}) as Cypress.PluginConfig diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/support/commands.ts b/playground/typescript-jsx-pinia-with-tests/cypress/support/commands.ts deleted file mode 100644 index 119ab03f..00000000 --- a/playground/typescript-jsx-pinia-with-tests/cypress/support/commands.ts +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/support/index.ts b/playground/typescript-jsx-pinia-with-tests/cypress/support/index.ts deleted file mode 100644 index d68db96d..00000000 --- a/playground/typescript-jsx-pinia-with-tests/cypress/support/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/tsconfig.json b/playground/typescript-jsx-pinia-with-tests/cypress/tsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/typescript-jsx-pinia-with-tests/cypress/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/typescript-jsx-pinia-with-tests/env.d.ts b/playground/typescript-jsx-pinia-with-tests/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-jsx-pinia-with-tests/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-jsx-pinia-with-tests/index.html b/playground/typescript-jsx-pinia-with-tests/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-jsx-pinia-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-jsx-pinia-with-tests/package.json b/playground/typescript-jsx-pinia-with-tests/package.json deleted file mode 100644 index bb60a620..00000000 --- a/playground/typescript-jsx-pinia-with-tests/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "typescript-jsx-pinia-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-jsx-pinia-with-tests/public/favicon.ico b/playground/typescript-jsx-pinia-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-jsx-pinia-with-tests/src/App.vue b/playground/typescript-jsx-pinia-with-tests/src/App.vue deleted file mode 100644 index d91eefc4..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-pinia-with-tests/src/assets/base.css b/playground/typescript-jsx-pinia-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-jsx-pinia-with-tests/src/assets/logo.svg b/playground/typescript-jsx-pinia-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/HelloWorld.vue b/playground/typescript-jsx-pinia-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index b6542ced..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/TheWelcome.vue b/playground/typescript-jsx-pinia-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/WelcomeItem.vue b/playground/typescript-jsx-pinia-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-jsx-pinia-with-tests/src/main.ts b/playground/typescript-jsx-pinia-with-tests/src/main.ts deleted file mode 100644 index 5f77a891..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' - -const app = createApp(App) - -app.use(createPinia()) - -app.mount('#app') diff --git a/playground/typescript-jsx-pinia-with-tests/src/stores/counter.ts b/playground/typescript-jsx-pinia-with-tests/src/stores/counter.ts deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/typescript-jsx-pinia-with-tests/src/stores/counter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/typescript-jsx-pinia-with-tests/tsconfig.json b/playground/typescript-jsx-pinia-with-tests/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-jsx-pinia-with-tests/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-jsx-pinia-with-tests/vite.config.ts b/playground/typescript-jsx-pinia-with-tests/vite.config.ts deleted file mode 100644 index db4edfd9..00000000 --- a/playground/typescript-jsx-pinia-with-tests/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-jsx-pinia/.gitignore b/playground/typescript-jsx-pinia/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-jsx-pinia/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-jsx-pinia/.vscode/extensions.json b/playground/typescript-jsx-pinia/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-jsx-pinia/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-jsx-pinia/README.md b/playground/typescript-jsx-pinia/README.md deleted file mode 100644 index b8c8b93a..00000000 --- a/playground/typescript-jsx-pinia/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# typescript-jsx-pinia - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/typescript-jsx-pinia/env.d.ts b/playground/typescript-jsx-pinia/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-jsx-pinia/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-jsx-pinia/index.html b/playground/typescript-jsx-pinia/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-jsx-pinia/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-jsx-pinia/package.json b/playground/typescript-jsx-pinia/package.json deleted file mode 100644 index 088c0f89..00000000 --- a/playground/typescript-jsx-pinia/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "typescript-jsx-pinia", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26" - }, - "devDependencies": { - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-jsx-pinia/public/favicon.ico b/playground/typescript-jsx-pinia/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-jsx-pinia/src/App.vue b/playground/typescript-jsx-pinia/src/App.vue deleted file mode 100644 index d91eefc4..00000000 --- a/playground/typescript-jsx-pinia/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-pinia/src/assets/base.css b/playground/typescript-jsx-pinia/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-jsx-pinia/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-jsx-pinia/src/assets/logo.svg b/playground/typescript-jsx-pinia/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-jsx-pinia/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-jsx-pinia/src/components/HelloWorld.vue b/playground/typescript-jsx-pinia/src/components/HelloWorld.vue deleted file mode 100644 index b6542ced..00000000 --- a/playground/typescript-jsx-pinia/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-pinia/src/components/TheWelcome.vue b/playground/typescript-jsx-pinia/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-jsx-pinia/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-jsx-pinia/src/components/WelcomeItem.vue b/playground/typescript-jsx-pinia/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-jsx-pinia/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-pinia/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-jsx-pinia/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-pinia/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-jsx-pinia/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-pinia/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-jsx-pinia/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconSupport.vue b/playground/typescript-jsx-pinia/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-jsx-pinia/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconTooling.vue b/playground/typescript-jsx-pinia/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-jsx-pinia/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-jsx-pinia/src/main.ts b/playground/typescript-jsx-pinia/src/main.ts deleted file mode 100644 index 5f77a891..00000000 --- a/playground/typescript-jsx-pinia/src/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' - -const app = createApp(App) - -app.use(createPinia()) - -app.mount('#app') diff --git a/playground/typescript-jsx-pinia/src/stores/counter.ts b/playground/typescript-jsx-pinia/src/stores/counter.ts deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/typescript-jsx-pinia/src/stores/counter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/typescript-jsx-pinia/tsconfig.json b/playground/typescript-jsx-pinia/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-jsx-pinia/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-jsx-pinia/vite.config.ts b/playground/typescript-jsx-pinia/vite.config.ts deleted file mode 100644 index db4edfd9..00000000 --- a/playground/typescript-jsx-pinia/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-jsx-router-pinia-with-tests/.gitignore b/playground/typescript-jsx-router-pinia-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-jsx-router-pinia-with-tests/.vscode/extensions.json b/playground/typescript-jsx-router-pinia-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-jsx-router-pinia-with-tests/README.md b/playground/typescript-jsx-router-pinia-with-tests/README.md deleted file mode 100644 index 4353bb53..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# typescript-jsx-router-pinia-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress.json b/playground/typescript-jsx-router-pinia-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/fixtures/example.json b/playground/typescript-jsx-router-pinia-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/integration/example.spec.ts b/playground/typescript-jsx-router-pinia-with-tests/cypress/integration/example.spec.ts deleted file mode 100644 index 13a2922b..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/cypress/integration/example.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) - - it('navigates to the about page', () => { - cy.visit('/about') - cy.contains('h1', 'This is an about page') - }) -}) diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/plugins/index.ts b/playground/typescript-jsx-router-pinia-with-tests/cypress/plugins/index.ts deleted file mode 100644 index 640496ba..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/cypress/plugins/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env node */ -/// -/// -// *********************************************************** -// This example plugins/index.ts can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -import { startDevServer } from '@cypress/vite-dev-server' - -export default ((on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -}) as Cypress.PluginConfig diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/support/commands.ts b/playground/typescript-jsx-router-pinia-with-tests/cypress/support/commands.ts deleted file mode 100644 index 119ab03f..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/cypress/support/commands.ts +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/support/index.ts b/playground/typescript-jsx-router-pinia-with-tests/cypress/support/index.ts deleted file mode 100644 index d68db96d..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/cypress/support/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/tsconfig.json b/playground/typescript-jsx-router-pinia-with-tests/cypress/tsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/cypress/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/typescript-jsx-router-pinia-with-tests/env.d.ts b/playground/typescript-jsx-router-pinia-with-tests/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-jsx-router-pinia-with-tests/index.html b/playground/typescript-jsx-router-pinia-with-tests/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-jsx-router-pinia-with-tests/package.json b/playground/typescript-jsx-router-pinia-with-tests/package.json deleted file mode 100644 index 4c7cf449..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "typescript-jsx-router-pinia-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-jsx-router-pinia-with-tests/public/favicon.ico b/playground/typescript-jsx-router-pinia-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/App.vue b/playground/typescript-jsx-router-pinia-with-tests/src/App.vue deleted file mode 100644 index 7de68e9b..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/assets/base.css b/playground/typescript-jsx-router-pinia-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/assets/logo.svg b/playground/typescript-jsx-router-pinia-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/HelloWorld.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index ca1ebfd6..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/TheWelcome.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/WelcomeItem.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/main.ts b/playground/typescript-jsx-router-pinia-with-tests/src/main.ts deleted file mode 100644 index fda1e6e3..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/main.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' - -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(createPinia()) -app.use(router) - -app.mount('#app') diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/router/index.ts b/playground/typescript-jsx-router-pinia-with-tests/src/router/index.ts deleted file mode 100644 index a49ae507..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/router/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/stores/counter.ts b/playground/typescript-jsx-router-pinia-with-tests/src/stores/counter.ts deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/stores/counter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/views/AboutView.vue b/playground/typescript-jsx-router-pinia-with-tests/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/views/HomeView.vue b/playground/typescript-jsx-router-pinia-with-tests/src/views/HomeView.vue deleted file mode 100644 index 6555a646..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-pinia-with-tests/tsconfig.json b/playground/typescript-jsx-router-pinia-with-tests/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-jsx-router-pinia-with-tests/vite.config.ts b/playground/typescript-jsx-router-pinia-with-tests/vite.config.ts deleted file mode 100644 index db4edfd9..00000000 --- a/playground/typescript-jsx-router-pinia-with-tests/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-jsx-router-pinia/.gitignore b/playground/typescript-jsx-router-pinia/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-jsx-router-pinia/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-jsx-router-pinia/.vscode/extensions.json b/playground/typescript-jsx-router-pinia/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-jsx-router-pinia/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-jsx-router-pinia/README.md b/playground/typescript-jsx-router-pinia/README.md deleted file mode 100644 index a17dd346..00000000 --- a/playground/typescript-jsx-router-pinia/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# typescript-jsx-router-pinia - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/typescript-jsx-router-pinia/env.d.ts b/playground/typescript-jsx-router-pinia/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-jsx-router-pinia/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-jsx-router-pinia/index.html b/playground/typescript-jsx-router-pinia/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-jsx-router-pinia/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-jsx-router-pinia/package.json b/playground/typescript-jsx-router-pinia/package.json deleted file mode 100644 index 321b0d90..00000000 --- a/playground/typescript-jsx-router-pinia/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "typescript-jsx-router-pinia", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-jsx-router-pinia/public/favicon.ico b/playground/typescript-jsx-router-pinia/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-jsx-router-pinia/src/App.vue b/playground/typescript-jsx-router-pinia/src/App.vue deleted file mode 100644 index 7de68e9b..00000000 --- a/playground/typescript-jsx-router-pinia/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-router-pinia/src/assets/base.css b/playground/typescript-jsx-router-pinia/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-jsx-router-pinia/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-jsx-router-pinia/src/assets/logo.svg b/playground/typescript-jsx-router-pinia/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-jsx-router-pinia/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-jsx-router-pinia/src/components/HelloWorld.vue b/playground/typescript-jsx-router-pinia/src/components/HelloWorld.vue deleted file mode 100644 index ca1ebfd6..00000000 --- a/playground/typescript-jsx-router-pinia/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-router-pinia/src/components/TheWelcome.vue b/playground/typescript-jsx-router-pinia/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-jsx-router-pinia/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-pinia/src/components/WelcomeItem.vue b/playground/typescript-jsx-router-pinia/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-jsx-router-pinia/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-jsx-router-pinia/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-jsx-router-pinia/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-jsx-router-pinia/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconSupport.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-jsx-router-pinia/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconTooling.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-jsx-router-pinia/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-jsx-router-pinia/src/main.ts b/playground/typescript-jsx-router-pinia/src/main.ts deleted file mode 100644 index fda1e6e3..00000000 --- a/playground/typescript-jsx-router-pinia/src/main.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' - -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(createPinia()) -app.use(router) - -app.mount('#app') diff --git a/playground/typescript-jsx-router-pinia/src/router/index.ts b/playground/typescript-jsx-router-pinia/src/router/index.ts deleted file mode 100644 index a49ae507..00000000 --- a/playground/typescript-jsx-router-pinia/src/router/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/typescript-jsx-router-pinia/src/stores/counter.ts b/playground/typescript-jsx-router-pinia/src/stores/counter.ts deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/typescript-jsx-router-pinia/src/stores/counter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/typescript-jsx-router-pinia/src/views/AboutView.vue b/playground/typescript-jsx-router-pinia/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/typescript-jsx-router-pinia/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-pinia/src/views/HomeView.vue b/playground/typescript-jsx-router-pinia/src/views/HomeView.vue deleted file mode 100644 index 6555a646..00000000 --- a/playground/typescript-jsx-router-pinia/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-pinia/tsconfig.json b/playground/typescript-jsx-router-pinia/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-jsx-router-pinia/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-jsx-router-pinia/vite.config.ts b/playground/typescript-jsx-router-pinia/vite.config.ts deleted file mode 100644 index db4edfd9..00000000 --- a/playground/typescript-jsx-router-pinia/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-jsx-router-with-tests/.gitignore b/playground/typescript-jsx-router-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-jsx-router-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-jsx-router-with-tests/.vscode/extensions.json b/playground/typescript-jsx-router-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-jsx-router-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-jsx-router-with-tests/README.md b/playground/typescript-jsx-router-with-tests/README.md deleted file mode 100644 index d75a9773..00000000 --- a/playground/typescript-jsx-router-with-tests/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# typescript-jsx-router-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/typescript-jsx-router-with-tests/cypress.json b/playground/typescript-jsx-router-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/typescript-jsx-router-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/typescript-jsx-router-with-tests/cypress/fixtures/example.json b/playground/typescript-jsx-router-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/typescript-jsx-router-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/typescript-jsx-router-with-tests/cypress/integration/example.spec.ts b/playground/typescript-jsx-router-with-tests/cypress/integration/example.spec.ts deleted file mode 100644 index 13a2922b..00000000 --- a/playground/typescript-jsx-router-with-tests/cypress/integration/example.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) - - it('navigates to the about page', () => { - cy.visit('/about') - cy.contains('h1', 'This is an about page') - }) -}) diff --git a/playground/typescript-jsx-router-with-tests/cypress/plugins/index.ts b/playground/typescript-jsx-router-with-tests/cypress/plugins/index.ts deleted file mode 100644 index 640496ba..00000000 --- a/playground/typescript-jsx-router-with-tests/cypress/plugins/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env node */ -/// -/// -// *********************************************************** -// This example plugins/index.ts can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -import { startDevServer } from '@cypress/vite-dev-server' - -export default ((on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -}) as Cypress.PluginConfig diff --git a/playground/typescript-jsx-router-with-tests/cypress/support/commands.ts b/playground/typescript-jsx-router-with-tests/cypress/support/commands.ts deleted file mode 100644 index 119ab03f..00000000 --- a/playground/typescript-jsx-router-with-tests/cypress/support/commands.ts +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/typescript-jsx-router-with-tests/cypress/support/index.ts b/playground/typescript-jsx-router-with-tests/cypress/support/index.ts deleted file mode 100644 index d68db96d..00000000 --- a/playground/typescript-jsx-router-with-tests/cypress/support/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/typescript-jsx-router-with-tests/cypress/tsconfig.json b/playground/typescript-jsx-router-with-tests/cypress/tsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/typescript-jsx-router-with-tests/cypress/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/typescript-jsx-router-with-tests/env.d.ts b/playground/typescript-jsx-router-with-tests/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-jsx-router-with-tests/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-jsx-router-with-tests/index.html b/playground/typescript-jsx-router-with-tests/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-jsx-router-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-jsx-router-with-tests/package.json b/playground/typescript-jsx-router-with-tests/package.json deleted file mode 100644 index 1041a03c..00000000 --- a/playground/typescript-jsx-router-with-tests/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "typescript-jsx-router-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-jsx-router-with-tests/public/favicon.ico b/playground/typescript-jsx-router-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-jsx-router-with-tests/src/App.vue b/playground/typescript-jsx-router-with-tests/src/App.vue deleted file mode 100644 index 7de68e9b..00000000 --- a/playground/typescript-jsx-router-with-tests/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-router-with-tests/src/assets/base.css b/playground/typescript-jsx-router-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-jsx-router-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-jsx-router-with-tests/src/assets/logo.svg b/playground/typescript-jsx-router-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-jsx-router-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue b/playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index ca1ebfd6..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-router-with-tests/src/components/TheWelcome.vue b/playground/typescript-jsx-router-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-with-tests/src/components/WelcomeItem.vue b/playground/typescript-jsx-router-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.ts deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-jsx-router-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-jsx-router-with-tests/src/main.ts b/playground/typescript-jsx-router-with-tests/src/main.ts deleted file mode 100644 index c8e37b03..00000000 --- a/playground/typescript-jsx-router-with-tests/src/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(router) - -app.mount('#app') diff --git a/playground/typescript-jsx-router-with-tests/src/router/index.ts b/playground/typescript-jsx-router-with-tests/src/router/index.ts deleted file mode 100644 index a49ae507..00000000 --- a/playground/typescript-jsx-router-with-tests/src/router/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/typescript-jsx-router-with-tests/src/views/AboutView.vue b/playground/typescript-jsx-router-with-tests/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/typescript-jsx-router-with-tests/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-with-tests/src/views/HomeView.vue b/playground/typescript-jsx-router-with-tests/src/views/HomeView.vue deleted file mode 100644 index 6555a646..00000000 --- a/playground/typescript-jsx-router-with-tests/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router-with-tests/tsconfig.json b/playground/typescript-jsx-router-with-tests/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-jsx-router-with-tests/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-jsx-router-with-tests/vite.config.ts b/playground/typescript-jsx-router-with-tests/vite.config.ts deleted file mode 100644 index db4edfd9..00000000 --- a/playground/typescript-jsx-router-with-tests/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-jsx-router/.gitignore b/playground/typescript-jsx-router/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-jsx-router/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-jsx-router/.vscode/extensions.json b/playground/typescript-jsx-router/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-jsx-router/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-jsx-router/README.md b/playground/typescript-jsx-router/README.md deleted file mode 100644 index 1b2118a3..00000000 --- a/playground/typescript-jsx-router/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# typescript-jsx-router - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/typescript-jsx-router/env.d.ts b/playground/typescript-jsx-router/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-jsx-router/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-jsx-router/index.html b/playground/typescript-jsx-router/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-jsx-router/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-jsx-router/package.json b/playground/typescript-jsx-router/package.json deleted file mode 100644 index 014c2a7f..00000000 --- a/playground/typescript-jsx-router/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "typescript-jsx-router", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-jsx-router/public/favicon.ico b/playground/typescript-jsx-router/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-jsx-router/src/App.vue b/playground/typescript-jsx-router/src/App.vue deleted file mode 100644 index 7de68e9b..00000000 --- a/playground/typescript-jsx-router/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-router/src/assets/base.css b/playground/typescript-jsx-router/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-jsx-router/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-jsx-router/src/assets/logo.svg b/playground/typescript-jsx-router/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-jsx-router/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-jsx-router/src/components/HelloWorld.vue b/playground/typescript-jsx-router/src/components/HelloWorld.vue deleted file mode 100644 index ca1ebfd6..00000000 --- a/playground/typescript-jsx-router/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-router/src/components/TheWelcome.vue b/playground/typescript-jsx-router/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-jsx-router/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router/src/components/WelcomeItem.vue b/playground/typescript-jsx-router/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-jsx-router/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-router/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-jsx-router/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-router/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-jsx-router/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-router/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-jsx-router/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router/src/components/icons/IconSupport.vue b/playground/typescript-jsx-router/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-jsx-router/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-router/src/components/icons/IconTooling.vue b/playground/typescript-jsx-router/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-jsx-router/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-jsx-router/src/main.ts b/playground/typescript-jsx-router/src/main.ts deleted file mode 100644 index c8e37b03..00000000 --- a/playground/typescript-jsx-router/src/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(router) - -app.mount('#app') diff --git a/playground/typescript-jsx-router/src/router/index.ts b/playground/typescript-jsx-router/src/router/index.ts deleted file mode 100644 index a49ae507..00000000 --- a/playground/typescript-jsx-router/src/router/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/typescript-jsx-router/src/views/AboutView.vue b/playground/typescript-jsx-router/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/typescript-jsx-router/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router/src/views/HomeView.vue b/playground/typescript-jsx-router/src/views/HomeView.vue deleted file mode 100644 index 6555a646..00000000 --- a/playground/typescript-jsx-router/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/typescript-jsx-router/tsconfig.json b/playground/typescript-jsx-router/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-jsx-router/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-jsx-router/vite.config.ts b/playground/typescript-jsx-router/vite.config.ts deleted file mode 100644 index db4edfd9..00000000 --- a/playground/typescript-jsx-router/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-jsx-with-tests/.gitignore b/playground/typescript-jsx-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-jsx-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-jsx-with-tests/.vscode/extensions.json b/playground/typescript-jsx-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-jsx-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-jsx-with-tests/README.md b/playground/typescript-jsx-with-tests/README.md deleted file mode 100644 index d6d8250f..00000000 --- a/playground/typescript-jsx-with-tests/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# typescript-jsx-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/typescript-jsx-with-tests/cypress.json b/playground/typescript-jsx-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/typescript-jsx-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/typescript-jsx-with-tests/cypress/fixtures/example.json b/playground/typescript-jsx-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/typescript-jsx-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/typescript-jsx-with-tests/cypress/integration/example.spec.ts b/playground/typescript-jsx-with-tests/cypress/integration/example.spec.ts deleted file mode 100644 index 7a8c909f..00000000 --- a/playground/typescript-jsx-with-tests/cypress/integration/example.spec.ts +++ /dev/null @@ -1,8 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) -}) diff --git a/playground/typescript-jsx-with-tests/cypress/plugins/index.ts b/playground/typescript-jsx-with-tests/cypress/plugins/index.ts deleted file mode 100644 index 640496ba..00000000 --- a/playground/typescript-jsx-with-tests/cypress/plugins/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env node */ -/// -/// -// *********************************************************** -// This example plugins/index.ts can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -import { startDevServer } from '@cypress/vite-dev-server' - -export default ((on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -}) as Cypress.PluginConfig diff --git a/playground/typescript-jsx-with-tests/cypress/support/commands.ts b/playground/typescript-jsx-with-tests/cypress/support/commands.ts deleted file mode 100644 index 119ab03f..00000000 --- a/playground/typescript-jsx-with-tests/cypress/support/commands.ts +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/typescript-jsx-with-tests/cypress/support/index.ts b/playground/typescript-jsx-with-tests/cypress/support/index.ts deleted file mode 100644 index d68db96d..00000000 --- a/playground/typescript-jsx-with-tests/cypress/support/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/typescript-jsx-with-tests/cypress/tsconfig.json b/playground/typescript-jsx-with-tests/cypress/tsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/typescript-jsx-with-tests/cypress/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/typescript-jsx-with-tests/env.d.ts b/playground/typescript-jsx-with-tests/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-jsx-with-tests/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-jsx-with-tests/index.html b/playground/typescript-jsx-with-tests/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-jsx-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-jsx-with-tests/package.json b/playground/typescript-jsx-with-tests/package.json deleted file mode 100644 index 2220ef45..00000000 --- a/playground/typescript-jsx-with-tests/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "typescript-jsx-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "vue": "^3.2.26" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-jsx-with-tests/public/favicon.ico b/playground/typescript-jsx-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-jsx-with-tests/src/App.vue b/playground/typescript-jsx-with-tests/src/App.vue deleted file mode 100644 index d91eefc4..00000000 --- a/playground/typescript-jsx-with-tests/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-with-tests/src/assets/base.css b/playground/typescript-jsx-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-jsx-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-jsx-with-tests/src/assets/logo.svg b/playground/typescript-jsx-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-jsx-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-jsx-with-tests/src/components/HelloWorld.vue b/playground/typescript-jsx-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index b6542ced..00000000 --- a/playground/typescript-jsx-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx-with-tests/src/components/TheWelcome.vue b/playground/typescript-jsx-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-jsx-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-jsx-with-tests/src/components/WelcomeItem.vue b/playground/typescript-jsx-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-jsx-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-jsx-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-jsx-with-tests/src/components/__tests__/HelloWorld.spec.ts deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/typescript-jsx-with-tests/src/components/__tests__/HelloWorld.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-jsx-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-jsx-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-jsx-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-jsx-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-jsx-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-jsx-with-tests/src/main.ts b/playground/typescript-jsx-with-tests/src/main.ts deleted file mode 100644 index 01433bca..00000000 --- a/playground/typescript-jsx-with-tests/src/main.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/playground/typescript-jsx-with-tests/tsconfig.json b/playground/typescript-jsx-with-tests/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-jsx-with-tests/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-jsx-with-tests/vite.config.ts b/playground/typescript-jsx-with-tests/vite.config.ts deleted file mode 100644 index db4edfd9..00000000 --- a/playground/typescript-jsx-with-tests/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-jsx/.gitignore b/playground/typescript-jsx/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-jsx/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-jsx/.vscode/extensions.json b/playground/typescript-jsx/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-jsx/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-jsx/README.md b/playground/typescript-jsx/README.md deleted file mode 100644 index 0b75eadb..00000000 --- a/playground/typescript-jsx/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# typescript-jsx - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/typescript-jsx/env.d.ts b/playground/typescript-jsx/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-jsx/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-jsx/index.html b/playground/typescript-jsx/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-jsx/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-jsx/package.json b/playground/typescript-jsx/package.json deleted file mode 100644 index 5ff441fb..00000000 --- a/playground/typescript-jsx/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "typescript-jsx", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "vue": "^3.2.26" - }, - "devDependencies": { - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "@vitejs/plugin-vue-jsx": "^1.3.3", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-jsx/public/favicon.ico b/playground/typescript-jsx/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-jsx/src/App.vue b/playground/typescript-jsx/src/App.vue deleted file mode 100644 index d91eefc4..00000000 --- a/playground/typescript-jsx/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx/src/assets/base.css b/playground/typescript-jsx/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-jsx/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-jsx/src/assets/logo.svg b/playground/typescript-jsx/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-jsx/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-jsx/src/components/HelloWorld.vue b/playground/typescript-jsx/src/components/HelloWorld.vue deleted file mode 100644 index b6542ced..00000000 --- a/playground/typescript-jsx/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-jsx/src/components/TheWelcome.vue b/playground/typescript-jsx/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-jsx/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-jsx/src/components/WelcomeItem.vue b/playground/typescript-jsx/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-jsx/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-jsx/src/components/icons/IconCommunity.vue b/playground/typescript-jsx/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-jsx/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-jsx/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-jsx/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx/src/components/icons/IconSupport.vue b/playground/typescript-jsx/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-jsx/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-jsx/src/components/icons/IconTooling.vue b/playground/typescript-jsx/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-jsx/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-jsx/src/main.ts b/playground/typescript-jsx/src/main.ts deleted file mode 100644 index 01433bca..00000000 --- a/playground/typescript-jsx/src/main.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/playground/typescript-jsx/tsconfig.json b/playground/typescript-jsx/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-jsx/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-jsx/vite.config.ts b/playground/typescript-jsx/vite.config.ts deleted file mode 100644 index db4edfd9..00000000 --- a/playground/typescript-jsx/vite.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import vueJsx from '@vitejs/plugin-vue-jsx' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue(), vueJsx()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-pinia-with-tests/.gitignore b/playground/typescript-pinia-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-pinia-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-pinia-with-tests/.vscode/extensions.json b/playground/typescript-pinia-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-pinia-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-pinia-with-tests/README.md b/playground/typescript-pinia-with-tests/README.md deleted file mode 100644 index 8eaca70b..00000000 --- a/playground/typescript-pinia-with-tests/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# typescript-pinia-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/typescript-pinia-with-tests/cypress.json b/playground/typescript-pinia-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/typescript-pinia-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/typescript-pinia-with-tests/cypress/fixtures/example.json b/playground/typescript-pinia-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/typescript-pinia-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/typescript-pinia-with-tests/cypress/integration/example.spec.ts b/playground/typescript-pinia-with-tests/cypress/integration/example.spec.ts deleted file mode 100644 index 7a8c909f..00000000 --- a/playground/typescript-pinia-with-tests/cypress/integration/example.spec.ts +++ /dev/null @@ -1,8 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) -}) diff --git a/playground/typescript-pinia-with-tests/cypress/plugins/index.ts b/playground/typescript-pinia-with-tests/cypress/plugins/index.ts deleted file mode 100644 index 640496ba..00000000 --- a/playground/typescript-pinia-with-tests/cypress/plugins/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env node */ -/// -/// -// *********************************************************** -// This example plugins/index.ts can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -import { startDevServer } from '@cypress/vite-dev-server' - -export default ((on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -}) as Cypress.PluginConfig diff --git a/playground/typescript-pinia-with-tests/cypress/support/commands.ts b/playground/typescript-pinia-with-tests/cypress/support/commands.ts deleted file mode 100644 index 119ab03f..00000000 --- a/playground/typescript-pinia-with-tests/cypress/support/commands.ts +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/typescript-pinia-with-tests/cypress/support/index.ts b/playground/typescript-pinia-with-tests/cypress/support/index.ts deleted file mode 100644 index d68db96d..00000000 --- a/playground/typescript-pinia-with-tests/cypress/support/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/typescript-pinia-with-tests/cypress/tsconfig.json b/playground/typescript-pinia-with-tests/cypress/tsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/typescript-pinia-with-tests/cypress/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/typescript-pinia-with-tests/env.d.ts b/playground/typescript-pinia-with-tests/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-pinia-with-tests/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-pinia-with-tests/index.html b/playground/typescript-pinia-with-tests/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-pinia-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-pinia-with-tests/package.json b/playground/typescript-pinia-with-tests/package.json deleted file mode 100644 index e70b97ed..00000000 --- a/playground/typescript-pinia-with-tests/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "typescript-pinia-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-pinia-with-tests/public/favicon.ico b/playground/typescript-pinia-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-pinia-with-tests/src/App.vue b/playground/typescript-pinia-with-tests/src/App.vue deleted file mode 100644 index d91eefc4..00000000 --- a/playground/typescript-pinia-with-tests/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/typescript-pinia-with-tests/src/assets/base.css b/playground/typescript-pinia-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-pinia-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-pinia-with-tests/src/assets/logo.svg b/playground/typescript-pinia-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-pinia-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-pinia-with-tests/src/components/HelloWorld.vue b/playground/typescript-pinia-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index b6542ced..00000000 --- a/playground/typescript-pinia-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-pinia-with-tests/src/components/TheWelcome.vue b/playground/typescript-pinia-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-pinia-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-pinia-with-tests/src/components/WelcomeItem.vue b/playground/typescript-pinia-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-pinia-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/typescript-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/typescript-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-pinia-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-pinia-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-pinia-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-pinia-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-pinia-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-pinia-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-pinia-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-pinia-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-pinia-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-pinia-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-pinia-with-tests/src/main.ts b/playground/typescript-pinia-with-tests/src/main.ts deleted file mode 100644 index 5f77a891..00000000 --- a/playground/typescript-pinia-with-tests/src/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' - -const app = createApp(App) - -app.use(createPinia()) - -app.mount('#app') diff --git a/playground/typescript-pinia-with-tests/src/stores/counter.ts b/playground/typescript-pinia-with-tests/src/stores/counter.ts deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/typescript-pinia-with-tests/src/stores/counter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/typescript-pinia-with-tests/tsconfig.json b/playground/typescript-pinia-with-tests/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-pinia-with-tests/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-pinia-with-tests/vite.config.ts b/playground/typescript-pinia-with-tests/vite.config.ts deleted file mode 100644 index 116273fb..00000000 --- a/playground/typescript-pinia-with-tests/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-pinia/.gitignore b/playground/typescript-pinia/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-pinia/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-pinia/.vscode/extensions.json b/playground/typescript-pinia/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-pinia/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-pinia/README.md b/playground/typescript-pinia/README.md deleted file mode 100644 index fd295742..00000000 --- a/playground/typescript-pinia/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# typescript-pinia - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/typescript-pinia/env.d.ts b/playground/typescript-pinia/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-pinia/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-pinia/index.html b/playground/typescript-pinia/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-pinia/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-pinia/package.json b/playground/typescript-pinia/package.json deleted file mode 100644 index 7aba6755..00000000 --- a/playground/typescript-pinia/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "typescript-pinia", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26" - }, - "devDependencies": { - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-pinia/public/favicon.ico b/playground/typescript-pinia/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-pinia/src/App.vue b/playground/typescript-pinia/src/App.vue deleted file mode 100644 index d91eefc4..00000000 --- a/playground/typescript-pinia/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/typescript-pinia/src/assets/base.css b/playground/typescript-pinia/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-pinia/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-pinia/src/assets/logo.svg b/playground/typescript-pinia/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-pinia/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-pinia/src/components/HelloWorld.vue b/playground/typescript-pinia/src/components/HelloWorld.vue deleted file mode 100644 index b6542ced..00000000 --- a/playground/typescript-pinia/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-pinia/src/components/TheWelcome.vue b/playground/typescript-pinia/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-pinia/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-pinia/src/components/WelcomeItem.vue b/playground/typescript-pinia/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-pinia/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-pinia/src/components/icons/IconCommunity.vue b/playground/typescript-pinia/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-pinia/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-pinia/src/components/icons/IconDocumentation.vue b/playground/typescript-pinia/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-pinia/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-pinia/src/components/icons/IconEcosystem.vue b/playground/typescript-pinia/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-pinia/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-pinia/src/components/icons/IconSupport.vue b/playground/typescript-pinia/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-pinia/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-pinia/src/components/icons/IconTooling.vue b/playground/typescript-pinia/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-pinia/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-pinia/src/main.ts b/playground/typescript-pinia/src/main.ts deleted file mode 100644 index 5f77a891..00000000 --- a/playground/typescript-pinia/src/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' -import App from './App.vue' - -const app = createApp(App) - -app.use(createPinia()) - -app.mount('#app') diff --git a/playground/typescript-pinia/src/stores/counter.ts b/playground/typescript-pinia/src/stores/counter.ts deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/typescript-pinia/src/stores/counter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/typescript-pinia/tsconfig.json b/playground/typescript-pinia/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-pinia/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-pinia/vite.config.ts b/playground/typescript-pinia/vite.config.ts deleted file mode 100644 index 116273fb..00000000 --- a/playground/typescript-pinia/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-router-pinia-with-tests/.gitignore b/playground/typescript-router-pinia-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-router-pinia-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-router-pinia-with-tests/.vscode/extensions.json b/playground/typescript-router-pinia-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-router-pinia-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-router-pinia-with-tests/README.md b/playground/typescript-router-pinia-with-tests/README.md deleted file mode 100644 index f9fb0035..00000000 --- a/playground/typescript-router-pinia-with-tests/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# typescript-router-pinia-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/typescript-router-pinia-with-tests/cypress.json b/playground/typescript-router-pinia-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/typescript-router-pinia-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/typescript-router-pinia-with-tests/cypress/fixtures/example.json b/playground/typescript-router-pinia-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/typescript-router-pinia-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/typescript-router-pinia-with-tests/cypress/integration/example.spec.ts b/playground/typescript-router-pinia-with-tests/cypress/integration/example.spec.ts deleted file mode 100644 index 13a2922b..00000000 --- a/playground/typescript-router-pinia-with-tests/cypress/integration/example.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) - - it('navigates to the about page', () => { - cy.visit('/about') - cy.contains('h1', 'This is an about page') - }) -}) diff --git a/playground/typescript-router-pinia-with-tests/cypress/plugins/index.ts b/playground/typescript-router-pinia-with-tests/cypress/plugins/index.ts deleted file mode 100644 index 640496ba..00000000 --- a/playground/typescript-router-pinia-with-tests/cypress/plugins/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env node */ -/// -/// -// *********************************************************** -// This example plugins/index.ts can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -import { startDevServer } from '@cypress/vite-dev-server' - -export default ((on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -}) as Cypress.PluginConfig diff --git a/playground/typescript-router-pinia-with-tests/cypress/support/commands.ts b/playground/typescript-router-pinia-with-tests/cypress/support/commands.ts deleted file mode 100644 index 119ab03f..00000000 --- a/playground/typescript-router-pinia-with-tests/cypress/support/commands.ts +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/typescript-router-pinia-with-tests/cypress/support/index.ts b/playground/typescript-router-pinia-with-tests/cypress/support/index.ts deleted file mode 100644 index d68db96d..00000000 --- a/playground/typescript-router-pinia-with-tests/cypress/support/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/typescript-router-pinia-with-tests/cypress/tsconfig.json b/playground/typescript-router-pinia-with-tests/cypress/tsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/typescript-router-pinia-with-tests/cypress/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/typescript-router-pinia-with-tests/env.d.ts b/playground/typescript-router-pinia-with-tests/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-router-pinia-with-tests/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-router-pinia-with-tests/index.html b/playground/typescript-router-pinia-with-tests/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-router-pinia-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-router-pinia-with-tests/package.json b/playground/typescript-router-pinia-with-tests/package.json deleted file mode 100644 index a78cd728..00000000 --- a/playground/typescript-router-pinia-with-tests/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "typescript-router-pinia-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-router-pinia-with-tests/public/favicon.ico b/playground/typescript-router-pinia-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-router-pinia-with-tests/src/App.vue b/playground/typescript-router-pinia-with-tests/src/App.vue deleted file mode 100644 index 7de68e9b..00000000 --- a/playground/typescript-router-pinia-with-tests/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/typescript-router-pinia-with-tests/src/assets/base.css b/playground/typescript-router-pinia-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-router-pinia-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-router-pinia-with-tests/src/assets/logo.svg b/playground/typescript-router-pinia-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-router-pinia-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-router-pinia-with-tests/src/components/HelloWorld.vue b/playground/typescript-router-pinia-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index ca1ebfd6..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-router-pinia-with-tests/src/components/TheWelcome.vue b/playground/typescript-router-pinia-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-router-pinia-with-tests/src/components/WelcomeItem.vue b/playground/typescript-router-pinia-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/typescript-router-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-router-pinia-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-router-pinia-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-router-pinia-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-router-pinia-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-router-pinia-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-router-pinia-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-router-pinia-with-tests/src/main.ts b/playground/typescript-router-pinia-with-tests/src/main.ts deleted file mode 100644 index fda1e6e3..00000000 --- a/playground/typescript-router-pinia-with-tests/src/main.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' - -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(createPinia()) -app.use(router) - -app.mount('#app') diff --git a/playground/typescript-router-pinia-with-tests/src/router/index.ts b/playground/typescript-router-pinia-with-tests/src/router/index.ts deleted file mode 100644 index a49ae507..00000000 --- a/playground/typescript-router-pinia-with-tests/src/router/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/typescript-router-pinia-with-tests/src/stores/counter.ts b/playground/typescript-router-pinia-with-tests/src/stores/counter.ts deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/typescript-router-pinia-with-tests/src/stores/counter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/typescript-router-pinia-with-tests/src/views/AboutView.vue b/playground/typescript-router-pinia-with-tests/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/typescript-router-pinia-with-tests/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/typescript-router-pinia-with-tests/src/views/HomeView.vue b/playground/typescript-router-pinia-with-tests/src/views/HomeView.vue deleted file mode 100644 index 6555a646..00000000 --- a/playground/typescript-router-pinia-with-tests/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/typescript-router-pinia-with-tests/tsconfig.json b/playground/typescript-router-pinia-with-tests/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-router-pinia-with-tests/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-router-pinia-with-tests/vite.config.ts b/playground/typescript-router-pinia-with-tests/vite.config.ts deleted file mode 100644 index 116273fb..00000000 --- a/playground/typescript-router-pinia-with-tests/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-router-pinia/.gitignore b/playground/typescript-router-pinia/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-router-pinia/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-router-pinia/.vscode/extensions.json b/playground/typescript-router-pinia/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-router-pinia/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-router-pinia/README.md b/playground/typescript-router-pinia/README.md deleted file mode 100644 index c58d6635..00000000 --- a/playground/typescript-router-pinia/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# typescript-router-pinia - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/typescript-router-pinia/env.d.ts b/playground/typescript-router-pinia/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-router-pinia/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-router-pinia/index.html b/playground/typescript-router-pinia/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-router-pinia/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-router-pinia/package.json b/playground/typescript-router-pinia/package.json deleted file mode 100644 index 8faaa367..00000000 --- a/playground/typescript-router-pinia/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "typescript-router-pinia", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "pinia": "^2.0.9", - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-router-pinia/public/favicon.ico b/playground/typescript-router-pinia/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-router-pinia/src/App.vue b/playground/typescript-router-pinia/src/App.vue deleted file mode 100644 index 7de68e9b..00000000 --- a/playground/typescript-router-pinia/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/typescript-router-pinia/src/assets/base.css b/playground/typescript-router-pinia/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-router-pinia/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-router-pinia/src/assets/logo.svg b/playground/typescript-router-pinia/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-router-pinia/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-router-pinia/src/components/HelloWorld.vue b/playground/typescript-router-pinia/src/components/HelloWorld.vue deleted file mode 100644 index ca1ebfd6..00000000 --- a/playground/typescript-router-pinia/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-router-pinia/src/components/TheWelcome.vue b/playground/typescript-router-pinia/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-router-pinia/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-router-pinia/src/components/WelcomeItem.vue b/playground/typescript-router-pinia/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-router-pinia/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-router-pinia/src/components/icons/IconCommunity.vue b/playground/typescript-router-pinia/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-router-pinia/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-pinia/src/components/icons/IconDocumentation.vue b/playground/typescript-router-pinia/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-router-pinia/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-pinia/src/components/icons/IconEcosystem.vue b/playground/typescript-router-pinia/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-router-pinia/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-pinia/src/components/icons/IconSupport.vue b/playground/typescript-router-pinia/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-router-pinia/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-pinia/src/components/icons/IconTooling.vue b/playground/typescript-router-pinia/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-router-pinia/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-router-pinia/src/main.ts b/playground/typescript-router-pinia/src/main.ts deleted file mode 100644 index fda1e6e3..00000000 --- a/playground/typescript-router-pinia/src/main.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { createApp } from 'vue' -import { createPinia } from 'pinia' - -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(createPinia()) -app.use(router) - -app.mount('#app') diff --git a/playground/typescript-router-pinia/src/router/index.ts b/playground/typescript-router-pinia/src/router/index.ts deleted file mode 100644 index a49ae507..00000000 --- a/playground/typescript-router-pinia/src/router/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/typescript-router-pinia/src/stores/counter.ts b/playground/typescript-router-pinia/src/stores/counter.ts deleted file mode 100644 index 4a2d2427..00000000 --- a/playground/typescript-router-pinia/src/stores/counter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineStore } from 'pinia' - -export const useCounterStore = defineStore({ - id: 'counter', - state: () => ({ - counter: 0 - }), - getters: { - doubleCount: (state) => state.counter * 2 - }, - actions: { - increment() { - this.counter++ - } - } -}) diff --git a/playground/typescript-router-pinia/src/views/AboutView.vue b/playground/typescript-router-pinia/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/typescript-router-pinia/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/typescript-router-pinia/src/views/HomeView.vue b/playground/typescript-router-pinia/src/views/HomeView.vue deleted file mode 100644 index 6555a646..00000000 --- a/playground/typescript-router-pinia/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/typescript-router-pinia/tsconfig.json b/playground/typescript-router-pinia/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-router-pinia/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-router-pinia/vite.config.ts b/playground/typescript-router-pinia/vite.config.ts deleted file mode 100644 index 116273fb..00000000 --- a/playground/typescript-router-pinia/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-router-with-tests/.gitignore b/playground/typescript-router-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-router-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-router-with-tests/.vscode/extensions.json b/playground/typescript-router-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-router-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-router-with-tests/README.md b/playground/typescript-router-with-tests/README.md deleted file mode 100644 index 17ca1244..00000000 --- a/playground/typescript-router-with-tests/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# typescript-router-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/typescript-router-with-tests/cypress.json b/playground/typescript-router-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/typescript-router-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/typescript-router-with-tests/cypress/fixtures/example.json b/playground/typescript-router-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/typescript-router-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/typescript-router-with-tests/cypress/integration/example.spec.ts b/playground/typescript-router-with-tests/cypress/integration/example.spec.ts deleted file mode 100644 index 13a2922b..00000000 --- a/playground/typescript-router-with-tests/cypress/integration/example.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) - - it('navigates to the about page', () => { - cy.visit('/about') - cy.contains('h1', 'This is an about page') - }) -}) diff --git a/playground/typescript-router-with-tests/cypress/plugins/index.ts b/playground/typescript-router-with-tests/cypress/plugins/index.ts deleted file mode 100644 index 640496ba..00000000 --- a/playground/typescript-router-with-tests/cypress/plugins/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env node */ -/// -/// -// *********************************************************** -// This example plugins/index.ts can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -import { startDevServer } from '@cypress/vite-dev-server' - -export default ((on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -}) as Cypress.PluginConfig diff --git a/playground/typescript-router-with-tests/cypress/support/commands.ts b/playground/typescript-router-with-tests/cypress/support/commands.ts deleted file mode 100644 index 119ab03f..00000000 --- a/playground/typescript-router-with-tests/cypress/support/commands.ts +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/typescript-router-with-tests/cypress/support/index.ts b/playground/typescript-router-with-tests/cypress/support/index.ts deleted file mode 100644 index d68db96d..00000000 --- a/playground/typescript-router-with-tests/cypress/support/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/typescript-router-with-tests/cypress/tsconfig.json b/playground/typescript-router-with-tests/cypress/tsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/typescript-router-with-tests/cypress/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/typescript-router-with-tests/env.d.ts b/playground/typescript-router-with-tests/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-router-with-tests/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-router-with-tests/index.html b/playground/typescript-router-with-tests/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-router-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-router-with-tests/package.json b/playground/typescript-router-with-tests/package.json deleted file mode 100644 index d3984850..00000000 --- a/playground/typescript-router-with-tests/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "typescript-router-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-router-with-tests/public/favicon.ico b/playground/typescript-router-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-router-with-tests/src/App.vue b/playground/typescript-router-with-tests/src/App.vue deleted file mode 100644 index 7de68e9b..00000000 --- a/playground/typescript-router-with-tests/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/typescript-router-with-tests/src/assets/base.css b/playground/typescript-router-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-router-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-router-with-tests/src/assets/logo.svg b/playground/typescript-router-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-router-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-router-with-tests/src/components/HelloWorld.vue b/playground/typescript-router-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index ca1ebfd6..00000000 --- a/playground/typescript-router-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-router-with-tests/src/components/TheWelcome.vue b/playground/typescript-router-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-router-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-router-with-tests/src/components/WelcomeItem.vue b/playground/typescript-router-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-router-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-router-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-router-with-tests/src/components/__tests__/HelloWorld.spec.ts deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/typescript-router-with-tests/src/components/__tests__/HelloWorld.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/typescript-router-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-router-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-router-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-router-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-router-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-router-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-router-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-router-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-router-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-router-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-router-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-router-with-tests/src/main.ts b/playground/typescript-router-with-tests/src/main.ts deleted file mode 100644 index c8e37b03..00000000 --- a/playground/typescript-router-with-tests/src/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(router) - -app.mount('#app') diff --git a/playground/typescript-router-with-tests/src/router/index.ts b/playground/typescript-router-with-tests/src/router/index.ts deleted file mode 100644 index a49ae507..00000000 --- a/playground/typescript-router-with-tests/src/router/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/typescript-router-with-tests/src/views/AboutView.vue b/playground/typescript-router-with-tests/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/typescript-router-with-tests/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/typescript-router-with-tests/src/views/HomeView.vue b/playground/typescript-router-with-tests/src/views/HomeView.vue deleted file mode 100644 index 6555a646..00000000 --- a/playground/typescript-router-with-tests/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/typescript-router-with-tests/tsconfig.json b/playground/typescript-router-with-tests/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-router-with-tests/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-router-with-tests/vite.config.ts b/playground/typescript-router-with-tests/vite.config.ts deleted file mode 100644 index 116273fb..00000000 --- a/playground/typescript-router-with-tests/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-router/.gitignore b/playground/typescript-router/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-router/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-router/.vscode/extensions.json b/playground/typescript-router/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-router/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-router/README.md b/playground/typescript-router/README.md deleted file mode 100644 index d10a4e15..00000000 --- a/playground/typescript-router/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# typescript-router - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/typescript-router/env.d.ts b/playground/typescript-router/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-router/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-router/index.html b/playground/typescript-router/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-router/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-router/package.json b/playground/typescript-router/package.json deleted file mode 100644 index fed99c44..00000000 --- a/playground/typescript-router/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "typescript-router", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "vue": "^3.2.26", - "vue-router": "^4.0.12" - }, - "devDependencies": { - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-router/public/favicon.ico b/playground/typescript-router/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-router/src/App.vue b/playground/typescript-router/src/App.vue deleted file mode 100644 index 7de68e9b..00000000 --- a/playground/typescript-router/src/App.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/playground/typescript-router/src/assets/base.css b/playground/typescript-router/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-router/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-router/src/assets/logo.svg b/playground/typescript-router/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-router/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-router/src/components/HelloWorld.vue b/playground/typescript-router/src/components/HelloWorld.vue deleted file mode 100644 index ca1ebfd6..00000000 --- a/playground/typescript-router/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-router/src/components/TheWelcome.vue b/playground/typescript-router/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-router/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-router/src/components/WelcomeItem.vue b/playground/typescript-router/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-router/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-router/src/components/icons/IconCommunity.vue b/playground/typescript-router/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-router/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router/src/components/icons/IconDocumentation.vue b/playground/typescript-router/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-router/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router/src/components/icons/IconEcosystem.vue b/playground/typescript-router/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-router/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router/src/components/icons/IconSupport.vue b/playground/typescript-router/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-router/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-router/src/components/icons/IconTooling.vue b/playground/typescript-router/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-router/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-router/src/main.ts b/playground/typescript-router/src/main.ts deleted file mode 100644 index c8e37b03..00000000 --- a/playground/typescript-router/src/main.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' -import router from './router' - -const app = createApp(App) - -app.use(router) - -app.mount('#app') diff --git a/playground/typescript-router/src/router/index.ts b/playground/typescript-router/src/router/index.ts deleted file mode 100644 index a49ae507..00000000 --- a/playground/typescript-router/src/router/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' - -const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), - routes: [ - { - path: '/', - name: 'home', - component: HomeView - }, - { - path: '/about', - name: 'about', - // route level code-splitting - // this generates a separate chunk (About.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import('../views/AboutView.vue') - } - ] -}) - -export default router diff --git a/playground/typescript-router/src/views/AboutView.vue b/playground/typescript-router/src/views/AboutView.vue deleted file mode 100644 index 756ad2a1..00000000 --- a/playground/typescript-router/src/views/AboutView.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/playground/typescript-router/src/views/HomeView.vue b/playground/typescript-router/src/views/HomeView.vue deleted file mode 100644 index 6555a646..00000000 --- a/playground/typescript-router/src/views/HomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/playground/typescript-router/tsconfig.json b/playground/typescript-router/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-router/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-router/vite.config.ts b/playground/typescript-router/vite.config.ts deleted file mode 100644 index 116273fb..00000000 --- a/playground/typescript-router/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript-with-tests/.gitignore b/playground/typescript-with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript-with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript-with-tests/.vscode/extensions.json b/playground/typescript-with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript-with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript-with-tests/README.md b/playground/typescript-with-tests/README.md deleted file mode 100644 index b4972f0f..00000000 --- a/playground/typescript-with-tests/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# typescript-with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/typescript-with-tests/cypress.json b/playground/typescript-with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/typescript-with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/typescript-with-tests/cypress/fixtures/example.json b/playground/typescript-with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/typescript-with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/typescript-with-tests/cypress/integration/example.spec.ts b/playground/typescript-with-tests/cypress/integration/example.spec.ts deleted file mode 100644 index 7a8c909f..00000000 --- a/playground/typescript-with-tests/cypress/integration/example.spec.ts +++ /dev/null @@ -1,8 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) -}) diff --git a/playground/typescript-with-tests/cypress/plugins/index.ts b/playground/typescript-with-tests/cypress/plugins/index.ts deleted file mode 100644 index 640496ba..00000000 --- a/playground/typescript-with-tests/cypress/plugins/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env node */ -/// -/// -// *********************************************************** -// This example plugins/index.ts can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -import { startDevServer } from '@cypress/vite-dev-server' - -export default ((on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -}) as Cypress.PluginConfig diff --git a/playground/typescript-with-tests/cypress/support/commands.ts b/playground/typescript-with-tests/cypress/support/commands.ts deleted file mode 100644 index 119ab03f..00000000 --- a/playground/typescript-with-tests/cypress/support/commands.ts +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/typescript-with-tests/cypress/support/index.ts b/playground/typescript-with-tests/cypress/support/index.ts deleted file mode 100644 index d68db96d..00000000 --- a/playground/typescript-with-tests/cypress/support/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/typescript-with-tests/cypress/tsconfig.json b/playground/typescript-with-tests/cypress/tsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/typescript-with-tests/cypress/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/typescript-with-tests/env.d.ts b/playground/typescript-with-tests/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript-with-tests/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript-with-tests/index.html b/playground/typescript-with-tests/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript-with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript-with-tests/package.json b/playground/typescript-with-tests/package.json deleted file mode 100644 index c4a81c48..00000000 --- a/playground/typescript-with-tests/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "typescript-with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "vue": "^3.2.26" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript-with-tests/public/favicon.ico b/playground/typescript-with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript-with-tests/src/App.vue b/playground/typescript-with-tests/src/App.vue deleted file mode 100644 index d91eefc4..00000000 --- a/playground/typescript-with-tests/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/typescript-with-tests/src/assets/base.css b/playground/typescript-with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript-with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript-with-tests/src/assets/logo.svg b/playground/typescript-with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript-with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript-with-tests/src/components/HelloWorld.vue b/playground/typescript-with-tests/src/components/HelloWorld.vue deleted file mode 100644 index b6542ced..00000000 --- a/playground/typescript-with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript-with-tests/src/components/TheWelcome.vue b/playground/typescript-with-tests/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript-with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript-with-tests/src/components/WelcomeItem.vue b/playground/typescript-with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript-with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-with-tests/src/components/__tests__/HelloWorld.spec.ts deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/typescript-with-tests/src/components/__tests__/HelloWorld.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/typescript-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript-with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript-with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript-with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript-with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript-with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript-with-tests/src/main.ts b/playground/typescript-with-tests/src/main.ts deleted file mode 100644 index 01433bca..00000000 --- a/playground/typescript-with-tests/src/main.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/playground/typescript-with-tests/tsconfig.json b/playground/typescript-with-tests/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript-with-tests/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript-with-tests/vite.config.ts b/playground/typescript-with-tests/vite.config.ts deleted file mode 100644 index 116273fb..00000000 --- a/playground/typescript-with-tests/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/typescript/.gitignore b/playground/typescript/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/typescript/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/typescript/.vscode/extensions.json b/playground/typescript/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/typescript/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/typescript/README.md b/playground/typescript/README.md deleted file mode 100644 index 5d2ef358..00000000 --- a/playground/typescript/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# typescript - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. - -However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette. - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` diff --git a/playground/typescript/env.d.ts b/playground/typescript/env.d.ts deleted file mode 100644 index 636d9c3f..00000000 --- a/playground/typescript/env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import { DefineComponent } from 'vue' - // eslint-disable-next-line - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/playground/typescript/index.html b/playground/typescript/index.html deleted file mode 100644 index 11603f87..00000000 --- a/playground/typescript/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/typescript/package.json b/playground/typescript/package.json deleted file mode 100644 index d702b1bf..00000000 --- a/playground/typescript/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "typescript", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "preview": "vite preview --port 5050", - "typecheck": "vue-tsc --noEmit" - }, - "dependencies": { - "vue": "^3.2.26" - }, - "devDependencies": { - "@types/node": "^16.11.17", - "@vitejs/plugin-vue": "^2.0.1", - "typescript": "~4.5.4", - "vite": "^2.7.7", - "vue-tsc": "^0.29.8" - } -} diff --git a/playground/typescript/public/favicon.ico b/playground/typescript/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/typescript/src/App.vue b/playground/typescript/src/App.vue deleted file mode 100644 index d91eefc4..00000000 --- a/playground/typescript/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/typescript/src/assets/base.css b/playground/typescript/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/typescript/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/typescript/src/assets/logo.svg b/playground/typescript/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/typescript/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/typescript/src/components/HelloWorld.vue b/playground/typescript/src/components/HelloWorld.vue deleted file mode 100644 index b6542ced..00000000 --- a/playground/typescript/src/components/HelloWorld.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/playground/typescript/src/components/TheWelcome.vue b/playground/typescript/src/components/TheWelcome.vue deleted file mode 100644 index ad88e8f9..00000000 --- a/playground/typescript/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/typescript/src/components/WelcomeItem.vue b/playground/typescript/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/typescript/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/typescript/src/components/icons/IconCommunity.vue b/playground/typescript/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/typescript/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript/src/components/icons/IconDocumentation.vue b/playground/typescript/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/typescript/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript/src/components/icons/IconEcosystem.vue b/playground/typescript/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/typescript/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript/src/components/icons/IconSupport.vue b/playground/typescript/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/typescript/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/typescript/src/components/icons/IconTooling.vue b/playground/typescript/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/typescript/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/typescript/src/main.ts b/playground/typescript/src/main.ts deleted file mode 100644 index 01433bca..00000000 --- a/playground/typescript/src/main.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/playground/typescript/tsconfig.json b/playground/typescript/tsconfig.json deleted file mode 100644 index 8c707192..00000000 --- a/playground/typescript/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "isolatedModules": true, - "strict": true, - "jsx": "preserve", - "sourceMap": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "paths": { - "@/*": ["src/*"] - }, - "lib": ["esnext", "dom", "dom.iterable", "scripthost"], - "skipLibCheck": true - }, - "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/playground/typescript/vite.config.ts b/playground/typescript/vite.config.ts deleted file mode 100644 index 116273fb..00000000 --- a/playground/typescript/vite.config.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) diff --git a/playground/with-tests/.gitignore b/playground/with-tests/.gitignore deleted file mode 100644 index 37924fe1..00000000 --- a/playground/with-tests/.gitignore +++ /dev/null @@ -1,27 +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 -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/playground/with-tests/.vscode/extensions.json b/playground/with-tests/.vscode/extensions.json deleted file mode 100644 index 3dc5b08b..00000000 --- a/playground/with-tests/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["johnsoncodehk.volar"] -} diff --git a/playground/with-tests/README.md b/playground/with-tests/README.md deleted file mode 100644 index ea2966b7..00000000 --- a/playground/with-tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ -# with-tests - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur). - -## Customize configuration - -See [Vite Configuration Reference](https://vitejs.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Compile and Minify for Production - -```sh -pnpm build -``` - -### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) - -```sh -pnpm test:unit # or `pnpm test:unit:ci` for headless testing -``` - -### Run End-to-End Tests with [Cypress](https://www.cypress.io/) - -```sh -pnpm build -pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing -``` diff --git a/playground/with-tests/cypress.json b/playground/with-tests/cypress.json deleted file mode 100644 index 3d372252..00000000 --- a/playground/with-tests/cypress.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseUrl": "http://localhost:5050", - "component": { - "componentFolder": "src", - "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}" - } -} diff --git a/playground/with-tests/cypress/fixtures/example.json b/playground/with-tests/cypress/fixtures/example.json deleted file mode 100644 index 02e42543..00000000 --- a/playground/with-tests/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/playground/with-tests/cypress/integration/example.spec.js b/playground/with-tests/cypress/integration/example.spec.js deleted file mode 100644 index 7a8c909f..00000000 --- a/playground/with-tests/cypress/integration/example.spec.js +++ /dev/null @@ -1,8 +0,0 @@ -// https://docs.cypress.io/api/introduction/api.html - -describe('My First Test', () => { - it('visits the app root url', () => { - cy.visit('/') - cy.contains('h1', 'You did it!') - }) -}) diff --git a/playground/with-tests/cypress/jsconfig.json b/playground/with-tests/cypress/jsconfig.json deleted file mode 100644 index b5b2f972..00000000 --- a/playground/with-tests/cypress/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["es5", "dom"], - "types": ["cypress"] - }, - "include": ["./**/*"] -} diff --git a/playground/with-tests/cypress/plugins/index.js b/playground/with-tests/cypress/plugins/index.js deleted file mode 100644 index db04a79b..00000000 --- a/playground/with-tests/cypress/plugins/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* eslint-env node */ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const { startDevServer } = require('@cypress/vite-dev-server') - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - on('dev-server:start', (options) => { - return startDevServer({ options }) - }) - return config -} diff --git a/playground/with-tests/cypress/support/commands.js b/playground/with-tests/cypress/support/commands.js deleted file mode 100644 index 119ab03f..00000000 --- a/playground/with-tests/cypress/support/commands.js +++ /dev/null @@ -1,25 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/playground/with-tests/cypress/support/index.js b/playground/with-tests/cypress/support/index.js deleted file mode 100644 index d68db96d..00000000 --- a/playground/with-tests/cypress/support/index.js +++ /dev/null @@ -1,20 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands' - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/playground/with-tests/index.html b/playground/with-tests/index.html deleted file mode 100644 index 030a6ff5..00000000 --- a/playground/with-tests/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/playground/with-tests/package.json b/playground/with-tests/package.json deleted file mode 100644 index a66f99fb..00000000 --- a/playground/with-tests/package.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "with-tests", - "version": "0.0.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview --port 5050", - "test:unit": "cypress open-ct", - "test:unit:ci": "cypress run-ct --quiet --reporter spec", - "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'", - "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'" - }, - "dependencies": { - "vue": "^3.2.26" - }, - "devDependencies": { - "@cypress/vite-dev-server": "^2.2.2", - "@cypress/vue": "^3.1.0", - "@vitejs/plugin-vue": "^2.0.1", - "cypress": "^9.2.0", - "start-server-and-test": "^1.14.0", - "vite": "^2.7.7" - } -} diff --git a/playground/with-tests/public/favicon.ico b/playground/with-tests/public/favicon.ico deleted file mode 100644 index df36fcfb72584e00488330b560ebcf34a41c64c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 4286 zc-q~UO-NKx6vyu*Vj+`4)S?!;bXAL*8OO4jfgrOFtOP;wW2`J?iWIaDl9|3-1{t(4 zS0U0O3ZqC{nTsL8l}k73B3CX35*lQf+xfqDUcI^RK2sYf=ncQ&&bjBD|2^m4dGkgH z54|cY1>VK$av}B!A*u*6iLfy3##JubeV8fe8d$HC7-vcgrEjafnfSpp z7pe!Wv!9qDBs0UdLe+kc$lCO?Y}>XT*t8E43pQ4+E$sux?IOl>wcmbTE8EWa3@~=-!5HV* zYV8+@RaHCjHY_`%)v~qDXMizmnl-F)j!pG|{r3{ny4ri69Fwi5d^y18(t~Nvwb|Nx zh>WT|Fcy-Rn*wI-mOhPP!<=Rf8P2t#9R!(}OH)*|iT5OOAW|$B2ye1a;^AJJsDlb^(kr+0->47CAIMSYl0Rmk=YW z&*RS#dFMr~Y(MAMow3o5#=y?#dA|S{!>0Nn7CDehvxX7YZgMJuSC*<)|>2qR-2@}Ny=kqhHQP;qrn{=7X!b} zFUGK84nFo6>?w0HA&@;8$aZ>+b*d+EdxFXhOA>MX{ds~2p>oZ^ohvEHDO z)1gD!|N4Klw61Ji%1p>4U15?clX9`dWU9y{;gJ$yL{^A6$OsVvX(1|7LX?3;AxglM T5Je#2NqB@O!Jnp#S;+nbsq**E diff --git a/playground/with-tests/src/App.vue b/playground/with-tests/src/App.vue deleted file mode 100644 index b0b6901b..00000000 --- a/playground/with-tests/src/App.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/playground/with-tests/src/assets/base.css b/playground/with-tests/src/assets/base.css deleted file mode 100644 index 71dc55a3..00000000 --- a/playground/with-tests/src/assets/base.css +++ /dev/null @@ -1,74 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - position: relative; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - 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-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/playground/with-tests/src/assets/logo.svg b/playground/with-tests/src/assets/logo.svg deleted file mode 100644 index bc826fed..00000000 --- a/playground/with-tests/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/playground/with-tests/src/components/HelloWorld.vue b/playground/with-tests/src/components/HelloWorld.vue deleted file mode 100644 index e9cf262c..00000000 --- a/playground/with-tests/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/playground/with-tests/src/components/TheWelcome.vue b/playground/with-tests/src/components/TheWelcome.vue deleted file mode 100644 index 3ab0f18f..00000000 --- a/playground/with-tests/src/components/TheWelcome.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/playground/with-tests/src/components/WelcomeItem.vue b/playground/with-tests/src/components/WelcomeItem.vue deleted file mode 100644 index ba0def33..00000000 --- a/playground/with-tests/src/components/WelcomeItem.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/playground/with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/with-tests/src/components/__tests__/HelloWorld.spec.js deleted file mode 100644 index a69f3a9d..00000000 --- a/playground/with-tests/src/components/__tests__/HelloWorld.spec.js +++ /dev/null @@ -1,13 +0,0 @@ -import { mount } from '@cypress/vue' -import HelloWorld from '../HelloWorld.vue' - -describe('HelloWorld', () => { - it('playground', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - }) - - it('renders properly', () => { - mount(HelloWorld, { props: { msg: 'Hello Cypress' } }) - cy.get('h1').should('contain', 'Hello Cypress') - }) -}) diff --git a/playground/with-tests/src/components/icons/IconCommunity.vue b/playground/with-tests/src/components/icons/IconCommunity.vue deleted file mode 100644 index 2dc8b055..00000000 --- a/playground/with-tests/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/with-tests/src/components/icons/IconDocumentation.vue b/playground/with-tests/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 6d4791cf..00000000 --- a/playground/with-tests/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/with-tests/src/components/icons/IconEcosystem.vue b/playground/with-tests/src/components/icons/IconEcosystem.vue deleted file mode 100644 index c3a4f078..00000000 --- a/playground/with-tests/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/with-tests/src/components/icons/IconSupport.vue b/playground/with-tests/src/components/icons/IconSupport.vue deleted file mode 100644 index 7452834d..00000000 --- a/playground/with-tests/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/playground/with-tests/src/components/icons/IconTooling.vue b/playground/with-tests/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d7..00000000 --- a/playground/with-tests/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/playground/with-tests/src/main.js b/playground/with-tests/src/main.js deleted file mode 100644 index 01433bca..00000000 --- a/playground/with-tests/src/main.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createApp } from 'vue' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/playground/with-tests/vite.config.js b/playground/with-tests/vite.config.js deleted file mode 100644 index 116273fb..00000000 --- a/playground/with-tests/vite.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { fileURLToPath, URL } from 'url' - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } -}) -- 2.39.5