-
-
Notifications
You must be signed in to change notification settings - Fork 6
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.1.13' into v1
- Loading branch information
Showing
8 changed files
with
3,600 additions
and
2,547 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,40 @@ | ||
TAG?=14-alpine | ||
CONTAINER?=$(shell basename $(CURDIR))-buildchain | ||
DOCKERRUN=docker container run \ | ||
--name ${CONTAINER} \ | ||
--rm \ | ||
-t \ | ||
--network plugindev_default \ | ||
-p 8080:8080 \ | ||
-v `pwd`:/app \ | ||
${CONTAINER}:${TAG} | ||
DOCSDEST?=../../sites/nystudio107/web/docs/cookies | ||
|
||
.PHONY: build dev docker docs install npm | ||
|
||
build: docker install | ||
${DOCKERRUN} \ | ||
run build | ||
dev: docker install | ||
${DOCKERRUN} \ | ||
run dev | ||
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} | ||
install: docker | ||
${DOCKERRUN} \ | ||
install | ||
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": "[email protected]", | ||
"name": "Andrew Welch", | ||
"url": "https://nystudio107.com" | ||
}, | ||
"browser": "./src/Cookies.php", | ||
"bugs": { | ||
"email": "[email protected]", | ||
"url": "https://nystudio107.com" | ||
}, | ||
"dependencies": { | ||
}, | ||
"description": "A simple plugin for setting and getting cookies from within Craft CMS templates.", | ||
"devDependencies": { | ||
}, | ||
"homepage": "https://nystudio107.com", | ||
"keywords": [ | ||
"cookies", | ||
"craftcms", | ||
"craft", | ||
"cms", | ||
"plugin" | ||
], | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"name": "cookies", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/nystudio107/craft-cookies.git" | ||
}, | ||
"scripts": { | ||
"docs": "cd ../docs && rm -f package-lock.json && npm install && npm run docs:build" | ||
}, | ||
"version": "1.1.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.