-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated packages. Added typescript support.
- Loading branch information
Kames, Justin (SPLXE) - KLM
authored and
Kames, Justin (SPLXE) - KLM
committed
Jan 31, 2020
1 parent
b593391
commit 698c2c0
Showing
14 changed files
with
68 additions
and
27 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 |
---|---|---|
|
@@ -3,4 +3,6 @@ | |
.idea | ||
coverage/ | ||
package-lock.json | ||
sample-project | ||
sample-project | ||
ts-sample-project | ||
|
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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
/dist/ | ||
/node_modules/ | ||
.idea | ||
coverage/ | ||
node_modules/ | ||
sample-project/ | ||
package-lock.json | ||
sample-project | ||
ts-sample-project | ||
.travis.yml | ||
jest.config.js | ||
tsconfig.json | ||
tslint.json | ||
src/ | ||
tests/ | ||
src/ |
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
File renamed without changes.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import ObjectAssign from "es6-object-assign"; | ||
ObjectAssign.polyfill(); | ||
import VueLogger from "./vue-logger/vue-logger"; | ||
import VueLogger from "./vue-logger"; | ||
export default VueLogger; |
File renamed without changes.
File renamed without changes.
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,26 @@ | ||
/** | ||
* Augment the typings of Vue.js | ||
*/ | ||
import Vue = require('vue'); | ||
|
||
import * as VueLogger from '../../index'; | ||
|
||
export interface Log { | ||
debug(...args: any[]): void; | ||
|
||
info(...args: any[]): void; | ||
|
||
warn(...args: any[]): void; | ||
|
||
error(...args: any[]): void; | ||
|
||
fatal(...args: any[]): void; | ||
} | ||
|
||
declare module 'vue/types/vue' { | ||
interface Vue { | ||
$log: Log; | ||
} | ||
} | ||
|
||
export default VueLogger; |
File renamed without changes.
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
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 |
---|---|---|
|
@@ -11,5 +11,8 @@ | |
"allow-named-functions" | ||
] | ||
}, | ||
"rules": { | ||
"quotemark": [true, "single", "avoid-escape"] | ||
}, | ||
"rulesDirectory": [] | ||
} |