Skip to content

Commit 516f5da

Browse files
committed
minor #2263 Remove yarn commands in documentations (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- Remove yarn commands in documentations | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Alternative to #1200, for the same reasons explained in symfony/symfony-docs#19348, we don't want to keep `yarn` commands. Commits ------- 88a3c73 Remove yarn commands in documentations
2 parents 376d304 + 88a3c73 commit 516f5da

File tree

17 files changed

+0
-70
lines changed

17 files changed

+0
-70
lines changed

src/Autocomplete/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ needed if you're using AssetMapper):
3030
$ npm install --force
3131
$ npm run watch
3232
33-
# or use yarn
34-
$ yarn install --force
35-
$ yarn watch
36-
3733
Usage in a Form (without Ajax)
3834
------------------------------
3935

src/Chartjs/doc/index.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ needed if you're using AssetMapper):
2626
$ npm install --force
2727
$ npm run watch
2828
29-
# or use yarn
30-
$ yarn install --force
31-
$ yarn watch
32-
3329
Usage
3430
-----
3531

@@ -99,9 +95,6 @@ First, install the plugin:
9995
10096
$ npm install chartjs-plugin-zoom -D
10197
102-
# or use yarn
103-
$ yarn add chartjs-plugin-zoom --dev
104-
10598
Then register the plugin globally. This can be done in your ``app.js`` file:
10699

107100
.. code-block:: javascript

src/Cropperjs/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ needed if you're using AssetMapper):
2626
$ npm install --force
2727
$ npm run watch
2828
29-
# or use yarn
30-
$ yarn install --force
31-
$ yarn watch
32-
3329
Usage
3430
-----
3531

src/Dropzone/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ needed if you're using AssetMapper):
2828
$ npm install --force
2929
$ npm run watch
3030
31-
# or use yarn
32-
$ yarn install --force
33-
$ yarn watch
34-
3531
Usage
3632
-----
3733

src/LazyImage/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ needed if you're using AssetMapper):
3030
$ npm install --force
3131
$ npm run watch
3232
33-
# or use yarn
34-
$ yarn install --force
35-
$ yarn watch
36-
3733
Usage
3834
-----
3935

src/LiveComponent/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ needed if you're using AssetMapper):
8787
$ npm install --force
8888
$ npm run watch
8989
90-
# or use yarn
91-
$ yarn install --force
92-
$ yarn watch
93-
9490
If your project is localized in different languages (either via the `locale route parameter`_
9591
or by `setting the locale in the request`_) add the ``{_locale}`` attribute to
9692
the UX Live Components route definition to keep the locale between re-renders:

src/Notify/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ needed if you're using AssetMapper):
2525
$ npm install --force
2626
$ npm run watch
2727
28-
# or use yarn
29-
$ yarn install --force
30-
$ yarn watch
31-
3228
Usage
3329
-----
3430

src/React/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ Next, install a package to help React:
3939
$ npm install -D @babel/preset-react --force
4040
$ npm run watch
4141
42-
# or use yarn
43-
$ yarn add @babel/preset-react --dev --force
44-
$ yarn watch
45-
4642
That's it! Any files inside ``assets/react/controllers/`` can now be rendered as
4743
React components.
4844

src/Svelte/doc/index.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ Install the bundle using Composer and Symfony Flex:
3131
$ npm install --force
3232
$ npm run watch
3333
34-
# or use yarn
35-
$ yarn install --force
36-
$ yarn watch
37-
3834
The Flex recipe will automatically set things up for you, like adding
3935
``.enableSvelte()`` to your ``webpack.config.js`` file and adding code
4036
to load your Svelte components inside ``assets/app.js``.
@@ -45,9 +41,6 @@ Next, install a package to help Svelte:
4541
4642
$ npm install svelte-loader --save-dev
4743
48-
# or use yarn
49-
$ yarn add svelte-loader --dev
50-
5144
That's it! Any files inside ``assets/svelte/controllers/`` can now be rendered as
5245
Svelte components.
5346

src/Swup/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ needed if you're using AssetMapper):
3030
$ npm install --force
3131
$ npm run watch
3232
33-
# or use yarn
34-
$ yarn install --force
35-
$ yarn watch
36-
3733
Usage
3834
-----
3935

src/TogglePassword/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ needed if you're using AssetMapper):
3232
$ npm install --force
3333
$ npm run watch
3434
35-
# or use yarn
36-
$ yarn install --force
37-
$ yarn watch
38-
3935
Usage with Symfony Forms
4036
------------------------
4137

src/Translator/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ needed if you're using AssetMapper):
3535
$ npm install --force
3636
$ npm run watch
3737
38-
# or use yarn
39-
$ yarn install --force
40-
$ yarn watch
41-
4238
After installing the bundle, the following file should be created, thanks to the Symfony Flex recipe:
4339

4440
.. code-block:: javascript

src/Turbo/CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Install the test app:
1313

1414
$ composer install
1515
$ cd tests/app
16-
$ yarn install
17-
$ yarn build
1816
$ php public/index.php doctrine:schema:create
1917

2018
Start the test app:

src/Turbo/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ Configure test environment (working directory: `src/Turbo`):
3737
composer update
3838
docker compose up -d
3939
cd tests/app
40-
yarn install
41-
yarn build
4240
php public/index.php doctrine:schema:create
4341
```
4442

src/Turbo/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ needed if you're using AssetMapper):
3737
$ npm install --force
3838
$ npm run watch
3939
40-
# or use yarn
41-
$ yarn install --force
42-
$ yarn watch
43-
4440
Usage
4541
-----
4642

src/Typed/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ needed if you're using AssetMapper):
3131
$ npm install --force
3232
$ npm run watch
3333
34-
# or use yarn
35-
$ yarn install --force
36-
$ yarn watch
37-
3834
Usage
3935
-----
4036

src/Vue/doc/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ Next, install a package to help Vue:
3939
$ npm install -D vue-loader --force
4040
$ npm run watch
4141
42-
# or with yarn
43-
$ yarn add vue-loader --dev --force
44-
$ yarn watch
45-
4642
That's it! Any files inside ``assets/vue/controllers/`` can now be rendered as
4743
Vue components.
4844

0 commit comments

Comments
 (0)