Skip to content

Commit 3fd45a9

Browse files
author
Andrew Welch
committed
Merge branch 'release/1.2.16' into v1
2 parents c4e279b + 6eff809 commit 3fd45a9

File tree

20 files changed

+3086
-3286
lines changed

20 files changed

+3086
-3286
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Transcoder Changelog
22

3+
## 1.2.16 - 2021.04.06
4+
### Added
5+
* Added `make update` to update NPM packages
6+
* Added `make update-clean` to completely remove `node_modules/`, then update NPM packages
7+
8+
### Changed
9+
* More consistent `makefile` build commands
10+
* Use Tailwind CSS `^2.1.0` with JIT
11+
* Move settings from the `composer.json` “extra” to the plugin main class
12+
* Move the manifest service registration to the constructor
13+
* Remove deprecated ManifestController
14+
315
## 1.2.15 - 2021.03.03
416
### Changed
517
* Dockerized the buildchain, using `craft-plugin-manifest` for the webpack HMR bridge

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG TAG=12-alpine
1+
ARG TAG=14-alpine
22
FROM nystudio107/node-dev-base:$TAG
33

44
WORKDIR /app/buildchain/

Makefile

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,48 @@
1-
TAG?=12-alpine
2-
CONTAINER?=transcoder-buildchain
3-
DEST?=../../sites/nystudio107/web/docs/transcoder
1+
TAG?=14-alpine
2+
CONTAINER?=$(shell basename $(CURDIR))-buildchain
3+
DOCKERRUN=docker container run \
4+
--name ${CONTAINER} \
5+
--rm \
6+
-t \
7+
--network plugindev_default \
8+
-p 8080:8080 \
9+
-v `pwd`:/app \
10+
${CONTAINER}:${TAG}
11+
DOCSDEST?=../../sites/nystudio107/web/docs/transcoder
412

5-
.PHONY: dist docker docs install npm
13+
.PHONY: build dev docker docs install npm
614

7-
dist: docker docs install
8-
docker container run \
9-
--name ${CONTAINER} \
10-
--rm \
11-
-t \
12-
-v `pwd`:/app \
13-
nystudio107/${CONTAINER}:${TAG} \
15+
build: docker install
16+
${DOCKERRUN} \
1417
run build
18+
dev: docker install
19+
${DOCKERRUN} \
20+
run dev
1521
docker:
1622
docker build \
1723
. \
18-
-t nystudio107/${CONTAINER}:${TAG} \
24+
-t ${CONTAINER}:${TAG} \
1925
--build-arg TAG=${TAG} \
2026
--no-cache
21-
docs:
22-
docker container run \
23-
--name ${CONTAINER} \
24-
--rm \
25-
-t \
26-
-v `pwd`:/app \
27-
nystudio107/${CONTAINER}:${TAG} \
27+
docs: docker
28+
${DOCKERRUN} \
2829
run docs
29-
rm -rf ${DEST}
30-
mv ./docs/docs/.vuepress/dist ${DEST}
31-
install:
32-
docker container run \
33-
--name ${CONTAINER} \
34-
--rm \
35-
-t \
36-
-v `pwd`:/app \
37-
nystudio107/${CONTAINER}:${TAG} \
30+
rm -rf ${DOCSDEST}
31+
mv ./docs/docs/.vuepress/dist ${DOCSDEST}
32+
install: docker
33+
${DOCKERRUN} \
3834
install
39-
npm:
40-
docker container run \
41-
--name ${CONTAINER} \
42-
--network plugindev_default \
43-
--rm \
44-
-t \
45-
-p 8080:8080 \
46-
-v `pwd`:/app \
47-
nystudio107/${CONTAINER}:${TAG} \
35+
update: docker
36+
rm -f buildchain/package-lock.json
37+
${DOCKERRUN} \
38+
install
39+
update-clean: docker
40+
rm -f buildchain/package-lock.json
41+
rm -rf buildchain/node_modules/
42+
${DOCKERRUN} \
43+
install
44+
npm: docker
45+
${DOCKERRUN} \
4846
$(filter-out $@,$(MAKECMDGOALS))
4947
%:
5048
@:

0 commit comments

Comments
 (0)