-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: prepare for TS defs generation (#121)
- Loading branch information
1 parent
611f6e4
commit 44fde69
Showing
8 changed files
with
143 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export type GridProEditorType = 'text' | 'checkbox' | 'select' | 'custom'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"excludeFiles": [ | ||
"wct.conf.js", | ||
"index.html", | ||
"src/vaadin-grid-pro-edit-checkbox.js", | ||
"src/vaadin-grid-pro-edit-select.js", | ||
"src/vaadin-grid-pro-edit-text-field.js", | ||
"demo/**/*", | ||
"test/**/*", | ||
"theme/**/*" | ||
], | ||
"autoImport": { | ||
"@vaadin/vaadin-grid/@types/interfaces": [ | ||
"GridBodyRenderer", | ||
"GridItem", | ||
"GridRowData" | ||
], | ||
"./@types/interfaces": [ | ||
"GridProEditorType" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
files: [ | ||
'src/vaadin-grid-pro.js', | ||
'src/vaadin-grid-pro-edit-column.js', | ||
'vaadin-grid-pro.js', | ||
'vaadin-grid-pro-edit-column.js' | ||
], | ||
from: [ | ||
/@mixes Vaadin\.GridPro\./g, | ||
/@memberof Vaadin*\n.*@extends Vaadin\./g, | ||
/import '\.\/theme\/lumo\/vaadin-(.+)\.js';/ | ||
], | ||
to: [ | ||
'@mixes ', | ||
'@extends ', | ||
`import './theme/lumo/vaadin-$1.js';\nexport * from './src/vaadin-$1.js';` | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"lint": { | ||
"ignoreWarnings": ["overriding-private"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.