diff --git a/.travis.yml b/.travis.yml index 6c960d6f17..4080b502ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,7 @@ addons: install: - travis_retry composer self-update && composer --version - - travis_retry composer global require "fxp/composer-asset-plugin:1.0.0" + - travis_retry composer global require "fxp/composer-asset-plugin:~1.0.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 f8def1340e..837b9a5da4 100644 --- a/docs/guide-es/start-installation.md +++ b/docs/guide-es/start-installation.md @@ -26,7 +26,7 @@ Si ya tienes composer instalado asegurate que esté actualizado ejecutando `comp Teniendo Composer instalado, puedes instalar Yii ejecutando los siguientes comandos en un directorio accesible vía Web: Nota: es posible que en al ejecutar el primer comando te pida tu username - composer global require "fxp/composer-asset-plugin:1.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic El comando anterior instala Yii dentro del directorio `basic`. diff --git a/docs/guide-it/start-installation.md b/docs/guide-it/start-installation.md index 18324fa299..90235d66f1 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.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.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/start-installation.md b/docs/guide-ja/start-installation.md index ff8ba89540..f7cdc3f1fc 100644 --- a/docs/guide-ja/start-installation.md +++ b/docs/guide-ja/start-installation.md @@ -36,7 +36,7 @@ Composer は `composer self-update` コマンドを実行してアップデー Composer がインストールされたら、ウェブからアクセスできるフォルダで下記のコマンドを実行することによって Yii をインストールすることが出来ます。 - composer global require "fxp/composer-asset-plugin:1.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic 最初のコマンドは [composer アセットプラグイン](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 78f913ce51..45b228ed14 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.0.0" +composer global require "fxp/composer-asset-plugin:~1.0.0" composer create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project ``` diff --git a/docs/guide-ja/tutorial-yii-integration.md b/docs/guide-ja/tutorial-yii-integration.md index 92f37951ae..b43b0221ea 100644 --- a/docs/guide-ja/tutorial-yii-integration.md +++ b/docs/guide-ja/tutorial-yii-integration.md @@ -77,7 +77,7 @@ Yii は数多くの優れた機能を提供していますので、サードパ サードパーティのシステムが Composer を使って依存を管理している場合は、単に下記のコマンドを実行すれば Yii をインストールすることが出来ます。 - composer global require "fxp/composer-asset-plugin:1.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer require yiisoft/yii2 composer install diff --git a/docs/guide-pt-BR/start-installation.md b/docs/guide-pt-BR/start-installation.md index 8d6639f4d8..4f5a77f57d 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.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic O primeiro comando instaka o [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/) diff --git a/docs/guide-ru/start-installation.md b/docs/guide-ru/start-installation.md index 98479ad821..1d49b98bf7 100644 --- a/docs/guide-ru/start-installation.md +++ b/docs/guide-ru/start-installation.md @@ -29,7 +29,7 @@ После установки Composer устанавливать Yii можно запустив следующую команду в папке доступной через веб: - composer global require "fxp/composer-asset-plugin:1.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic Первая команда устанавливает [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/), diff --git a/docs/guide-ru/tutorial-advanced-app.md b/docs/guide-ru/tutorial-advanced-app.md index ae404c7e2b..76dfeb6ef9 100644 --- a/docs/guide-ru/tutorial-advanced-app.md +++ b/docs/guide-ru/tutorial-advanced-app.md @@ -19,7 +19,7 @@ Если Composer установлен, вы можете установить приложение используя следующие команды: - composer global require "fxp/composer-asset-plugin:1.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application Первая команда установит плагин [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/), diff --git a/docs/guide-ru/tutorial-yii-integration.md b/docs/guide-ru/tutorial-yii-integration.md index cc349e225e..c7c35bc71f 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.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer require "yiisoft/yii2:*" composer install diff --git a/docs/guide-uk/start-installation.md b/docs/guide-uk/start-installation.md index 627e67857d..8c4485eb85 100644 --- a/docs/guide-uk/start-installation.md +++ b/docs/guide-uk/start-installation.md @@ -26,7 +26,7 @@ Після встановлення Composer, встановити Yii можна виконавши наступну команду з директорії, яка доступна через Web: - composer global require "fxp/composer-asset-plugin:1.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic Перша команда встановить [плагін ресурсів composer (composer-asset-plugin)](https://github.com/francoispluchino/composer-asset-plugin/), diff --git a/docs/guide-uk/tutorial-yii-integration.md b/docs/guide-uk/tutorial-yii-integration.md index 2dfb7a0902..7ba86b0010 100644 --- a/docs/guide-uk/tutorial-yii-integration.md +++ b/docs/guide-uk/tutorial-yii-integration.md @@ -83,7 +83,7 @@ Yii::$classMap['Class2'] = 'path/to/Class2.php'; Якщо стороння система використовує управління залежностями Composer, ви можете встановити Yii за допомогою наступних команд: - composer global require "fxp/composer-asset-plugin:1.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer require yiisoft/yii2 composer install diff --git a/docs/guide-zh-CN/start-installation.md b/docs/guide-zh-CN/start-installation.md index 0684093621..ae6fe0c726 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.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.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 4e416f62f1..5991bc015b 100644 --- a/docs/guide/start-installation.md +++ b/docs/guide/start-installation.md @@ -37,7 +37,7 @@ by running `composer self-update`. With Composer installed, you can install Yii by running the following commands under a Web-accessible folder: - composer global require "fxp/composer-asset-plugin:1.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer create-project --prefer-dist yiisoft/yii2-app-basic basic The first command installs the [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/) diff --git a/docs/guide/tutorial-start-from-scratch.md b/docs/guide/tutorial-start-from-scratch.md index 44541bad16..36ad3baf3a 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.0.0" +composer global require "fxp/composer-asset-plugin:~1.0.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 b09b0ace78..46c6f82a92 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.0.0" + composer global require "fxp/composer-asset-plugin:~1.0.0" composer require yiisoft/yii2 composer install diff --git a/framework/README.md b/framework/README.md index 4243fdfc48..9a40410807 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.0.0" +composer global require "fxp/composer-asset-plugin:~1.0.0" composer require yiisoft/yii2 ``` diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md index b8a51008e6..7c81578d74 100644 --- a/framework/UPGRADE.md +++ b/framework/UPGRADE.md @@ -82,7 +82,7 @@ Upgrade from Yii 2.0 Beta the composer-asset-plugin, *before* you update your project: ``` - php composer.phar global require "fxp/composer-asset-plugin:1.0.0" + php composer.phar global require "fxp/composer-asset-plugin:~1.0.0" ``` You also need to add the following code to your project's `composer.json` file: