create-quasar 2.2.2 → 2.2.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-quasar",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "homepage": "https://quasar.dev",
6
6
  "bugs": "https://github.com/quasarframework/quasar/issues",
@@ -11,7 +11,7 @@ import routes from './routes'
11
11
  * with the Router instance.
12
12
  */
13
13
 
14
- export default defineRouter(function (/* { store, ssrContext } */) {
14
+ export default defineRouter((/* { store, ssrContext } */) => {
15
15
  const createHistory = process.env.SERVER
16
16
  ? createMemoryHistory
17
17
  : (process.env.VUE_ROUTER_MODE === 'history' ? createWebHistory : createWebHashHistory)
@@ -2,7 +2,9 @@ import js from '@eslint/js'
2
2
  import globals from 'globals'
3
3
  import pluginVue from 'eslint-plugin-vue'
4
4
  import pluginQuasar from '@quasar/app-vite/eslint'
5
- <% if (scope.prettier) { %>import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'<% } %>
5
+ <% if (scope.prettier) { %>
6
+ import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'
7
+ <% } %>
6
8
 
7
9
  export default [
8
10
  {
@@ -67,7 +69,10 @@ export default [
67
69
  ...globals.serviceworker
68
70
  }
69
71
  }
70
- }<% if (scope.prettier) { %>,
72
+ }<% if (scope.prettier) { %>,<% } %>
71
73
 
72
- prettierSkipFormatting<% } %>
74
+ <% if (scope.prettier) { %>
75
+
76
+ prettierSkipFormatting
77
+ <% } %>
73
78
  ]
@@ -11,7 +11,7 @@ import routes from './routes.js'
11
11
  * with the Router instance.
12
12
  */
13
13
 
14
- export default defineRouter(function (/* { store, ssrContext } */) {
14
+ export default defineRouter((/* { store, ssrContext } */) => {
15
15
  const createHistory = process.env.SERVER
16
16
  ? createMemoryHistory
17
17
  : (process.env.VUE_ROUTER_MODE === 'history' ? createWebHistory : createWebHashHistory)
@@ -2,7 +2,9 @@ import js from '@eslint/js'
2
2
  import globals from 'globals'
3
3
  import pluginVue from 'eslint-plugin-vue'
4
4
  import pluginQuasar from '@quasar/app-webpack/eslint'
5
- <% if (scope.prettier) { %>import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'<% } %>
5
+ <% if (scope.prettier) { %>
6
+ import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'
7
+ <% } %>
6
8
 
7
9
  export default [
8
10
  {
@@ -67,7 +69,10 @@ export default [
67
69
  ...globals.serviceworker
68
70
  }
69
71
  }
70
- }<% if (scope.prettier) { %>,
72
+ }<% if (scope.prettier) { %>,<% } %>
71
73
 
72
- prettierSkipFormatting<% } %>
74
+ <% if (scope.prettier) { %>
75
+
76
+ prettierSkipFormatting
77
+ <% } %>
73
78
  ]
@@ -16,7 +16,7 @@ import routes from './routes';
16
16
  * with the Router instance.
17
17
  */
18
18
 
19
- export default defineRouter(function (/* { store, ssrContext } */) {
19
+ export default defineRouter((/* { store, ssrContext } */) => {
20
20
  const createHistory = process.env.SERVER
21
21
  ? createMemoryHistory
22
22
  : (process.env.VUE_ROUTER_MODE === 'history' ? createWebHistory : createWebHashHistory);
@@ -3,7 +3,9 @@ import globals from 'globals'
3
3
  import pluginVue from 'eslint-plugin-vue'
4
4
  import pluginQuasar from '@quasar/app-vite/eslint'
5
5
  import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
6
- <% if (scope.prettier) { %>import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'<% } %>
6
+ <% if (scope.prettier) { %>
7
+ import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'
8
+ <% } %>
7
9
 
8
10
  export default defineConfigWithVueTs(
9
11
  {
@@ -80,7 +82,10 @@ export default defineConfigWithVueTs(
80
82
  ...globals.serviceworker
81
83
  }
82
84
  }
83
- }<% if (scope.prettier) { %>,
85
+ }<% if (scope.prettier) { %>,<% } %>
84
86
 
85
- prettierSkipFormatting<% } %>
87
+ <% if (scope.prettier) { %>
88
+
89
+ prettierSkipFormatting
90
+ <% } %>
86
91
  )
@@ -16,7 +16,7 @@ import routes from './routes';
16
16
  * with the Router instance.
17
17
  */
18
18
 
19
- export default defineRouter(function (/* { store, ssrContext } */) {
19
+ export default defineRouter((/* { store, ssrContext } */) => {
20
20
  const createHistory = process.env.SERVER
21
21
  ? createMemoryHistory
22
22
  : (process.env.VUE_ROUTER_MODE === 'history' ? createWebHistory : createWebHashHistory);
@@ -3,7 +3,9 @@ import globals from 'globals'
3
3
  import pluginVue from 'eslint-plugin-vue'
4
4
  import pluginQuasar from '@quasar/app-webpack/eslint'
5
5
  import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
6
- <% if (scope.prettier) { %>import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'<% } %>
6
+ <% if (scope.prettier) { %>
7
+ import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'
8
+ <% } %>
7
9
 
8
10
  export default defineConfigWithVueTs(
9
11
  {
@@ -81,7 +83,10 @@ export default defineConfigWithVueTs(
81
83
  ...globals.serviceworker
82
84
  }
83
85
  }
84
- }<% if (scope.prettier) { %>,
86
+ }<% if (scope.prettier) { %>,<% } %>
85
87
 
86
- prettierSkipFormatting<% } %>
88
+ <% if (scope.prettier) { %>
89
+
90
+ prettierSkipFormatting
91
+ <% } %>
87
92
  )