create-quasar 2.1.1 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/package.json +2 -4
  2. package/scripts/create-test-project.ts +1 -3
  3. package/templates/app/__eslint.config.js +0 -1
  4. package/templates/app/quasar-v2/create-quasar-script.js +4 -35
  5. package/templates/app/quasar-v2/js-vite-2/BASE/README.md +4 -4
  6. package/templates/app/quasar-v2/js-vite-2/BASE/_.vscode/extensions.json +2 -2
  7. package/templates/app/quasar-v2/js-vite-2/BASE/_.vscode/settings.json +2 -2
  8. package/templates/app/quasar-v2/js-vite-2/BASE/_package.json +11 -12
  9. package/templates/app/quasar-v2/js-vite-2/BASE/index.html +3 -3
  10. package/templates/app/quasar-v2/js-vite-2/BASE/quasar.config.js +9 -10
  11. package/templates/app/quasar-v2/js-vite-2/BASE/src/App.vue +0 -11
  12. package/templates/app/quasar-v2/js-vite-2/BASE/src/components/EssentialLink.vue +7 -35
  13. package/templates/app/quasar-v2/js-vite-2/BASE/src/layouts/MainLayout.vue +2 -141
  14. package/templates/app/quasar-v2/js-vite-2/BASE/src/pages/ErrorNotFound.vue +0 -11
  15. package/templates/app/quasar-v2/js-vite-2/BASE/src/pages/IndexPage.vue +0 -11
  16. package/templates/app/quasar-v2/js-vite-2/create-quasar-script.js +12 -4
  17. package/templates/app/quasar-v2/js-vite-2/eslint/_eslint.config.js +3 -3
  18. package/templates/app/quasar-v2/js-vite-2/sass/src/css/app.scss +1 -0
  19. package/templates/app/quasar-v2/{ts-vite-2/scss → js-vite-2/sass}/src/css/quasar.variables.scss +1 -1
  20. package/templates/app/quasar-v2/js-webpack-4/BASE/README.md +4 -4
  21. package/templates/app/quasar-v2/js-webpack-4/BASE/_.vscode/extensions.json +2 -2
  22. package/templates/app/quasar-v2/js-webpack-4/BASE/_.vscode/settings.json +2 -2
  23. package/templates/app/quasar-v2/js-webpack-4/BASE/_package.json +10 -11
  24. package/templates/app/quasar-v2/js-webpack-4/BASE/index.html +3 -3
  25. package/templates/app/quasar-v2/js-webpack-4/BASE/quasar.config.js +5 -6
  26. package/templates/app/quasar-v2/js-webpack-4/BASE/src/App.vue +0 -11
  27. package/templates/app/quasar-v2/js-webpack-4/BASE/src/components/EssentialLink.vue +7 -35
  28. package/templates/app/quasar-v2/js-webpack-4/BASE/src/layouts/MainLayout.vue +2 -141
  29. package/templates/app/quasar-v2/js-webpack-4/BASE/src/pages/ErrorNotFound.vue +0 -11
  30. package/templates/app/quasar-v2/js-webpack-4/BASE/src/pages/IndexPage.vue +0 -11
  31. package/templates/app/quasar-v2/js-webpack-4/create-quasar-script.js +12 -4
  32. package/templates/app/quasar-v2/js-webpack-4/eslint/_eslint.config.js +3 -3
  33. package/templates/app/quasar-v2/js-webpack-4/sass/src/css/app.scss +1 -0
  34. package/templates/app/quasar-v2/{js-vite-2/scss → js-webpack-4/sass}/src/css/quasar.variables.scss +1 -1
  35. package/templates/app/quasar-v2/ts-vite-2/BASE/README.md +4 -4
  36. package/templates/app/quasar-v2/ts-vite-2/BASE/_.vscode/extensions.json +2 -2
  37. package/templates/app/quasar-v2/ts-vite-2/BASE/_.vscode/settings.json +2 -2
  38. package/templates/app/quasar-v2/ts-vite-2/BASE/_package.json +11 -12
  39. package/templates/app/quasar-v2/ts-vite-2/BASE/index.html +3 -3
  40. package/templates/app/quasar-v2/ts-vite-2/BASE/quasar.config.ts +9 -10
  41. package/templates/app/quasar-v2/ts-vite-2/BASE/src/App.vue +0 -11
  42. package/templates/app/quasar-v2/ts-vite-2/BASE/src/components/EssentialLink.vue +2 -37
  43. package/templates/app/quasar-v2/ts-vite-2/BASE/src/components/ExampleComponent.vue +2 -98
  44. package/templates/app/quasar-v2/ts-vite-2/BASE/src/layouts/MainLayout.vue +2 -141
  45. package/templates/app/quasar-v2/ts-vite-2/BASE/src/pages/ErrorNotFound.vue +0 -11
  46. package/templates/app/quasar-v2/ts-vite-2/BASE/src/pages/IndexPage.vue +2 -90
  47. package/templates/app/quasar-v2/ts-vite-2/__.eslintrc.cjs +0 -1
  48. package/templates/app/quasar-v2/ts-vite-2/create-quasar-script.js +12 -4
  49. package/templates/app/quasar-v2/ts-vite-2/eslint/_eslint.config.js +3 -3
  50. package/templates/app/quasar-v2/ts-vite-2/i18n/src/boot/i18n.ts +2 -2
  51. package/templates/app/quasar-v2/ts-vite-2/sass/src/css/app.scss +1 -0
  52. package/templates/app/quasar-v2/{ts-webpack-4/scss → ts-vite-2/sass}/src/css/quasar.variables.scss +1 -1
  53. package/templates/app/quasar-v2/ts-webpack-4/BASE/README.md +4 -4
  54. package/templates/app/quasar-v2/ts-webpack-4/BASE/_.vscode/extensions.json +2 -2
  55. package/templates/app/quasar-v2/ts-webpack-4/BASE/_.vscode/settings.json +2 -2
  56. package/templates/app/quasar-v2/ts-webpack-4/BASE/_package.json +10 -11
  57. package/templates/app/quasar-v2/ts-webpack-4/BASE/index.html +3 -3
  58. package/templates/app/quasar-v2/ts-webpack-4/BASE/quasar.config.ts +5 -6
  59. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/App.vue +0 -11
  60. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/components/EssentialLink.vue +2 -37
  61. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/components/ExampleComponent.vue +2 -98
  62. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/layouts/MainLayout.vue +2 -141
  63. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/pages/ErrorNotFound.vue +0 -11
  64. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/pages/IndexPage.vue +2 -90
  65. package/templates/app/quasar-v2/ts-webpack-4/__.eslintrc.cjs +0 -1
  66. package/templates/app/quasar-v2/ts-webpack-4/create-quasar-script.js +12 -4
  67. package/templates/app/quasar-v2/ts-webpack-4/eslint/_eslint.config.js +3 -3
  68. package/templates/app/quasar-v2/ts-webpack-4/i18n/src/boot/i18n.ts +2 -2
  69. package/templates/app/quasar-v2/ts-webpack-4/sass/src/css/app.scss +1 -0
  70. package/templates/app/quasar-v2/{js-webpack-4/scss → ts-webpack-4/sass}/src/css/quasar.variables.scss +1 -1
  71. package/templates/app-extension/__eslint.config.js +1 -3
  72. package/templates/app-extension/ae-js/BASE/README.md +5 -5
  73. package/templates/app-extension/ae-js/BASE/_package.json +6 -6
  74. package/templates/app-extension/ae-js/BASE/src/index.js +1 -1
  75. package/templates/app-extension/ae-js/create-quasar-script.js +0 -15
  76. package/templates/app-extension/ae-js/install-script/src/install.js +1 -1
  77. package/templates/app-extension/ae-js/prompts-script/src/prompts.js +1 -1
  78. package/templates/app-extension/ae-js/uninstall-script/src/uninstall.js +1 -1
  79. package/templates/app-extension/ae-ts/BASE/README.md +6 -6
  80. package/templates/app-extension/ae-ts/BASE/_package.json +9 -9
  81. package/templates/app-extension/ae-ts/BASE/app-extension/README.md +7 -7
  82. package/templates/app-extension/ae-ts/BASE/app-extension/_package.json +9 -9
  83. package/templates/app-extension/ae-ts/BASE/app-extension/src/index.ts +2 -2
  84. package/templates/app-extension/ae-ts/BASE/app-extension/src/runtime/README.md +3 -3
  85. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/README.md +11 -11
  86. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/_package.json +4 -4
  87. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/index.html +3 -3
  88. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/quasar.extensions.json +1 -1
  89. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/src/quasar.d.ts +1 -1
  90. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/README.md +10 -10
  91. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/_package.json +4 -4
  92. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/index.html +3 -3
  93. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/quasar.extensions.json +1 -1
  94. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/src/quasar.d.ts +1 -1
  95. package/templates/app-extension/create-quasar-script.js +1 -0
  96. package/templates/ui-kit/quasar-v2/BASE/LICENSE +1 -1
  97. package/templates/ui-kit/quasar-v2/BASE/README.md +4 -4
  98. package/templates/ui-kit/quasar-v2/BASE/ui/README.md +29 -29
  99. package/templates/ui-kit/quasar-v2/BASE/ui/_package.json +4 -4
  100. package/templates/ui-kit/quasar-v2/BASE/ui/build/index.js +1 -1
  101. package/templates/ui-kit/quasar-v2/BASE/ui/build/script.javascript.js +2 -2
  102. package/templates/ui-kit/quasar-v2/BASE/ui/dev/src/index.template.html +10 -5
  103. package/templates/ui-kit/quasar-v2/BASE/ui/dev/src/layouts/MyLayout.vue +1 -1
  104. package/templates/ui-kit/quasar-v2/BASE/ui/dev/src/pages/Test1.vue +4 -4
  105. package/templates/ui-kit/quasar-v2/BASE/ui/src/index.sass +2 -2
  106. package/templates/ui-kit/quasar-v2/BASE/ui/src/vue-plugin.js +6 -6
  107. package/templates/ui-kit/quasar-v2/BASE/ui/umd-test.html +2 -2
  108. package/templates/ui-kit/quasar-v2/ae/app-extension/README.md +6 -6
  109. package/templates/ui-kit/quasar-v2/ae/app-extension/_package.json +5 -5
  110. package/templates/ui-kit/quasar-v2/ae/app-extension/src/boot/register.js +1 -1
  111. package/templates/ui-kit/quasar-v2/ae/app-extension/src/index.js +7 -7
  112. package/templates/ui-kit/quasar-v2/ui-component/ui/src/components/Component.js +3 -3
  113. package/templates/ui-kit/quasar-v2/ui-component/ui/src/components/Component.sass +1 -1
  114. package/templates/ui-kit/quasar-v2/ui-directive/ui/src/directives/Directive.js +1 -1
  115. package/templates/ui-kit/quasar-v2/ui-directive/ui/src/directives/Directive.sass +1 -1
  116. package/utils/index.js +2 -6
  117. package/utils/template.js +280 -0
  118. package/templates/app/quasar-v2/js-vite-2/axios/src/boot/axios.js +0 -24
  119. package/templates/app/quasar-v2/js-vite-2/sass/src/css/app.sass +0 -1
  120. package/templates/app/quasar-v2/js-vite-2/sass/src/css/quasar.variables.sass +0 -25
  121. package/templates/app/quasar-v2/js-vite-2/scss/src/css/app.scss +0 -1
  122. package/templates/app/quasar-v2/js-webpack-4/axios/src/boot/axios.js +0 -24
  123. package/templates/app/quasar-v2/js-webpack-4/sass/src/css/app.sass +0 -1
  124. package/templates/app/quasar-v2/js-webpack-4/sass/src/css/quasar.variables.sass +0 -25
  125. package/templates/app/quasar-v2/js-webpack-4/scss/src/css/app.scss +0 -1
  126. package/templates/app/quasar-v2/ts-vite-2/axios/src/boot/axios.ts +0 -31
  127. package/templates/app/quasar-v2/ts-vite-2/sass/src/css/app.sass +0 -1
  128. package/templates/app/quasar-v2/ts-vite-2/sass/src/css/quasar.variables.sass +0 -25
  129. package/templates/app/quasar-v2/ts-vite-2/scss/src/css/app.scss +0 -1
  130. package/templates/app/quasar-v2/ts-webpack-4/axios/src/boot/axios.ts +0 -31
  131. package/templates/app/quasar-v2/ts-webpack-4/sass/src/css/app.sass +0 -1
  132. package/templates/app/quasar-v2/ts-webpack-4/sass/src/css/quasar.variables.sass +0 -25
  133. package/templates/app/quasar-v2/ts-webpack-4/scss/src/css/app.scss +0 -1
  134. package/test-project/.editorconfig +0 -7
  135. package/test-project/.prettierrc.json +0 -5
  136. package/test-project/.vscode/extensions.json +0 -15
  137. package/test-project/.vscode/settings.json +0 -9
  138. package/test-project/README.md +0 -43
  139. package/test-project/eslint.config.js +0 -83
  140. package/test-project/index.html +0 -24
  141. package/test-project/package.json +0 -45
  142. package/test-project/pnpm-lock.yaml +0 -5293
  143. package/test-project/pnpm-workspace.yaml +0 -6
  144. package/test-project/postcss.config.js +0 -29
  145. package/test-project/public/favicon.ico +0 -0
  146. package/test-project/public/icons/favicon-128x128.png +0 -0
  147. package/test-project/public/icons/favicon-16x16.png +0 -0
  148. package/test-project/public/icons/favicon-32x32.png +0 -0
  149. package/test-project/public/icons/favicon-96x96.png +0 -0
  150. package/test-project/quasar.config.ts +0 -217
  151. package/test-project/src/App.vue +0 -7
  152. package/test-project/src/assets/quasar-logo-vertical.svg +0 -15
  153. package/test-project/src/boot/.gitkeep +0 -0
  154. package/test-project/src/components/EssentialLink.vue +0 -27
  155. package/test-project/src/components/ExampleComponent.vue +0 -37
  156. package/test-project/src/components/models.ts +0 -8
  157. package/test-project/src/css/app.scss +0 -1
  158. package/test-project/src/css/quasar.variables.scss +0 -25
  159. package/test-project/src/env.d.ts +0 -7
  160. package/test-project/src/layouts/MainLayout.vue +0 -81
  161. package/test-project/src/pages/ErrorNotFound.vue +0 -23
  162. package/test-project/src/pages/IndexPage.vue +0 -43
  163. package/test-project/src/router/index.ts +0 -37
  164. package/test-project/src/router/routes.ts +0 -18
  165. package/test-project/tsconfig.json +0 -3
@@ -1,31 +0,0 @@
1
- import { defineBoot } from '#q-app/wrappers';
2
- import axios, { type AxiosInstance } from 'axios';
3
-
4
- declare module 'vue' {
5
- interface ComponentCustomProperties {
6
- $axios: AxiosInstance;
7
- $api: AxiosInstance;
8
- }
9
- }
10
-
11
- // Be careful when using SSR for cross-request state pollution
12
- // due to creating a Singleton instance here;
13
- // If any client changes this (global) instance, it might be a
14
- // good idea to move this instance creation inside of the
15
- // "export default () => {}" function below (which runs individually
16
- // for each client)
17
- const api = axios.create({ baseURL: 'https://api.example.com' });
18
-
19
- export default defineBoot(({ app }) => {
20
- // for use inside Vue files (Options API) through this.$axios and this.$api
21
-
22
- app.config.globalProperties.$axios = axios;
23
- // ^ ^ ^ this will allow you to use this.$axios (for Vue Options API form)
24
- // so you won't necessarily have to import axios in each vue file
25
-
26
- app.config.globalProperties.$api = api;
27
- // ^ ^ ^ this will allow you to use this.$api (for Vue Options API form)
28
- // so you can easily perform requests against your app's API
29
- });
30
-
31
- export { api };
@@ -1 +0,0 @@
1
- // app global css in Sass form
@@ -1,25 +0,0 @@
1
- // Quasar Sass (& SCSS) Variables
2
- // --------------------------------------------------
3
- // To customize the look and feel of this app, you can override
4
- // the Sass/SCSS variables found in Quasar's source Sass/SCSS files.
5
-
6
- // Check documentation for full list of Quasar variables
7
-
8
- // Your own variables (that are declared here) and Quasar's own
9
- // ones will be available out of the box in your .vue/.scss/.sass files
10
-
11
- // It's highly recommended to change the default colors
12
- // to match your app's branding.
13
- // Tip: Use the "Theme Builder" on Quasar's documentation website.
14
-
15
- $primary : #1976D2
16
- $secondary : #26A69A
17
- $accent : #9C27B0
18
-
19
- $dark : #1D1D1D
20
- $dark-page : #121212
21
-
22
- $positive : #21BA45
23
- $negative : #C10015
24
- $info : #31CCEC
25
- $warning : #F2C037
@@ -1 +0,0 @@
1
- // app global css in SCSS form
@@ -1,31 +0,0 @@
1
- import { defineBoot } from '#q-app/wrappers';
2
- import axios, { type AxiosInstance } from 'axios';
3
-
4
- declare module 'vue' {
5
- interface ComponentCustomProperties {
6
- $axios: AxiosInstance;
7
- $api: AxiosInstance;
8
- }
9
- }
10
-
11
- // Be careful when using SSR for cross-request state pollution
12
- // due to creating a Singleton instance here;
13
- // If any client changes this (global) instance, it might be a
14
- // good idea to move this instance creation inside of the
15
- // "export default () => {}" function below (which runs individually
16
- // for each client)
17
- const api = axios.create({ baseURL: 'https://api.example.com' });
18
-
19
- export default defineBoot(({ app }) => {
20
- // for use inside Vue files (Options API) through this.$axios and this.$api
21
-
22
- app.config.globalProperties.$axios = axios;
23
- // ^ ^ ^ this will allow you to use this.$axios (for Vue Options API form)
24
- // so you won't necessarily have to import axios in each vue file
25
-
26
- app.config.globalProperties.$api = api;
27
- // ^ ^ ^ this will allow you to use this.$api (for Vue Options API form)
28
- // so you can easily perform requests against your app's API
29
- });
30
-
31
- export { api };
@@ -1 +0,0 @@
1
- // app global css in Sass form
@@ -1,25 +0,0 @@
1
- // Quasar Sass (& SCSS) Variables
2
- // --------------------------------------------------
3
- // To customize the look and feel of this app, you can override
4
- // the Sass/SCSS variables found in Quasar's source Sass/SCSS files.
5
-
6
- // Check documentation for full list of Quasar variables
7
-
8
- // Your own variables (that are declared here) and Quasar's own
9
- // ones will be available out of the box in your .vue/.scss/.sass files
10
-
11
- // It's highly recommended to change the default colors
12
- // to match your app's branding.
13
- // Tip: Use the "Theme Builder" on Quasar's documentation website.
14
-
15
- $primary : #1976D2
16
- $secondary : #26A69A
17
- $accent : #9C27B0
18
-
19
- $dark : #1D1D1D
20
- $dark-page : #121212
21
-
22
- $positive : #21BA45
23
- $negative : #C10015
24
- $info : #31CCEC
25
- $warning : #F2C037
@@ -1 +0,0 @@
1
- // app global css in SCSS form
@@ -1,7 +0,0 @@
1
- [*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
2
- charset = utf-8
3
- indent_size = 2
4
- indent_style = space
5
- end_of_line = lf
6
- insert_final_newline = true
7
- trim_trailing_whitespace = true
@@ -1,5 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/prettierrc",
3
- "singleQuote": true,
4
- "printWidth": 100
5
- }
@@ -1,15 +0,0 @@
1
- {
2
- "recommendations": [
3
- "dbaeumer.vscode-eslint",
4
- "esbenp.prettier-vscode",
5
- "editorconfig.editorconfig",
6
- "vue.volar",
7
- "wayou.vscode-todo-highlight"
8
- ],
9
- "unwantedRecommendations": [
10
- "octref.vetur",
11
- "hookyqr.beautify",
12
- "dbaeumer.jshint",
13
- "ms-vscode.vscode-typescript-tslint-plugin"
14
- ]
15
- }
@@ -1,9 +0,0 @@
1
- {
2
- "editor.bracketPairColorization.enabled": true,
3
- "editor.guides.bracketPairs": true,
4
- "editor.formatOnSave": true,
5
- "editor.defaultFormatter": "esbenp.prettier-vscode",
6
- "editor.codeActionsOnSave": ["source.fixAll.eslint"],
7
- "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"],
8
- "typescript.tsdk": "node_modules/typescript/lib"
9
- }
@@ -1,43 +0,0 @@
1
- # Quasar App (test-project)
2
-
3
- A Quasar Project
4
-
5
- ## Install the dependencies
6
-
7
- ```bash
8
- yarn
9
- # or
10
- npm install
11
- ```
12
-
13
- ### Start the app in development mode (hot-code reloading, error reporting, etc.)
14
-
15
- ```bash
16
- quasar dev
17
- ```
18
-
19
- ### Lint the files
20
-
21
- ```bash
22
- yarn lint
23
- # or
24
- npm run lint
25
- ```
26
-
27
- ### Format the files
28
-
29
- ```bash
30
- yarn format
31
- # or
32
- npm run format
33
- ```
34
-
35
- ### Build the app for production
36
-
37
- ```bash
38
- quasar build
39
- ```
40
-
41
- ### Customize the configuration
42
-
43
- See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js).
@@ -1,83 +0,0 @@
1
- import js from '@eslint/js';
2
- import globals from 'globals';
3
- import pluginVue from 'eslint-plugin-vue';
4
- import pluginQuasar from '@quasar/app-vite/eslint';
5
- import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript';
6
- import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting';
7
-
8
- export default defineConfigWithVueTs(
9
- {
10
- /**
11
- * Ignore the following files.
12
- * Please note that pluginQuasar.configs.recommended() already ignores
13
- * the "node_modules" folder for you (and all other Quasar project
14
- * relevant folders and files).
15
- *
16
- * ESLint requires "ignores" key to be the only one in this object
17
- */
18
- // ignores: []
19
- },
20
-
21
- pluginQuasar.configs.recommended(),
22
- js.configs.recommended,
23
-
24
- /**
25
- * https://eslint.vuejs.org
26
- *
27
- * pluginVue.configs.base
28
- * -> Settings and rules to enable correct ESLint parsing.
29
- * pluginVue.configs[ 'flat/essential']
30
- * -> base, plus rules to prevent errors or unintended behavior.
31
- * pluginVue.configs["flat/strongly-recommended"]
32
- * -> Above, plus rules to considerably improve code readability and/or dev experience.
33
- * pluginVue.configs["flat/recommended"]
34
- * -> Above, plus rules to enforce subjective community defaults to ensure consistency.
35
- */
36
- pluginVue.configs['flat/essential'],
37
-
38
- {
39
- files: ['**/*.ts', '**/*.vue'],
40
- rules: {
41
- '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }],
42
- },
43
- },
44
- // https://github.com/vuejs/eslint-config-typescript
45
- vueTsConfigs.recommendedTypeChecked,
46
-
47
- {
48
- languageOptions: {
49
- ecmaVersion: 'latest',
50
- sourceType: 'module',
51
-
52
- globals: {
53
- ...globals.browser,
54
- ...globals.node, // SSR, Electron, config files
55
- process: 'readonly', // process.env.*
56
- ga: 'readonly', // Google Analytics
57
- cordova: 'readonly',
58
- Capacitor: 'readonly',
59
- chrome: 'readonly', // BEX related
60
- browser: 'readonly', // BEX related
61
- },
62
- },
63
-
64
- // add your custom rules here
65
- rules: {
66
- 'prefer-promise-reject-errors': 'off',
67
-
68
- // allow debugger during development only
69
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
70
- },
71
- },
72
-
73
- {
74
- files: ['src-pwa/custom-service-worker.ts'],
75
- languageOptions: {
76
- globals: {
77
- ...globals.serviceworker,
78
- },
79
- },
80
- },
81
-
82
- prettierSkipFormatting,
83
- );
@@ -1,24 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <title><%= productName %></title>
5
-
6
- <meta charset="utf-8" />
7
- <meta name="description" content="<%= productDescription %>" />
8
- <meta name="format-detection" content="telephone=no" />
9
- <meta name="msapplication-tap-highlight" content="no" />
10
- <meta
11
- name="viewport"
12
- content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
13
- />
14
-
15
- <link rel="icon" type="image/png" sizes="128x128" href="icons/favicon-128x128.png" />
16
- <link rel="icon" type="image/png" sizes="96x96" href="icons/favicon-96x96.png" />
17
- <link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png" />
18
- <link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png" />
19
- <link rel="icon" type="image/ico" href="favicon.ico" />
20
- </head>
21
- <body>
22
- <!-- quasar:entry-point -->
23
- </body>
24
- </html>
@@ -1,45 +0,0 @@
1
- {
2
- "name": "test-project",
3
- "version": "0.0.1",
4
- "description": "A Quasar Project",
5
- "productName": "Quasar App",
6
- "author": "Yusuf Kandemir <yusuf.kandemir@outlook.com.tr>",
7
- "type": "module",
8
- "private": true,
9
- "scripts": {
10
- "lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
11
- "format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
12
- "test": "echo \"No test specified\" && exit 0",
13
- "dev": "quasar dev",
14
- "build": "quasar build",
15
- "postinstall": "quasar prepare"
16
- },
17
- "dependencies": {
18
- "@quasar/extras": "^1.16.4",
19
- "quasar": "^2.16.0",
20
- "vue": "^3.5.22",
21
- "vue-router": "^5.0.3"
22
- },
23
- "devDependencies": {
24
- "@eslint/js": "^10.0.1",
25
- "eslint": "^10.0.3",
26
- "eslint-plugin-vue": "^10.8.0",
27
- "globals": "^17.4.0",
28
- "vue-tsc": "^3.2.6",
29
- "@vue/eslint-config-typescript": "^14.7.0",
30
- "vite-plugin-checker": "^0.12.0",
31
- "vue-eslint-parser": "^10.4.0",
32
- "@vue/eslint-config-prettier": "^10.2.0",
33
- "prettier": "^3.8.1",
34
- "@types/node": "^22.19.11",
35
- "@quasar/app-vite": "^2.5.1",
36
- "autoprefixer": "^10.4.27",
37
- "typescript": "^5.9.3"
38
- },
39
- "engines": {
40
- "node": "^28 || ^26 || ^24 || ^22.12",
41
- "npm": ">= 6.13.4",
42
- "yarn": ">= 1.21.1",
43
- "pnpm": ">= 10.0.0"
44
- }
45
- }