Skip to content

Commit 427f8bc

Browse files
authored
Build tooling updates (#775)
* Fix demo watch * simplify website build * update tooling deps * update package.json files to include sourcemaps
1 parent c3a6523 commit 427f8bc

File tree

9 files changed

+280
-278
lines changed

9 files changed

+280
-278
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,5 @@ Session.vim
4949
keys.txt
5050
export.sh
5151
/dist
52-
/website
5352
/tmp
5453
server.sh

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,7 @@ The demo website is hosted at
494494

495495
To publish a new version:
496496

497-
- `yarn run build:website` - This builds the website into `website/`
498-
- `yarn run deploy:website` - Pushes the `website/` subtree to the `gh-pages`
499-
branch of your `origin` at github
497+
- `yarn run build:website` - This builds the website into `dist/website`
498+
- `yarn run deploy:website` - Pushes the website to the `gh-pages` branch of the `origin` at github
500499

501500
_Development of Mobiledoc and the supporting libraries was generously funded by [BDG Media](https://www.bdg.com)._

bin/build-website.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

bin/deploy-website.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ git branch -D gh-pages
44
git checkout -b gh-pages
55

66
CURRENT_SHA="$(git rev-parse HEAD)"
7-
git add website/ -f
7+
git add dist/website/ -f
88
git commit -m "Built website from $CURRENT_SHA"
99

10-
git push origin `git subtree split --prefix website`:gh-pages --force
10+
git push origin `git subtree split --prefix dist/website`:gh-pages --force
1111
echo "Deployed to http://bustle.github.io/mobiledoc-kit/demo/"
1212

1313
git checkout master

0 commit comments

Comments
 (0)