-
Notifications
You must be signed in to change notification settings - Fork 155
/
magi-p3-post.js
44 lines (44 loc) · 1.43 KB
/
magi-p3-post.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = {
files: [
'package.json',
'src/vaadin-grid.js',
'src/vaadin-grid-column.js',
'src/vaadin-grid-column-group.js',
'src/vaadin-grid-filter-column.js',
'src/vaadin-grid-filter.js',
'src/vaadin-grid-selection-column.js',
'src/vaadin-grid-scroller.js',
'src/vaadin-grid-sort-column.js',
'src/vaadin-grid-tree-column.js',
'vaadin-grid-column-group.js',
'vaadin-grid-column.js',
'vaadin-grid-filter-column.js',
'vaadin-grid-filter.js',
'vaadin-grid-selection-column.js',
'vaadin-grid-sort-column.js',
'vaadin-grid-sorter.js',
'vaadin-grid-tree-column.js',
'vaadin-grid-tree-toggle.js',
'vaadin-grid.js'
],
from: [
'"resolutions": {',
/@memberof Vaadin\n.*@extends Vaadin\.Grid\.ScrollerElement/g,
'@mixes Vaadin.Grid.ColumnBaseMixin',
'class GridFilterElement extends (class extends PolymerElement {}) {',
/@private\n.*@implements Vaadin\.Grid\.PolymerIronList/g,
/@mixes Vaadin\.Grid\./g,
/.*@memberof Vaadin.*\n/g,
/import '\.\/theme\/lumo\/vaadin-(.+)\.js';/
],
to: [
'"resolutions": {\n"@webcomponents/webcomponentsjs": "2.0.0",',
'@extends ScrollerElement',
'@extends PolymerElement\n * @mixes ColumnBaseMixin',
'class GridFilterElement extends PolymerElement {',
'@implements PolymerIronList',
'@mixes ',
'',
`import './theme/lumo/vaadin-$1.js';\nexport * from './src/vaadin-$1.js';`
]
};