File tree Expand file tree Collapse file tree 4 files changed +65
-2068
lines changed
Filter options
packages/documentation/docsite Expand file tree Collapse file tree 4 files changed +65
-2068
lines changed
Original file line number Diff line number Diff line change 17
17
18
18
- run : yarn install
19
19
- run : yarn build
20
- - run : yarn lerna run build_site --scope react-dnd-documentation
20
+ - run : yarn build_docsite
21
21
22
22
- name : deploy
23
23
uses : peaceiris/actions-gh-pages@v2.10.1
Original file line number Diff line number Diff line change 40
40
"postinstall" : " shx rm -rf node_modules/@types/react-native" ,
41
41
"clean" : " yarn workspaces foreach -pv run clean" ,
42
42
"build" : " yarn workspaces foreach -vt run build" ,
43
+ "build_docsite" : " yarn workspaces foreach --include react-dnd-documentation run build_site" ,
43
44
"unit_test" : " jest" ,
44
45
"unit_test:watch" : " jest --watch" ,
45
46
"unit_test:coverage" : " jest --coverage" ,
49
50
"lint:formatting" : " pretty-quick --check" ,
50
51
"lint" : " run-s 'lint:*'" ,
51
52
"changelog" : " conventional-changelog -p eslint -i CHANGELOG.md -s -r 0" ,
52
- "release" : " run-s clean test go_no_go release:packages changelog" ,
53
53
"test_modules" : " CI=true yarn workspaces foreach -pv run test" ,
54
- "go_no_go" : " node scripts/go_no_go.js" ,
55
- "ci" : " run-s clean lint build test_modules unit_test:coverage" ,
54
+ "ci" : " run-s clean lint build test_modules unit_test:coverage build_docsite" ,
56
55
"prettify:source" : " prettier 'packages/*/*/src/**/*.ts*'" ,
57
56
"prettify" : " pretty-quick --fix" ,
58
57
"precommit:lint" : " lint-staged" ,
Original file line number Diff line number Diff line change 7
7
"dependencies" : {
8
8
"@mikaelkristiansson/domready" : " ^1.0.10" ,
9
9
"@reach/router" : " ^1.3.4" ,
10
+ "babel-plugin-styled-components" : " ^1.11.1" ,
11
+ "bluebird" : " ^3.7.2" ,
10
12
"debug" : " ^4.2.0" ,
11
13
"event-source-polyfill" : " ^1.0.20" ,
12
14
"gatsby" : " ^2.24.67" ,
76
78
"copy_examples:ts_hooks" : " cp -r ../examples-hooks/src static/examples_hooks_ts" ,
77
79
"copy_examples:js_decorators" : " cp -r ../examples-decorators/dist/docs static/examples_decorators_js" ,
78
80
"copy_examples:ts_decorators" : " cp -r ../examples-decorators/src static/examples_decorators_ts" ,
79
- "copy_examples" : " run-s copy_examples:*" ,
81
+ "copy_examples" : " run-s ' copy_examples:*' " ,
80
82
"prune_buildinfo" : " rimraf static/examples_hooks_js/tsconfig.docs.tsbuildinfo static/examples_decorators_js/tsconfig.docs.tsbuildinfo" ,
81
- "format_examples" : " prettier 'static/examples_*/**/*' --use-tabs=false --write" ,
83
+ "format_examples" : " prettier 'static/examples_*/**/*.(js|ts|tsx) ' --use-tabs=false --write" ,
82
84
"write_example_boilerplate" : " node write_sample_boilerplate.js" ,
83
85
"process_examples" : " run-s copy_examples prune_buildinfo format_examples write_example_boilerplate" ,
84
86
"build_gatsby" : " gatsby build --prefix-paths" ,
You can’t perform that action at this time.
0 commit comments