chore: update husky
parent
e48bc13c6a
commit
c4a60d6070
|
@ -63,7 +63,6 @@ _site
|
||||||
yarn.lock
|
yarn.lock
|
||||||
package-lock.json
|
package-lock.json
|
||||||
/coverage
|
/coverage
|
||||||
.husky
|
|
||||||
|
|
||||||
# 备份文件
|
# 备份文件
|
||||||
/components/test/*
|
/components/test/*
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
_
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npx --no-install pretty-quick --staged
|
|
@ -15,6 +15,7 @@
|
||||||
</demo-sort>
|
</demo-sort>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { defineComponent } from 'vue';
|
||||||
import Basic from './basic.vue';
|
import Basic from './basic.vue';
|
||||||
import CustomValidation from './custom-validation.vue';
|
import CustomValidation from './custom-validation.vue';
|
||||||
import DynamicFormItem from './dynamic-form-item.vue';
|
import DynamicFormItem from './dynamic-form-item.vue';
|
||||||
|
@ -27,11 +28,10 @@ import UseFormNested from './useForm-nested.vue';
|
||||||
import UseFormTrigger from './useForm-trigger.vue';
|
import UseFormTrigger from './useForm-trigger.vue';
|
||||||
import UseFormMerge from './useForm-merge.vue';
|
import UseFormMerge from './useForm-merge.vue';
|
||||||
import LableWidth from './lable-width.vue';
|
import LableWidth from './lable-width.vue';
|
||||||
|
|
||||||
import CN from '../index.zh-CN.md';
|
import CN from '../index.zh-CN.md';
|
||||||
import US from '../index.en-US.md';
|
import US from '../index.en-US.md';
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
US,
|
US,
|
||||||
CN,
|
CN,
|
||||||
components: {
|
components: {
|
||||||
|
@ -48,7 +48,7 @@ export default {
|
||||||
UseFormMerge,
|
UseFormMerge,
|
||||||
LableWidth,
|
LableWidth,
|
||||||
},
|
},
|
||||||
};
|
});
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
.code-box-demo .ant-form:not(.ant-form-inline):not(.ant-form-vertical) {
|
.code-box-demo .ant-form:not(.ant-form-inline):not(.ant-form-vertical) {
|
||||||
|
|
|
@ -51,7 +51,8 @@
|
||||||
"routes": "node site/scripts/genrateRoutes.js",
|
"routes": "node site/scripts/genrateRoutes.js",
|
||||||
"tsc": "tsc --noEmit",
|
"tsc": "tsc --noEmit",
|
||||||
"site": "yarn routes && ./node_modules/vite/bin/vite.js build site --base=https://next.antdv.com/",
|
"site": "yarn routes && ./node_modules/vite/bin/vite.js build site --base=https://next.antdv.com/",
|
||||||
"pub:site": "npm run site && node site/scripts/pushToOSS.js"
|
"pub:site": "npm run site && node site/scripts/pushToOSS.js",
|
||||||
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -156,7 +157,7 @@
|
||||||
"gulp-strip-code": "^0.1.4",
|
"gulp-strip-code": "^0.1.4",
|
||||||
"gulp-typescript": "^6.0.0-alpha.1",
|
"gulp-typescript": "^6.0.0-alpha.1",
|
||||||
"html-webpack-plugin": "^5.3.1",
|
"html-webpack-plugin": "^5.3.1",
|
||||||
"husky": "^4.0.0",
|
"husky": "^6.0.0",
|
||||||
"ignore-emit-webpack-plugin": "^2.0.6",
|
"ignore-emit-webpack-plugin": "^2.0.6",
|
||||||
"jest": "^26.0.0",
|
"jest": "^26.0.0",
|
||||||
"jest-environment-jsdom-fifteen": "^1.0.2",
|
"jest-environment-jsdom-fifteen": "^1.0.2",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// debugger tsx
|
// debugger tsx
|
||||||
import Demo from '../../components/modal/demo/index.vue';
|
import Demo from '../../components/form/demo/index.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
render() {
|
render() {
|
||||||
|
|
Loading…
Reference in New Issue