Commit 0e2b11a 1 parent 21cf8ee commit 0e2b11a Copy full SHA for 0e2b11a
File tree 3 files changed +48
-1
lines changed
src/OpenMage/ComposerPlugin
3 files changed +48
-1
lines changed Original file line number Diff line number Diff line change 3
3
Helper to install via composer ...
4
4
5
5
- [ ChartJs] ( https://github.com/chartjs/Chart.js )
6
+ - [ flow.js] ( https://github.com/flowjs/flow.js )
6
7
- [ jQuery] ( https://github.com/components/jquery )
7
- - [ flatpickr] ( https://github.com/flatpickr/flatpickr )
8
8
- [ TinyMCE] ( https://github.com/tinymce/tinymce )
9
9
10
10
<small >Note: composer install is broken since ChartJs and flatpickr. Until its fixed we try to download from https://unpkg.com </small >
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /**
4
+ * OpenMage
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * that is bundled with this package in the file LICENSE.txt.
8
+ * It is also available at https://opensource.org/license/osl-3-0-php
9
+ *
10
+ * @category OpenMage
11
+ * @package VendorCopy
12
+ * @copyright Copyright (c) The OpenMage Contributors (https://www.openmage.org)
13
+ * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
14
+ */
15
+
16
+ declare (strict_types=1 );
17
+
18
+ namespace OpenMage \ComposerPlugin \Copy \Plugins ;
19
+
20
+ use OpenMage \ComposerPlugin \Copy ;
21
+
22
+ /**
23
+ * Class FlowJs
24
+ */
25
+ class FlowJs extends Copy \AbstractCopyPlugin implements Copy \CopyFromComposerInterface
26
+ {
27
+ public function getComposerPackageName (): string
28
+ {
29
+ return 'flowjs/flowjs ' ;
30
+ }
31
+
32
+ public function getCopySource (): string
33
+ {
34
+ return 'dist ' ;
35
+ }
36
+
37
+ public function getCopyTarget (): string
38
+ {
39
+ return 'js/lib/uploader ' ;
40
+ }
41
+
42
+ public function getFilesByName (): array
43
+ {
44
+ return ['*.js ' ];
45
+ }
46
+ }
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ public static function getSubscribedEvents(): array
66
66
/**
67
67
* @see \OpenMage\ComposerPlugin\Copy\Plugins\ChartJs
68
68
* @see \OpenMage\ComposerPlugin\Copy\Plugins\Flatpickr
69
+ * @see \OpenMage\ComposerPlugin\Copy\Plugins\FlowJs
69
70
* @see \OpenMage\ComposerPlugin\Copy\Plugins\JQuery
70
71
* @see \OpenMage\ComposerPlugin\Copy\Plugins\TinyMce
71
72
* @see \OpenMage\ComposerPlugin\Copy\Plugins\TinyMceLanguages
You can’t perform that action at this time.
0 commit comments