-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #423 from tsedio/rc
Rc
- Loading branch information
Showing
498 changed files
with
9,110 additions
and
12,046 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -35,6 +35,7 @@ node_modules | |
typings/ | ||
|
||
# Typescript | ||
tsconfig.*.tsbuildinfo | ||
test/*.js | ||
test/*.js.map | ||
/packages/*.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
{ | ||
"packages/*/src/**/*.ts": [ | ||
"prettier --write", | ||
"eslint --fix", | ||
"git add" | ||
] | ||
"**/*.{ts,js}": ["eslint --fix"], | ||
"**/*.{ts,js,json,md,yml,yaml}": ["prettier --write"] | ||
} | ||
|
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 +1 @@ | ||
module.exports = {extends: ["@commitlint/config-conventional"]}; | ||
export default {extends: ["@commitlint/config-conventional"]}; |
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 |
---|---|---|
@@ -1,22 +1,24 @@ | ||
import "./window-boot" | ||
import "./window-boot"; | ||
|
||
import VueAnalytics from "vue-analytics"; | ||
import VueTsED from "vuepress-theme-tsed/src/install"; | ||
|
||
import SupportUsBlock from "./components/SupportUsBlock"; | ||
|
||
export default ({ | ||
Vue, // the version of Vue being used in the VuePress app | ||
options, // the options for the root Vue instance | ||
router, // the router instance for the app | ||
siteData // site metadata | ||
}) => { | ||
Vue, // the version of Vue being used in the VuePress app | ||
options, // the options for the root Vue instance | ||
router, // the router instance for the app | ||
siteData // site metadata | ||
}) => { | ||
try { | ||
Vue.use(VueTsED); | ||
Vue.component('SupportUsBlock', SupportUsBlock) | ||
Vue.component("SupportUsBlock", SupportUsBlock); | ||
Vue.use(VueAnalytics, { | ||
id: siteData.themeConfig.plugins[0][1].ga, | ||
router | ||
}); | ||
} catch (er) { | ||
console.warn("====", er); | ||
} | ||
} | ||
}; |
Oops, something went wrong.