Skip to content

Commit

Permalink
Track volto-form-block developoment (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe authored Jun 8, 2023
1 parent 087edaf commit b89bc28
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/addons/volto-form-block"]
path = src/addons/volto-form-block
url = git@github.com:pretagov/volto-form-block.git
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ start-backend-docker: ## Starts a Docker-based backend
@echo "$(GREEN)==> Start Docker-based Plone Backend$(RESET)"
docker run -it --rm --name=backend -p 8080:8080 -e SITE=Plone -e ADDONS='$(KGS)' $(DOCKER_IMAGE)

.PHONY: preinstall
preinstall: ## Preinstall task, checks if missdev (mrs-developer) is present and runs it
if [ -f $$(pwd)/mrs.developer.json ]; then make develop; fi

.PHONY: develop
develop: ## Runs missdev in the local project (mrs.developer.json should be present)
npx -p mrs-developer missdev --config=jsconfig.json --output=addons --fetch-https

.PHONY: help
help: ## Show this help.
@echo -e "$$(grep -hE '^\S+:.*##' $(MAKEFILE_LIST) | sed -e 's/:.*##\s*/:/' -e 's/^\(.\+\):\(.*\)/\\x1b[36m\1\\x1b[m:\2/' | column -c2 -t -s :)"
17 changes: 17 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"compilerOptions": {
"paths": {
"volto-form-block": [
"addons/volto-form-block/src"
]
},
"baseUrl": "src"
},
"exclude": [
"node_modules",
"omelette",
"build",
"**/node_modules",
"dist"
]
}
9 changes: 9 additions & 0 deletions mrs.developer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"volto-form-block": {
"url": "https://github.com/pretagov/volto-form-block.git",
"package": "volto-form-block",
"path": "src",
"branch": "deploy",
"develop": true
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"material-icons": "1.13.6",
"nsw-design-system": "3.5.1",
"react-color": "2.19.3",
"volto-form-block": "3.0.1",
"volto-form-block": "file:./src/addons/volto-form-block",
"volto-google-analytics": "2.0.0",
"volto-siteinfo": "1.0.2",
"volto-subblocks": "2.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/addons/volto-form-block
Submodule volto-form-block added at 60200b

0 comments on commit b89bc28

Please sign in to comment.