Skip to content

Commit

Permalink
fix: pre-release cleanup (#25)
Browse files Browse the repository at this point in the history
* Improve display

* Bump version and add initial readme

* Add dependabot and CI pipeline configs

* Comment out CI flow for now

* Require Pressbooks ^6.0

* Move pressbooks/pressbooks to dev-dependency list and pin to dev-dev

* Display filters only if they have one or more item in them

* Update description

* NPM run build
  • Loading branch information
SteelWagstaff authored Sep 13, 2022
1 parent 3644f1e commit cd8d6b0
Show file tree
Hide file tree
Showing 14 changed files with 1,413 additions and 1,354 deletions.
35 changes: 35 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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 daily
schedule:
interval: "daily"
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 daily
schedule:
interval: "daily"
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

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
allow:
- dependency-type: "direct"
open-pull-requests-limit: 10
3 changes: 2 additions & 1 deletion assets/css/book-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
}

.book-cards .book-card .book-cover {
@apply w-2/5;
@apply w-2/6;
max-width: 17.1875rem;
}

.book-cards .book-card .book-cover img {
Expand Down
8 changes: 4 additions & 4 deletions assets/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
@apply px-4 py-1;
}

.page-template-page-catalog .header__nav-icon__icon,
.page-template-page-catalog .header__nav-icon__icon:after,
.page-template-page-catalog .header__nav-icon__icon:before {
background: var(--accent-fg);
@media screen and (min-width: 59.975rem) {
.page-template-page-catalog .header .header__inside #navigation a {
color: var(--primary);
}
}

.page-template-page-catalog .hero {
Expand Down
2 changes: 1 addition & 1 deletion assets/css/main-catalog.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ h1, h2, h3, h4, h5, h6 {
}

.network-catalog {
@apply flex py-8 px-4 lg:gap-y-8 lg:gap-x-20 mx-auto w-full lg:max-w-8xl flex-col lg:flex-row;
@apply flex py-8 px-4 lg:gap-8 mx-auto w-full lg:max-w-8xl flex-col lg:flex-row;
}

.network-catalog .side-filters {
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pressbooks/pressbooks-network-catalog",
"description": "A books catalog for Pressbooks Network",
"description": "Add a searchable, filterable catalog to the Pressbooks Aldine theme",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
Expand All @@ -11,11 +11,11 @@
],
"minimum-stability": "dev",
"require": {
"php": "^7.4",
"pressbooks/pressbooks": "dev-dev"
"php": "^7.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.10"
"friendsofphp/php-cs-fixer": "^3.10",
"pressbooks/pressbooks": "dev-dev"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
Loading

0 comments on commit cd8d6b0

Please sign in to comment.