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

Remove yarn commands in documentations #2263

Merged
merged 1 commit into from
Oct 12, 2024
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
4 changes: 0 additions & 4 deletions src/Autocomplete/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------------------

Expand Down
7 changes: 0 additions & 7 deletions src/Chartjs/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions src/Cropperjs/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
4 changes: 0 additions & 4 deletions src/Dropzone/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
4 changes: 0 additions & 4 deletions src/LazyImage/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
4 changes: 0 additions & 4 deletions src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 0 additions & 4 deletions src/Notify/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
4 changes: 0 additions & 4 deletions src/React/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
7 changes: 0 additions & 7 deletions src/Svelte/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand All @@ -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.

Expand Down
4 changes: 0 additions & 4 deletions src/Swup/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
4 changes: 0 additions & 4 deletions src/TogglePassword/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------------------

Expand Down
4 changes: 0 additions & 4 deletions src/Translator/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/Turbo/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Install the test app:

$ composer install
$ cd tests/app
$ yarn install
$ yarn build
Comment on lines -16 to -17
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed anymore since #2232

$ php public/index.php doctrine:schema:create

Start the test app:
Expand Down
2 changes: 0 additions & 2 deletions src/Turbo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ Configure test environment (working directory: `src/Turbo`):
composer update
docker compose up -d
cd tests/app
yarn install
yarn build
Comment on lines -40 to -41
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed anymore since #2232

php public/index.php doctrine:schema:create
```

Expand Down
4 changes: 0 additions & 4 deletions src/Turbo/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
4 changes: 0 additions & 4 deletions src/Typed/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
4 changes: 0 additions & 4 deletions src/Vue/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down