chore: update submodule to v2-doc
parent
20cd96e400
commit
d963151dba
|
@ -1,3 +1,3 @@
|
||||||
[submodule "antdv-demo"]
|
[submodule "v2-doc"]
|
||||||
path = antdv-demo
|
path = v2-doc
|
||||||
url = git@github.com:tangjinzhou/antdv-demo.git
|
url = https://github.com/vueComponent/v2-doc
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit f55163dd2cc41cfa2e6c77b3b9b6037c9a2ddefb
|
|
|
@ -29,8 +29,6 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack-dev-server",
|
"dev": "webpack-dev-server",
|
||||||
"start": "cross-env NODE_ENV=development webpack-dev-server --config webpack.config.js",
|
"start": "cross-env NODE_ENV=development webpack-dev-server --config webpack.config.js",
|
||||||
"dev:demo": "node --max_old_space_size=4096 antdv-demo/build/dev.js",
|
|
||||||
"dev:site": "cross-env PORT=3001 NODE_ENV=development --max_old_space_size=4096 webpack-dev-server --config antdv-demo/build/webpack.dev.conf.js",
|
|
||||||
"test": "cross-env NODE_ENV=test WORKFLOW=true jest --config .jest.js",
|
"test": "cross-env NODE_ENV=test WORKFLOW=true jest --config .jest.js",
|
||||||
"test:dev": "cross-env NODE_ENV=test jest --config .jest.js",
|
"test:dev": "cross-env NODE_ENV=test jest --config .jest.js",
|
||||||
"compile": "node antd-tools/cli/run.js compile",
|
"compile": "node antd-tools/cli/run.js compile",
|
||||||
|
@ -42,8 +40,6 @@
|
||||||
"pretty-quick": "pretty-quick",
|
"pretty-quick": "pretty-quick",
|
||||||
"dist": "node --max_old_space_size=6144 antd-tools/cli/run.js dist",
|
"dist": "node --max_old_space_size=6144 antd-tools/cli/run.js dist",
|
||||||
"lint": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue,.ts,.tsx ./components",
|
"lint": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue,.ts,.tsx ./components",
|
||||||
"lint:site": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./antdv-demo",
|
|
||||||
"lint:docs": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue,.md ./antdv-demo/docs/**/demo/**",
|
|
||||||
"lint:style": "stylelint \"{site,components}/**/*.less\" --syntax less",
|
"lint:style": "stylelint \"{site,components}/**/*.less\" --syntax less",
|
||||||
"codecov": "codecov",
|
"codecov": "codecov",
|
||||||
"postinstall": "node scripts/postinstall || echo \"ignore\""
|
"postinstall": "node scripts/postinstall || echo \"ignore\""
|
||||||
|
|
|
@ -6,8 +6,8 @@ import antd from 'ant-design-vue';
|
||||||
import { sleep } from '../utils';
|
import { sleep } from '../utils';
|
||||||
|
|
||||||
export default function demoTest(component, options = {}) {
|
export default function demoTest(component, options = {}) {
|
||||||
const suffix = options.suffix || 'md';
|
const suffix = options.suffix || 'vue';
|
||||||
const files = glob.sync(`./antdv-demo/docs/${component}/demo/*.${suffix}`);
|
const files = glob.sync(`./v2-doc/src/docs/${component}/demo/*.${suffix}`);
|
||||||
|
|
||||||
files.forEach(file => {
|
files.forEach(file => {
|
||||||
let testMethod = options.skip === true ? test.skip : test;
|
let testMethod = options.skip === true ? test.skip : test;
|
||||||
|
|
|
@ -19,5 +19,5 @@
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"allowJs": true
|
"allowJs": true
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "lib", "es", "antd-tools", "dist"]
|
"exclude": ["node_modules", "lib", "es", "antd-tools", "dist", "v2-doc"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 9f89edaa4c372efc94104f9f14f94c1ae41097e9
|
Loading…
Reference in New Issue