Skip to content

Commit

Permalink
Updates for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Aug 5, 2021
1 parent f3d3728 commit 100b6ad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@ make-frontend: ## Builds just the Volto project
npm install -g yo
npm install -g @plone/generator-volto
npm install -g mrs-developer
yo @plone/volto project --addon ${ADDON} --no-interactive
cp addon-project/* project/
cd project
pnpm add "${ADDON}@workspace:*"
pnpm i
# --workspace "src/addons/${DIR}"
yo @plone/volto project --addon ${ADDON} --no-interactive
ln -sf $$(pwd) project/src/addons/
cp .project.eslintrc.js .eslintrc.js
cd project && \
rm -rf node_modules && \
yalc add @plone/volto --no-pure && \
pnpm i
# ln -sf $$(pwd) project/src/addons/
# cp .project.eslintrc.js .eslintrc.js
# cd project && \
# rm -rf node_modules && \
# yalc add @plone/volto --no-pure && \
# pnpm i
@echo "-------------------"
@echo "Project is ready!"
@echo "Now run: cd project && yarn start"
Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions addon-project/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packages:
- '../'
link-workspace-packages: true
prefer-workspace-packages: true

0 comments on commit 100b6ad

Please sign in to comment.