Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.2.13' into v1
- Loading branch information
Showing
8 changed files
with
1,074 additions
and
1,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ARG TAG=14-alpine | ||
FROM nystudio107/node-dev-base:$TAG | ||
|
||
WORKDIR /app/buildchain/ | ||
|
||
CMD ["run build"] | ||
|
||
ENTRYPOINT ["npm"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
TAG?=14-alpine | ||
CONTAINER?=$(shell basename $(CURDIR))-buildchain | ||
DOCKERRUN=docker container run \ | ||
--name ${CONTAINER} \ | ||
--rm \ | ||
-t \ | ||
-v `pwd`:/app \ | ||
${CONTAINER}:${TAG} | ||
DOCSDEST?=../../sites/nystudio107/web/docs/similar | ||
|
||
.PHONY: docker docs npm | ||
|
||
docker: | ||
docker build \ | ||
. \ | ||
-t ${CONTAINER}:${TAG} \ | ||
--build-arg TAG=${TAG} \ | ||
--no-cache | ||
docs: docker | ||
${DOCKERRUN} \ | ||
run docs | ||
rm -rf ${DOCSDEST} | ||
mv ./docs/docs/.vuepress/dist ${DOCSDEST} | ||
npm: docker | ||
${DOCKERRUN} \ | ||
$(filter-out $@,$(MAKECMDGOALS)) | ||
%: | ||
@: | ||
# ref: https://stackoverflow.com/questions/6273608/how-to-pass-argument-to-makefile-from-command-line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"author": { | ||
"email": "andrew@nystudio107.com", | ||
"name": "Andrew Welch", | ||
"url": "https://nystudio107.com" | ||
}, | ||
"browser": "./src/Twigpack.php", | ||
"bugs": { | ||
"email": "andrew@nystudio107.com", | ||
"url": "https://nystudio107.com" | ||
}, | ||
"dependencies": { | ||
}, | ||
"description": "Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support", | ||
"devDependencies": { | ||
}, | ||
"homepage": "https://nystudio107.com", | ||
"keywords": [ | ||
"twigpack", | ||
"craftcms", | ||
"craft", | ||
"cms", | ||
"plugin" | ||
], | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"name": "twigpack", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/nystudio107/craft-twigpack.git" | ||
}, | ||
"scripts": { | ||
"docs": "cd ../docs && rm -f package-lock.json && npm install && npm run docs:build" | ||
}, | ||
"version": "1.2.13" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.