Skip to content

Commit

Permalink
Clean composer.json, update LICENSE. (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw authored Jan 21, 2024
1 parent b44d0c0 commit 5d8c5a3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 22 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Change Log
==========

## 0.1.0 January 21, 2024

- Initial release.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 yii2-extensions
Copyright © 2008 by Yii Software LLC (http://www.yiisoft.com) All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 0 additions & 2 deletions changelog.md

This file was deleted.

20 changes: 3 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@
"bootstrap5"
],
"license": "mit",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.1",
"oomphinc/composer-installers-extender": "^2.0",
"yii2-extensions/asset-bootstrap5": "dev-main",
"yii2-extensions/asset-bootstrap5": "^0.1",
"yiisoft/yii2": "^2.0.49 || ^2.2"
},
"require-dev": {
Expand All @@ -32,31 +29,20 @@
},
"extra": {
"branch-alias": {
"dev-main": "1.0.x-dev"
"dev-main": "0.1-dev"
},
"config-plugin-options": {
"source-directory": "config"
},
"config-plugin": {
"yii2-bootstrap5": "extension.php"
},
"installer-types": [
"bower-asset",
"npm-asset"
],
"installer-paths": {
"./node_modules/{$name}": [
"type:bower-asset",
"type:npm-asset"
]
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"yiisoft/yii2-composer": true,
"composer/installers": true,
"oomphinc/composer-installers-extender": true
"composer/installers": true
}
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ protected function mockWebApplication(array $config = [], string $appClass = '\y
'vendorPath' => dirname(__DIR__) . '/vendor',
'language' => 'en-US',
'aliases' => [
'@bower' => dirname(__DIR__) . '/node_modules',
'@npm' => dirname(__DIR__) . '/node_modules',
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
'i18n' => [
Expand Down

0 comments on commit 5d8c5a3

Please sign in to comment.