Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove remaining references to yarn #155

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions config/plugins/fuses.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,9 @@ For an updated list of the features that can be enabled/disabled using Fuses, pl
This plugin has a peer dependency on `@electron/fuses`, so don't forget to install it too!
{% endhint %}

{% tabs %}
{% tab title="yarn" %}
```shell
yarn add --dev @electron-forge/plugin-fuses @electron/fuses
```
{% endtab %}

{% tab title="npm" %}
```shell
npm install --save-dev @electron-forge/plugin-fuses @electron/fuses
```
{% endtab %}
{% endtabs %}

## Usage

Expand Down
10 changes: 0 additions & 10 deletions config/plugins/vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,9 @@ This plugin makes it easy to set up standard Vite tooling to compile both your m

## Installation

{% tabs %}
{% tab title="yarn" %}
```shell
yarn add --dev @electron-forge/plugin-vite
```
{% endtab %}

{% tab title="npm" %}
```shell
npm install --save-dev @electron-forge/plugin-vite
```
{% endtab %}
{% endtabs %}

## Usage

Expand Down
10 changes: 0 additions & 10 deletions config/plugins/webpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,9 @@ This plugin makes it easy to set up standard [webpack](https://webpack.js.org/)

## Installation

{% tabs %}
{% tab title="yarn" %}
```shell
yarn add --dev @electron-forge/plugin-webpack
```
{% endtab %}

{% tab title="npm" %}
```shell
npm install --save-dev @electron-forge/plugin-webpack
```
{% endtab %}
{% endtabs %}

## Usage

Expand Down
2 changes: 1 addition & 1 deletion guides/create-and-add-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const win = new BrowserWindow({
</strong>})
</code></pre>

Once the path to the icon has been configured, build your project to generate your executable with either `yarn make` or `npm run make`.
Once the path to the icon has been configured, build your project to generate your executable with either `npm run make`.

## Configuring installer icons

Expand Down
2 changes: 1 addition & 1 deletion guides/developing-with-wsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ npm_config_platform=win32 npm install

```

Then, start the Electron app in development mode as usual via `npm start` or `yarn start` _\(respectively\)_.
Then, start the Electron app in development mode as usual via `npm start`.

For package/make/publish, you'll still need to specify the platform if you want to generate bundles/distributables for Windows.

Expand Down
29 changes: 0 additions & 29 deletions guides/framework-integration/vue-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,48 +16,19 @@ The following guide has been tested with Vue 3 and Vite 4.

Create an Electron app using Electron Forge's [Vite](../../templates/vite.md) template.

{% tabs %}
{% tab title="yarn" %}

```bash
yarn create electron-app my-vue-app --template=vite
```

{% endtab %}

{% tab title="npm" %}

```bash
npm init electron-app@latest my-vue-app -- --template=vite
```

{% endtab %}
{% endtabs %}

## Adding dependencies

Add the `vue` npm package to your `dependencies` and the `@vitejs/plugin-vue` package to your `devDependencies`:

{% tabs %}
{% tab title="yarn" %}

```bash
yarn add vue
yarn add --dev @vitejs/plugin-vue
```

{% endtab %}

{% tab title="npm" %}

```bash
npm install vue
npm install --save-dev @vitejs/plugin-vue
```

{% endtab %}
{% endtabs %}

## Integrating Vue 3 code

You should now be able to start using Vue components in your Electron app. The following is a very minimal example of how to start to add Vue 3 code:
Expand Down