Skip to content

Commit

Permalink
v3: upgrade to querybuilder v3
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Feb 21, 2024
1 parent 8407681 commit 2d274f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@
"require": {
"yiisoft/yii2": "~2.0.0",
"solutosoft/yii2-plugin": "~1.0.0",
"bower-asset/jquery-querybuilder": "^2.4.0",
"bower-asset/jquery-querybuilder": "^3",
"pascaldevink/shortuuid": "^3.0 || ^4.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0 || ^9.0"
"phpunit/phpunit": "^8.0 || ^9.0",
"phpstan/phpstan": "^1"

},
"autoload": {
"psr-4": {
Expand All @@ -45,7 +47,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "3.0.x-dev"
}
},
"config": {
Expand Down
5 changes: 3 additions & 2 deletions src/QueryBuilderAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ class QueryBuilderAsset extends AssetBundle {
public $sourcePath = '@bower/jquery-querybuilder/dist';

public $js = [
'js/query-builder.standalone.min.js',
'js/query-builder.standalone.js',
];

public $css = [
'css/query-builder.default.min.css',
'css/query-builder.default.css',
];

public $depends = [
'yii\web\JqueryAsset'
];


}

0 comments on commit 2d274f8

Please sign in to comment.