Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
32c12217
Commit
32c12217
authored
Sep 17, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid publishing dev files of js packages
parent
684365e8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
README.md
extensions/README.md
+1
-1
BootstrapAsset.php
extensions/bootstrap/BootstrapAsset.php
+2
-2
BootstrapPluginAsset.php
extensions/bootstrap/BootstrapPluginAsset.php
+2
-2
BootstrapThemeAsset.php
extensions/bootstrap/BootstrapThemeAsset.php
+2
-2
TypeAheadAsset.php
extensions/gii/TypeAheadAsset.php
+2
-2
MaskedInputAsset.php
framework/widgets/MaskedInputAsset.php
+2
-2
No files found.
extensions/README.md
View file @
32c12217
...
@@ -9,7 +9,7 @@ To add a new extension named `xyz` (must be in lower case), take the following s
...
@@ -9,7 +9,7 @@ To add a new extension named `xyz` (must be in lower case), take the following s
*
`CHANGELOG.md`
*
`CHANGELOG.md`
*
`LICENSE.md`
*
`LICENSE.md`
3.
ask Qiang to create a subsplit for
`xyz`
and a composer package named
`yii2-xyz`
;
3.
ask Qiang to create a subsplit for
`xyz`
and a composer package named
`yii2-xyz`
;
4.
modify
`/composer.json`
and add
`xyz`
to the
`replace`
section;
4.
modify
`/composer.json`
and add
`
yiisoft/yii2-
xyz`
to the
`replace`
section;
5.
If an extension contains js/css files or depends on external bower packages:
5.
If an extension contains js/css files or depends on external bower packages:
*
create
`bower.json`
*
create
`bower.json`
*
ask Qiang to register a bower package with the name
`yii2-xyz`
*
ask Qiang to register a bower package with the name
`yii2-xyz`
extensions/bootstrap/BootstrapAsset.php
View file @
32c12217
...
@@ -17,8 +17,8 @@ use yii\web\AssetBundle;
...
@@ -17,8 +17,8 @@ use yii\web\AssetBundle;
*/
*/
class
BootstrapAsset
extends
AssetBundle
class
BootstrapAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@bower/bootstrap'
;
public
$sourcePath
=
'@bower/bootstrap
/dist
'
;
public
$css
=
[
public
$css
=
[
'
dist/
css/bootstrap.css'
,
'css/bootstrap.css'
,
];
];
}
}
extensions/bootstrap/BootstrapPluginAsset.php
View file @
32c12217
...
@@ -17,9 +17,9 @@ use yii\web\AssetBundle;
...
@@ -17,9 +17,9 @@ use yii\web\AssetBundle;
*/
*/
class
BootstrapPluginAsset
extends
AssetBundle
class
BootstrapPluginAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@bower/bootstrap'
;
public
$sourcePath
=
'@bower/bootstrap
/dist
'
;
public
$js
=
[
public
$js
=
[
'
dist/
js/bootstrap.js'
,
'js/bootstrap.js'
,
];
];
public
$depends
=
[
public
$depends
=
[
'yii\web\JqueryAsset'
,
'yii\web\JqueryAsset'
,
...
...
extensions/bootstrap/BootstrapThemeAsset.php
View file @
32c12217
...
@@ -17,9 +17,9 @@ use yii\web\AssetBundle;
...
@@ -17,9 +17,9 @@ use yii\web\AssetBundle;
*/
*/
class
BootstrapThemeAsset
extends
AssetBundle
class
BootstrapThemeAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@bower/bootstrap'
;
public
$sourcePath
=
'@bower/bootstrap
/dist
'
;
public
$css
=
[
public
$css
=
[
'
dist/
css/bootstrap-theme.css'
,
'css/bootstrap-theme.css'
,
];
];
public
$depends
=
[
public
$depends
=
[
'yii\bootstrap\BootstrapAsset'
,
'yii\bootstrap\BootstrapAsset'
,
...
...
extensions/gii/TypeAheadAsset.php
View file @
32c12217
...
@@ -16,9 +16,9 @@ use yii\web\AssetBundle;
...
@@ -16,9 +16,9 @@ use yii\web\AssetBundle;
*/
*/
class
TypeAheadAsset
extends
AssetBundle
class
TypeAheadAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@bower/typeahead.js'
;
public
$sourcePath
=
'@bower/typeahead.js
/dist
'
;
public
$js
=
[
public
$js
=
[
'
dist/
typeahead.bundle.js'
,
'typeahead.bundle.js'
,
];
];
public
$depends
=
[
public
$depends
=
[
'yii\bootstrap\BootstrapAsset'
,
'yii\bootstrap\BootstrapAsset'
,
...
...
framework/widgets/MaskedInputAsset.php
View file @
32c12217
...
@@ -19,9 +19,9 @@ use yii\web\AssetBundle;
...
@@ -19,9 +19,9 @@ use yii\web\AssetBundle;
*/
*/
class
MaskedInputAsset
extends
AssetBundle
class
MaskedInputAsset
extends
AssetBundle
{
{
public
$sourcePath
=
'@bower/jquery.inputmask'
;
public
$sourcePath
=
'@bower/jquery.inputmask
/dist
'
;
public
$js
=
[
public
$js
=
[
'
dist/
jquery.inputmask.bundle.js'
'jquery.inputmask.bundle.js'
];
];
public
$depends
=
[
public
$depends
=
[
'yii\web\YiiAsset'
'yii\web\YiiAsset'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment