create-quasar
Advanced tools
Comparing version 1.6.0 to 1.7.0
{ | ||
"name": "create-quasar", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Scaffolds Quasar Apps, AppExtensions or UI kits", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -29,2 +29,3 @@ { | ||
<% if (preset.lint) { %> | ||
"vite-plugin-checker": "^0.6.4", | ||
"eslint": "^8.11.0", | ||
@@ -45,3 +46,3 @@ "eslint-plugin-vue": "^9.0.0", | ||
<% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^2.0.0",<% } %> | ||
"@quasar/app-vite": "^2.0.0-beta.1", | ||
"@quasar/app-vite": "^2.0.0-beta.5", | ||
"autoprefixer": "^10.4.2", | ||
@@ -48,0 +49,0 @@ "postcss": "^8.4.14" |
@@ -13,12 +13,2 @@ /* eslint-env node */ | ||
return { | ||
<% if (preset.lint) { %>eslint: { | ||
// fix: true, | ||
// include: [], | ||
// exclude: [], | ||
// cache: false, | ||
// rawOptions: {}, | ||
warnings: true, | ||
errors: true | ||
},<% } %> | ||
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature | ||
@@ -80,3 +70,3 @@ // preFetch: true, | ||
<% if (preset.i18n) { %>vitePlugins: [ | ||
<% if (preset.i18n || preset.lint) { %>vitePlugins: [<% if (preset.i18n) { %> | ||
['@intlify/unplugin-vue-i18n/vite', { | ||
@@ -94,6 +84,11 @@ // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false` | ||
include: [ fileURLToPath(new URL('./src/i18n', import.meta.url)) ], | ||
}] | ||
}]<% } %><% if (preset.lint) { %><% if (preset.i18n) { %>,<% } %> | ||
['vite-plugin-checker', { | ||
eslint: { | ||
lintCommand: 'eslint "./**/*.{js,mjs,cjs,vue}"' | ||
} | ||
}, { server: false }]<% } %> | ||
]<% } else { %> | ||
// vitePlugins: [ | ||
// [ 'package-name', { ..options.. } ] | ||
// [ 'package-name', { ..pluginOptions.. }, { server: true, client: true } ] | ||
// ]<% } %> | ||
@@ -100,0 +95,0 @@ }, |
@@ -19,7 +19,7 @@ export async function script ({ scope, utils }) { | ||
choices: [ | ||
{ title: 'ESLint', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'Linting (vite-plugin-checker + ESLint)', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' }, | ||
{ title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' }, | ||
{ title: 'Axios', value: 'axios' }, | ||
{ title: 'Vue-i18n', value: 'i18n' } | ||
{ title: 'axios', value: 'axios' }, | ||
{ title: 'vue-i18n', value: 'i18n' } | ||
], | ||
@@ -26,0 +26,0 @@ format: values => { |
@@ -30,2 +30,3 @@ { | ||
"eslint-plugin-vue": "^9.0.0", | ||
"vite-plugin-checker": "^0.6.4", | ||
<% if (lintConfig === 'standard') { %> | ||
@@ -44,3 +45,3 @@ "eslint-config-standard": "^17.0.0", | ||
<% if (preset.i18n) { %>"@intlify/vite-plugin-vue-i18n": "^3.3.1",<% } %> | ||
"@quasar/app-vite": "^1.4.3", | ||
"@quasar/app-vite": "^1.8.0", | ||
"autoprefixer": "^10.4.2", | ||
@@ -47,0 +48,0 @@ "postcss": "^8.4.14" |
@@ -18,11 +18,2 @@ /* eslint-env node */ | ||
return { | ||
<% if (preset.lint) { %>eslint: { | ||
// fix: true, | ||
// include: [], | ||
// exclude: [], | ||
// rawOptions: {}, | ||
warnings: true, | ||
errors: true | ||
},<% } %> | ||
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature | ||
@@ -84,3 +75,3 @@ // preFetch: true, | ||
<% if (preset.i18n) { %>vitePlugins: [ | ||
<% if (preset.i18n || preset.lint) { %>vitePlugins: [<% if (preset.i18n) { %> | ||
['@intlify/vite-plugin-vue-i18n', { | ||
@@ -96,6 +87,11 @@ // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false` | ||
include: path.resolve(__dirname, './src/i18n/**') | ||
}] | ||
}]<% } %><% if (preset.lint) { %><% if (preset.i18n) { %>,<% } %> | ||
['vite-plugin-checker', { | ||
eslint: { | ||
lintCommand: 'eslint "./**/*.{js,mjs,cjs,vue}"' | ||
} | ||
}, { server: false }]<% } %> | ||
]<% } else { %> | ||
// vitePlugins: [ | ||
// [ 'package-name', { ..options.. } ] | ||
// [ 'package-name', { ..pluginOptions.. }, { server: true, client: true } ] | ||
// ]<% } %> | ||
@@ -102,0 +98,0 @@ }, |
@@ -19,7 +19,7 @@ export async function script ({ scope, utils }) { | ||
choices: [ | ||
{ title: 'ESLint', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'Linting (vite-plugin-checker + ESLint)', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' }, | ||
{ title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' }, | ||
{ title: 'Axios', value: 'axios' }, | ||
{ title: 'Vue-i18n', value: 'i18n' } | ||
{ title: 'axios', value: 'axios' }, | ||
{ title: 'vue-i18n', value: 'i18n' } | ||
], | ||
@@ -26,0 +26,0 @@ format: values => { |
@@ -19,7 +19,7 @@ export async function script ({ scope, utils }) { | ||
choices: [ | ||
{ title: 'ESLint', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'Linting (ESLint)', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' }, | ||
{ title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' }, | ||
{ title: 'Axios', value: 'axios' }, | ||
{ title: 'Vue-i18n', value: 'i18n' } | ||
{ title: 'axios', value: 'axios' }, | ||
{ title: 'vue-i18n', value: 'i18n' } | ||
], | ||
@@ -26,0 +26,0 @@ format: values => { |
@@ -19,7 +19,7 @@ export async function script ({ scope, utils }) { | ||
choices: [ | ||
{ title: 'ESLint', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'Linting (ESLint)', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' }, | ||
{ title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' }, | ||
{ title: 'Axios', value: 'axios' }, | ||
{ title: 'Vue-i18n', value: 'i18n' } | ||
{ title: 'axios', value: 'axios' }, | ||
{ title: 'vue-i18n', value: 'i18n' } | ||
], | ||
@@ -26,0 +26,0 @@ format: values => { |
@@ -32,2 +32,4 @@ { | ||
"@typescript-eslint/parser": "^6.6.0", | ||
"vite-plugin-checker": "^0.6.4", | ||
"vue-tsc": "^1.8.22", | ||
"eslint": "^8.11.0", | ||
@@ -49,5 +51,5 @@ "eslint-plugin-vue": "^9.0.0", | ||
<% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^2.0.0",<% } %> | ||
"@quasar/app-vite": "^2.0.0-beta.1", | ||
"@quasar/app-vite": "^2.0.0-beta.5", | ||
"autoprefixer": "^10.4.2", | ||
"typescript": "^5.2.2" | ||
"typescript": "~5.3.0" | ||
}, | ||
@@ -54,0 +56,0 @@ "engines": { |
@@ -14,12 +14,2 @@ /* eslint-env node */ | ||
return { | ||
<% if (preset.lint) { %>eslint: { | ||
// fix: true, | ||
// include: [], | ||
// exclude: [], | ||
// cache: false, | ||
// rawOptions: {}, | ||
warnings: true, | ||
errors: true | ||
},<% } %> | ||
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature | ||
@@ -81,3 +71,3 @@ // preFetch: true, | ||
<% if (preset.i18n) { %>vitePlugins: [ | ||
<% if (preset.i18n || preset.lint) { %>vitePlugins: [<% if (preset.i18n) { %> | ||
['@intlify/unplugin-vue-i18n/vite', { | ||
@@ -95,6 +85,14 @@ // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false` | ||
include: [ fileURLToPath(new URL('./src/i18n', import.meta.url)) ], | ||
}] | ||
}]<% } %><% if (preset.lint) { %><% if (preset.i18n) { %>,<% } %> | ||
['vite-plugin-checker', { | ||
vueTsc: { | ||
tsconfigPath: 'tsconfig.vue-tsc.json' | ||
}, | ||
eslint: { | ||
lintCommand: 'eslint "./**/*.{js,ts,mjs,cjs,vue}"' | ||
} | ||
}, { server: false }]<% } %> | ||
]<% } else { %> | ||
// vitePlugins: [ | ||
// [ 'package-name', { ..options.. } ] | ||
// [ 'package-name', { ..pluginOptions.. }, { server: true, client: true } ] | ||
// ]<% } %> | ||
@@ -101,0 +99,0 @@ }, |
@@ -9,4 +9,4 @@ export async function script ({ scope, utils }) { | ||
choices: [ | ||
{ title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' }, | ||
{ title: 'Composition API', value: 'composition', description: 'recommended' }, | ||
{ title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' }, | ||
{ title: 'Options API', value: 'options' }, | ||
@@ -32,7 +32,7 @@ { title: 'Class-based', value: 'class', description: 'DEPRECATED; see https://github.com/quasarframework/quasar/discussions/11204', disabled: true } | ||
choices: [ | ||
{ title: 'ESLint', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'Linting (vite-plugin-checker + ESLint + vue-tsc)', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' }, | ||
{ title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' }, | ||
{ title: 'Axios', value: 'axios' }, | ||
{ title: 'Vue-i18n', value: 'i18n' } | ||
{ title: 'axios', value: 'axios' }, | ||
{ title: 'vue-i18n', value: 'i18n' } | ||
], | ||
@@ -39,0 +39,0 @@ format: values => { |
@@ -31,2 +31,4 @@ { | ||
"@typescript-eslint/parser": "^5.10.0", | ||
"vite-plugin-checker": "^0.6.4", | ||
"vue-tsc": "^1.8.22", | ||
"eslint": "^8.11.0", | ||
@@ -48,3 +50,3 @@ "eslint-plugin-vue": "^9.0.0", | ||
<% if (preset.i18n) { %>"@intlify/vite-plugin-vue-i18n": "^3.3.1",<% } %> | ||
"@quasar/app-vite": "^1.4.3", | ||
"@quasar/app-vite": "^1.8.0", | ||
"autoprefixer": "^10.4.2", | ||
@@ -51,0 +53,0 @@ "typescript": "^4.5.4" |
@@ -19,11 +19,2 @@ /* eslint-env node */ | ||
return { | ||
<% if (preset.lint) { %>eslint: { | ||
// fix: true, | ||
// include: [], | ||
// exclude: [], | ||
// rawOptions: {}, | ||
warnings: true, | ||
errors: true | ||
},<% } %> | ||
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature | ||
@@ -85,3 +76,3 @@ // preFetch: true, | ||
<% if (preset.i18n) { %>vitePlugins: [ | ||
<% if (preset.i18n || preset.lint) { %>vitePlugins: [<% if (preset.i18n) { %> | ||
['@intlify/vite-plugin-vue-i18n', { | ||
@@ -97,6 +88,14 @@ // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false` | ||
include: path.resolve(__dirname, './src/i18n/**') | ||
}] | ||
}]<% } %><% if (preset.lint) { %><% if (preset.i18n) { %>,<% } %> | ||
['vite-plugin-checker', { | ||
vueTsc: { | ||
tsconfigPath: 'tsconfig.vue-tsc.json' | ||
}, | ||
eslint: { | ||
lintCommand: 'eslint "./**/*.{js,ts,mjs,cjs,vue}"' | ||
} | ||
}, { server: false }]<% } %> | ||
]<% } else { %> | ||
// vitePlugins: [ | ||
// [ 'package-name', { ..options.. } ] | ||
// [ 'package-name', { ..pluginOptions.. }, { server: true, client: true } ] | ||
// ]<% } %> | ||
@@ -103,0 +102,0 @@ }, |
@@ -9,4 +9,4 @@ export async function script ({ scope, utils }) { | ||
choices: [ | ||
{ title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' }, | ||
{ title: 'Composition API', value: 'composition', description: 'recommended' }, | ||
{ title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' }, | ||
{ title: 'Options API', value: 'options' }, | ||
@@ -32,7 +32,7 @@ { title: 'Class-based', value: 'class', description: 'DEPRECATED; see https://github.com/quasarframework/quasar/discussions/11204', disabled: true } | ||
choices: [ | ||
{ title: 'ESLint', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'Linting (vite-plugin-checker + ESLint + vue-tsc)', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' }, | ||
{ title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' }, | ||
{ title: 'Axios', value: 'axios' }, | ||
{ title: 'Vue-i18n', value: 'i18n' } | ||
{ title: 'axios', value: 'axios' }, | ||
{ title: 'vue-i18n', value: 'i18n' } | ||
], | ||
@@ -39,0 +39,0 @@ format: values => { |
@@ -9,4 +9,4 @@ export async function script ({ scope, utils }) { | ||
choices: [ | ||
{ title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' }, | ||
{ title: 'Composition API', value: 'composition', description: 'recommended' }, | ||
{ title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' }, | ||
{ title: 'Options API', value: 'options' }, | ||
@@ -32,7 +32,7 @@ { title: 'Class-based (DEPRECATED; see https://github.com/quasarframework/quasar/discussions/11204)', value: 'class', disabled: true } | ||
choices: [ | ||
{ title: 'ESLint', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'Linting (ESLint)', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' }, | ||
{ title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' }, | ||
{ title: 'Axios', value: 'axios' }, | ||
{ title: 'Vue-i18n', value: 'i18n' } | ||
{ title: 'axios', value: 'axios' }, | ||
{ title: 'vue-i18n', value: 'i18n' } | ||
], | ||
@@ -39,0 +39,0 @@ format: values => { |
@@ -9,4 +9,4 @@ export async function script ({ scope, utils }) { | ||
choices: [ | ||
{ title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' }, | ||
{ title: 'Composition API', value: 'composition', description: 'recommended' }, | ||
{ title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' }, | ||
{ title: 'Options API', value: 'options' }, | ||
@@ -32,7 +32,7 @@ { title: 'Class-based (DEPRECATED; see https://github.com/quasarframework/quasar/discussions/11204)', value: 'class', disabled: true } | ||
choices: [ | ||
{ title: 'ESLint', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'Linting (ESLint)', value: 'lint', description: 'recommended', selected: true }, | ||
{ title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' }, | ||
{ title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' }, | ||
{ title: 'Axios', value: 'axios' }, | ||
{ title: 'Vue-i18n', value: 'i18n' } | ||
{ title: 'axios', value: 'axios' }, | ||
{ title: 'vue-i18n', value: 'i18n' } | ||
], | ||
@@ -39,0 +39,0 @@ format: values => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1439032
652
9113