From c66121d2b6322a368b6aff4774dcc3228f51b25c Mon Sep 17 00:00:00 2001 From: Kanin Peanviriyakulkit Date: Sun, 3 Jul 2016 17:05:42 +0700 Subject: [PATCH] update documentation fxp/composer-asset-plugin to version ^1.2.0 (#11876) --- .travis.yml | 2 +- docs/guide-es/start-installation.md | 2 +- docs/guide-es/tutorial-start-from-scratch.md | 2 +- docs/guide-es/tutorial-yii-integration.md | 2 +- docs/guide-id/start-installation.md | 4 ++-- docs/guide-it/start-installation.md | 2 +- docs/guide-ja/tutorial-start-from-scratch.md | 2 +- docs/guide-pl/start-installation.md | 4 ++-- docs/guide-pl/tutorial-start-from-scratch.md | 2 +- docs/guide-pt-BR/start-installation.md | 2 +- docs/guide-pt-BR/tutorial-yii-integration.md | 2 +- docs/guide-ru/tutorial-start-from-scratch.md | 2 +- docs/guide-ru/tutorial-yii-integration.md | 2 +- docs/guide-uk/tutorial-start-from-scratch.md | 4 ++-- docs/guide-uk/tutorial-yii-integration.md | 2 +- docs/guide-vi/start-installation.md | 2 +- docs/guide-zh-CN/start-installation.md | 2 +- docs/guide/start-installation.md | 2 +- docs/guide/tutorial-start-from-scratch.md | 2 +- docs/guide/tutorial-yii-integration.md | 2 +- docs/internals-ja/git-workflow.md | 2 +- docs/internals-ru/git-workflow.md | 2 +- docs/internals/git-workflow.md | 2 +- framework/README.md | 2 +- framework/UPGRADE.md | 2 +- 25 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4bfe834449..e728fed8e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ addons: install: - travis_retry composer self-update && composer --version - - travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1" + - travis_retry composer global require "fxp/composer-asset-plugin:^1.2.0" - export PATH="$HOME/.composer/vendor/bin:$PATH" # core framework: - travis_retry composer install --prefer-dist --no-interaction diff --git a/docs/guide-es/start-installation.md b/docs/guide-es/start-installation.md index 00799b0cc8..48b4741632 100644 --- a/docs/guide-es/start-installation.md +++ b/docs/guide-es/start-installation.md @@ -40,7 +40,7 @@ ejecutando el comando `composer self-update` Teniendo Composer instalado, puedes instalar Yii ejecutando los siguientes comandos en un directorio accesible vía Web: ```bash -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic ``` diff --git a/docs/guide-es/tutorial-start-from-scratch.md b/docs/guide-es/tutorial-start-from-scratch.md index cd810fff00..616d755218 100644 --- a/docs/guide-es/tutorial-start-from-scratch.md +++ b/docs/guide-es/tutorial-start-from-scratch.md @@ -50,6 +50,6 @@ Utilizar el Template Eso es todo lo que se necesita para crear un nuevo template de proyecto Yii. Ahora puedes crear tus propios proyectos a partir de este template: ``` -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project ``` diff --git a/docs/guide-es/tutorial-yii-integration.md b/docs/guide-es/tutorial-yii-integration.md index 20739f1918..f7787baa21 100644 --- a/docs/guide-es/tutorial-yii-integration.md +++ b/docs/guide-es/tutorial-yii-integration.md @@ -82,7 +82,7 @@ instalar Yii , e iniciar Yii. Si el sistema de terceros usa Composer para manejar sus dependencias, simplemente ejecuta estos comandos para instalar Yii: - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer require yiisoft/yii2 composer install diff --git a/docs/guide-id/start-installation.md b/docs/guide-id/start-installation.md index d79556af96..dc3d7706c7 100644 --- a/docs/guide-id/start-installation.md +++ b/docs/guide-id/start-installation.md @@ -40,7 +40,7 @@ dengan menjalankan `composer self-update`. Dengan Komposer diinstal, Anda dapat menginstal Yii dengan menjalankan perintah berikut di bawah folder yang terakses web: ```bash -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic ``` @@ -235,4 +235,4 @@ Bila menggunakan konfigurasi ini, Anda juga harus menetapkan `cgi.fix_pathinfo=0 untuk menghindari banyak panggilan `stat()` sistem yang tidak perlu. Sekalian catat bahwa ketika menjalankan server HTTPS, Anda perlu menambahkan `fastcgi_param HTTPS on;` sehingga Yii -benar dapat mendeteksi jika sambungan aman. \ No newline at end of file +benar dapat mendeteksi jika sambungan aman. diff --git a/docs/guide-it/start-installation.md b/docs/guide-it/start-installation.md index 009cdcea5c..755ac3419b 100644 --- a/docs/guide-it/start-installation.md +++ b/docs/guide-it/start-installation.md @@ -27,7 +27,7 @@ Se hai già Composer installato assicurati di avere una versione aggiornata. Puo Una volta installato Composer, puoi installare Yii eseguendo questo comando in una directory accessbile via web: - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic Il primo comando installa il [plugin composer asset](https://github.com/francoispluchino/composer-asset-plugin/) diff --git a/docs/guide-ja/tutorial-start-from-scratch.md b/docs/guide-ja/tutorial-start-from-scratch.md index bda4ea06c5..2dd342c3a8 100644 --- a/docs/guide-ja/tutorial-start-from-scratch.md +++ b/docs/guide-ja/tutorial-start-from-scratch.md @@ -54,6 +54,6 @@ Yii の新しいプロジェクトテンプレートを作成するのに必要 これで、あなたのテンプレートを使ってプロジェクトを作成することが出来ます。 ``` -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project ``` diff --git a/docs/guide-pl/start-installation.md b/docs/guide-pl/start-installation.md index ab4fb44baa..420bd015fa 100644 --- a/docs/guide-pl/start-installation.md +++ b/docs/guide-pl/start-installation.md @@ -36,7 +36,7 @@ Jeśli posiadałeś już wcześniej zainstalowanego Composera, upewnij się, że Z zainstalowanym Composerem możesz przejść do instalacji Yii wywołując poniższe komendy w katalogu dostępnym z poziomu sieci web: ```bash -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic ``` @@ -221,4 +221,4 @@ server { W przypadku użycia tej konfiguracji, powinienieś ustawić również `cgi.fix_pathinfo=0` w pliku `php.ini`, aby zapobiec wielu zbędnym wywołaniom 'stat()'. -Należy również pamiętać, że podczas pracy na serwerze HTTPS musisz dodać `fastcgi_param HTTPS on;`, aby Yii prawidłowo wykrywało, że połączenie jest bezpieczne. \ No newline at end of file +Należy również pamiętać, że podczas pracy na serwerze HTTPS musisz dodać `fastcgi_param HTTPS on;`, aby Yii prawidłowo wykrywało, że połączenie jest bezpieczne. diff --git a/docs/guide-pl/tutorial-start-from-scratch.md b/docs/guide-pl/tutorial-start-from-scratch.md index 948575c525..baab856f35 100644 --- a/docs/guide-pl/tutorial-start-from-scratch.md +++ b/docs/guide-pl/tutorial-start-from-scratch.md @@ -52,6 +52,6 @@ Użycie szablonu Tylko tyle jest wymagane, aby stworzyć nowy szablon projektu Yii. Teraz już możesz rozpocząć pracę nad świeżym projektem, używając swojego szablonu, za pomocą komend: ``` -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist --stability=dev mojafirma/yii2-app-fajna nowy-projekt ``` diff --git a/docs/guide-pt-BR/start-installation.md b/docs/guide-pt-BR/start-installation.md index fce4fa2d2e..8bd2307dfd 100644 --- a/docs/guide-pt-BR/start-installation.md +++ b/docs/guide-pt-BR/start-installation.md @@ -46,7 +46,7 @@ Você pode atualizar o Composer executando o comando `composer self-update`. Com o Composer instalado, você pode instalar o Yii executando o seguinte comando em um diretório acessível pela Web: - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic O primeiro comando instala o [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/) diff --git a/docs/guide-pt-BR/tutorial-yii-integration.md b/docs/guide-pt-BR/tutorial-yii-integration.md index 14f118e2a9..28faef19a3 100644 --- a/docs/guide-pt-BR/tutorial-yii-integration.md +++ b/docs/guide-pt-BR/tutorial-yii-integration.md @@ -66,7 +66,7 @@ Como o Yii fornece muitas características excelentes, algumas vezes você pode Se o sistema em questão utilizar o Composer para gerenciar suas dependências, você pode simplesmente executar o seguinte comando para instalar o Yii: - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer require yiisoft/yii2 composer install diff --git a/docs/guide-ru/tutorial-start-from-scratch.md b/docs/guide-ru/tutorial-start-from-scratch.md index 8d89e80787..a12fd7c6c9 100644 --- a/docs/guide-ru/tutorial-start-from-scratch.md +++ b/docs/guide-ru/tutorial-start-from-scratch.md @@ -46,6 +46,6 @@ git clone git@github.com:yiisoft/yii2-app-basic.git Это все, что требуется для создания нового шаблона проекта в Yii. Сейчас вы можете создавать проекты, использующие ваш шаблон: ``` -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project ``` diff --git a/docs/guide-ru/tutorial-yii-integration.md b/docs/guide-ru/tutorial-yii-integration.md index 023dde6a90..cc96e6fe1c 100644 --- a/docs/guide-ru/tutorial-yii-integration.md +++ b/docs/guide-ru/tutorial-yii-integration.md @@ -63,7 +63,7 @@ Yii::$classMap['Class2'] = 'path/to/Class2.php'; Если сторонняя система использует для управления зависимостями Composer, Yii можно просто установить с помощью следующих команд: - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer require "yiisoft/yii2:*" composer install diff --git a/docs/guide-uk/tutorial-start-from-scratch.md b/docs/guide-uk/tutorial-start-from-scratch.md index 58dd42664e..d63c2ee130 100644 --- a/docs/guide-uk/tutorial-start-from-scratch.md +++ b/docs/guide-uk/tutorial-start-from-scratch.md @@ -57,6 +57,6 @@ git clone git@github.com:yiisoft/yii2-app-basic.git Тепер ви можете створювати проекти, використовуючи свій шаблон: ``` -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project -``` \ No newline at end of file +``` diff --git a/docs/guide-uk/tutorial-yii-integration.md b/docs/guide-uk/tutorial-yii-integration.md index 6a687cfcf8..fec1768915 100644 --- a/docs/guide-uk/tutorial-yii-integration.md +++ b/docs/guide-uk/tutorial-yii-integration.md @@ -84,7 +84,7 @@ Yii::$classMap['Class2'] = 'path/to/Class2.php'; Якщо стороння система використовує управління залежностями Composer, ви можете встановити Yii за допомогою наступних команд: ```bash - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer require yiisoft/yii2 composer install ``` diff --git a/docs/guide-vi/start-installation.md b/docs/guide-vi/start-installation.md index a641fc0a79..0adf2a542a 100644 --- a/docs/guide-vi/start-installation.md +++ b/docs/guide-vi/start-installation.md @@ -36,7 +36,7 @@ Nếu bạn đã cài Composer rồi, hãy chắc chắn rằng bạn đang sử Sau khi cài đặt Composer, bạn có thể cài đặt Yii bằng cách chạy lệnh sau ở thư mục Web mà ứng dụng cần chạy: - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic Câu lệnh đầu tiên sẽ cài đặt [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/) diff --git a/docs/guide-zh-CN/start-installation.md b/docs/guide-zh-CN/start-installation.md index a0af2ad900..14b6eb805c 100644 --- a/docs/guide-zh-CN/start-installation.md +++ b/docs/guide-zh-CN/start-installation.md @@ -22,7 +22,7 @@ Composer 安装后,切换到一个可通过 Web 访问的目录,执行如下命令即可安装 Yii : - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic 第一条命令安装 [Composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/),它是通过 Composer 管理 bower 和 npm 包所必须的,此命令全局生效,一劳永逸。 diff --git a/docs/guide/start-installation.md b/docs/guide/start-installation.md index 461670fc31..84e96554fe 100644 --- a/docs/guide/start-installation.md +++ b/docs/guide/start-installation.md @@ -40,7 +40,7 @@ by running `composer self-update`. With Composer installed, you can install Yii by running the following commands under a Web-accessible folder: ```bash -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic ``` diff --git a/docs/guide/tutorial-start-from-scratch.md b/docs/guide/tutorial-start-from-scratch.md index ee1ab5024e..da37e9d5d3 100644 --- a/docs/guide/tutorial-start-from-scratch.md +++ b/docs/guide/tutorial-start-from-scratch.md @@ -50,6 +50,6 @@ Use the Template That's all that's required to create a new Yii project template. Now you can create projects using your template: ``` -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project ``` diff --git a/docs/guide/tutorial-yii-integration.md b/docs/guide/tutorial-yii-integration.md index 367961aa7a..ee25d83b37 100644 --- a/docs/guide/tutorial-yii-integration.md +++ b/docs/guide/tutorial-yii-integration.md @@ -82,7 +82,7 @@ take two steps: install Yii, and bootstrap Yii. If the third-party system uses Composer to manage its dependencies, you can simply run the following commands to install Yii: - composer global require "fxp/composer-asset-plugin:~1.1.1" + composer global require "fxp/composer-asset-plugin:^1.2.0" composer require yiisoft/yii2 composer install diff --git a/docs/internals-ja/git-workflow.md b/docs/internals-ja/git-workflow.md index 910b60d5f7..695bf53de9 100644 --- a/docs/internals-ja/git-workflow.md +++ b/docs/internals-ja/git-workflow.md @@ -33,7 +33,7 @@ git remote add upstream git://github.com/yiisoft/yii2.git - `composer update` を実行して、依存パッケージをインストールします ([composer をグローバルにインストール](https://getcomposer.org/doc/00-intro.md#globally) したものと仮定しています)。 -> Note: `Problem 1 The requested package bower-asset/jquery could not be found in any version, there may be a typo in the package name.` というようなエラーが生ずる場合は、`composer global require "fxp/composer-asset-plugin:~1.1.1"` を実行する必要があります。 +> Note: `Problem 1 The requested package bower-asset/jquery could not be found in any version, there may be a typo in the package name.` というようなエラーが生ずる場合は、`composer global require "fxp/composer-asset-plugin:^1.2.0"` を実行する必要があります。 - `php build/build dev/app basic` を実行して、ベーシックアプリケーションをクローンし、その依存パッケージをインストールします。 このコマンドは外部 composer パッケージは通常どおりインストールしますが、yii2 レポジトリは現在チェックアウトされているものをリンクします。 diff --git a/docs/internals-ru/git-workflow.md b/docs/internals-ru/git-workflow.md index 5c8f91470e..741abbcfe7 100644 --- a/docs/internals-ru/git-workflow.md +++ b/docs/internals-ru/git-workflow.md @@ -36,7 +36,7 @@ git remote add upstream git://github.com/yiisoft/yii2.git - выполните `composer update` для установки зависимостей (если [composer у вас установлен глобально](https://getcomposer.org/doc/00-intro.md#globally)). > Note: Если вы видите такие ошибки, как `Problem 1 The requested package bower-asset/jquery could not be found in -> any version, there may be a typo in the package name.`, необходимо запустить `composer global require "fxp/composer-asset-plugin:~1.1.1"` +> any version, there may be a typo in the package name.`, необходимо запустить `composer global require "fxp/composer-asset-plugin:^1.2.0"` - выполните `php build/build dev/app basic` для клонирования базового приложения и установки его зависимостей. Эта команда установит сторонние пакеты composer обычным образом, но создаст ссылку с репозитория yii2 на только diff --git a/docs/internals/git-workflow.md b/docs/internals/git-workflow.md index 20eb2163fa..5d12023822 100644 --- a/docs/internals/git-workflow.md +++ b/docs/internals/git-workflow.md @@ -35,7 +35,7 @@ The following steps are not necessary if you want to work only on translations o - run `composer update` to install dependencies (assuming you have [composer installed globally](https://getcomposer.org/doc/00-intro.md#globally)). -> Note: If you see errors like `Problem 1 The requested package bower-asset/jquery could not be found in any version, there may be a typo in the package name.`, you will need to run `composer global require "fxp/composer-asset-plugin:~1.1.1"` +> Note: If you see errors like `Problem 1 The requested package bower-asset/jquery could not be found in any version, there may be a typo in the package name.`, you will need to run `composer global require "fxp/composer-asset-plugin:^1.2.0"` - run `php build/build dev/app basic` to clone the basic app and install composer dependencies for the basic app. This command will install foreign composer packages as normal but will link the yii2 repo to diff --git a/framework/README.md b/framework/README.md index 8a17cf41bc..9d5e8498c9 100644 --- a/framework/README.md +++ b/framework/README.md @@ -15,7 +15,7 @@ The preferred way to install the Yii framework is through [composer](http://getc Either run ``` -composer global require "fxp/composer-asset-plugin:~1.1.1" +composer global require "fxp/composer-asset-plugin:^1.2.0" composer require yiisoft/yii2 ``` diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md index d28ae89e10..516531cba1 100644 --- a/framework/UPGRADE.md +++ b/framework/UPGRADE.md @@ -12,7 +12,7 @@ Make sure you have global install of latest version of composer asset plugin as ``` php composer.phar self-update -php composer.phar global require "fxp/composer-asset-plugin:~1.1.1" +php composer.phar global require "fxp/composer-asset-plugin:^1.2.0" ``` Upgrade from Yii 2.0.8