1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-05-09 22:16:01 +02:00

10 Commits

Author SHA1 Message Date
99f1a6725c Regenerate static assets
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-15 09:59:40 +03:00
898d91701a package-lock.json: Run npm update 2021-09-15 09:59:05 +03:00
40b3fb4979 .drone.yml: Build on Node.js 16
All checks were successful
continuous-integration/drone/push Build is passing
We want to build on LTS or "current" releases only.

See: https://nodejs.org/en/about/releases/
2021-08-19 16:09:05 +03:00
5797675dbd theme.toml: Add demo link
All checks were successful
continuous-integration/drone/push Build is passing
As of 2021-07-01 the Hugo Themes showcase is no longer building our
themes so we need to include a link to a demo.
2021-07-09 22:36:07 +03:00
8cdfeb297d package.json: Run webpack without npx
All checks were successful
continuous-integration/drone/push Build is passing
This only affects the CI, but the inability to run webpack seems
to have been due to using an older version of npm (v6.14.x), and
now we upgrade npm before install so we don't need this hack.
2021-03-23 11:25:21 +02:00
7a2ac26879 .drone.yml: Update npm before install and build
All checks were successful
continuous-integration/drone/push Build is passing
It seems that the issue with not being able to find webpack-cli is
due to some behavior with an older version of npm. My local devel-
opment environment has npm 7.6.x and so does the Node.js 15 conta-
iner, while the Node.js 12 and 14 containers have npm 6.14.x.

Updating npm fixes the issue with `npx webpack` not being able to
find webpack-cli's webpack command (perhaps it installs the peer
dependency automatically, I don't know).
2021-03-23 10:16:02 +02:00
72fe18fd4d package.json: Run webpack with npx
Some checks failed
continuous-integration/drone/push Build is failing
My local dev environment automatically adds ./node_modules/.bin to
the shell PATH, but it seems a better way to do this is to use npx
so that it works here and on the CI.
2021-03-23 09:45:19 +02:00
085cf9847f .drone.yml: Run on current and LTS Node.js releases
Node.js v10 will cease to be LTS next month and I haven't even used
it for a while already, so let's change this to only run on 12, 14,
and 15, which are the current active and LTS releases.

See: https://nodejs.org/en/about/releases/
2021-03-23 09:39:40 +02:00
dbc97128f3 package-lock.json: Run npm update
Some checks failed
continuous-integration/drone/push Build is failing
2021-03-22 13:45:47 +02:00
5dd511963d package.json: Only install webpack-cli
We don't explicitly need webpack, as webpack-cli will bring it in
for us.
2021-03-22 13:45:21 +02:00
5 changed files with 2632 additions and 1974 deletions

View File

@ -1,23 +1,14 @@
kind: pipeline
type: docker
name: node10
steps:
- name: build
image: node:10-alpine
commands:
- npm install
- npm run build
---
kind: pipeline
type: docker
name: node12
steps:
- name: build
image: node:12-alpine
commands:
- npm --version
- npm install -g npm
- npm --version
- npm install
- npm run build
@ -30,5 +21,23 @@ steps:
- name: build
image: node:14-alpine
commands:
- npm --version
- npm install -g npm
- npm --version
- npm install
- npm run build
---
kind: pipeline
type: docker
name: node16
steps:
- name: build
image: node:16-alpine
commands:
- npm --version
- npm install -g npm
- npm --version
- npm install
- npm run build

File diff suppressed because one or more lines are too long

4567
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,6 @@
"clean-css-cli": "^4.3.0",
"rtlcss": "^2.6.2",
"sass": "^1.32.4",
"webpack": "^5.16.0",
"webpack-cli": "^3.3.12"
"webpack-cli": "^4.5.0"
}
}

View File

@ -3,6 +3,7 @@ license = "CC-BY-3.0"
licenselink = "https://github.com/alanorth/hugo-theme-bootstrap4-blog/blob/master/LICENSE.txt"
description = "A simple Hugo theme based on the Bootstrap v4 blog example."
homepage = "https://github.com/alanorth/hugo-theme-bootstrap4-blog"
demosite = "https://picturingjordan.com"
tags = ["bootstrap", "blog", "font awesome"]
features = ["responsive", "blog"]
min_version = 0.55