chore: update husky
							parent
							
								
									e48bc13c6a
								
							
						
					
					
						commit
						c4a60d6070
					
				| 
						 | 
				
			
			@ -63,7 +63,6 @@ _site
 | 
			
		|||
yarn.lock
 | 
			
		||||
package-lock.json
 | 
			
		||||
/coverage
 | 
			
		||||
.husky
 | 
			
		||||
 | 
			
		||||
# 备份文件
 | 
			
		||||
/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>
 | 
			
		||||
</template>
 | 
			
		||||
<script lang="ts">
 | 
			
		||||
import { defineComponent } from 'vue';
 | 
			
		||||
import Basic from './basic.vue';
 | 
			
		||||
import CustomValidation from './custom-validation.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 UseFormMerge from './useForm-merge.vue';
 | 
			
		||||
import LableWidth from './lable-width.vue';
 | 
			
		||||
 | 
			
		||||
import CN from '../index.zh-CN.md';
 | 
			
		||||
import US from '../index.en-US.md';
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
export default defineComponent({
 | 
			
		||||
  US,
 | 
			
		||||
  CN,
 | 
			
		||||
  components: {
 | 
			
		||||
| 
						 | 
				
			
			@ -48,7 +48,7 @@ export default {
 | 
			
		|||
    UseFormMerge,
 | 
			
		||||
    LableWidth,
 | 
			
		||||
  },
 | 
			
		||||
};
 | 
			
		||||
});
 | 
			
		||||
</script>
 | 
			
		||||
<style>
 | 
			
		||||
.code-box-demo .ant-form:not(.ant-form-inline):not(.ant-form-vertical) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -51,7 +51,8 @@
 | 
			
		|||
    "routes": "node site/scripts/genrateRoutes.js",
 | 
			
		||||
    "tsc": "tsc --noEmit",
 | 
			
		||||
    "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": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
| 
						 | 
				
			
			@ -156,7 +157,7 @@
 | 
			
		|||
    "gulp-strip-code": "^0.1.4",
 | 
			
		||||
    "gulp-typescript": "^6.0.0-alpha.1",
 | 
			
		||||
    "html-webpack-plugin": "^5.3.1",
 | 
			
		||||
    "husky": "^4.0.0",
 | 
			
		||||
    "husky": "^6.0.0",
 | 
			
		||||
    "ignore-emit-webpack-plugin": "^2.0.6",
 | 
			
		||||
    "jest": "^26.0.0",
 | 
			
		||||
    "jest-environment-jsdom-fifteen": "^1.0.2",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
// debugger tsx
 | 
			
		||||
import Demo from '../../components/modal/demo/index.vue';
 | 
			
		||||
import Demo from '../../components/form/demo/index.vue';
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  render() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue