Skip to content

Commit

Permalink
chore: merge changes from pressbooks-book (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander authored Jul 29, 2022
1 parent 5874ea0 commit 89f90a5
Show file tree
Hide file tree
Showing 55 changed files with 53,865 additions and 12,565 deletions.
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
updates:
# Maintain dependencies for npm
- package-ecosystem: "npm"
# Look for `package.json` and `package-lock.json` files in the root directory
directory: "/"
# Check for updates weekly
schedule:
interval: "monthly"
allow:
# Allow direct updates only (for packages named in package.json)
- dependency-type: "direct"
# Allow up to 10 open pull requests for npm dependencies
open-pull-requests-limit: 10

# Maintain dependencies for Composer
- package-ecosystem: "composer"
# Look for `composer.json` and `composer.lock` files in the root directory
directory: "/"
# Check for updates weekly
schedule:
interval: "monthly"
allow:
# Allow direct updates only (for packages named in composer.json)
- dependency-type: "direct"
# Allow up to 10 open pull requests for composer dependencies
open-pull-requests-limit: 10
1 change: 0 additions & 1 deletion .github/move.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build, test, and lint
on:
push:
branches: [ dev, main ]
pull_request:
branches: [ dev, main ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14' ]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Cache Node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies, build assets, and run tests
run: |
npm install
npm run build
npm run test
- name: Run Stylelint
run: npm run lint
16 changes: 16 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Publish release

on:
push:
branches: [ main ]

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: buckram
8 changes: 7 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
tests
vendor
.travis.yml
composer.json
composer.lock
sassdoc.json
tests
test.js
webpack.mix.js
yarn.lock
yarn-error.log
86 changes: 86 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Changelog
## 1.7.0
### Minor changes
- Update semantic selectors to match Pressbooks changes [#887](https://github.com/pressbooks/pressbooks-book/pull/887/files)

### Dependencies
- Bump puppeteer to 11.0.0 [#890](https://github.com/pressbooks/pressbooks-book/pull/890)
- Bump mocha to 9.1.3 [#882](https://github.com/pressbooks/pressbooks-book/pull/882)
- Bump nth-check to 2.0.1 [#893](https://github.com/pressbooks/pressbooks-book/pull/893)

## 1.6.0
### Minor changes
- Add variables for new contributor feature

### Patches
- Fix max-width for center-aligned images: [#851](https://github.com/pressbooks/pressbooks-book/pull/851)

### Dependencies
- Bump puppeteer to 10.4.0: [#864](https://github.com/pressbooks/pressbooks-book/pull/864)
- Bump mocha to 9.1.1: [#846](https://github.com/pressbooks/pressbooks-book/pull/846)
- Bump pixelmatch to 5.2.1: [#810](https://github.com/pressbooks/pressbooks-book/pull/810)
- Bump urijs to 1.19.7: [#819](https://github.com/pressbooks/pressbooks-book/pull/819)
- Bump chai to 4.3.4: [#807](https://github.com/pressbooks/pressbooks-book/pull/807)
- Bump sassdoc to 2.7.3: [#804](https://github.com/pressbooks/pressbooks-book/pull/804)

## 1.5.3
### Patches
Fix positioning for images without captions: #788

### Dependencies
- Bump ws to 6.2.2: #787
- Bump color-string to 1.5.5: #789

## 1.5.2

### Dependencies
- Bump ua-parser-js to 0.7.28: #766
- Bump urijs to 1.19.6: #760
- Bump dot-prop to 4.2.1: #759
- Bump http-proxy to 1.18.1: #758
- Bump ini to 1.3.8: #757
- Bump lodash to 4.17.21: #761

## 1.5.1

### Patches
- Color can be "initial", which is incompatible with border shorthand syntax
- Center image in table td using CSS (td img.aligncenter)
- Kindle limits usage of the display:none property for content blocks beyond 10000 characters. If the display:none property is applied to a content block that is bigger than
10000 characters, KindleGen returns an error. Fix is to use less display:none, and hope it affects fewer characters.
- Fix: $image-caption-text-color is often a map

## 1.5.0

### Minor Changes

- Add Full Grid and Full Grid Landscape table options: [#575](https://github.com/pressbooks/pressbooks-book/pull/575)
- Add `overflow-wrap: normal;` to table of contents chapter number to prevent wrapping:[#574](https://github.com/pressbooks/pressbooks-book/pull/574)
- Add img.mathjax CSS: [#566](https://github.com/pressbooks/pressbooks-book/pull/566)
- Add `.landscape` class to add landscape option for large tables that overflow: [#563](https://github.com/pressbooks/pressbooks-book/pull/563)

### Patches
- Fix color variable for Table of Contents part title: [#559](https://github.com/pressbooks/pressbooks-book/pull/559)

## 1.4.0

### Minor Changes

- Add `$section-author-text-indent` variable: [#501](https://github.com/pressbooks/pressbooks-book/pull/501)
- Add color variable for `<dt>` elements: [#502](https://github.com/pressbooks/pressbooks-book/pull/502)
- Add `$title-publisher-float` and `$title-publisher-city-float` variables: [#503](https://github.com/pressbooks/pressbooks-book/pull/503)
- Add `$footote-font-family` variable and update `$footnote-font-weight`: [#544](https://github.com/pressbooks/pressbooks-book/pull/544)

### Patches

- Fix `td` border variable functionality: [#504](https://github.com/pressbooks/pressbooks-book/pull/504)
- Remove running content from blank pages on post introduction front matter: [#522](https://github.com/pressbooks/pressbooks-book/pull/522)
- Add 'if-map-get' to dt-color variable to fix parse error: [#528](https://github.com/pressbooks/pressbooks-book/pull/528)
- Fix: MOBI Table of Contents cannot be clicked: [#543](https://github.com/pressbooks/pressbooks-book/pull/543)
- Fix: Footnotes in headers inherit header styles: [#544](https://github.com/pressbooks/pressbooks-book/pull/544) [#546](https://github.com/pressbooks/pressbooks-book/pull/546) [#547](https://github.com/pressbooks/pressbooks-book/pull/547)

## 1.3.3

### Patches

- Center interactive content fallback images: [#497](https://github.com/pressbooks/pressbooks-book/pull/497)
Loading

0 comments on commit 89f90a5

Please sign in to comment.