From 5d8c5a32ba3c11e18413316b9336108a56bd0052 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula <42547589+terabytesoftw@users.noreply.github.com> Date: Sun, 21 Jan 2024 08:12:07 -0300 Subject: [PATCH] Clean `composer.json`, update `LICENSE`. (#6) --- CHANGELOG.md | 6 ++++++ LICENSE | 2 +- changelog.md | 2 -- composer.json | 20 +++----------------- tests/TestCase.php | 4 ++-- 5 files changed, 12 insertions(+), 22 deletions(-) create mode 100644 CHANGELOG.md delete mode 100644 changelog.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..16fc864 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +Change Log +========== + +## 0.1.0 January 21, 2024 + +- Initial release. diff --git a/LICENSE b/LICENSE index d89684f..06e745f 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/changelog.md b/changelog.md deleted file mode 100644 index 9a203e1..0000000 --- a/changelog.md +++ /dev/null @@ -1,2 +0,0 @@ -Change Log -========== diff --git a/composer.json b/composer.json index e098bf8..11d4c8b 100644 --- a/composer.json +++ b/composer.json @@ -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": { @@ -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": { diff --git a/tests/TestCase.php b/tests/TestCase.php index fde153f..6787ed5 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -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' => [