Skip to content

Commit 2d9e89f

Browse files
committed
inited
0 parents  commit 2d9e89f

23 files changed

+740
-0
lines changed

Diff for: .gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# hidev internals
2+
.hidev/composer.json
3+
.hidev/composer.lock
4+
.hidev/vendor
5+
6+
# IDE & OS files
7+
.*.swp
8+
.DS_Store
9+
.buildpath
10+
.idea
11+
.project
12+
.settings
13+
Thumbs.db
14+
nbproject
15+
16+
# php-cs-fixer cache
17+
.php_cs.cache
18+
19+
# vendor dirs
20+
vendor
21+
22+
# composer lock files
23+
composer.lock
24+
25+
# phpunit generated files
26+
coverage.clover
27+
28+
# Yii2 web app directories
29+
runtime/*
30+
web/assets/*
31+
32+
# PHARs
33+
composer.phar
34+
php-cs-fixer.phar
35+
phpunit.phar

Diff for: .hidev/commits.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
hiqdev/asset-packagist.hiqdev.com commits history
2+
-------------------------------------------------
3+
4+
## Development started 2014-11-27
5+

Diff for: .hidev/config.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package:
2+
name: asset-packagist.hiqdev.com
3+
namespace: hiqdev\assetpackagist
4+
5+
do:
6+
class: hiqdev\assetpackagist\controllers\DoController
7+
8+
require:
9+
hiqdev/hidev-php: "*"
10+
hiqdev/hidev-yii2-web-app: "*@dev"
11+
hiqdev/hidev-vendor: "*"

Diff for: .scrutinizer.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
checks:
2+
php:
3+
code_rating: true
4+
duplication: true
5+
tools:
6+
php_code_coverage:
7+
enabled: true
8+
external_code_coverage:
9+
timeout: 600

Diff for: .travis.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: php
2+
php:
3+
- 5.5
4+
- 5.6
5+
- 7
6+
- hhvm
7+
matrix:
8+
allow_failures:
9+
-
10+
php: hhvm
11+
cache:
12+
directories:
13+
- $HOME/.composer/cache
14+
before_install:
15+
- 'composer self-update'
16+
- 'composer --version'
17+
- 'wget http://hiqdev.com/hidev/hidev.phar -O hidev.phar && chmod a+x hidev.phar'
18+
- './hidev.phar --version'
19+
- './hidev.phar travis/before_install'
20+
sudo: false
21+
install:
22+
- './hidev.phar travis/install'
23+
script:
24+
- './hidev.phar travis/script'
25+
after_script:
26+
- './hidev.phar travis/after_script'

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
hiqdev/asset-packagist.hiqdev.com changelog
2+
-------------------------------------------
3+
4+
## Development started 2014-11-27
5+

Diff for: LICENSE

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Copyright © 2014-2016, HiQDev (http://hiqdev.com/)
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions
6+
are met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
* Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in
12+
the documentation and/or other materials provided with the
13+
distribution.
14+
* Neither the name of HiQDev nor the names of its
15+
contributors may be used to endorse or promote products derived
16+
from this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22+
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28+
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29+
POSSIBILITY OF SUCH DAMAGE.

Diff for: README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
asset-packagist.hiqdev.com
2+
==========================
3+
4+
[![Latest Stable Version](https://poser.pugx.org/hiqdev/asset-packagist.hiqdev.com/v/stable)](https://packagist.org/packages/hiqdev/asset-packagist.hiqdev.com)
5+
[![Total Downloads](https://poser.pugx.org/hiqdev/asset-packagist.hiqdev.com/downloads)](https://packagist.org/packages/hiqdev/asset-packagist.hiqdev.com)
6+
[![Build Status](https://img.shields.io/travis/hiqdev/asset-packagist.hiqdev.com.svg)](https://travis-ci.org/hiqdev/asset-packagist.hiqdev.com)
7+
[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/asset-packagist.hiqdev.com.svg)](https://scrutinizer-ci.com/g/hiqdev/asset-packagist.hiqdev.com/)
8+
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/asset-packagist.hiqdev.com.svg)](https://scrutinizer-ci.com/g/hiqdev/asset-packagist.hiqdev.com/)
9+
[![Dependency Status](https://www.versioneye.com/php/hiqdev:asset-packagist.hiqdev.com/dev-master/badge.svg)](https://www.versioneye.com/php/hiqdev:asset-packagist.hiqdev.com/dev-master)
10+
11+
## Installation
12+
13+
The preferred way to install this project is through [composer](http://getcomposer.org/download/).
14+
15+
```sh
16+
php composer.phar create-project "hiqdev/asset-packagist.hiqdev.com:*" directory2install
17+
```
18+
19+
## License
20+
21+
This project is released under the terms of the BSD-3-Clause [license](LICENSE).
22+
Read more [here](http://choosealicense.com/licenses/bsd-3-clause).
23+
24+
Copyright © 2014-2016, HiQDev (http://hiqdev.com/)

Diff for: composer.json

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"name": "hiqdev/asset-packagist.hiqdev.com",
3+
"type": "project",
4+
"description": "asset-packagist.hiqdev.com",
5+
"keywords": [],
6+
"homepage": "http://asset-packagist.hiqdev.com/",
7+
"license": "BSD-3-Clause",
8+
"support": {
9+
"email": "support@hiqdev.com",
10+
"source": "https://github.com/hiqdev/asset-packagist.hiqdev.com",
11+
"issues": "https://github.com/hiqdev/asset-packagist.hiqdev.com/issues",
12+
"wiki": "https://github.com/hiqdev/asset-packagist.hiqdev.com/wiki",
13+
"forum": "http://forum.hiqdev.com/"
14+
},
15+
"authors": [
16+
{
17+
"name": "Andrii Vasyliev",
18+
"role": "Project lead",
19+
"email": "sol@hiqdev.com",
20+
"homepage": "http://hipanel.com/"
21+
},
22+
{
23+
"name": "Dmitry Naumenko",
24+
"role": "Lead backend developer",
25+
"email": "silverfire@hiqdev.com",
26+
"homepage": "http://silverfire.me/"
27+
},
28+
{
29+
"name": "Andrey Klochok",
30+
"role": "Lead frontend developer",
31+
"email": "tafid@hiqdev.com",
32+
"homepage": "http://hiqdev.com/"
33+
},
34+
{
35+
"name": "Yuriy Myronchuk",
36+
"role": "QA Lead",
37+
"email": "bladeroot@hiqdev.com",
38+
"homepage": "http://hiqdev.com/"
39+
}
40+
],
41+
"require": {
42+
"composer/composer": "*@dev",
43+
"fxp/composer-asset-plugin": "*@dev",
44+
"yiisoft/yii2": "^2.0",
45+
"yiisoft/yii2-debug": "^2.0"
46+
},
47+
"require-dev": {
48+
"hiqdev/composer-extension-plugin": "*@dev"
49+
},
50+
"autoload": {
51+
"psr-4": {
52+
"hiqdev\\assetpackagist\\": "src"
53+
}
54+
},
55+
"replace": {
56+
"bower-asset/bootstrap": "*",
57+
"bower-asset/jquery": "*",
58+
"bower-asset/jquery.inputmask": "*",
59+
"bower-asset/punycode": "*",
60+
"bower-asset/yii2-pjax": "*"
61+
}
62+
}

Diff for: src/assets/AppAsset.php

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace hiqdev\assetpackagist\assets;
4+
5+
use yii\web\AssetBundle;
6+
7+
class AppAsset extends AssetBundle
8+
{
9+
public $basePath = '@webroot';
10+
public $baseUrl = '@web';
11+
public $css = [
12+
'css/site.css',
13+
];
14+
public $js = [
15+
];
16+
public $depends = [
17+
'yii\web\YiiAsset',
18+
'yii\bootstrap\BootstrapAsset',
19+
];
20+
}

Diff for: src/config/common.php

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
3+
$config = [
4+
'id' => 'asset-packagist',
5+
'basePath' => dirname(__DIR__),
6+
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
7+
'runtimePath' => dirname(dirname(__DIR__)) . '/runtime',
8+
'controllerNamespace' => 'hiqdev\assetpackagist\controllers',
9+
'bootstrap' => ['log'],
10+
'components' => [
11+
'log' => [
12+
'traceLevel' => YII_DEBUG ? 3 : 0,
13+
'targets' => [
14+
'default' => [
15+
'class' => 'yii\log\FileTarget',
16+
'levels' => ['error', 'warning'],
17+
],
18+
],
19+
],
20+
'urlManager' => [
21+
'enablePrettyUrl' => true,
22+
'rules' => [
23+
'packages.json' => 'packages/packages',
24+
'p/provider-latest.json' => 'packages/provider',
25+
],
26+
],
27+
'request' => [
28+
'cookieValidationKey' => '345sdfsadf',
29+
],
30+
],
31+
'modules' => [
32+
],
33+
34+
'params' => require(__DIR__ . '/params.php'),
35+
];
36+
37+
38+
if (YII_DEBUG) {
39+
$config['bootstrap']['debug'] = 'debug';
40+
$config['modules']['debug'] = [
41+
'class' => 'yii\debug\Module',
42+
'allowedIPs' => ['*'],
43+
];
44+
}
45+
46+
return $config;

Diff for: src/config/params.php

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
3+
return [
4+
];

Diff for: src/config/web.php

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
return __DIR__ . '/common.php';

0 commit comments

Comments
 (0)