From 88a3c73afb4f7d205528f72c76bcbb878bffcb1a Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Sat, 12 Oct 2024 08:22:44 +0200 Subject: [PATCH] Remove yarn commands in documentations --- src/Autocomplete/doc/index.rst | 4 ---- src/Chartjs/doc/index.rst | 7 ------- src/Cropperjs/doc/index.rst | 4 ---- src/Dropzone/doc/index.rst | 4 ---- src/LazyImage/doc/index.rst | 4 ---- src/LiveComponent/doc/index.rst | 4 ---- src/Notify/doc/index.rst | 4 ---- src/React/doc/index.rst | 4 ---- src/Svelte/doc/index.rst | 7 ------- src/Swup/doc/index.rst | 4 ---- src/TogglePassword/doc/index.rst | 4 ---- src/Translator/doc/index.rst | 4 ---- src/Turbo/CONTRIBUTING.md | 2 -- src/Turbo/README.md | 2 -- src/Turbo/doc/index.rst | 4 ---- src/Typed/doc/index.rst | 4 ---- src/Vue/doc/index.rst | 4 ---- 17 files changed, 70 deletions(-) diff --git a/src/Autocomplete/doc/index.rst b/src/Autocomplete/doc/index.rst index 2ba45d7691d..69ade32aaf8 100644 --- a/src/Autocomplete/doc/index.rst +++ b/src/Autocomplete/doc/index.rst @@ -30,10 +30,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage in a Form (without Ajax) ------------------------------ diff --git a/src/Chartjs/doc/index.rst b/src/Chartjs/doc/index.rst index e54ef1bd35e..8c9c1424943 100644 --- a/src/Chartjs/doc/index.rst +++ b/src/Chartjs/doc/index.rst @@ -26,10 +26,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- @@ -99,9 +95,6 @@ First, install the plugin: $ npm install chartjs-plugin-zoom -D - # or use yarn - $ yarn add chartjs-plugin-zoom --dev - Then register the plugin globally. This can be done in your ``app.js`` file: .. code-block:: javascript diff --git a/src/Cropperjs/doc/index.rst b/src/Cropperjs/doc/index.rst index df4ef6eef35..663948d8a01 100644 --- a/src/Cropperjs/doc/index.rst +++ b/src/Cropperjs/doc/index.rst @@ -26,10 +26,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/Dropzone/doc/index.rst b/src/Dropzone/doc/index.rst index cff26ffbda6..c5af43dce0f 100644 --- a/src/Dropzone/doc/index.rst +++ b/src/Dropzone/doc/index.rst @@ -28,10 +28,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/LazyImage/doc/index.rst b/src/LazyImage/doc/index.rst index 272384a0cc1..b8369e0ff5e 100644 --- a/src/LazyImage/doc/index.rst +++ b/src/LazyImage/doc/index.rst @@ -30,10 +30,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index e24b87a6bed..7b7e7ca1c41 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -87,10 +87,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - If your project is localized in different languages (either via the `locale route parameter`_ or by `setting the locale in the request`_) add the ``{_locale}`` attribute to the UX Live Components route definition to keep the locale between re-renders: diff --git a/src/Notify/doc/index.rst b/src/Notify/doc/index.rst index 32611d7a6c4..f6c75eaf40c 100644 --- a/src/Notify/doc/index.rst +++ b/src/Notify/doc/index.rst @@ -25,10 +25,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/React/doc/index.rst b/src/React/doc/index.rst index 954061c8308..08a99031444 100644 --- a/src/React/doc/index.rst +++ b/src/React/doc/index.rst @@ -39,10 +39,6 @@ Next, install a package to help React: $ npm install -D @babel/preset-react --force $ npm run watch - # or use yarn - $ yarn add @babel/preset-react --dev --force - $ yarn watch - That's it! Any files inside ``assets/react/controllers/`` can now be rendered as React components. diff --git a/src/Svelte/doc/index.rst b/src/Svelte/doc/index.rst index 3dc0a92f405..b37ee8fa3d1 100644 --- a/src/Svelte/doc/index.rst +++ b/src/Svelte/doc/index.rst @@ -31,10 +31,6 @@ Install the bundle using Composer and Symfony Flex: $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - The Flex recipe will automatically set things up for you, like adding ``.enableSvelte()`` to your ``webpack.config.js`` file and adding code to load your Svelte components inside ``assets/app.js``. @@ -45,9 +41,6 @@ Next, install a package to help Svelte: $ npm install svelte-loader --save-dev - # or use yarn - $ yarn add svelte-loader --dev - That's it! Any files inside ``assets/svelte/controllers/`` can now be rendered as Svelte components. diff --git a/src/Swup/doc/index.rst b/src/Swup/doc/index.rst index 1b2ed8cc438..d97ffa8bf86 100644 --- a/src/Swup/doc/index.rst +++ b/src/Swup/doc/index.rst @@ -30,10 +30,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/TogglePassword/doc/index.rst b/src/TogglePassword/doc/index.rst index c9ea6cf0b4f..ee4e4ed1065 100644 --- a/src/TogglePassword/doc/index.rst +++ b/src/TogglePassword/doc/index.rst @@ -32,10 +32,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage with Symfony Forms ------------------------ diff --git a/src/Translator/doc/index.rst b/src/Translator/doc/index.rst index 6d194ce4a53..bb965b002a9 100644 --- a/src/Translator/doc/index.rst +++ b/src/Translator/doc/index.rst @@ -35,10 +35,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - After installing the bundle, the following file should be created, thanks to the Symfony Flex recipe: .. code-block:: javascript diff --git a/src/Turbo/CONTRIBUTING.md b/src/Turbo/CONTRIBUTING.md index 3eb5e018b6d..bc4c29ac10c 100644 --- a/src/Turbo/CONTRIBUTING.md +++ b/src/Turbo/CONTRIBUTING.md @@ -13,8 +13,6 @@ Install the test app: $ composer install $ cd tests/app - $ yarn install - $ yarn build $ php public/index.php doctrine:schema:create Start the test app: diff --git a/src/Turbo/README.md b/src/Turbo/README.md index aa855d717d7..538794fc22b 100644 --- a/src/Turbo/README.md +++ b/src/Turbo/README.md @@ -37,8 +37,6 @@ Configure test environment (working directory: `src/Turbo`): composer update docker compose up -d cd tests/app -yarn install -yarn build php public/index.php doctrine:schema:create ``` diff --git a/src/Turbo/doc/index.rst b/src/Turbo/doc/index.rst index 336145ca68c..53ac4c6a73b 100644 --- a/src/Turbo/doc/index.rst +++ b/src/Turbo/doc/index.rst @@ -37,10 +37,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/Typed/doc/index.rst b/src/Typed/doc/index.rst index 1a84eacaf95..f6423bbd699 100644 --- a/src/Typed/doc/index.rst +++ b/src/Typed/doc/index.rst @@ -31,10 +31,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/Vue/doc/index.rst b/src/Vue/doc/index.rst index 3f19e3afa9b..0f4f8d0ccc2 100644 --- a/src/Vue/doc/index.rst +++ b/src/Vue/doc/index.rst @@ -39,10 +39,6 @@ Next, install a package to help Vue: $ npm install -D vue-loader --force $ npm run watch - # or with yarn - $ yarn add vue-loader --dev --force - $ yarn watch - That's it! Any files inside ``assets/vue/controllers/`` can now be rendered as Vue components.