Skip to content

Commit

Permalink
feat(create-quasar): upgrade vite-plugin-checker + vue-tsc (solves v0…
Browse files Browse the repository at this point in the history
….7.1 compat with vue-tsc v2)
  • Loading branch information
rstoenescu committed Jul 10, 2024
1 parent fdb0b19 commit 880f2a0
Show file tree
Hide file tree
Showing 9 changed files with 1,758 additions and 711 deletions.
2 changes: 1 addition & 1 deletion create-quasar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-quasar",
"version": "1.8.4",
"version": "1.8.5",
"description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
"type": "module",
"author": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<% if (preset.lint) { %>
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.0.0",
"vite-plugin-checker": "^0.6.4",
"vite-plugin-checker": "^0.7.1",
<% if (lintConfig === 'standard') { %>
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.19.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
<% if (preset.lint) { %>
"vite-plugin-checker": "^0.6.4",
"vite-plugin-checker": "^0.7.1",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.0.0",
<% if (lintConfig === 'standard') { %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
},
"devDependencies": {
<% if (preset.lint) { %>
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"vite-plugin-checker": "^0.6.4",
"vue-tsc": "^1.8.22",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"vite-plugin-checker": "^0.7.1",
"vue-tsc": "^2.0.1",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.0.0",
<% if (lintConfig === 'standard') { %>
Expand All @@ -47,7 +47,7 @@
<% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^2.0.0",<% } %>
"@quasar/app-vite": "^2.0.0-beta.12",
"autoprefixer": "^10.4.2",
"typescript": "~5.3.0"
"typescript": "~5.5.3"
},
"engines": {
"node": "^24 || ^22 || ^20 || ^18",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
},
"devDependencies": {
<% if (preset.lint) { %>
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.0.0",
"eslint-webpack-plugin": "^4.0.1",
Expand Down
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"prismjs": "^1.26.0",
"quasar": "^2",
"register-service-worker": "^1",
"vue": "^3.4.24",
"vue-router": "^4.3.2"
"vue": "^3.4.31",
"vue-router": "^4.4.0"
},
"devDependencies": {
"@quasar/app-vite": "^2.0.0-beta.5",
"autoprefixer": "^10.4.19",
"axios": "^1.6.8",
"axios": "^1.7.2",
"eslint": "^8.57.0",
"eslint-config-quasar": "^0.0.1",
"eslint-plugin-quasar": "^1.1.0",
Expand All @@ -37,8 +37,8 @@
"markdown-it": "^14.1.0",
"markdown-it-container": "^4.0.0",
"toml": "^3.0.0",
"vite-plugin-checker": "^0.6.4",
"workbox-build": "^7.1.0"
"vite-plugin-checker": "^0.7.1",
"workbox-build": "^7.1.1"
},
"engines": {
"node": "^20 || ^18 || ^16",
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/quasar-cli-vite/linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ The linting for a TS project is based on vite-plugin-checker + ESLint + vue-tsc:

```tabs
<<| bash Yarn |>>
$ yarn add --dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
$ yarn add --dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
<<| bash NPM |>>
$ npm install --save-dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
$ npm install --save-dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
<<| bash PNPM |>>
$ pnpm add -D vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
$ pnpm add -D vite-plugin-checker vue-tsc@2 typescript@^5.5.3
<<| bash Bun |>>
$ bun add --dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
$ bun add --dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
```

::: warning
Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/quasar-cli-vite/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,13 @@ We dropped support for our internal linting (quasar.config file > eslint) in fav

```tabs
<<| bash Yarn |>>
$ yarn add --dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
$ yarn add --dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
<<| bash NPM |>>
$ npm install --save-dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
$ npm install --save-dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
<<| bash PNPM |>>
$ pnpm add -D vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
$ pnpm add -D vite-plugin-checker vue-tsc@2 typescript@^5.5.3
<<| bash Bun |>>
$ bun add --dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
$ bun add --dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
```

::: warning
Expand Down
Loading

0 comments on commit 880f2a0

Please sign in to comment.