From 8de8b0353dd2d8ad60c317045fb354693dbc2350 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Tue, 7 Sep 2021 16:39:12 +0800 Subject: [PATCH] chore: regenerate the playground projects --- index.js | 47 +-- playground/default/README.md | 6 +- playground/default/src/App.vue | 85 +--- playground/default/src/assets/base.css | 20 +- playground/default/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- playground/default/src/components/Welcome.vue | 84 ++++ .../{IntroductionItem.vue => WelcomeItem.vue} | 0 .../{Community.vue => IconCommunity.vue} | 0 ...ocumentation.vue => IconDocumentation.vue} | 0 .../{Ecosystem.vue => IconEcosystem.vue} | 0 .../icons/{Support.vue => IconSupport.vue} | 0 .../icons/{Tooling.vue => IconTooling.vue} | 0 .../default/src/components/icons/Moon.vue | 18 - .../default/src/components/icons/Sun.vue | 34 -- .../default/src/composables/useColorScheme.js | 31 -- .../default/src/composables/useMediaQuery.js | 28 -- .../jsx-router-vuex-with-tests/README.md | 10 +- .../jsx-router-vuex-with-tests/src/App.vue | 2 - .../src/assets/base.css | 18 +- .../src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../src/components/Welcome.vue | 84 ++++ .../{IntroductionItem.vue => WelcomeItem.vue} | 0 .../__tests__/ColorSchemeSwitch.spec.js | 34 -- .../{Community.vue => IconCommunity.vue} | 0 ...ocumentation.vue => IconDocumentation.vue} | 0 .../{Ecosystem.vue => IconEcosystem.vue} | 0 .../icons/{Support.vue => IconSupport.vue} | 0 .../icons/{Tooling.vue => IconTooling.vue} | 0 .../src/components/icons/Moon.vue | 18 - .../src/components/icons/Sun.vue | 34 -- .../__tests__/useMediaQuery.spec.js | 33 -- .../src/composables/useColorScheme.js | 31 -- .../src/composables/useMediaQuery.js | 28 -- .../src/views/Home.vue | 85 +--- playground/jsx-router-vuex/README.md | 6 +- playground/jsx-router-vuex/src/App.vue | 2 - .../jsx-router-vuex/src/assets/base.css | 18 +- .../jsx-router-vuex/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../src/components/Welcome.vue | 84 ++++ .../{IntroductionItem.vue => WelcomeItem.vue} | 0 .../{Community.vue => IconCommunity.vue} | 0 ...ocumentation.vue => IconDocumentation.vue} | 0 .../{Ecosystem.vue => IconEcosystem.vue} | 0 .../icons/{Support.vue => IconSupport.vue} | 0 .../icons/{Tooling.vue => IconTooling.vue} | 0 .../src/components/icons/Moon.vue | 18 - .../src/components/icons/Sun.vue | 34 -- .../src/composables/useColorScheme.js | 31 -- .../src/composables/useMediaQuery.js | 28 -- playground/jsx-router-vuex/src/views/Home.vue | 85 +--- playground/jsx-router-with-tests/.gitignore | 27 ++ playground/jsx-router-with-tests/README.md | 41 ++ 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 | 28 ++ .../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 | 28 ++ .../jsx-router-with-tests/public/favicon.ico | Bin 0 -> 4286 bytes playground/jsx-router-with-tests/src/App.vue | 118 ++++++ .../jsx-router-with-tests/src/assets/base.css | 74 ++++ .../jsx-router-with-tests/src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 44 ++ .../src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../components/__tests__/HelloWorld.spec.js | 13 + .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 playground/jsx-router-with-tests/src/main.js | 9 + .../jsx-router-with-tests/src/router/index.js | 25 ++ .../jsx-router-with-tests/src/views/About.vue | 15 + .../jsx-router-with-tests/src/views/Home.vue | 9 + .../jsx-router-with-tests/vite.config.js | 13 + playground/jsx-router/README.md | 6 +- playground/jsx-router/src/App.vue | 2 - playground/jsx-router/src/assets/base.css | 18 +- playground/jsx-router/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../jsx-router/src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 .../jsx-router/src/components/icons/Moon.vue | 18 - .../jsx-router/src/components/icons/Sun.vue | 34 -- .../src/composables/useColorScheme.js | 31 -- .../src/composables/useMediaQuery.js | 28 -- playground/jsx-router/src/views/Home.vue | 85 +--- playground/jsx-vuex-with-tests/.gitignore | 27 ++ playground/jsx-vuex-with-tests/README.md | 41 ++ playground/jsx-vuex-with-tests/cypress.json | 7 + .../cypress/fixtures/example.json | 5 + .../cypress/integration/example.spec.js | 8 + .../jsx-vuex-with-tests/cypress/jsconfig.json | 8 + .../cypress/plugins/index.js | 28 ++ .../cypress/support/commands.js | 25 ++ .../cypress/support/index.js | 20 + playground/jsx-vuex-with-tests/index.html | 13 + playground/jsx-vuex-with-tests/package.json | 28 ++ .../jsx-vuex-with-tests/public/favicon.ico | Bin 0 -> 4286 bytes playground/jsx-vuex-with-tests/src/App.vue | 81 ++++ .../jsx-vuex-with-tests/src/assets/base.css | 74 ++++ .../jsx-vuex-with-tests/src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 44 ++ .../src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../components/__tests__/HelloWorld.spec.js | 13 + .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 playground/jsx-vuex-with-tests/src/main.js | 9 + .../jsx-vuex-with-tests/src/store/index.js | 8 + playground/jsx-vuex-with-tests/vite.config.js | 13 + playground/jsx-vuex/.gitignore | 27 ++ playground/jsx-vuex/README.md | 29 ++ playground/jsx-vuex/index.html | 13 + playground/jsx-vuex/package.json | 20 + playground/jsx-vuex/public/favicon.ico | Bin 0 -> 4286 bytes playground/jsx-vuex/src/App.vue | 81 ++++ playground/jsx-vuex/src/assets/base.css | 74 ++++ playground/jsx-vuex/src/assets/logo.svg | 1 + .../jsx-vuex/src/components/HelloWorld.vue | 44 ++ .../jsx-vuex/src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 playground/jsx-vuex/src/main.js | 9 + playground/jsx-vuex/src/store/index.js | 8 + playground/jsx-vuex/vite.config.js | 13 + playground/jsx-with-tests/.gitignore | 27 ++ playground/jsx-with-tests/README.md | 41 ++ 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 | 28 ++ .../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 | 27 ++ playground/jsx-with-tests/public/favicon.ico | Bin 0 -> 4286 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 | 44 ++ .../jsx-with-tests/src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../components/__tests__/HelloWorld.spec.js | 13 + .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 playground/jsx-with-tests/src/main.js | 4 + playground/jsx-with-tests/vite.config.js | 13 + playground/jsx/README.md | 6 +- playground/jsx/jsconfig.json | 20 - playground/jsx/src/App.vue | 85 +--- playground/jsx/src/assets/base.css | 20 +- playground/jsx/src/assets/logo.png | Bin 6849 -> 0 bytes .../jsx/src/components/ColorSchemeSwitch.vue | 137 ------- playground/jsx/src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 playground/jsx/src/components/icons/Moon.vue | 18 - playground/jsx/src/components/icons/Sun.vue | 34 -- .../jsx/src/composables/useColorScheme.js | 31 -- .../jsx/src/composables/useMediaQuery.js | 28 -- playground/router-vuex-with-tests/README.md | 10 +- .../router-vuex-with-tests/jsconfig.json | 20 - playground/router-vuex-with-tests/src/App.vue | 2 - .../src/assets/base.css | 18 +- .../src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../__tests__/ColorSchemeSwitch.spec.js | 34 -- .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 .../src/components/icons/Moon.vue | 18 - .../src/components/icons/Sun.vue | 34 -- .../__tests__/useMediaQuery.spec.js | 33 -- .../src/composables/useColorScheme.js | 31 -- .../src/composables/useMediaQuery.js | 28 -- .../router-vuex-with-tests/src/views/Home.vue | 85 +--- playground/router-vuex/README.md | 6 +- playground/router-vuex/jsconfig.json | 20 - playground/router-vuex/src/App.vue | 2 - playground/router-vuex/src/assets/base.css | 18 +- playground/router-vuex/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../router-vuex/src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 .../router-vuex/src/components/icons/Moon.vue | 18 - .../router-vuex/src/components/icons/Sun.vue | 34 -- .../src/composables/useColorScheme.js | 31 -- .../src/composables/useMediaQuery.js | 28 -- playground/router-vuex/src/views/Home.vue | 85 +--- playground/router-with-tests/.gitignore | 27 ++ playground/router-with-tests/README.md | 41 ++ 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 | 28 ++ .../cypress/support/commands.js | 25 ++ .../cypress/support/index.js | 20 + playground/router-with-tests/index.html | 13 + playground/router-with-tests/package.json | 27 ++ .../router-with-tests/public/favicon.ico | Bin 0 -> 4286 bytes playground/router-with-tests/src/App.vue | 118 ++++++ .../router-with-tests/src/assets/base.css | 74 ++++ .../router-with-tests/src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 44 ++ .../src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../components/__tests__/HelloWorld.spec.js | 13 + .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 playground/router-with-tests/src/main.js | 9 + .../router-with-tests/src/router/index.js | 25 ++ .../router-with-tests/src/views/About.vue | 15 + .../router-with-tests/src/views/Home.vue | 9 + playground/router-with-tests/vite.config.js | 12 + playground/router/README.md | 6 +- playground/router/jsconfig.json | 20 - playground/router/src/App.vue | 2 - playground/router/src/assets/base.css | 18 +- playground/router/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- playground/router/src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 .../router/src/components/icons/Moon.vue | 18 - .../router/src/components/icons/Sun.vue | 34 -- .../router/src/composables/useColorScheme.js | 31 -- .../router/src/composables/useMediaQuery.js | 28 -- playground/router/src/views/Home.vue | 85 +--- .../README.md | 10 +- .../env.d.ts} | 0 .../src/App.vue | 2 - .../src/assets/base.css | 18 +- .../src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../src/components/HelloWorld.vue | 2 +- .../src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../__tests__/ColorSchemeSwitch.spec.ts | 34 -- .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 .../src/components/icons/Moon.vue | 18 - .../src/components/icons/Sun.vue | 34 -- .../__tests__/useMediaQuery.spec.ts | 33 -- .../src/composables/useColorScheme.ts | 31 -- .../src/composables/useMediaQuery.ts | 28 -- .../src/views/Home.vue | 83 +--- .../tsconfig.json | 2 +- .../typescript-jsx-router-vuex/README.md | 6 +- .../env.d.ts} | 0 .../typescript-jsx-router-vuex/src/App.vue | 2 - .../src/assets/base.css | 18 +- .../src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../src/components/HelloWorld.vue | 2 +- .../src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 .../src/components/icons/Moon.vue | 18 - .../src/components/icons/Sun.vue | 34 -- .../src/composables/useColorScheme.ts | 31 -- .../src/composables/useMediaQuery.ts | 28 -- .../src/views/Home.vue | 83 +--- .../typescript-jsx-router-vuex/tsconfig.json | 2 +- .../.gitignore | 27 ++ .../README.md | 47 +++ .../cypress.json | 7 + .../cypress/fixtures/example.json | 5 + .../cypress/integration/example.spec.ts | 13 + .../cypress/plugins/index.ts | 28 ++ .../cypress/support/commands.ts | 25 ++ .../cypress/support/index.ts | 20 + .../cypress/tsconfig.json | 8 + .../env.d.ts} | 0 .../index.html | 13 + .../package.json | 31 ++ .../public/favicon.ico | Bin 0 -> 4286 bytes .../src/App.vue | 118 ++++++ .../src/assets/base.css | 74 ++++ .../src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue} | 0 .../components/__tests__/HelloWorld.spec.ts | 13 + .../src/components/icons/IconCommunity.vue} | 0 .../components/icons/IconDocumentation.vue} | 0 .../src/components/icons/IconEcosystem.vue} | 0 .../src/components/icons/IconSupport.vue} | 0 .../src/components/icons/IconTooling.vue} | 0 .../src/main.ts | 9 + .../src/router/index.ts | 27 ++ .../src/views/About.vue | 15 + .../src/views/Home.vue | 9 + .../tsconfig.json} | 2 +- .../vite.config.ts | 13 + playground/typescript-jsx-router/README.md | 6 +- .../env.d.ts} | 0 playground/typescript-jsx-router/src/App.vue | 2 - .../typescript-jsx-router/src/assets/base.css | 18 +- .../typescript-jsx-router/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../src/components/HelloWorld.vue | 2 +- .../src/components/Welcome.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 + .../src/components/icons/Moon.vue | 18 - .../src/components/icons/Sun.vue | 34 -- .../src/composables/useColorScheme.ts | 31 -- .../src/composables/useMediaQuery.ts | 28 -- .../typescript-jsx-router/src/views/Home.vue | 83 +--- .../typescript-jsx-router/tsconfig.json | 2 +- .../typescript-jsx-vuex-with-tests/.gitignore | 27 ++ .../typescript-jsx-vuex-with-tests/README.md | 47 +++ .../cypress.json | 7 + .../cypress/fixtures/example.json | 5 + .../cypress/integration/example.spec.ts | 8 + .../cypress/plugins/index.ts | 28 ++ .../cypress/support/commands.ts | 25 ++ .../cypress/support/index.ts | 20 + .../cypress/tsconfig.json | 8 + .../env.d.ts} | 0 .../typescript-jsx-vuex-with-tests/index.html | 13 + .../package.json | 31 ++ .../public/favicon.ico | Bin 0 -> 4286 bytes .../src/App.vue | 81 ++++ .../src/assets/base.css | 74 ++++ .../src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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/store/index.ts | 8 + .../tsconfig.json} | 2 +- .../vite.config.ts | 13 + playground/typescript-jsx-vuex/.gitignore | 27 ++ playground/typescript-jsx-vuex/README.md | 35 ++ .../env.d.ts} | 0 playground/typescript-jsx-vuex/index.html | 13 + playground/typescript-jsx-vuex/package.json | 23 ++ .../typescript-jsx-vuex/public/favicon.ico | Bin 0 -> 4286 bytes playground/typescript-jsx-vuex/src/App.vue | 81 ++++ .../typescript-jsx-vuex/src/assets/base.css | 74 ++++ .../typescript-jsx-vuex/src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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-vuex/src/main.ts | 9 + .../typescript-jsx-vuex/src/store/index.ts | 8 + .../tsconfig.json} | 2 +- playground/typescript-jsx-vuex/vite.config.ts | 13 + .../typescript-jsx-with-tests/.gitignore | 27 ++ .../typescript-jsx-with-tests/README.md | 47 +++ .../typescript-jsx-with-tests/cypress.json | 7 + .../cypress/fixtures/example.json | 5 + .../cypress/integration/example.spec.ts | 8 + .../cypress/plugins/index.ts | 28 ++ .../cypress/support/commands.ts | 25 ++ .../cypress/support/index.ts | 20 + .../cypress/tsconfig.json | 8 + .../env.d.ts} | 0 .../typescript-jsx-with-tests/index.html | 13 + .../typescript-jsx-with-tests/package.json | 30 ++ .../public/favicon.ico | Bin 0 -> 4286 bytes .../typescript-jsx-with-tests/src/App.vue | 81 ++++ .../src/assets/base.css | 74 ++++ .../src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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 + .../tsconfig.json} | 2 +- .../typescript-jsx-with-tests/vite.config.ts | 13 + playground/typescript-jsx/README.md | 6 +- .../vite-env.d.ts => typescript-jsx/env.d.ts} | 0 playground/typescript-jsx/src/App.vue | 85 +--- playground/typescript-jsx/src/assets/base.css | 20 +- playground/typescript-jsx/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../typescript-jsx/src/components/Welcome.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 + .../src/components/icons/Moon.vue | 18 - .../src/components/icons/Sun.vue | 34 -- .../src/composables/useColorScheme.ts | 31 -- .../src/composables/useMediaQuery.ts | 28 -- playground/typescript-jsx/tsconfig.json | 2 +- .../.gitignore | 27 ++ .../README.md | 47 +++ .../cypress.json | 7 + .../cypress/fixtures/example.json | 5 + .../cypress/integration/example.spec.ts | 13 + .../cypress/plugins/index.ts | 28 ++ .../cypress/support/commands.ts | 25 ++ .../cypress/support/index.ts | 20 + .../cypress/tsconfig.json | 8 + .../env.d.ts} | 0 .../index.html | 13 + .../package.json | 31 ++ .../public/favicon.ico | Bin 0 -> 4286 bytes .../src/App.vue | 118 ++++++ .../src/assets/base.css | 74 ++++ .../src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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 | 27 ++ .../src/store/index.ts | 8 + .../src/views/About.vue | 15 + .../src/views/Home.vue | 9 + .../tsconfig.json | 20 + .../vite.config.ts | 12 + playground/typescript-router-vuex/.gitignore | 27 ++ playground/typescript-router-vuex/README.md | 35 ++ .../env.d.ts} | 0 playground/typescript-router-vuex/index.html | 13 + .../typescript-router-vuex/package.json | 23 ++ .../typescript-router-vuex/public/favicon.ico | Bin 0 -> 4286 bytes playground/typescript-router-vuex/src/App.vue | 118 ++++++ .../src/assets/base.css | 74 ++++ .../src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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-vuex/src/main.ts | 12 + .../src/router/index.ts | 27 ++ .../typescript-router-vuex/src/store/index.ts | 8 + .../src/views/About.vue | 15 + .../typescript-router-vuex/src/views/Home.vue | 9 + .../typescript-router-vuex/tsconfig.json | 20 + .../typescript-router-vuex/vite.config.ts | 12 + .../typescript-router-with-tests/.gitignore | 27 ++ .../typescript-router-with-tests/README.md | 47 +++ .../typescript-router-with-tests/cypress.json | 7 + .../cypress/fixtures/example.json | 5 + .../cypress/integration/example.spec.ts | 13 + .../cypress/plugins/index.ts | 28 ++ .../cypress/support/commands.ts | 25 ++ .../cypress/support/index.ts | 20 + .../cypress/tsconfig.json | 8 + .../env.d.ts} | 0 .../typescript-router-with-tests/index.html | 13 + .../typescript-router-with-tests/package.json | 30 ++ .../public/favicon.ico | Bin 0 -> 4286 bytes .../typescript-router-with-tests/src/App.vue | 118 ++++++ .../src/assets/base.css | 74 ++++ .../src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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 | 27 ++ .../src/views/About.vue | 15 + .../src/views/Home.vue | 9 + .../tsconfig.json | 20 + .../vite.config.ts | 12 + playground/typescript-router/.gitignore | 27 ++ playground/typescript-router/README.md | 35 ++ .../env.d.ts} | 0 playground/typescript-router/index.html | 13 + playground/typescript-router/package.json | 22 + .../typescript-router/public/favicon.ico | Bin 0 -> 4286 bytes playground/typescript-router/src/App.vue | 118 ++++++ .../typescript-router/src/assets/base.css | 74 ++++ .../typescript-router/src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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 | 27 ++ .../typescript-router/src/views/About.vue | 15 + .../typescript-router/src/views/Home.vue | 9 + playground/typescript-router/tsconfig.json | 20 + playground/typescript-router/vite.config.ts | 12 + .../typescript-vuex-with-tests/.gitignore | 27 ++ .../typescript-vuex-with-tests/README.md | 47 +++ .../typescript-vuex-with-tests/cypress.json | 7 + .../cypress/fixtures/example.json | 5 + .../cypress/integration/example.spec.ts | 8 + .../cypress/plugins/index.ts | 28 ++ .../cypress/support/commands.ts | 25 ++ .../cypress/support/index.ts | 20 + .../cypress/tsconfig.json | 8 + .../env.d.ts} | 0 .../typescript-vuex-with-tests/index.html | 13 + .../typescript-vuex-with-tests/package.json | 30 ++ .../public/favicon.ico | Bin 0 -> 4286 bytes .../typescript-vuex-with-tests/src/App.vue | 81 ++++ .../src/assets/base.css | 74 ++++ .../src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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-vuex-with-tests/src/main.ts | 9 + .../src/store/index.ts | 8 + .../typescript-vuex-with-tests/tsconfig.json | 20 + .../typescript-vuex-with-tests/vite.config.ts | 12 + playground/typescript-vuex/.gitignore | 27 ++ playground/typescript-vuex/README.md | 35 ++ .../env.d.ts} | 0 playground/typescript-vuex/index.html | 13 + playground/typescript-vuex/package.json | 22 + playground/typescript-vuex/public/favicon.ico | Bin 0 -> 4286 bytes playground/typescript-vuex/src/App.vue | 81 ++++ .../typescript-vuex/src/assets/base.css | 74 ++++ .../typescript-vuex/src/assets/logo.svg | 1 + .../src/components/HelloWorld.vue | 41 ++ .../src/components/Welcome.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-vuex/src/main.ts | 9 + playground/typescript-vuex/src/store/index.ts | 8 + playground/typescript-vuex/tsconfig.json | 20 + playground/typescript-vuex/vite.config.ts | 12 + playground/typescript-with-tests/.gitignore | 27 ++ playground/typescript-with-tests/README.md | 47 +++ playground/typescript-with-tests/cypress.json | 7 + .../cypress/fixtures/example.json | 5 + .../cypress/integration/example.spec.ts | 8 + .../cypress/plugins/index.ts | 28 ++ .../cypress/support/commands.ts | 25 ++ .../cypress/support/index.ts | 20 + .../cypress/tsconfig.json | 8 + .../env.d.ts} | 0 playground/typescript-with-tests/index.html | 13 + playground/typescript-with-tests/package.json | 29 ++ .../typescript-with-tests/public/favicon.ico | Bin 0 -> 4286 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 | 41 ++ .../src/components/Welcome.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 | 20 + .../typescript-with-tests/vite.config.ts | 12 + playground/typescript/README.md | 6 +- .../vite-env.d.ts => typescript/env.d.ts} | 0 playground/typescript/src/App.vue | 85 +--- playground/typescript/src/assets/base.css | 20 +- playground/typescript/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../typescript/src/components/Welcome.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 + .../typescript/src/components/icons/Moon.vue | 18 - .../typescript/src/components/icons/Sun.vue | 34 -- .../src/composables/useColorScheme.ts | 31 -- .../src/composables/useMediaQuery.ts | 28 -- playground/typescript/tsconfig.json | 2 +- playground/vuex-with-tests/README.md | 10 +- playground/vuex-with-tests/jsconfig.json | 20 - playground/vuex-with-tests/src/App.vue | 85 +--- .../vuex-with-tests/src/assets/base.css | 20 +- .../vuex-with-tests/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../src/components/Welcome.vue | 84 ++++ .../src/components/WelcomeItem.vue | 86 ++++ .../__tests__/ColorSchemeSwitch.spec.js | 34 -- .../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/components/icons/Moon.vue | 18 - .../src/components/icons/Sun.vue | 34 -- .../__tests__/useMediaQuery.spec.js | 33 -- .../src/composables/useColorScheme.js | 31 -- .../src/composables/useMediaQuery.js | 28 -- playground/vuex/README.md | 6 +- playground/vuex/jsconfig.json | 20 - playground/vuex/src/App.vue | 85 +--- playground/vuex/src/assets/base.css | 20 +- playground/vuex/src/assets/logo.png | Bin 6849 -> 0 bytes .../vuex/src/components/ColorSchemeSwitch.vue | 137 ------- playground/vuex/src/components/Welcome.vue | 84 ++++ .../vuex/src/components/WelcomeItem.vue | 86 ++++ .../src/components/icons/IconCommunity.vue | 7 + .../components/icons/IconDocumentation.vue | 7 + .../src/components/icons/IconEcosystem.vue | 7 + .../vuex/src/components/icons/IconSupport.vue | 7 + .../vuex/src/components/icons/IconTooling.vue | 19 + playground/vuex/src/components/icons/Moon.vue | 18 - playground/vuex/src/components/icons/Sun.vue | 34 -- .../vuex/src/composables/useColorScheme.js | 31 -- .../vuex/src/composables/useMediaQuery.js | 28 -- playground/with-tests/README.md | 10 +- playground/with-tests/jsconfig.json | 20 - playground/with-tests/src/App.vue | 85 +--- playground/with-tests/src/assets/base.css | 20 +- playground/with-tests/src/assets/logo.png | Bin 6849 -> 0 bytes .../src/components/ColorSchemeSwitch.vue | 137 ------- .../with-tests/src/components/Welcome.vue | 84 ++++ .../with-tests/src/components/WelcomeItem.vue | 86 ++++ .../__tests__/ColorSchemeSwitch.spec.js | 34 -- .../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 + .../with-tests/src/components/icons/Moon.vue | 18 - .../with-tests/src/components/icons/Sun.vue | 34 -- .../__tests__/useMediaQuery.spec.js | 33 -- .../src/composables/useColorScheme.js | 31 -- .../src/composables/useMediaQuery.js | 28 -- pnpm-lock.yaml | 386 ++++++++++++++++++ 724 files changed, 12819 insertions(+), 6018 deletions(-) delete mode 100644 playground/default/src/assets/logo.png delete mode 100644 playground/default/src/components/ColorSchemeSwitch.vue create mode 100644 playground/default/src/components/Welcome.vue rename playground/default/src/components/{IntroductionItem.vue => WelcomeItem.vue} (100%) rename playground/default/src/components/icons/{Community.vue => IconCommunity.vue} (100%) rename playground/default/src/components/icons/{Documentation.vue => IconDocumentation.vue} (100%) rename playground/default/src/components/icons/{Ecosystem.vue => IconEcosystem.vue} (100%) rename playground/default/src/components/icons/{Support.vue => IconSupport.vue} (100%) rename playground/default/src/components/icons/{Tooling.vue => IconTooling.vue} (100%) delete mode 100644 playground/default/src/components/icons/Moon.vue delete mode 100644 playground/default/src/components/icons/Sun.vue delete mode 100644 playground/default/src/composables/useColorScheme.js delete mode 100644 playground/default/src/composables/useMediaQuery.js delete mode 100644 playground/jsx-router-vuex-with-tests/src/assets/logo.png delete mode 100644 playground/jsx-router-vuex-with-tests/src/components/ColorSchemeSwitch.vue create mode 100644 playground/jsx-router-vuex-with-tests/src/components/Welcome.vue rename playground/jsx-router-vuex-with-tests/src/components/{IntroductionItem.vue => WelcomeItem.vue} (100%) delete mode 100644 playground/jsx-router-vuex-with-tests/src/components/__tests__/ColorSchemeSwitch.spec.js rename playground/jsx-router-vuex-with-tests/src/components/icons/{Community.vue => IconCommunity.vue} (100%) rename playground/jsx-router-vuex-with-tests/src/components/icons/{Documentation.vue => IconDocumentation.vue} (100%) rename playground/jsx-router-vuex-with-tests/src/components/icons/{Ecosystem.vue => IconEcosystem.vue} (100%) rename playground/jsx-router-vuex-with-tests/src/components/icons/{Support.vue => IconSupport.vue} (100%) rename playground/jsx-router-vuex-with-tests/src/components/icons/{Tooling.vue => IconTooling.vue} (100%) delete mode 100644 playground/jsx-router-vuex-with-tests/src/components/icons/Moon.vue delete mode 100644 playground/jsx-router-vuex-with-tests/src/components/icons/Sun.vue delete mode 100644 playground/jsx-router-vuex-with-tests/src/composables/__tests__/useMediaQuery.spec.js delete mode 100644 playground/jsx-router-vuex-with-tests/src/composables/useColorScheme.js delete mode 100644 playground/jsx-router-vuex-with-tests/src/composables/useMediaQuery.js delete mode 100644 playground/jsx-router-vuex/src/assets/logo.png delete mode 100644 playground/jsx-router-vuex/src/components/ColorSchemeSwitch.vue create mode 100644 playground/jsx-router-vuex/src/components/Welcome.vue rename playground/jsx-router-vuex/src/components/{IntroductionItem.vue => WelcomeItem.vue} (100%) rename playground/jsx-router-vuex/src/components/icons/{Community.vue => IconCommunity.vue} (100%) rename playground/jsx-router-vuex/src/components/icons/{Documentation.vue => IconDocumentation.vue} (100%) rename playground/jsx-router-vuex/src/components/icons/{Ecosystem.vue => IconEcosystem.vue} (100%) rename playground/jsx-router-vuex/src/components/icons/{Support.vue => IconSupport.vue} (100%) rename playground/jsx-router-vuex/src/components/icons/{Tooling.vue => IconTooling.vue} (100%) delete mode 100644 playground/jsx-router-vuex/src/components/icons/Moon.vue delete mode 100644 playground/jsx-router-vuex/src/components/icons/Sun.vue delete mode 100644 playground/jsx-router-vuex/src/composables/useColorScheme.js delete mode 100644 playground/jsx-router-vuex/src/composables/useMediaQuery.js create mode 100644 playground/jsx-router-with-tests/.gitignore create mode 100644 playground/jsx-router-with-tests/README.md create mode 100644 playground/jsx-router-with-tests/cypress.json create mode 100644 playground/jsx-router-with-tests/cypress/fixtures/example.json create mode 100644 playground/jsx-router-with-tests/cypress/integration/example.spec.js create mode 100644 playground/jsx-router-with-tests/cypress/jsconfig.json create mode 100644 playground/jsx-router-with-tests/cypress/plugins/index.js create mode 100644 playground/jsx-router-with-tests/cypress/support/commands.js create mode 100644 playground/jsx-router-with-tests/cypress/support/index.js create mode 100644 playground/jsx-router-with-tests/index.html create mode 100644 playground/jsx-router-with-tests/package.json create mode 100644 playground/jsx-router-with-tests/public/favicon.ico create mode 100644 playground/jsx-router-with-tests/src/App.vue create mode 100644 playground/jsx-router-with-tests/src/assets/base.css create mode 100644 playground/jsx-router-with-tests/src/assets/logo.svg create mode 100644 playground/jsx-router-with-tests/src/components/HelloWorld.vue create mode 100644 playground/jsx-router-with-tests/src/components/Welcome.vue rename playground/{jsx-router/src/components/IntroductionItem.vue => jsx-router-with-tests/src/components/WelcomeItem.vue} (100%) create mode 100644 playground/jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.js rename playground/{jsx-router/src/components/icons/Community.vue => jsx-router-with-tests/src/components/icons/IconCommunity.vue} (100%) rename playground/{jsx-router/src/components/icons/Documentation.vue => jsx-router-with-tests/src/components/icons/IconDocumentation.vue} (100%) rename playground/{jsx-router/src/components/icons/Ecosystem.vue => jsx-router-with-tests/src/components/icons/IconEcosystem.vue} (100%) rename playground/{jsx-router/src/components/icons/Support.vue => jsx-router-with-tests/src/components/icons/IconSupport.vue} (100%) rename playground/{jsx-router/src/components/icons/Tooling.vue => jsx-router-with-tests/src/components/icons/IconTooling.vue} (100%) create mode 100644 playground/jsx-router-with-tests/src/main.js create mode 100644 playground/jsx-router-with-tests/src/router/index.js create mode 100644 playground/jsx-router-with-tests/src/views/About.vue create mode 100644 playground/jsx-router-with-tests/src/views/Home.vue create mode 100644 playground/jsx-router-with-tests/vite.config.js delete mode 100644 playground/jsx-router/src/assets/logo.png delete mode 100644 playground/jsx-router/src/components/ColorSchemeSwitch.vue create mode 100644 playground/jsx-router/src/components/Welcome.vue rename playground/{jsx/src/components/IntroductionItem.vue => jsx-router/src/components/WelcomeItem.vue} (100%) rename playground/{jsx/src/components/icons/Community.vue => jsx-router/src/components/icons/IconCommunity.vue} (100%) rename playground/{jsx/src/components/icons/Documentation.vue => jsx-router/src/components/icons/IconDocumentation.vue} (100%) rename playground/{jsx/src/components/icons/Ecosystem.vue => jsx-router/src/components/icons/IconEcosystem.vue} (100%) rename playground/{jsx/src/components/icons/Support.vue => jsx-router/src/components/icons/IconSupport.vue} (100%) rename playground/{jsx/src/components/icons/Tooling.vue => jsx-router/src/components/icons/IconTooling.vue} (100%) delete mode 100644 playground/jsx-router/src/components/icons/Moon.vue delete mode 100644 playground/jsx-router/src/components/icons/Sun.vue delete mode 100644 playground/jsx-router/src/composables/useColorScheme.js delete mode 100644 playground/jsx-router/src/composables/useMediaQuery.js create mode 100644 playground/jsx-vuex-with-tests/.gitignore create mode 100644 playground/jsx-vuex-with-tests/README.md create mode 100644 playground/jsx-vuex-with-tests/cypress.json create mode 100644 playground/jsx-vuex-with-tests/cypress/fixtures/example.json create mode 100644 playground/jsx-vuex-with-tests/cypress/integration/example.spec.js create mode 100644 playground/jsx-vuex-with-tests/cypress/jsconfig.json create mode 100644 playground/jsx-vuex-with-tests/cypress/plugins/index.js create mode 100644 playground/jsx-vuex-with-tests/cypress/support/commands.js create mode 100644 playground/jsx-vuex-with-tests/cypress/support/index.js create mode 100644 playground/jsx-vuex-with-tests/index.html create mode 100644 playground/jsx-vuex-with-tests/package.json create mode 100644 playground/jsx-vuex-with-tests/public/favicon.ico create mode 100644 playground/jsx-vuex-with-tests/src/App.vue create mode 100644 playground/jsx-vuex-with-tests/src/assets/base.css create mode 100644 playground/jsx-vuex-with-tests/src/assets/logo.svg create mode 100644 playground/jsx-vuex-with-tests/src/components/HelloWorld.vue create mode 100644 playground/jsx-vuex-with-tests/src/components/Welcome.vue rename playground/{router-vuex-with-tests/src/components/IntroductionItem.vue => jsx-vuex-with-tests/src/components/WelcomeItem.vue} (100%) create mode 100644 playground/jsx-vuex-with-tests/src/components/__tests__/HelloWorld.spec.js rename playground/{router-vuex-with-tests/src/components/icons/Community.vue => jsx-vuex-with-tests/src/components/icons/IconCommunity.vue} (100%) rename playground/{router-vuex-with-tests/src/components/icons/Documentation.vue => jsx-vuex-with-tests/src/components/icons/IconDocumentation.vue} (100%) rename playground/{router-vuex-with-tests/src/components/icons/Ecosystem.vue => jsx-vuex-with-tests/src/components/icons/IconEcosystem.vue} (100%) rename playground/{router-vuex-with-tests/src/components/icons/Support.vue => jsx-vuex-with-tests/src/components/icons/IconSupport.vue} (100%) rename playground/{router-vuex-with-tests/src/components/icons/Tooling.vue => jsx-vuex-with-tests/src/components/icons/IconTooling.vue} (100%) create mode 100644 playground/jsx-vuex-with-tests/src/main.js create mode 100644 playground/jsx-vuex-with-tests/src/store/index.js create mode 100644 playground/jsx-vuex-with-tests/vite.config.js create mode 100644 playground/jsx-vuex/.gitignore create mode 100644 playground/jsx-vuex/README.md create mode 100644 playground/jsx-vuex/index.html create mode 100644 playground/jsx-vuex/package.json create mode 100644 playground/jsx-vuex/public/favicon.ico create mode 100644 playground/jsx-vuex/src/App.vue create mode 100644 playground/jsx-vuex/src/assets/base.css create mode 100644 playground/jsx-vuex/src/assets/logo.svg create mode 100644 playground/jsx-vuex/src/components/HelloWorld.vue create mode 100644 playground/jsx-vuex/src/components/Welcome.vue rename playground/{router-vuex/src/components/IntroductionItem.vue => jsx-vuex/src/components/WelcomeItem.vue} (100%) rename playground/{router-vuex/src/components/icons/Community.vue => jsx-vuex/src/components/icons/IconCommunity.vue} (100%) rename playground/{router-vuex/src/components/icons/Documentation.vue => jsx-vuex/src/components/icons/IconDocumentation.vue} (100%) rename playground/{router-vuex/src/components/icons/Ecosystem.vue => jsx-vuex/src/components/icons/IconEcosystem.vue} (100%) rename playground/{router-vuex/src/components/icons/Support.vue => jsx-vuex/src/components/icons/IconSupport.vue} (100%) rename playground/{router-vuex/src/components/icons/Tooling.vue => jsx-vuex/src/components/icons/IconTooling.vue} (100%) create mode 100644 playground/jsx-vuex/src/main.js create mode 100644 playground/jsx-vuex/src/store/index.js create mode 100644 playground/jsx-vuex/vite.config.js create mode 100644 playground/jsx-with-tests/.gitignore create mode 100644 playground/jsx-with-tests/README.md create mode 100644 playground/jsx-with-tests/cypress.json create mode 100644 playground/jsx-with-tests/cypress/fixtures/example.json create mode 100644 playground/jsx-with-tests/cypress/integration/example.spec.js create mode 100644 playground/jsx-with-tests/cypress/jsconfig.json create mode 100644 playground/jsx-with-tests/cypress/plugins/index.js create mode 100644 playground/jsx-with-tests/cypress/support/commands.js create mode 100644 playground/jsx-with-tests/cypress/support/index.js create mode 100644 playground/jsx-with-tests/index.html create mode 100644 playground/jsx-with-tests/package.json create mode 100644 playground/jsx-with-tests/public/favicon.ico create mode 100644 playground/jsx-with-tests/src/App.vue create mode 100644 playground/jsx-with-tests/src/assets/base.css create mode 100644 playground/jsx-with-tests/src/assets/logo.svg create mode 100644 playground/jsx-with-tests/src/components/HelloWorld.vue create mode 100644 playground/jsx-with-tests/src/components/Welcome.vue rename playground/{router/src/components/IntroductionItem.vue => jsx-with-tests/src/components/WelcomeItem.vue} (100%) create mode 100644 playground/jsx-with-tests/src/components/__tests__/HelloWorld.spec.js rename playground/{router/src/components/icons/Community.vue => jsx-with-tests/src/components/icons/IconCommunity.vue} (100%) rename playground/{router/src/components/icons/Documentation.vue => jsx-with-tests/src/components/icons/IconDocumentation.vue} (100%) rename playground/{router/src/components/icons/Ecosystem.vue => jsx-with-tests/src/components/icons/IconEcosystem.vue} (100%) rename playground/{router/src/components/icons/Support.vue => jsx-with-tests/src/components/icons/IconSupport.vue} (100%) rename playground/{router/src/components/icons/Tooling.vue => jsx-with-tests/src/components/icons/IconTooling.vue} (100%) create mode 100644 playground/jsx-with-tests/src/main.js create mode 100644 playground/jsx-with-tests/vite.config.js delete mode 100644 playground/jsx/jsconfig.json delete mode 100644 playground/jsx/src/assets/logo.png delete mode 100644 playground/jsx/src/components/ColorSchemeSwitch.vue create mode 100644 playground/jsx/src/components/Welcome.vue rename playground/{typescript-jsx-router-vuex-with-tests/src/components/IntroductionItem.vue => jsx/src/components/WelcomeItem.vue} (100%) rename playground/{typescript-jsx-router-vuex-with-tests/src/components/icons/Community.vue => jsx/src/components/icons/IconCommunity.vue} (100%) rename playground/{typescript-jsx-router-vuex-with-tests/src/components/icons/Documentation.vue => jsx/src/components/icons/IconDocumentation.vue} (100%) rename playground/{typescript-jsx-router-vuex-with-tests/src/components/icons/Ecosystem.vue => jsx/src/components/icons/IconEcosystem.vue} (100%) rename playground/{typescript-jsx-router-vuex-with-tests/src/components/icons/Support.vue => jsx/src/components/icons/IconSupport.vue} (100%) rename playground/{typescript-jsx-router-vuex-with-tests/src/components/icons/Tooling.vue => jsx/src/components/icons/IconTooling.vue} (100%) delete mode 100644 playground/jsx/src/components/icons/Moon.vue delete mode 100644 playground/jsx/src/components/icons/Sun.vue delete mode 100644 playground/jsx/src/composables/useColorScheme.js delete mode 100644 playground/jsx/src/composables/useMediaQuery.js delete mode 100644 playground/router-vuex-with-tests/jsconfig.json delete mode 100644 playground/router-vuex-with-tests/src/assets/logo.png delete mode 100644 playground/router-vuex-with-tests/src/components/ColorSchemeSwitch.vue create mode 100644 playground/router-vuex-with-tests/src/components/Welcome.vue rename playground/{typescript-jsx-router-vuex/src/components/IntroductionItem.vue => router-vuex-with-tests/src/components/WelcomeItem.vue} (100%) delete mode 100644 playground/router-vuex-with-tests/src/components/__tests__/ColorSchemeSwitch.spec.js rename playground/{typescript-jsx-router-vuex/src/components/icons/Community.vue => router-vuex-with-tests/src/components/icons/IconCommunity.vue} (100%) rename playground/{typescript-jsx-router-vuex/src/components/icons/Documentation.vue => router-vuex-with-tests/src/components/icons/IconDocumentation.vue} (100%) rename playground/{typescript-jsx-router-vuex/src/components/icons/Ecosystem.vue => router-vuex-with-tests/src/components/icons/IconEcosystem.vue} (100%) rename playground/{typescript-jsx-router-vuex/src/components/icons/Support.vue => router-vuex-with-tests/src/components/icons/IconSupport.vue} (100%) rename playground/{typescript-jsx-router-vuex/src/components/icons/Tooling.vue => router-vuex-with-tests/src/components/icons/IconTooling.vue} (100%) delete mode 100644 playground/router-vuex-with-tests/src/components/icons/Moon.vue delete mode 100644 playground/router-vuex-with-tests/src/components/icons/Sun.vue delete mode 100644 playground/router-vuex-with-tests/src/composables/__tests__/useMediaQuery.spec.js delete mode 100644 playground/router-vuex-with-tests/src/composables/useColorScheme.js delete mode 100644 playground/router-vuex-with-tests/src/composables/useMediaQuery.js delete mode 100644 playground/router-vuex/jsconfig.json delete mode 100644 playground/router-vuex/src/assets/logo.png delete mode 100644 playground/router-vuex/src/components/ColorSchemeSwitch.vue create mode 100644 playground/router-vuex/src/components/Welcome.vue rename playground/{typescript-jsx-router/src/components/IntroductionItem.vue => router-vuex/src/components/WelcomeItem.vue} (100%) rename playground/{typescript-jsx-router/src/components/icons/Community.vue => router-vuex/src/components/icons/IconCommunity.vue} (100%) rename playground/{typescript-jsx-router/src/components/icons/Documentation.vue => router-vuex/src/components/icons/IconDocumentation.vue} (100%) rename playground/{typescript-jsx-router/src/components/icons/Ecosystem.vue => router-vuex/src/components/icons/IconEcosystem.vue} (100%) rename playground/{typescript-jsx-router/src/components/icons/Support.vue => router-vuex/src/components/icons/IconSupport.vue} (100%) rename playground/{typescript-jsx-router/src/components/icons/Tooling.vue => router-vuex/src/components/icons/IconTooling.vue} (100%) delete mode 100644 playground/router-vuex/src/components/icons/Moon.vue delete mode 100644 playground/router-vuex/src/components/icons/Sun.vue delete mode 100644 playground/router-vuex/src/composables/useColorScheme.js delete mode 100644 playground/router-vuex/src/composables/useMediaQuery.js create mode 100644 playground/router-with-tests/.gitignore create mode 100644 playground/router-with-tests/README.md create mode 100644 playground/router-with-tests/cypress.json create mode 100644 playground/router-with-tests/cypress/fixtures/example.json create mode 100644 playground/router-with-tests/cypress/integration/example.spec.js create mode 100644 playground/router-with-tests/cypress/jsconfig.json create mode 100644 playground/router-with-tests/cypress/plugins/index.js create mode 100644 playground/router-with-tests/cypress/support/commands.js create mode 100644 playground/router-with-tests/cypress/support/index.js create mode 100644 playground/router-with-tests/index.html create mode 100644 playground/router-with-tests/package.json create mode 100644 playground/router-with-tests/public/favicon.ico create mode 100644 playground/router-with-tests/src/App.vue create mode 100644 playground/router-with-tests/src/assets/base.css create mode 100644 playground/router-with-tests/src/assets/logo.svg create mode 100644 playground/router-with-tests/src/components/HelloWorld.vue create mode 100644 playground/router-with-tests/src/components/Welcome.vue rename playground/{typescript-jsx/src/components/IntroductionItem.vue => router-with-tests/src/components/WelcomeItem.vue} (100%) create mode 100644 playground/router-with-tests/src/components/__tests__/HelloWorld.spec.js rename playground/{typescript-jsx/src/components/icons/Community.vue => router-with-tests/src/components/icons/IconCommunity.vue} (100%) rename playground/{typescript-jsx/src/components/icons/Documentation.vue => router-with-tests/src/components/icons/IconDocumentation.vue} (100%) rename playground/{typescript-jsx/src/components/icons/Ecosystem.vue => router-with-tests/src/components/icons/IconEcosystem.vue} (100%) rename playground/{typescript-jsx/src/components/icons/Support.vue => router-with-tests/src/components/icons/IconSupport.vue} (100%) rename playground/{typescript-jsx/src/components/icons/Tooling.vue => router-with-tests/src/components/icons/IconTooling.vue} (100%) create mode 100644 playground/router-with-tests/src/main.js create mode 100644 playground/router-with-tests/src/router/index.js create mode 100644 playground/router-with-tests/src/views/About.vue create mode 100644 playground/router-with-tests/src/views/Home.vue create mode 100644 playground/router-with-tests/vite.config.js delete mode 100644 playground/router/jsconfig.json delete mode 100644 playground/router/src/assets/logo.png delete mode 100644 playground/router/src/components/ColorSchemeSwitch.vue create mode 100644 playground/router/src/components/Welcome.vue rename playground/{typescript/src/components/IntroductionItem.vue => router/src/components/WelcomeItem.vue} (100%) rename playground/{typescript/src/components/icons/Community.vue => router/src/components/icons/IconCommunity.vue} (100%) rename playground/{typescript/src/components/icons/Documentation.vue => router/src/components/icons/IconDocumentation.vue} (100%) rename playground/{typescript/src/components/icons/Ecosystem.vue => router/src/components/icons/IconEcosystem.vue} (100%) rename playground/{typescript/src/components/icons/Support.vue => router/src/components/icons/IconSupport.vue} (100%) rename playground/{typescript/src/components/icons/Tooling.vue => router/src/components/icons/IconTooling.vue} (100%) delete mode 100644 playground/router/src/components/icons/Moon.vue delete mode 100644 playground/router/src/components/icons/Sun.vue delete mode 100644 playground/router/src/composables/useColorScheme.js delete mode 100644 playground/router/src/composables/useMediaQuery.js rename playground/{default/vite-env.d.ts => typescript-jsx-router-vuex-with-tests/env.d.ts} (100%) delete mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/assets/logo.png delete mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/components/ColorSchemeSwitch.vue create mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/components/Welcome.vue rename playground/{vuex-with-tests/src/components/IntroductionItem.vue => typescript-jsx-router-vuex-with-tests/src/components/WelcomeItem.vue} (100%) delete mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/components/__tests__/ColorSchemeSwitch.spec.ts rename playground/{vuex-with-tests/src/components/icons/Community.vue => typescript-jsx-router-vuex-with-tests/src/components/icons/IconCommunity.vue} (100%) rename playground/{vuex-with-tests/src/components/icons/Documentation.vue => typescript-jsx-router-vuex-with-tests/src/components/icons/IconDocumentation.vue} (100%) rename playground/{vuex-with-tests/src/components/icons/Ecosystem.vue => typescript-jsx-router-vuex-with-tests/src/components/icons/IconEcosystem.vue} (100%) rename playground/{vuex-with-tests/src/components/icons/Support.vue => typescript-jsx-router-vuex-with-tests/src/components/icons/IconSupport.vue} (100%) rename playground/{vuex-with-tests/src/components/icons/Tooling.vue => typescript-jsx-router-vuex-with-tests/src/components/icons/IconTooling.vue} (100%) delete mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/components/icons/Moon.vue delete mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/components/icons/Sun.vue delete mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/composables/__tests__/useMediaQuery.spec.ts delete mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/composables/useColorScheme.ts delete mode 100644 playground/typescript-jsx-router-vuex-with-tests/src/composables/useMediaQuery.ts rename playground/{jsx-router-vuex-with-tests/vite-env.d.ts => typescript-jsx-router-vuex/env.d.ts} (100%) delete mode 100644 playground/typescript-jsx-router-vuex/src/assets/logo.png delete mode 100644 playground/typescript-jsx-router-vuex/src/components/ColorSchemeSwitch.vue create mode 100644 playground/typescript-jsx-router-vuex/src/components/Welcome.vue rename playground/{vuex/src/components/IntroductionItem.vue => typescript-jsx-router-vuex/src/components/WelcomeItem.vue} (100%) rename playground/{vuex/src/components/icons/Community.vue => typescript-jsx-router-vuex/src/components/icons/IconCommunity.vue} (100%) rename playground/{vuex/src/components/icons/Documentation.vue => typescript-jsx-router-vuex/src/components/icons/IconDocumentation.vue} (100%) rename playground/{vuex/src/components/icons/Ecosystem.vue => typescript-jsx-router-vuex/src/components/icons/IconEcosystem.vue} (100%) rename playground/{vuex/src/components/icons/Support.vue => typescript-jsx-router-vuex/src/components/icons/IconSupport.vue} (100%) rename playground/{vuex/src/components/icons/Tooling.vue => typescript-jsx-router-vuex/src/components/icons/IconTooling.vue} (100%) delete mode 100644 playground/typescript-jsx-router-vuex/src/components/icons/Moon.vue delete mode 100644 playground/typescript-jsx-router-vuex/src/components/icons/Sun.vue delete mode 100644 playground/typescript-jsx-router-vuex/src/composables/useColorScheme.ts delete mode 100644 playground/typescript-jsx-router-vuex/src/composables/useMediaQuery.ts create mode 100644 playground/typescript-jsx-router-with-tests/.gitignore create mode 100644 playground/typescript-jsx-router-with-tests/README.md create mode 100644 playground/typescript-jsx-router-with-tests/cypress.json create mode 100644 playground/typescript-jsx-router-with-tests/cypress/fixtures/example.json create mode 100644 playground/typescript-jsx-router-with-tests/cypress/integration/example.spec.ts create mode 100644 playground/typescript-jsx-router-with-tests/cypress/plugins/index.ts create mode 100644 playground/typescript-jsx-router-with-tests/cypress/support/commands.ts create mode 100644 playground/typescript-jsx-router-with-tests/cypress/support/index.ts create mode 100644 playground/typescript-jsx-router-with-tests/cypress/tsconfig.json rename playground/{jsx-router-vuex/vite-env.d.ts => typescript-jsx-router-with-tests/env.d.ts} (100%) create mode 100644 playground/typescript-jsx-router-with-tests/index.html create mode 100644 playground/typescript-jsx-router-with-tests/package.json create mode 100644 playground/typescript-jsx-router-with-tests/public/favicon.ico create mode 100644 playground/typescript-jsx-router-with-tests/src/App.vue create mode 100644 playground/typescript-jsx-router-with-tests/src/assets/base.css create mode 100644 playground/typescript-jsx-router-with-tests/src/assets/logo.svg create mode 100644 playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue create mode 100644 playground/typescript-jsx-router-with-tests/src/components/Welcome.vue rename playground/{with-tests/src/components/IntroductionItem.vue => typescript-jsx-router-with-tests/src/components/WelcomeItem.vue} (100%) create mode 100644 playground/typescript-jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.ts rename playground/{with-tests/src/components/icons/Community.vue => typescript-jsx-router-with-tests/src/components/icons/IconCommunity.vue} (100%) rename playground/{with-tests/src/components/icons/Documentation.vue => typescript-jsx-router-with-tests/src/components/icons/IconDocumentation.vue} (100%) rename playground/{with-tests/src/components/icons/Ecosystem.vue => typescript-jsx-router-with-tests/src/components/icons/IconEcosystem.vue} (100%) rename playground/{with-tests/src/components/icons/Support.vue => typescript-jsx-router-with-tests/src/components/icons/IconSupport.vue} (100%) rename playground/{with-tests/src/components/icons/Tooling.vue => typescript-jsx-router-with-tests/src/components/icons/IconTooling.vue} (100%) create mode 100644 playground/typescript-jsx-router-with-tests/src/main.ts create mode 100644 playground/typescript-jsx-router-with-tests/src/router/index.ts create mode 100644 playground/typescript-jsx-router-with-tests/src/views/About.vue create mode 100644 playground/typescript-jsx-router-with-tests/src/views/Home.vue rename playground/{default/jsconfig.json => typescript-jsx-router-with-tests/tsconfig.json} (84%) create mode 100644 playground/typescript-jsx-router-with-tests/vite.config.ts rename playground/{jsx-router/vite-env.d.ts => typescript-jsx-router/env.d.ts} (100%) delete mode 100644 playground/typescript-jsx-router/src/assets/logo.png delete mode 100644 playground/typescript-jsx-router/src/components/ColorSchemeSwitch.vue create mode 100644 playground/typescript-jsx-router/src/components/Welcome.vue create mode 100644 playground/typescript-jsx-router/src/components/WelcomeItem.vue create mode 100644 playground/typescript-jsx-router/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-jsx-router/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-jsx-router/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-jsx-router/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-jsx-router/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx-router/src/components/icons/Moon.vue delete mode 100644 playground/typescript-jsx-router/src/components/icons/Sun.vue delete mode 100644 playground/typescript-jsx-router/src/composables/useColorScheme.ts delete mode 100644 playground/typescript-jsx-router/src/composables/useMediaQuery.ts create mode 100644 playground/typescript-jsx-vuex-with-tests/.gitignore create mode 100644 playground/typescript-jsx-vuex-with-tests/README.md create mode 100644 playground/typescript-jsx-vuex-with-tests/cypress.json create mode 100644 playground/typescript-jsx-vuex-with-tests/cypress/fixtures/example.json create mode 100644 playground/typescript-jsx-vuex-with-tests/cypress/integration/example.spec.ts create mode 100644 playground/typescript-jsx-vuex-with-tests/cypress/plugins/index.ts create mode 100644 playground/typescript-jsx-vuex-with-tests/cypress/support/commands.ts create mode 100644 playground/typescript-jsx-vuex-with-tests/cypress/support/index.ts create mode 100644 playground/typescript-jsx-vuex-with-tests/cypress/tsconfig.json rename playground/{jsx/vite-env.d.ts => typescript-jsx-vuex-with-tests/env.d.ts} (100%) create mode 100644 playground/typescript-jsx-vuex-with-tests/index.html create mode 100644 playground/typescript-jsx-vuex-with-tests/package.json create mode 100644 playground/typescript-jsx-vuex-with-tests/public/favicon.ico create mode 100644 playground/typescript-jsx-vuex-with-tests/src/App.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/assets/base.css create mode 100644 playground/typescript-jsx-vuex-with-tests/src/assets/logo.svg create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/HelloWorld.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/Welcome.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/WelcomeItem.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/__tests__/HelloWorld.spec.ts create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-jsx-vuex-with-tests/src/main.ts create mode 100644 playground/typescript-jsx-vuex-with-tests/src/store/index.ts rename playground/{jsx-router/jsconfig.json => typescript-jsx-vuex-with-tests/tsconfig.json} (84%) create mode 100644 playground/typescript-jsx-vuex-with-tests/vite.config.ts create mode 100644 playground/typescript-jsx-vuex/.gitignore create mode 100644 playground/typescript-jsx-vuex/README.md rename playground/{router-vuex-with-tests/vite-env.d.ts => typescript-jsx-vuex/env.d.ts} (100%) create mode 100644 playground/typescript-jsx-vuex/index.html create mode 100644 playground/typescript-jsx-vuex/package.json create mode 100644 playground/typescript-jsx-vuex/public/favicon.ico create mode 100644 playground/typescript-jsx-vuex/src/App.vue create mode 100644 playground/typescript-jsx-vuex/src/assets/base.css create mode 100644 playground/typescript-jsx-vuex/src/assets/logo.svg create mode 100644 playground/typescript-jsx-vuex/src/components/HelloWorld.vue create mode 100644 playground/typescript-jsx-vuex/src/components/Welcome.vue create mode 100644 playground/typescript-jsx-vuex/src/components/WelcomeItem.vue create mode 100644 playground/typescript-jsx-vuex/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-jsx-vuex/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-jsx-vuex/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-jsx-vuex/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-jsx-vuex/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-jsx-vuex/src/main.ts create mode 100644 playground/typescript-jsx-vuex/src/store/index.ts rename playground/{jsx-router-vuex/jsconfig.json => typescript-jsx-vuex/tsconfig.json} (84%) create mode 100644 playground/typescript-jsx-vuex/vite.config.ts create mode 100644 playground/typescript-jsx-with-tests/.gitignore create mode 100644 playground/typescript-jsx-with-tests/README.md create mode 100644 playground/typescript-jsx-with-tests/cypress.json create mode 100644 playground/typescript-jsx-with-tests/cypress/fixtures/example.json create mode 100644 playground/typescript-jsx-with-tests/cypress/integration/example.spec.ts create mode 100644 playground/typescript-jsx-with-tests/cypress/plugins/index.ts create mode 100644 playground/typescript-jsx-with-tests/cypress/support/commands.ts create mode 100644 playground/typescript-jsx-with-tests/cypress/support/index.ts create mode 100644 playground/typescript-jsx-with-tests/cypress/tsconfig.json rename playground/{router-vuex/vite-env.d.ts => typescript-jsx-with-tests/env.d.ts} (100%) create mode 100644 playground/typescript-jsx-with-tests/index.html create mode 100644 playground/typescript-jsx-with-tests/package.json create mode 100644 playground/typescript-jsx-with-tests/public/favicon.ico create mode 100644 playground/typescript-jsx-with-tests/src/App.vue create mode 100644 playground/typescript-jsx-with-tests/src/assets/base.css create mode 100644 playground/typescript-jsx-with-tests/src/assets/logo.svg create mode 100644 playground/typescript-jsx-with-tests/src/components/HelloWorld.vue create mode 100644 playground/typescript-jsx-with-tests/src/components/Welcome.vue create mode 100644 playground/typescript-jsx-with-tests/src/components/WelcomeItem.vue create mode 100644 playground/typescript-jsx-with-tests/src/components/__tests__/HelloWorld.spec.ts create mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-jsx-with-tests/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-jsx-with-tests/src/main.ts rename playground/{jsx-router-vuex-with-tests/jsconfig.json => typescript-jsx-with-tests/tsconfig.json} (84%) create mode 100644 playground/typescript-jsx-with-tests/vite.config.ts rename playground/{router/vite-env.d.ts => typescript-jsx/env.d.ts} (100%) delete mode 100644 playground/typescript-jsx/src/assets/logo.png delete mode 100644 playground/typescript-jsx/src/components/ColorSchemeSwitch.vue create mode 100644 playground/typescript-jsx/src/components/Welcome.vue create mode 100644 playground/typescript-jsx/src/components/WelcomeItem.vue create mode 100644 playground/typescript-jsx/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-jsx/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-jsx/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-jsx/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-jsx/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript-jsx/src/components/icons/Moon.vue delete mode 100644 playground/typescript-jsx/src/components/icons/Sun.vue delete mode 100644 playground/typescript-jsx/src/composables/useColorScheme.ts delete mode 100644 playground/typescript-jsx/src/composables/useMediaQuery.ts create mode 100644 playground/typescript-router-vuex-with-tests/.gitignore create mode 100644 playground/typescript-router-vuex-with-tests/README.md create mode 100644 playground/typescript-router-vuex-with-tests/cypress.json create mode 100644 playground/typescript-router-vuex-with-tests/cypress/fixtures/example.json create mode 100644 playground/typescript-router-vuex-with-tests/cypress/integration/example.spec.ts create mode 100644 playground/typescript-router-vuex-with-tests/cypress/plugins/index.ts create mode 100644 playground/typescript-router-vuex-with-tests/cypress/support/commands.ts create mode 100644 playground/typescript-router-vuex-with-tests/cypress/support/index.ts create mode 100644 playground/typescript-router-vuex-with-tests/cypress/tsconfig.json rename playground/{typescript-jsx-router-vuex-with-tests/vite-env.d.ts => typescript-router-vuex-with-tests/env.d.ts} (100%) create mode 100644 playground/typescript-router-vuex-with-tests/index.html create mode 100644 playground/typescript-router-vuex-with-tests/package.json create mode 100644 playground/typescript-router-vuex-with-tests/public/favicon.ico create mode 100644 playground/typescript-router-vuex-with-tests/src/App.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/assets/base.css create mode 100644 playground/typescript-router-vuex-with-tests/src/assets/logo.svg create mode 100644 playground/typescript-router-vuex-with-tests/src/components/HelloWorld.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/components/Welcome.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/components/WelcomeItem.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/components/__tests__/HelloWorld.spec.ts create mode 100644 playground/typescript-router-vuex-with-tests/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/main.ts create mode 100644 playground/typescript-router-vuex-with-tests/src/router/index.ts create mode 100644 playground/typescript-router-vuex-with-tests/src/store/index.ts create mode 100644 playground/typescript-router-vuex-with-tests/src/views/About.vue create mode 100644 playground/typescript-router-vuex-with-tests/src/views/Home.vue create mode 100644 playground/typescript-router-vuex-with-tests/tsconfig.json create mode 100644 playground/typescript-router-vuex-with-tests/vite.config.ts create mode 100644 playground/typescript-router-vuex/.gitignore create mode 100644 playground/typescript-router-vuex/README.md rename playground/{typescript-jsx-router-vuex/vite-env.d.ts => typescript-router-vuex/env.d.ts} (100%) create mode 100644 playground/typescript-router-vuex/index.html create mode 100644 playground/typescript-router-vuex/package.json create mode 100644 playground/typescript-router-vuex/public/favicon.ico create mode 100644 playground/typescript-router-vuex/src/App.vue create mode 100644 playground/typescript-router-vuex/src/assets/base.css create mode 100644 playground/typescript-router-vuex/src/assets/logo.svg create mode 100644 playground/typescript-router-vuex/src/components/HelloWorld.vue create mode 100644 playground/typescript-router-vuex/src/components/Welcome.vue create mode 100644 playground/typescript-router-vuex/src/components/WelcomeItem.vue create mode 100644 playground/typescript-router-vuex/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-router-vuex/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-router-vuex/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-router-vuex/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-router-vuex/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-router-vuex/src/main.ts create mode 100644 playground/typescript-router-vuex/src/router/index.ts create mode 100644 playground/typescript-router-vuex/src/store/index.ts create mode 100644 playground/typescript-router-vuex/src/views/About.vue create mode 100644 playground/typescript-router-vuex/src/views/Home.vue create mode 100644 playground/typescript-router-vuex/tsconfig.json create mode 100644 playground/typescript-router-vuex/vite.config.ts create mode 100644 playground/typescript-router-with-tests/.gitignore create mode 100644 playground/typescript-router-with-tests/README.md create mode 100644 playground/typescript-router-with-tests/cypress.json create mode 100644 playground/typescript-router-with-tests/cypress/fixtures/example.json create mode 100644 playground/typescript-router-with-tests/cypress/integration/example.spec.ts create mode 100644 playground/typescript-router-with-tests/cypress/plugins/index.ts create mode 100644 playground/typescript-router-with-tests/cypress/support/commands.ts create mode 100644 playground/typescript-router-with-tests/cypress/support/index.ts create mode 100644 playground/typescript-router-with-tests/cypress/tsconfig.json rename playground/{typescript-jsx-router/vite-env.d.ts => typescript-router-with-tests/env.d.ts} (100%) create mode 100644 playground/typescript-router-with-tests/index.html create mode 100644 playground/typescript-router-with-tests/package.json create mode 100644 playground/typescript-router-with-tests/public/favicon.ico create mode 100644 playground/typescript-router-with-tests/src/App.vue create mode 100644 playground/typescript-router-with-tests/src/assets/base.css create mode 100644 playground/typescript-router-with-tests/src/assets/logo.svg create mode 100644 playground/typescript-router-with-tests/src/components/HelloWorld.vue create mode 100644 playground/typescript-router-with-tests/src/components/Welcome.vue create mode 100644 playground/typescript-router-with-tests/src/components/WelcomeItem.vue create mode 100644 playground/typescript-router-with-tests/src/components/__tests__/HelloWorld.spec.ts create mode 100644 playground/typescript-router-with-tests/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-router-with-tests/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-router-with-tests/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-router-with-tests/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-router-with-tests/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-router-with-tests/src/main.ts create mode 100644 playground/typescript-router-with-tests/src/router/index.ts create mode 100644 playground/typescript-router-with-tests/src/views/About.vue create mode 100644 playground/typescript-router-with-tests/src/views/Home.vue create mode 100644 playground/typescript-router-with-tests/tsconfig.json create mode 100644 playground/typescript-router-with-tests/vite.config.ts create mode 100644 playground/typescript-router/.gitignore create mode 100644 playground/typescript-router/README.md rename playground/{typescript-jsx/vite-env.d.ts => typescript-router/env.d.ts} (100%) create mode 100644 playground/typescript-router/index.html create mode 100644 playground/typescript-router/package.json create mode 100644 playground/typescript-router/public/favicon.ico create mode 100644 playground/typescript-router/src/App.vue create mode 100644 playground/typescript-router/src/assets/base.css create mode 100644 playground/typescript-router/src/assets/logo.svg create mode 100644 playground/typescript-router/src/components/HelloWorld.vue create mode 100644 playground/typescript-router/src/components/Welcome.vue create mode 100644 playground/typescript-router/src/components/WelcomeItem.vue create mode 100644 playground/typescript-router/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-router/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-router/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-router/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-router/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-router/src/main.ts create mode 100644 playground/typescript-router/src/router/index.ts create mode 100644 playground/typescript-router/src/views/About.vue create mode 100644 playground/typescript-router/src/views/Home.vue create mode 100644 playground/typescript-router/tsconfig.json create mode 100644 playground/typescript-router/vite.config.ts create mode 100644 playground/typescript-vuex-with-tests/.gitignore create mode 100644 playground/typescript-vuex-with-tests/README.md create mode 100644 playground/typescript-vuex-with-tests/cypress.json create mode 100644 playground/typescript-vuex-with-tests/cypress/fixtures/example.json create mode 100644 playground/typescript-vuex-with-tests/cypress/integration/example.spec.ts create mode 100644 playground/typescript-vuex-with-tests/cypress/plugins/index.ts create mode 100644 playground/typescript-vuex-with-tests/cypress/support/commands.ts create mode 100644 playground/typescript-vuex-with-tests/cypress/support/index.ts create mode 100644 playground/typescript-vuex-with-tests/cypress/tsconfig.json rename playground/{typescript/vite-env.d.ts => typescript-vuex-with-tests/env.d.ts} (100%) create mode 100644 playground/typescript-vuex-with-tests/index.html create mode 100644 playground/typescript-vuex-with-tests/package.json create mode 100644 playground/typescript-vuex-with-tests/public/favicon.ico create mode 100644 playground/typescript-vuex-with-tests/src/App.vue create mode 100644 playground/typescript-vuex-with-tests/src/assets/base.css create mode 100644 playground/typescript-vuex-with-tests/src/assets/logo.svg create mode 100644 playground/typescript-vuex-with-tests/src/components/HelloWorld.vue create mode 100644 playground/typescript-vuex-with-tests/src/components/Welcome.vue create mode 100644 playground/typescript-vuex-with-tests/src/components/WelcomeItem.vue create mode 100644 playground/typescript-vuex-with-tests/src/components/__tests__/HelloWorld.spec.ts create mode 100644 playground/typescript-vuex-with-tests/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-vuex-with-tests/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-vuex-with-tests/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-vuex-with-tests/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-vuex-with-tests/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-vuex-with-tests/src/main.ts create mode 100644 playground/typescript-vuex-with-tests/src/store/index.ts create mode 100644 playground/typescript-vuex-with-tests/tsconfig.json create mode 100644 playground/typescript-vuex-with-tests/vite.config.ts create mode 100644 playground/typescript-vuex/.gitignore create mode 100644 playground/typescript-vuex/README.md rename playground/{vuex-with-tests/vite-env.d.ts => typescript-vuex/env.d.ts} (100%) create mode 100644 playground/typescript-vuex/index.html create mode 100644 playground/typescript-vuex/package.json create mode 100644 playground/typescript-vuex/public/favicon.ico create mode 100644 playground/typescript-vuex/src/App.vue create mode 100644 playground/typescript-vuex/src/assets/base.css create mode 100644 playground/typescript-vuex/src/assets/logo.svg create mode 100644 playground/typescript-vuex/src/components/HelloWorld.vue create mode 100644 playground/typescript-vuex/src/components/Welcome.vue create mode 100644 playground/typescript-vuex/src/components/WelcomeItem.vue create mode 100644 playground/typescript-vuex/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-vuex/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-vuex/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-vuex/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-vuex/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-vuex/src/main.ts create mode 100644 playground/typescript-vuex/src/store/index.ts create mode 100644 playground/typescript-vuex/tsconfig.json create mode 100644 playground/typescript-vuex/vite.config.ts create mode 100644 playground/typescript-with-tests/.gitignore create mode 100644 playground/typescript-with-tests/README.md create mode 100644 playground/typescript-with-tests/cypress.json create mode 100644 playground/typescript-with-tests/cypress/fixtures/example.json create mode 100644 playground/typescript-with-tests/cypress/integration/example.spec.ts create mode 100644 playground/typescript-with-tests/cypress/plugins/index.ts create mode 100644 playground/typescript-with-tests/cypress/support/commands.ts create mode 100644 playground/typescript-with-tests/cypress/support/index.ts create mode 100644 playground/typescript-with-tests/cypress/tsconfig.json rename playground/{vuex/vite-env.d.ts => typescript-with-tests/env.d.ts} (100%) create mode 100644 playground/typescript-with-tests/index.html create mode 100644 playground/typescript-with-tests/package.json create mode 100644 playground/typescript-with-tests/public/favicon.ico create mode 100644 playground/typescript-with-tests/src/App.vue create mode 100644 playground/typescript-with-tests/src/assets/base.css create mode 100644 playground/typescript-with-tests/src/assets/logo.svg create mode 100644 playground/typescript-with-tests/src/components/HelloWorld.vue create mode 100644 playground/typescript-with-tests/src/components/Welcome.vue create mode 100644 playground/typescript-with-tests/src/components/WelcomeItem.vue create mode 100644 playground/typescript-with-tests/src/components/__tests__/HelloWorld.spec.ts create mode 100644 playground/typescript-with-tests/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript-with-tests/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript-with-tests/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript-with-tests/src/components/icons/IconSupport.vue create mode 100644 playground/typescript-with-tests/src/components/icons/IconTooling.vue create mode 100644 playground/typescript-with-tests/src/main.ts create mode 100644 playground/typescript-with-tests/tsconfig.json create mode 100644 playground/typescript-with-tests/vite.config.ts rename playground/{with-tests/vite-env.d.ts => typescript/env.d.ts} (100%) delete mode 100644 playground/typescript/src/assets/logo.png delete mode 100644 playground/typescript/src/components/ColorSchemeSwitch.vue create mode 100644 playground/typescript/src/components/Welcome.vue create mode 100644 playground/typescript/src/components/WelcomeItem.vue create mode 100644 playground/typescript/src/components/icons/IconCommunity.vue create mode 100644 playground/typescript/src/components/icons/IconDocumentation.vue create mode 100644 playground/typescript/src/components/icons/IconEcosystem.vue create mode 100644 playground/typescript/src/components/icons/IconSupport.vue create mode 100644 playground/typescript/src/components/icons/IconTooling.vue delete mode 100644 playground/typescript/src/components/icons/Moon.vue delete mode 100644 playground/typescript/src/components/icons/Sun.vue delete mode 100644 playground/typescript/src/composables/useColorScheme.ts delete mode 100644 playground/typescript/src/composables/useMediaQuery.ts delete mode 100644 playground/vuex-with-tests/jsconfig.json delete mode 100644 playground/vuex-with-tests/src/assets/logo.png delete mode 100644 playground/vuex-with-tests/src/components/ColorSchemeSwitch.vue create mode 100644 playground/vuex-with-tests/src/components/Welcome.vue create mode 100644 playground/vuex-with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/vuex-with-tests/src/components/__tests__/ColorSchemeSwitch.spec.js create mode 100644 playground/vuex-with-tests/src/components/icons/IconCommunity.vue create mode 100644 playground/vuex-with-tests/src/components/icons/IconDocumentation.vue create mode 100644 playground/vuex-with-tests/src/components/icons/IconEcosystem.vue create mode 100644 playground/vuex-with-tests/src/components/icons/IconSupport.vue create mode 100644 playground/vuex-with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/vuex-with-tests/src/components/icons/Moon.vue delete mode 100644 playground/vuex-with-tests/src/components/icons/Sun.vue delete mode 100644 playground/vuex-with-tests/src/composables/__tests__/useMediaQuery.spec.js delete mode 100644 playground/vuex-with-tests/src/composables/useColorScheme.js delete mode 100644 playground/vuex-with-tests/src/composables/useMediaQuery.js delete mode 100644 playground/vuex/jsconfig.json delete mode 100644 playground/vuex/src/assets/logo.png delete mode 100644 playground/vuex/src/components/ColorSchemeSwitch.vue create mode 100644 playground/vuex/src/components/Welcome.vue create mode 100644 playground/vuex/src/components/WelcomeItem.vue create mode 100644 playground/vuex/src/components/icons/IconCommunity.vue create mode 100644 playground/vuex/src/components/icons/IconDocumentation.vue create mode 100644 playground/vuex/src/components/icons/IconEcosystem.vue create mode 100644 playground/vuex/src/components/icons/IconSupport.vue create mode 100644 playground/vuex/src/components/icons/IconTooling.vue delete mode 100644 playground/vuex/src/components/icons/Moon.vue delete mode 100644 playground/vuex/src/components/icons/Sun.vue delete mode 100644 playground/vuex/src/composables/useColorScheme.js delete mode 100644 playground/vuex/src/composables/useMediaQuery.js delete mode 100644 playground/with-tests/jsconfig.json delete mode 100644 playground/with-tests/src/assets/logo.png delete mode 100644 playground/with-tests/src/components/ColorSchemeSwitch.vue create mode 100644 playground/with-tests/src/components/Welcome.vue create mode 100644 playground/with-tests/src/components/WelcomeItem.vue delete mode 100644 playground/with-tests/src/components/__tests__/ColorSchemeSwitch.spec.js create mode 100644 playground/with-tests/src/components/icons/IconCommunity.vue create mode 100644 playground/with-tests/src/components/icons/IconDocumentation.vue create mode 100644 playground/with-tests/src/components/icons/IconEcosystem.vue create mode 100644 playground/with-tests/src/components/icons/IconSupport.vue create mode 100644 playground/with-tests/src/components/icons/IconTooling.vue delete mode 100644 playground/with-tests/src/components/icons/Moon.vue delete mode 100644 playground/with-tests/src/components/icons/Sun.vue delete mode 100644 playground/with-tests/src/composables/__tests__/useMediaQuery.spec.js delete mode 100644 playground/with-tests/src/composables/useColorScheme.js delete mode 100644 playground/with-tests/src/composables/useMediaQuery.js diff --git a/index.js b/index.js index c99f0169..ab3eae75 100755 --- a/index.js +++ b/index.js @@ -9,17 +9,12 @@ import prompts from 'prompts' import { red, green, bold } from 'kolorist' import renderTemplate from './utils/renderTemplate.js' -import { - postOrderDirectoryTraverse, - preOrderDirectoryTraverse -} from './utils/directoryTraverse.js' +import { postOrderDirectoryTraverse, preOrderDirectoryTraverse } from './utils/directoryTraverse.js' import generateReadme from './utils/generateReadme.js' import getCommand from './utils/getCommand.js' function isValidPackageName(projectName) { - return /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test( - projectName - ) + return /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(projectName) } function toValidPackageName(projectName) { @@ -66,14 +61,8 @@ async function init() { // if any of the feature flags is set, we would skip the feature prompts // use `??` instead of `||` once we drop Node.js 12 support const isFeatureFlagsUsed = - typeof ( - argv.default || - argv.ts || - argv.jsx || - argv.router || - argv.vuex || - argv.tests - ) === 'boolean' + typeof (argv.default || argv.ts || argv.jsx || argv.router || argv.vuex || argv.tests) === + 'boolean' let targetDir = argv._[0] const defaultProjectName = !targetDir ? 'vue-project' : targetDir @@ -99,18 +88,14 @@ async function init() { type: targetDir ? null : 'text', message: 'Project name:', initial: defaultProjectName, - onState: (state) => - (targetDir = String(state.value).trim() || defaultProjectName) + onState: (state) => (targetDir = String(state.value).trim() || defaultProjectName) }, { name: 'shouldOverwrite', - type: () => - canSafelyOverwrite(targetDir) || forceOverwrite ? null : 'confirm', + type: () => (canSafelyOverwrite(targetDir) || forceOverwrite ? null : 'confirm'), message: () => { const dirForPrompt = - targetDir === '.' - ? 'Current directory' - : `Target directory "${targetDir}"` + targetDir === '.' ? 'Current directory' : `Target directory "${targetDir}"` return `${dirForPrompt} is not empty. Remove existing files and continue?` } @@ -129,8 +114,7 @@ async function init() { type: () => (isValidPackageName(targetDir) ? null : 'text'), message: 'Package name:', initial: () => toValidPackageName(targetDir), - validate: (dir) => - isValidPackageName(dir) || 'Invalid package.json name' + validate: (dir) => isValidPackageName(dir) || 'Invalid package.json name' }, { name: 'needsTypeScript', @@ -206,10 +190,7 @@ async function init() { console.log(`\nScaffolding project in ${root}...`) const pkg = { name: packageName, version: '0.0.0' } - fs.writeFileSync( - path.resolve(root, 'package.json'), - JSON.stringify(pkg, null, 2) - ) + fs.writeFileSync(path.resolve(root, 'package.json'), JSON.stringify(pkg, null, 2)) const templateRoot = new URL('./template', import.meta.url).pathname const render = function render(templateName) { @@ -267,10 +248,7 @@ async function init() { if (filepath.endsWith('.js')) { fs.renameSync(filepath, filepath.replace(/\.js$/, '.ts')) } else if (path.basename(filepath) === 'jsconfig.json') { - fs.renameSync( - filepath, - filepath.replace(/jsconfig\.json$/, 'tsconfig.json') - ) + fs.renameSync(filepath, filepath.replace(/jsconfig\.json$/, 'tsconfig.json')) } } ) @@ -278,10 +256,7 @@ async function init() { // Rename entry in `index.html` const indexHtmlPath = path.resolve(root, 'index.html') const indexHtmlContent = fs.readFileSync(indexHtmlPath, 'utf8') - fs.writeFileSync( - indexHtmlPath, - indexHtmlContent.replace('src/main.js', 'src/main.ts') - ) + fs.writeFileSync(indexHtmlPath, indexHtmlContent.replace('src/main.js', 'src/main.ts')) } if (!needsTests) { diff --git a/playground/default/README.md b/playground/default/README.md index 134a494c..c1783556 100644 --- a/playground/default/README.md +++ b/playground/default/README.md @@ -13,17 +13,17 @@ See [Vite Configuration Reference](https://vitejs.dev/config/). ## Project Setup ```sh -npm install +pnpm install ``` ### Compile and Hot-Reload for Development ```sh -npm run dev +pnpm dev ``` ### Compile and Minify for Production ```sh -npm run build +pnpm build ``` diff --git a/playground/default/src/App.vue b/playground/default/src/App.vue index ab188d52..945ae423 100644 --- a/playground/default/src/App.vue +++ b/playground/default/src/App.vue @@ -1,13 +1,6 @@ diff --git a/playground/default/src/assets/base.css b/playground/default/src/assets/base.css index 6198c024..5427a030 100644 --- a/playground/default/src/assets/base.css +++ b/playground/default/src/assets/base.css @@ -12,7 +12,7 @@ --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-dadarkrk-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); @@ -36,16 +36,18 @@ --section-gap: 160px; } -[data-color-scheme='dark'] { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); +@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-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); + --color-heading: var(--vt-c-text-dark-1); + --color-text: var(--vt-c-text-dark-2); + } } *, diff --git a/playground/default/src/assets/logo.png b/playground/default/src/assets/logo.png deleted file mode 100644 index f3d2503fc2a44b5053b0837ebea6e87a2d339a43..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 6849 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 g1!6qyAfq4?0x&QzG diff --git a/playground/default/src/components/ColorSchemeSwitch.vue b/playground/default/src/components/ColorSchemeSwitch.vue deleted file mode 100644 index 8e5bb4e2..00000000 --- a/playground/default/src/components/ColorSchemeSwitch.vue +++ /dev/null @@ -1,137 +0,0 @@ - - - - - diff --git a/playground/default/src/components/Welcome.vue b/playground/default/src/components/Welcome.vue new file mode 100644 index 00000000..1d003f86 --- /dev/null +++ b/playground/default/src/components/Welcome.vue @@ -0,0 +1,84 @@ + + + diff --git a/playground/default/src/components/IntroductionItem.vue b/playground/default/src/components/WelcomeItem.vue similarity index 100% rename from playground/default/src/components/IntroductionItem.vue rename to playground/default/src/components/WelcomeItem.vue diff --git a/playground/default/src/components/icons/Community.vue b/playground/default/src/components/icons/IconCommunity.vue similarity index 100% rename from playground/default/src/components/icons/Community.vue rename to playground/default/src/components/icons/IconCommunity.vue diff --git a/playground/default/src/components/icons/Documentation.vue b/playground/default/src/components/icons/IconDocumentation.vue similarity index 100% rename from playground/default/src/components/icons/Documentation.vue rename to playground/default/src/components/icons/IconDocumentation.vue diff --git a/playground/default/src/components/icons/Ecosystem.vue b/playground/default/src/components/icons/IconEcosystem.vue similarity index 100% rename from playground/default/src/components/icons/Ecosystem.vue rename to playground/default/src/components/icons/IconEcosystem.vue diff --git a/playground/default/src/components/icons/Support.vue b/playground/default/src/components/icons/IconSupport.vue similarity index 100% rename from playground/default/src/components/icons/Support.vue rename to playground/default/src/components/icons/IconSupport.vue diff --git a/playground/default/src/components/icons/Tooling.vue b/playground/default/src/components/icons/IconTooling.vue similarity index 100% rename from playground/default/src/components/icons/Tooling.vue rename to playground/default/src/components/icons/IconTooling.vue diff --git a/playground/default/src/components/icons/Moon.vue b/playground/default/src/components/icons/Moon.vue deleted file mode 100644 index 8e02b917..00000000 --- a/playground/default/src/components/icons/Moon.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/playground/default/src/components/icons/Sun.vue b/playground/default/src/components/icons/Sun.vue deleted file mode 100644 index 577f8031..00000000 --- a/playground/default/src/components/icons/Sun.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/playground/default/src/composables/useColorScheme.js b/playground/default/src/composables/useColorScheme.js deleted file mode 100644 index be111aff..00000000 --- a/playground/default/src/composables/useColorScheme.js +++ /dev/null @@ -1,31 +0,0 @@ -import { ref, computed } from 'vue' -import useMediaQuery from './useMediaQuery' - -// Its value should be consistent when called multiple times. -// So we put it outside the composable function -const isUserToggledDark = ref() - -export default function useColorScheme() { - const isDefaultDark = useMediaQuery('(prefers-color-scheme: dark)') - - const isDark = computed(() => { - if (typeof isUserToggledDark.value !== 'undefined') { - return isUserToggledDark.value - } else { - return isDefaultDark.value - } - }) - - const toggle = () => { - if (typeof isUserToggledDark.value !== 'undefined') { - isUserToggledDark.value = !isUserToggledDark.value - } else { - isUserToggledDark.value = !isDefaultDark.value - } - } - - return { - toggle, - isDark - } -} diff --git a/playground/default/src/composables/useMediaQuery.js b/playground/default/src/composables/useMediaQuery.js deleted file mode 100644 index bf288056..00000000 --- a/playground/default/src/composables/useMediaQuery.js +++ /dev/null @@ -1,28 +0,0 @@ -import { ref, onUnmounted } from 'vue' - -export default function useMediaQuery(query) { - const mediaQueryList = window.matchMedia(query) - const matches = ref(mediaQueryList.matches) - - const handler = (event) => { - matches.value = event.matches - } - - // Safari < 14 does not support this - if (mediaQueryList.addEventListener) { - mediaQueryList.addEventListener('change', handler) - } else { - mediaQueryList.addListener(handler) - } - - onUnmounted(() => { - // Safari < 14 does not support this - if (mediaQueryList.removeEventListener) { - mediaQueryList.removeEventListener('change', handler) - } else { - mediaQueryList.removeListener(handler) - } - }) - - return matches -} diff --git a/playground/jsx-router-vuex-with-tests/README.md b/playground/jsx-router-vuex-with-tests/README.md index 3a1af2bc..d7b6cfcf 100644 --- a/playground/jsx-router-vuex-with-tests/README.md +++ b/playground/jsx-router-vuex-with-tests/README.md @@ -13,29 +13,29 @@ See [Vite Configuration Reference](https://vitejs.dev/config/). ## Project Setup ```sh -npm install +pnpm install ``` ### Compile and Hot-Reload for Development ```sh -npm run dev +pnpm dev ``` ### Compile and Minify for Production ```sh -npm run build +pnpm build ``` ### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction) ```sh -npm run test:unit # or `npm run test:unit:ci` for headless testing +pnpm test:unit # or `pnpm test:unit:ci` for headless testing ``` ### Run End-to-End Tests with [Cypress](https://www.cypress.io/) ```sh -npm run test:e2e # or `npm run test:e2e:ci` for headless testing +pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing ``` diff --git a/playground/jsx-router-vuex-with-tests/src/App.vue b/playground/jsx-router-vuex-with-tests/src/App.vue index 523cdb78..fe3afbf6 100644 --- a/playground/jsx-router-vuex-with-tests/src/App.vue +++ b/playground/jsx-router-vuex-with-tests/src/App.vue @@ -1,6 +1,5 @@