Skip to content

Commit

Permalink
feat(docs): be more specific on minimum vue-tsc version in the upgrad…
Browse files Browse the repository at this point in the history
…e guide #17089
  • Loading branch information
rstoenescu committed Apr 27, 2024
1 parent 69a3427 commit fa4c19e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app-vite/lib/modes/electron/electron-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ export class QuasarModeBuilder extends AppBuilder {
let content = this.readFile(npmrc)

if (content.indexOf('shamefully-hoist') === -1) {
content += '\nshamefully-hoist=true'
content += '\n# needed by pnpm\nshamefully-hoist=true'
}
// very important, otherwise PNPM creates symlinks which is NOT
// what we want for an Electron app that should run cross-platform
if (content.indexOf('node-linker') === -1) {
content += '\nnode-linker=hoisted'
content += '\n# pnpm needs this otherwise it creates symlinks\nnode-linker=hoisted'
}

this.writeFile(
Expand Down
4 changes: 2 additions & 2 deletions app-webpack/lib/modes/electron/electron-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ module.exports.QuasarModeBuilder = class QuasarModeBuilder extends AppBuilder {
let content = this.readFile(npmrc)

if (content.indexOf('shamefully-hoist') === -1) {
content += '\nshamefully-hoist=true'
content += '\n# needed by pnpm\nshamefully-hoist=true'
}
// very important, otherwise PNPM creates symlinks which is NOT
// what we want for an Electron app that should run cross-platform
if (content.indexOf('node-linker') === -1) {
content += '\nnode-linker=hoisted'
content += '\n# pnpm needs this otherwise it creates symlinks\nnode-linker=hoisted'
}

this.writeFile(
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.0.0 typescript@~5.3.0
$ yarn add --dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
<<| bash NPM |>>
$ npm install --save-dev vite-plugin-checker vue-tsc@^1.0.0 typescript@~5.3.0
$ npm install --save-dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
<<| bash PNPM |>>
$ pnpm add -D vite-plugin-checker vue-tsc@^1.0.0 typescript@~5.3.0
$ pnpm add -D vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
<<| bash Bun |>>
$ bun add --dev vite-plugin-checker vue-tsc@^1.0.0 typescript@~5.3.0
$ bun add --dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
```

::: 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 @@ -209,13 +209,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.0.0 typescript@~5.3.0
$ yarn add --dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
<<| bash NPM |>>
$ npm install --save-dev vite-plugin-checker vue-tsc@^1.0.0 typescript@~5.3.0
$ npm install --save-dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
<<| bash PNPM |>>
$ pnpm add -D vite-plugin-checker vue-tsc@^1.0.0 typescript@~5.3.0
$ pnpm add -D vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
<<| bash Bun |>>
$ bun add --dev vite-plugin-checker vue-tsc@^1.0.0 typescript@~5.3.0
$ bun add --dev vite-plugin-checker vue-tsc@^1.8.22 typescript@~5.3.0
```

::: warning
Expand Down

0 comments on commit fa4c19e

Please sign in to comment.