Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5ff9fbf

Browse filesBrowse files
authored
build: fix docsite build (#2766)
1 parent 55d8bc9 commit 5ff9fbf
Copy full SHA for 5ff9fbf

File tree

Expand file treeCollapse file tree

4 files changed

+65
-2068
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+65
-2068
lines changed

‎.github/workflows/gh-pages.yml

Copy file name to clipboardExpand all lines: .github/workflows/gh-pages.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- run: yarn install
1919
- run: yarn build
20-
- run: yarn lerna run build_site --scope react-dnd-documentation
20+
- run: yarn build_docsite
2121

2222
- name: deploy
2323
uses: peaceiris/actions-gh-pages@v2.10.1

‎package.json

Copy file name to clipboardExpand all lines: package.json
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"postinstall": "shx rm -rf node_modules/@types/react-native",
4141
"clean": "yarn workspaces foreach -pv run clean",
4242
"build": "yarn workspaces foreach -vt run build",
43+
"build_docsite": "yarn workspaces foreach --include react-dnd-documentation run build_site",
4344
"unit_test": "jest",
4445
"unit_test:watch": "jest --watch",
4546
"unit_test:coverage": "jest --coverage",
@@ -49,10 +50,8 @@
4950
"lint:formatting": "pretty-quick --check",
5051
"lint": "run-s 'lint:*'",
5152
"changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s -r 0",
52-
"release": "run-s clean test go_no_go release:packages changelog",
5353
"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",
5655
"prettify:source": "prettier 'packages/*/*/src/**/*.ts*'",
5756
"prettify": "pretty-quick --fix",
5857
"precommit:lint": "lint-staged",

‎packages/documentation/docsite/package.json

Copy file name to clipboardExpand all lines: packages/documentation/docsite/package.json
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"dependencies": {
88
"@mikaelkristiansson/domready": "^1.0.10",
99
"@reach/router": "^1.3.4",
10+
"babel-plugin-styled-components": "^1.11.1",
11+
"bluebird": "^3.7.2",
1012
"debug": "^4.2.0",
1113
"event-source-polyfill": "^1.0.20",
1214
"gatsby": "^2.24.67",
@@ -76,9 +78,9 @@
7678
"copy_examples:ts_hooks": "cp -r ../examples-hooks/src static/examples_hooks_ts",
7779
"copy_examples:js_decorators": "cp -r ../examples-decorators/dist/docs static/examples_decorators_js",
7880
"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:*'",
8082
"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",
8284
"write_example_boilerplate": "node write_sample_boilerplate.js",
8385
"process_examples": "run-s copy_examples prune_buildinfo format_examples write_example_boilerplate",
8486
"build_gatsby": "gatsby build --prefix-paths",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.