Skip to content

Commit

Permalink
Revert "feat: Update templates to support a next release of CLI"
Browse files Browse the repository at this point in the history
  • Loading branch information
akabekobeko authored Dec 3, 2022
1 parent 545f843 commit c5af759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion templates/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"preview": "vivliostyle preview"
},
"dependencies": {
"@vivliostyle/cli": "latest"
"@vivliostyle/cli": "latest",
"{{theme.name}}": "^{{theme.version}}"
},
"license": "{{license}}",
"private": true
Expand Down
2 changes: 1 addition & 1 deletion templates/default/vivliostyle.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
author: '{{contact}}', // default to `author` in `package.json` or undefined.
// language: 'ja', // default to undefined.
// size: 'A4', // paper size.
theme: '{{theme.name}}@^{{theme.version}}', // .css or local dir or npm package. default to undefined.
theme: '{{theme.name}}', // .css or local dir or npm package. default to undefined.
entry: [
'manuscript.md', // `title` is automatically guessed from the file (frontmatter > first heading).
// {
Expand Down

0 comments on commit c5af759

Please sign in to comment.