buckram 1.5.3 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/dependabot.yml +27 -0
- package/.github/workflows/ci.yml +42 -0
- package/.github/workflows/release-please.yml +16 -0
- package/.nvmrc +1 -0
- package/CHANGELOG.md +31 -0
- package/LICENSE +674 -0
- package/assets/styles/buckram.scss +1 -1
- package/assets/styles/components/_colors.scss +8 -8
- package/assets/styles/components/_specials.scss +1 -0
- package/assets/styles/components/media/_images.scss +1 -1
- package/assets/styles/components/pages/_back-matter.scss +6 -0
- package/assets/styles/components/pages/_chapters.scss +10 -0
- package/assets/styles/components/pages/_front-matter.scss +6 -0
- package/assets/styles/components/pages/_titles.scss +23 -14
- package/assets/styles/components/section-titles/_back-matter.scss +14 -11
- package/assets/styles/components/section-titles/_chapters.scss +22 -16
- package/assets/styles/components/section-titles/_front-matter.scss +14 -11
- package/assets/styles/components/section-titles/_parts.scss +2 -2
- package/assets/styles/components/specials/_contributors.scss +99 -0
- package/assets/styles/components/specials/_textboxes.scss +15 -3
- package/assets/styles/components/toc/_generic.scss +6 -12
- package/assets/styles/variables/_pages.scss +38 -38
- package/assets/styles/variables/_specials.scss +57 -2
- package/package.json +11 -13
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
# Maintain dependencies for npm
|
|
4
|
+
- package-ecosystem: "npm"
|
|
5
|
+
# Look for `package.json` and `package-lock.json` files in the root directory
|
|
6
|
+
directory: "/"
|
|
7
|
+
# Check for updates weekly
|
|
8
|
+
schedule:
|
|
9
|
+
interval: "monthly"
|
|
10
|
+
allow:
|
|
11
|
+
# Allow direct updates only (for packages named in package.json)
|
|
12
|
+
- dependency-type: "direct"
|
|
13
|
+
# Allow up to 10 open pull requests for npm dependencies
|
|
14
|
+
open-pull-requests-limit: 10
|
|
15
|
+
|
|
16
|
+
# Maintain dependencies for Composer
|
|
17
|
+
- package-ecosystem: "composer"
|
|
18
|
+
# Look for `composer.json` and `composer.lock` files in the root directory
|
|
19
|
+
directory: "/"
|
|
20
|
+
# Check for updates weekly
|
|
21
|
+
schedule:
|
|
22
|
+
interval: "monthly"
|
|
23
|
+
allow:
|
|
24
|
+
# Allow direct updates only (for packages named in composer.json)
|
|
25
|
+
- dependency-type: "direct"
|
|
26
|
+
# Allow up to 10 open pull requests for composer dependencies
|
|
27
|
+
open-pull-requests-limit: 10
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Build, test, and lint
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [ dev, main ]
|
|
5
|
+
pull_request:
|
|
6
|
+
branches: [ dev, main ]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
node: [ '14' ]
|
|
14
|
+
php: [ '7.4', '8' ]
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v3
|
|
17
|
+
- name: Setup node
|
|
18
|
+
uses: actions/setup-node@v3
|
|
19
|
+
with:
|
|
20
|
+
node-version: ${{ matrix.node }}
|
|
21
|
+
- name: Setup PHP
|
|
22
|
+
uses: shivammathur/setup-php@v2
|
|
23
|
+
with:
|
|
24
|
+
php-version: ${{ matrix.php }}
|
|
25
|
+
tools: composer
|
|
26
|
+
- name: Cache Node modules
|
|
27
|
+
uses: actions/cache@v3
|
|
28
|
+
with:
|
|
29
|
+
path: node_modules
|
|
30
|
+
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
|
|
31
|
+
- name: Cache Composer packages
|
|
32
|
+
uses: actions/cache@v3
|
|
33
|
+
with:
|
|
34
|
+
path: vendor
|
|
35
|
+
key: ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
|
|
36
|
+
- name: Install dependencies, build assets, and run tests
|
|
37
|
+
run: |
|
|
38
|
+
npm install
|
|
39
|
+
npm run build
|
|
40
|
+
npm run test
|
|
41
|
+
- name: Run Stylelint
|
|
42
|
+
run: npm run lint
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Publish release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main ]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
release-please:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: google-github-actions/release-please-action@v3
|
|
12
|
+
id: release
|
|
13
|
+
with:
|
|
14
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
15
|
+
release-type: node
|
|
16
|
+
package-name: buckram
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
14
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.7.1 (2022-08-11)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* resolve issues with extending compound selectors ([#275](https://github.com/pressbooks/buckram/issues/275)) ([4b2f2bb](https://github.com/pressbooks/buckram/commit/4b2f2bb938402981220fb75fe25b81aef17dcdeb))
|
|
8
|
+
|
|
9
|
+
## 1.7.0
|
|
10
|
+
### Minor changes
|
|
11
|
+
- Update semantic selectors to match Pressbooks changes [#887](https://github.com/pressbooks/pressbooks-book/pull/887/files)
|
|
12
|
+
|
|
13
|
+
### Dependencies
|
|
14
|
+
- Bump puppeteer to 11.0.0 [#890](https://github.com/pressbooks/pressbooks-book/pull/890)
|
|
15
|
+
- Bump mocha to 9.1.3 [#882](https://github.com/pressbooks/pressbooks-book/pull/882)
|
|
16
|
+
- Bump nth-check to 2.0.1 [#893](https://github.com/pressbooks/pressbooks-book/pull/893)
|
|
17
|
+
|
|
18
|
+
## 1.6.0
|
|
19
|
+
### Minor changes
|
|
20
|
+
- Add variables for new contributor feature
|
|
21
|
+
|
|
22
|
+
### Patches
|
|
23
|
+
- Fix max-width for center-aligned images: [#851](https://github.com/pressbooks/pressbooks-book/pull/851)
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
- Bump puppeteer to 10.4.0: [#864](https://github.com/pressbooks/pressbooks-book/pull/864)
|
|
27
|
+
- Bump mocha to 9.1.1: [#846](https://github.com/pressbooks/pressbooks-book/pull/846)
|
|
28
|
+
- Bump pixelmatch to 5.2.1: [#810](https://github.com/pressbooks/pressbooks-book/pull/810)
|
|
29
|
+
- Bump urijs to 1.19.7: [#819](https://github.com/pressbooks/pressbooks-book/pull/819)
|
|
30
|
+
- Bump chai to 4.3.4: [#807](https://github.com/pressbooks/pressbooks-book/pull/807)
|
|
31
|
+
- Bump sassdoc to 2.7.3: [#804](https://github.com/pressbooks/pressbooks-book/pull/804)
|
|
32
|
+
|
|
2
33
|
## 1.5.3
|
|
3
34
|
### Patches
|
|
4
35
|
Fix positioning for images without captions: #788
|