Skip to content

Commit

Permalink
replace bower with npm dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Mar 25, 2024
1 parent cb8608d commit b39fec9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
restore-keys: |
${{ runner.os }}-php-
- name: Install npm dependencies
run: yarn install

- name: Install dependencies
run: composer install --prefer-dist --no-progress

Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "yii2-jquery-querybuilder",
"version": "1.0.0",
"dependencies": {
"jQuery-QueryBuilder": "^3.0.0"
}
}
2 changes: 1 addition & 1 deletion src/QueryBuilderAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
class QueryBuilderAsset extends AssetBundle {

public $sourcePath = '@bower/jquery-querybuilder/dist';
public $sourcePath = '@npm/jQuery-QueryBuilder/dist';

/**
* @var string[]
Expand Down

0 comments on commit b39fec9

Please sign in to comment.