@plone/volto 16.28.0 → 16.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.changelog.draft +2 -7
  2. package/.gitignore~ +71 -0
  3. package/.yarn/install-state.gz +0 -0
  4. package/.yarn/releases/yarn-3.3.1.cjs +823 -0
  5. package/CHANGELOG.md +13 -0
  6. package/Makefile~ +399 -0
  7. package/apps/plone/node_modules/.bin/addon +17 -0
  8. package/apps/plone/node_modules/.bin/autoprefixer +17 -0
  9. package/apps/plone/node_modules/.bin/build-storybook +17 -0
  10. package/apps/plone/node_modules/.bin/changelogupdater +17 -0
  11. package/apps/plone/node_modules/.bin/eslint +17 -0
  12. package/apps/plone/node_modules/.bin/eslint-config-prettier +17 -0
  13. package/apps/plone/node_modules/.bin/i18n +17 -0
  14. package/apps/plone/node_modules/.bin/lessc +17 -0
  15. package/apps/plone/node_modules/.bin/missdev +17 -0
  16. package/apps/plone/node_modules/.bin/prettier +17 -0
  17. package/apps/plone/node_modules/.bin/razzle +17 -0
  18. package/apps/plone/node_modules/.bin/server-test +17 -0
  19. package/apps/plone/node_modules/.bin/start-server-and-test +17 -0
  20. package/apps/plone/node_modules/.bin/start-storybook +17 -0
  21. package/apps/plone/node_modules/.bin/start-test +17 -0
  22. package/apps/plone/node_modules/.bin/storybook-server +17 -0
  23. package/apps/plone/node_modules/.bin/stylelint +17 -0
  24. package/apps/plone/node_modules/.bin/tlds +17 -0
  25. package/apps/plone/node_modules/.bin/ts-jest +17 -0
  26. package/apps/plone/node_modules/.bin/tsc +17 -0
  27. package/apps/plone/node_modules/.bin/tsserver +17 -0
  28. package/apps/plone/node_modules/.bin/uuid +17 -0
  29. package/apps/plone/src/addons/volto-volto-project/node_modules/.bin/addon +17 -0
  30. package/apps/plone/src/addons/volto-volto-project/node_modules/.bin/changelogupdater +17 -0
  31. package/apps/plone/src/addons/volto-volto-project/node_modules/.bin/eslint +17 -0
  32. package/apps/plone/src/addons/volto-volto-project/node_modules/.bin/eslint-config-prettier +17 -0
  33. package/apps/plone/src/addons/volto-volto-project/node_modules/.bin/i18n +17 -0
  34. package/apps/plone/src/addons/volto-volto-project/node_modules/.bin/prettier +17 -0
  35. package/apps/plone/src/addons/volto-volto-project/node_modules/.bin/release-it +17 -0
  36. package/apps/plone/src/addons/volto-volto-project/node_modules/.bin/stylelint +17 -0
  37. package/locales/volto.pot~ +4705 -0
  38. package/news/4547.breaking~ +1 -0
  39. package/news/5135.documentation~ +1 -0
  40. package/package.json +1 -1
  41. package/packages/volto-slate/news/5347.bugfix +1 -0
  42. package/packages/volto-slate/node_modules/.bin/release-it +17 -0
  43. package/packages/volto-slate/package.json +1 -1
  44. package/packages/volto-slate/src/editor/extensions/insertData.js +3 -1
  45. package/packages/volto-slate/src/editor/extensions/normalizeExternalData.js +1 -1
  46. package/packages/volto-slate/src/utils/blocks.js +6 -2
  47. package/pyvenv.cfg +5 -0
  48. package/share/man/man1/ttx.1 +225 -0
  49. package/src/components/manage/Add/Add.jsx +3 -0
  50. package/src/components/manage/Blocks/Block/BlocksForm.jsx +4 -0
  51. package/src/components/manage/Blocks/Block/DefaultEdit.jsx +3 -1
  52. package/src/components/manage/Blocks/Block/Settings.jsx +10 -1
  53. package/src/components/manage/Blocks/HeroImageLeft/Data.jsx +3 -1
  54. package/src/components/manage/Blocks/Image/ImageSidebar.jsx +3 -1
  55. package/src/components/manage/Blocks/Listing/ListingData.jsx +10 -1
  56. package/src/components/manage/Blocks/Maps/MapsSidebar.jsx +3 -1
  57. package/src/components/manage/Blocks/Search/SearchBlockEdit.jsx +4 -0
  58. package/src/components/manage/Blocks/Teaser/Data.jsx +10 -1
  59. package/src/components/manage/Blocks/ToC/Edit.jsx +2 -0
  60. package/src/components/manage/Blocks/Video/VideoSidebar.jsx +3 -1
  61. package/src/components/manage/Edit/Edit.jsx +1 -0
  62. package/src/components/manage/Form/Form.jsx +9 -1
  63. package/src/config/index.js~ +223 -0
  64. package/src/helpers/Blocks/Blocks.js +11 -2
  65. package/src/helpers/Extensions/withBlockSchemaEnhancer.js +20 -9
  66. package/src/start-server.js +4 -0
package/CHANGELOG.md CHANGED
@@ -8,6 +8,19 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 16.29.0 (2023-12-07)
12
+
13
+ ### Feature
14
+
15
+ - Added conditional variations support. @sneridagh @robgietema [#5424](https://github.com/plone/volto/issues/5424)
16
+
17
+ ## 16.28.1 (2023-12-04)
18
+
19
+ ### Bugfix
20
+
21
+ - Adjust DNS resolution to prefer IPv4 addresses when both IPv4 and IPv6 are resolved. @davisagli [#5261](https://github.com/plone/volto/issues/5261)
22
+ - Fix the right order of parameters in normalizeExternalData.js @dobri1408 [#5475](https://github.com/plone/volto/issues/5475)
23
+
11
24
  ## 16.28.0 (2023-11-30)
12
25
 
13
26
  ### Feature
package/Makefile~ ADDED
@@ -0,0 +1,399 @@
1
+ # Volto development
2
+
3
+ ### Defensive settings for make:
4
+ # https://tech.davis-hansson.com/p/make/
5
+ SHELL:=bash
6
+ .ONESHELL:
7
+ .SHELLFLAGS:=-eu -o pipefail -c
8
+ .SILENT:
9
+ .DELETE_ON_ERROR:
10
+ MAKEFLAGS+=--warn-undefined-variables
11
+ MAKEFLAGS+=--no-builtin-rules
12
+
13
+ # Project settings
14
+
15
+ INSTANCE_PORT=8080
16
+ DOCKER_IMAGE=plone/server-dev:6.0.8
17
+ DOCKER_IMAGE_ACCEPTANCE=plone/server-acceptance:6.0.8
18
+ KGS=
19
+ NODEBIN = ./node_modules/.bin
20
+ SCRIPTSPACKAGE = ./packages/scripts
21
+
22
+ # Plone 5 legacy
23
+ DOCKER_IMAGE5=plone/plone-backend:5.2.12
24
+ KGS5=plone.restapi==8.43.3 plone.volto==4.1.0 plone.rest==3.0.1
25
+ TESTING_ADDONS=plone.app.robotframework==2.0.0 plone.app.testing==7.0.0
26
+
27
+ # Sphinx variables
28
+ # You can set these variables from the command line.
29
+ SPHINXOPTS ?=
30
+ # Internal variables.
31
+ SPHINXBUILD = $(realpath bin/sphinx-build)
32
+ SPHINXAUTOBUILD = $(realpath bin/sphinx-autobuild)
33
+ DOCS_DIR = ./docs/source/
34
+ BUILDDIR = ../_build/
35
+ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) .
36
+ VALEFILES := $(shell find $(DOCS_DIR) -type f -name "*.md" -print)
37
+ VOLTO_NEWS_SYMLINK = ./docs/source/news
38
+
39
+ # Recipe snippets for reuse
40
+
41
+ CHECKOUT_BASENAME=$(shell basename $(shell realpath ./))
42
+ CHECKOUT_BRANCH=$(shell git branch --show-current)
43
+ CHECKOUT_TMP=../$(CHECKOUT_BASENAME).tmp
44
+ CHECKOUT_TMP_ABS=$(shell realpath $(CHECKOUT_TMP))
45
+
46
+ # We like colors
47
+ # From: https://coderwall.com/p/izxssa/colored-makefile-for-golang-projects
48
+ RED=`tput setaf 1`
49
+ GREEN=`tput setaf 2`
50
+ RESET=`tput sgr0`
51
+ YELLOW=`tput setaf 3`
52
+
53
+
54
+ # Top-level targets
55
+
56
+ .PHONY: all
57
+ all: build
58
+
59
+ # Add the following 'help' target to your Makefile
60
+ # And add help text after each target name starting with '\#\#'
61
+ .PHONY: help
62
+ help: .SHELLFLAGS:=-eu -o pipefail -O inherit_errexit -c
63
+ help: ## This help message
64
+ @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
65
+
66
+ .PHONY: start
67
+ # Run both the back-end and the front end
68
+ start:
69
+ $(MAKE) -j 2 start-backend start-frontend
70
+
71
+ .PHONY: start-frontend
72
+ start-frontend:
73
+ yarn start
74
+
75
+ .PHONY: start-backend
76
+ start-backend: ## Start Plone Backend
77
+ $(MAKE) -C "./api/" start
78
+
79
+ .PHONY: release
80
+ release:
81
+ ./node_modules/.bin/release-it
82
+
83
+ .PHONY: build
84
+ build:
85
+ make build-backend
86
+ make build-frontend
87
+
88
+ .PHONY: build-frontend
89
+ build-frontend:
90
+ yarn && RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn build
91
+
92
+ .PHONY: build-backend
93
+ build-backend: ## Build Plone 5.2
94
+ $(MAKE) -C "./api/" build
95
+
96
+ .PHONY: dist
97
+ dist:
98
+ yarn
99
+ yarn build
100
+
101
+ .PHONY: test
102
+ test:
103
+ $(MAKE) -C "./api/" test
104
+
105
+ bin/python:
106
+ python3 -m venv . || virtualenv --clear --python=python3 .
107
+ bin/python -m pip install --upgrade pip
108
+ @echo "Python environment created."
109
+ bin/pip install -r requirements-docs.txt
110
+ @echo "Requirements installed."
111
+ if [ ! -L $(VOLTO_NEWS_SYMLINK) ] && [ ! -e $(VOLTO_NEWS_SYMLINK) ]; then ln -s ../../news $(VOLTO_NEWS_SYMLINK) && echo "Symlink to Volto news created."; else echo "Symlink to Volto news exists."; fi
112
+
113
+ .PHONY: clean
114
+ clean:
115
+ $(MAKE) -C "./api/" clean
116
+ rm -rf node_modules
117
+
118
+ ##### Documentation
119
+
120
+ .PHONY: docs-clean
121
+ docs-clean: ## Clean current and legacy docs build directories, and Python virtual environment
122
+ rm -rf bin include lib
123
+ rm -rf docs/_build
124
+ cd $(DOCS_DIR) && rm -rf $(BUILDDIR)/
125
+
126
+ .PHONY: docs-html
127
+ docs-html: bin/python ## Build html
128
+ cd $(DOCS_DIR) && $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
129
+ @echo
130
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
131
+
132
+ .PHONY: docs-livehtml
133
+ docs-livehtml: bin/python ## Rebuild Sphinx documentation on changes, with live-reload in the browser
134
+ cd "$(DOCS_DIR)" && ${SPHINXAUTOBUILD} \
135
+ --ignore "*.swp" \
136
+ -b html . "$(BUILDDIR)/html" $(SPHINXOPTS)
137
+
138
+ .PHONY: docs-linkcheck
139
+ docs-linkcheck: bin/python ## Run linkcheck
140
+ cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
141
+ @echo
142
+ @echo "Link check complete; look for any errors in the above output " \
143
+ "or in $(BUILDDIR)/linkcheck/ ."
144
+
145
+ .PHONY: docs-linkcheckbroken
146
+ docs-linkcheckbroken: bin/python ## Run linkcheck and show only broken links
147
+ cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi "broken\|redirect" --color=always | GREP_COLORS='0;31' grep -vi "https://github.com/plone/volto/issues/" --color=always && if test $$? -eq 0; then exit 1; fi || test $$? -ne 0
148
+
149
+ .PHONY: docs-vale
150
+ docs-vale: ## Run Vale style, grammar, and spell checks
151
+ vale sync
152
+ vale --no-wrap $(VALEFILES)
153
+ @echo
154
+ @echo "Vale is finished; look for any errors in the above output."
155
+
156
+ .PHONY: netlify
157
+ netlify:
158
+ pip install -r requirements-docs.txt
159
+ cd $(DOCS_DIR) && sphinx-build -b html $(ALLSPHINXOPTS) ../$(BUILDDIR)/html
160
+
161
+ .PHONY: docs-test
162
+ docs-test: docs-clean docs-linkcheckbroken docs-vale ## Clean docs build, then run linkcheckbroken, vale
163
+
164
+ .PHONY: storybook-build
165
+ storybook-build:
166
+ yarn build-storybook -o docs/_build/storybook
167
+
168
+ .PHONY: patches
169
+ patches:
170
+ /bin/bash patches/patchit.sh > /dev/null 2>&1 ||true
171
+
172
+ ##### Release
173
+
174
+ .PHONY: corepackagebump
175
+ corepackagebump:
176
+ node $(SCRIPTSPACKAGE)/corepackagebump.js packages/volto-slate $(VERSION)
177
+
178
+ .PHONY: copyreleasenotestodocs
179
+ copyreleasenotestodocs:
180
+ cp CHANGELOG.md docs/source/release-notes/index.md
181
+ git add docs/source/release-notes/index.md
182
+
183
+ ##### Docker containers
184
+
185
+ .PHONY: start-backend-docker
186
+ start-backend-docker:
187
+ docker run -it --rm --name=backend -p 8080:8080 -e SITE=Plone -e ADDONS='$(KGS)' $(DOCKER_IMAGE)
188
+
189
+ .PHONY: start-frontend-docker
190
+ start-frontend-docker:
191
+ docker run -it --rm --name=volto --link backend -p 3000:3000 -e RAZZLE_INTERNAL_API_PATH=http://backend:8080/Plone -e RAZZLE_DEV_PROXY_API_PATH=http://backend:8080/Plone plone/plone-frontend:latest
192
+
193
+ .PHONY: start-backend-docker-guillotina
194
+ start-backend-docker-guillotina:
195
+ docker-compose -f g-api/docker-compose.yml up -d
196
+
197
+ ##### Acceptance tests (Cypress)
198
+
199
+ .PHONY: start-test
200
+ start-test: ## Start Test
201
+ @echo "$(GREEN)==> Start Test$(RESET)"
202
+ yarn cypress:open
203
+
204
+ .PHONY: start-test-all
205
+ start-test-all: ## Start Test
206
+ @echo "$(GREEN)==> Start Test$(RESET)"
207
+ yarn ci:cypress:run
208
+
209
+ .PHONY: start-test-frontend
210
+ start-test-frontend: ## Start Test Volto Frontend
211
+ @echo "$(GREEN)==> Start Test Volto Frontend$(RESET)"
212
+ RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn build && NODE_ENV=production yarn start:prod
213
+
214
+ .PHONY: start-test-backend
215
+ start-test-backend: ## Start Test Plone Backend (api folder)
216
+ $(MAKE) -C "./api/" start-test
217
+
218
+ .PHONY: stop-backend-docker-guillotina
219
+ stop-backend-docker-guillotina:
220
+ docker-compose -f g-api/docker-compose.yml down
221
+
222
+
223
+ .PHONY: test-acceptance-server-old
224
+ test-acceptance-server-old:
225
+ $(MAKE) -C "./api/" test-acceptance-server-old
226
+
227
+ ######### Dev mode Acceptance tests
228
+
229
+ .PHONY: start-test-acceptance-frontend-dev
230
+ start-test-acceptance-frontend-dev: ## Start the Core Acceptance Frontend Fixture in dev mode
231
+ RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn start
232
+
233
+ ######### Core Acceptance tests
234
+
235
+ .PHONY: start-test-acceptance-server test-acceptance-server
236
+ start-test-acceptance-server test-acceptance-server: ## Start Test Acceptance Server Main Fixture (docker container)
237
+ docker run -i --rm -p 55001:55001 $(DOCKER_IMAGE_ACCEPTANCE)
238
+
239
+ .PHONY: start-test-acceptance-frontend
240
+ start-test-acceptance-frontend: ## Start the Core Acceptance Frontend Fixture
241
+ RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn build && yarn start:prod
242
+
243
+ .PHONY: test-acceptance
244
+ test-acceptance: ## Start Core Cypress Acceptance Tests
245
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress open
246
+
247
+ .PHONY: test-acceptance-headless
248
+ test-acceptance-headless: ## Start Core Cypress Acceptance Tests in headless mode
249
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress run --config specPattern='cypress/tests/core/**/*.{js,jsx,ts,tsx}'
250
+
251
+ .PHONY: full-test-acceptance
252
+ full-test-acceptance: ## Runs Core Full Acceptance Testing in headless mode
253
+ $(NODEBIN)/start-test "make start-test-acceptance-server" http-get://127.0.0.1:55001/plone "make start-test-acceptance-frontend" http://127.0.0.1:3000 "make test-acceptance-headless"
254
+
255
+ ######### Seamless Core Acceptance tests
256
+
257
+ .PHONY: start-test-acceptance-frontend-seamless
258
+ start-test-acceptance-frontend-seamless: ## Start the Seamless Core Acceptance Frontend Fixture
259
+ yarn build && yarn start:prod
260
+
261
+ .PHONY: test-acceptance-seamless
262
+ test-acceptance-seamless: ## Start Seamless Cypress Acceptance Tests
263
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress open --config baseUrl='http://localhost'
264
+
265
+ .PHONY: start-test-acceptance-webserver-seamless
266
+ start-test-acceptance-webserver-seamless: ## Start the seamless webserver
267
+ cd cypress/docker && docker-compose -f seamless.yml up
268
+
269
+ .PHONY: full-test-acceptance-seamless
270
+ full-test-acceptance-seamless: ## Runs Seamless Core Full Acceptance Testing in headless mode
271
+ $(NODEBIN)/start-test "make start-test-acceptance-server" http-get://127.0.0.1:55001/plone "make start-test-acceptance-frontend-seamless" http://127.0.0.1:3000 "make test-acceptance-headless"
272
+
273
+ ######### Project Acceptance tests
274
+
275
+ .PHONY: start-test-acceptance-frontend-project
276
+ start-test-acceptance-frontend-project: ## Start the Project Acceptance Frontend Fixture
277
+ cd my-volto-app && RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn build && yarn start:prod
278
+
279
+ ######### CoreSandbox Acceptance tests
280
+
281
+ .PHONY: start-test-acceptance-server-coresandbox test-acceptance-server-coresandbox
282
+ start-test-acceptance-server-coresandbox test-acceptance-server-coresandbox: ## Start CoreSandbox Test Acceptance Server Fixture (docker container)
283
+ docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage,plone.volto:coresandbox -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors,plone.volto.coresandbox $(DOCKER_IMAGE_ACCEPTANCE)
284
+ # ZSERVER_PORT=55001 CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors,plone.volto.coresandbox APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage,plone.volto:coresandbox ./api/bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
285
+
286
+ .PHONY: start-test-acceptance-frontend-coresandbox
287
+ start-test-acceptance-frontend-coresandbox: ## Start the CoreSandbox Acceptance Frontend Fixture
288
+ ADDONS=coresandbox RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn build && yarn start:prod
289
+
290
+ .PHONY: start-test-acceptance-frontend-coresandbox-dev
291
+ start-test-acceptance-frontend-coresandbox-dev: ## Start the CoreSandbox Acceptance Frontend Fixture in dev mode
292
+ ADDONS=coresandbox RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn start
293
+
294
+ .PHONY: test-acceptance-coresandbox
295
+ test-acceptance-coresandbox: ## Start CoreSandbox Cypress Acceptance Tests
296
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress open --config specPattern='cypress/tests/coresandbox/**/*.{js,jsx,ts,tsx}'
297
+
298
+ .PHONY: test-acceptance-coresandbox-headless
299
+ test-acceptance-coresandbox-headless: ## Start CoreSandbox Cypress Acceptance Tests in headless mode
300
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress run --config specPattern='cypress/tests/coresandbox/**/*.{js,jsx,ts,tsx}/**/*.{js,jsx,ts,tsx}'
301
+
302
+ .PHONY: full-test-acceptance-coresandbox
303
+ full-test-acceptance-coresandbox: ## Runs CoreSandbox Full Acceptance Testing in headless mode
304
+ $(NODEBIN)/start-test "make start-test-acceptance-server-coresandbox" http-get://127.0.0.1:55001/plone "make start-test-acceptance-frontend-coresandbox" http://127.0.0.1:3000 "make test-acceptance-coresandbox-headless"
305
+
306
+ ######### Multilingual Acceptance tests
307
+
308
+ .PHONY: start-test-acceptance-server-multilingual test-acceptance-server-multilingual
309
+ start-test-acceptance-server-multilingual test-acceptance-server-multilingual: ## Start Multilingual Acceptance Server Multilingual Fixture (docker container)
310
+ docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:multilingual $(DOCKER_IMAGE_ACCEPTANCE)
311
+
312
+ .PHONY: start-test-acceptance-frontend-multilingual
313
+ start-test-acceptance-frontend-multilingual: ## Start the Multilingual Acceptance Frontend Fixture
314
+ ADDONS=coresandbox:multilingualFixture RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn build && yarn start:prod
315
+
316
+ .PHONY: test-acceptance-multilingual
317
+ test-acceptance-multilingual: ## Start Multilingual Cypress Acceptance Tests
318
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress open --config specPattern='cypress/tests/multilingual/**/*.{js,jsx,ts,tsx}'
319
+
320
+ .PHONY: test-acceptance-multilingual-headless
321
+ test-acceptance-multilingual-headless: ## Start Multilingual Cypress Acceptance Tests in headless mode
322
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress run --config specPattern='cypress/tests/multilingual/**/*.{js,jsx,ts,tsx}'
323
+
324
+ .PHONY: full-test-acceptance-multilingual
325
+ full-test-acceptance-multilingual: ## Runs Multilingual Full Acceptance Testing in headless mode
326
+ $(NODEBIN)/start-test "make start-test-acceptance-server-multilingual" http-get://127.0.0.1:55001/plone "make start-test-acceptance-frontend-multilingual" http://127.0.0.1:3000 "make test-acceptance-multilingual-headless"
327
+
328
+ ######### Seamless Multilingual Acceptance tests
329
+
330
+ .PHONY: start-test-acceptance-server-seamless-multilingual test-acceptance-server-seamless-multilingual
331
+ start-test-acceptance-server-seamless-multilingual test-acceptance-server-seamless-multilingual: ## Start Seamless Multilingual Acceptance Server Multilingual Fixture (docker container)
332
+ docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:multilingual $(DOCKER_IMAGE_ACCEPTANCE)
333
+
334
+ .PHONY: start-test-acceptance-frontend-seamless-multilingual
335
+ start-test-acceptance-frontend-seamless-multilingual: ## Start the Seamless Multilingual Acceptance Frontend Fixture
336
+ ADDONS=coresandbox:multilingualFixture yarn build && yarn start:prod
337
+
338
+ .PHONY: test-acceptance-seamless-multilingual
339
+ test-acceptance-seamless-multilingual: ## Start Seamless Multilingual Cypress Acceptance Tests
340
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress open --config baseUrl='http://localhost',specPattern='cypress/tests/multilingual/**/*.{js,jsx,ts,tsx}'
341
+
342
+ .PHONY: test-acceptance-seamless-multilingual-headless
343
+ test-acceptance-seamless-multilingual-headless: ## Start Seamless Multilingual Cypress Acceptance Tests in headless mode
344
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress run --config specPattern='cypress/tests/multilingual/**/*.{js,jsx,ts,tsx}'
345
+
346
+ .PHONY: full-test-acceptance-seamless-multilingual
347
+ full-test-acceptance-seamless-multilingual: ## Runs Seamless Multilingual Full Acceptance Testing in headless mode
348
+ $(NODEBIN)/start-test "make start-test-acceptance-server-seamless-multilingual" http-get://127.0.0.1:55001/plone "make start-test-acceptance-frontend-seamless-multilingual" http://127.0.0.1:3000 "make test-acceptance-multilingual-headless"
349
+
350
+ ######### WorkingCopy Acceptance tests
351
+
352
+ .PHONY: start-test-acceptance-server-workingcopy test-acceptance-server-workingcopy
353
+ start-test-acceptance-server-workingcopy test-acceptance-server-workingcopy : ## Start the WorkingCopy Acceptance Server Fixture (docker container)
354
+ docker run -i --rm -p 55001:55001 -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.app.iterate:default,plone.volto:default-homepage $(DOCKER_IMAGE_ACCEPTANCE)
355
+ # ZSERVER_PORT=55001 CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.app.iterate,plone.volto,plone.volto.cors APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.app.iterate:default,plone.volto:default-homepage ./api/bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
356
+
357
+ .PHONY: start-test-acceptance-frontend-workingcopy
358
+ start-test-acceptance-frontend-workingcopy: ## Start the WorkingCopy Acceptance Frontend Fixture
359
+ ADDONS=coresandbox:workingCopyFixture RAZZLE_API_PATH=http://127.0.0.1:55001/plone yarn build && yarn start:prod
360
+
361
+ .PHONY: test-acceptance-workingcopy
362
+ test-acceptance-workingcopy: ## Start WorkingCopy Cypress Acceptance Tests
363
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress open --config specPattern='cypress/tests/workingCopy/**/*.{js,jsx,ts,tsx}'
364
+
365
+ .PHONY: test-acceptance-workingcopy-headless
366
+ test-acceptance-workingcopy-headless: ## Start WorkingCopy Cypress Acceptance Tests in headless mode
367
+ NODE_ENV=production CYPRESS_API=plone $(NODEBIN)/cypress run --config specPattern='cypress/tests/workingCopy/**/*.{js,jsx,ts,tsx}'
368
+
369
+ .PHONY: full-test-acceptance-workingcopy
370
+ full-test-acceptance-workingcopy: ## Runs WorkingCopy Full Acceptance Testing in headless mode
371
+ $(NODEBIN)/start-test "make start-test-acceptance-server-workingcopy" http-get://127.0.0.1:55001/plone "make start-test-acceptance-frontend-workingcopy" http://127.0.0.1:3000 "make test-acceptance-workingcopy-headless"
372
+
373
+ ######### Guillotina Acceptance tests
374
+
375
+ .PHONY: start-test-acceptance-server-guillotina
376
+ start-test-acceptance-server-guillotina: ## Start Guillotina Test Acceptance Server (docker container)
377
+ docker-compose -f g-api/docker-compose.yml up > /dev/null
378
+
379
+ .PHONY: start-test-acceptance-frontend-guillotina
380
+ start-test-acceptance-frontend-guillotina: ## Start the Guillotina Acceptance Frontend Fixture
381
+ ADDONS=volto-guillotina RAZZLE_API_PATH=http://127.0.0.1:8081/db/web RAZZLE_LEGACY_TRAVERSE=true yarn build && yarn start:prod
382
+
383
+ .PHONY: test-acceptance-guillotina
384
+ test-acceptance-guillotina: ## Start the Guillotina Cypress Acceptance Tests
385
+ NODE_ENV=production CYPRESS_API=guillotina $(NODEBIN)/cypress open --config specPattern='cypress/tests/guillotina/**/*.{js,jsx,ts,tsx}'
386
+
387
+ .PHONY: test-acceptance-guillotina-headless
388
+ test-acceptance-guillotina-headless: ## Start the Guillotina Cypress Acceptance Tests in headless mode
389
+ NODE_ENV=production CYPRESS_API=guillotina $(NODEBIN)/cypress run --config specPattern='cypress/tests/guillotina/**/*.{js,jsx,ts,tsx}'
390
+
391
+ .PHONY: full-test-acceptance-guillotina
392
+ full-test-acceptance-guillotina: ## Runs the Guillotina Full Acceptance Testing in headless mode
393
+ $(NODEBIN)/start-test "make start-test-acceptance-server-guillotina" http-get://127.0.0.1:8081 "make start-test-acceptance-frontend-guillotina" http://127.0.0.1:3000 "make test-acceptance-guillotina-headless"
394
+
395
+ ######### Plone 5 Acceptance tests
396
+
397
+ .PHONY: start-test-acceptance-server-5
398
+ start-test-acceptance-server-5: ## Start Test Acceptance Server Main Fixture Plone 5 (docker container)
399
+ docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e ADDONS='$(KGS5) $(TESTING_ADDONS)' -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.volto,plone.volto.cors $(DOCKER_IMAGE5) ./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/packages/scripts/addon/node_modules:/Users/davisagli/Code/volto/packages/scripts/node_modules:/Users/davisagli/Code/volto/packages/node_modules:/Users/davisagli/Code/volto/node_modules:/Users/davisagli/Code/node_modules:/Users/davisagli/node_modules:/Users/node_modules:/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/packages/scripts/addon/node_modules:/Users/davisagli/Code/volto/packages/scripts/node_modules:/Users/davisagli/Code/volto/packages/node_modules:/Users/davisagli/Code/volto/node_modules:/Users/davisagli/Code/node_modules:/Users/davisagli/node_modules:/Users/node_modules:/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../@plone/scripts/addon/index.js" "$@"
15
+ else
16
+ exec node "$basedir/../@plone/scripts/addon/index.js" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/autoprefixer@10.4.8_postcss@8.4.31/node_modules/autoprefixer/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/autoprefixer@10.4.8_postcss@8.4.31/node_modules/autoprefixer/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/autoprefixer@10.4.8_postcss@8.4.31/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/autoprefixer@10.4.8_postcss@8.4.31/node_modules/autoprefixer/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/autoprefixer@10.4.8_postcss@8.4.31/node_modules/autoprefixer/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/autoprefixer@10.4.8_postcss@8.4.31/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../autoprefixer/bin/autoprefixer" "$@"
15
+ else
16
+ exec node "$basedir/../autoprefixer/bin/autoprefixer" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.23.3_@storybook+builder-webpack5@6.5.16_@storybook+mana_4jk5mga7xzyddo32h4ajsd7z24/node_modules/@storybook/react/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.23.3_@storybook+builder-webpack5@6.5.16_@storybook+mana_4jk5mga7xzyddo32h4ajsd7z24/node_modules/@storybook/react/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.23.3_@storybook+builder-webpack5@6.5.16_@storybook+mana_4jk5mga7xzyddo32h4ajsd7z24/node_modules/@storybook/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.23.3_@storybook+builder-webpack5@6.5.16_@storybook+mana_4jk5mga7xzyddo32h4ajsd7z24/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.23.3_@storybook+builder-webpack5@6.5.16_@storybook+mana_4jk5mga7xzyddo32h4ajsd7z24/node_modules/@storybook/react/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.23.3_@storybook+builder-webpack5@6.5.16_@storybook+mana_4jk5mga7xzyddo32h4ajsd7z24/node_modules/@storybook/react/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.23.3_@storybook+builder-webpack5@6.5.16_@storybook+mana_4jk5mga7xzyddo32h4ajsd7z24/node_modules/@storybook/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.23.3_@storybook+builder-webpack5@6.5.16_@storybook+mana_4jk5mga7xzyddo32h4ajsd7z24/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../@storybook/react/bin/build.js" "$@"
15
+ else
16
+ exec node "$basedir/../@storybook/react/bin/build.js" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/packages/scripts/node_modules:/Users/davisagli/Code/volto/packages/node_modules:/Users/davisagli/Code/volto/node_modules:/Users/davisagli/Code/node_modules:/Users/davisagli/node_modules:/Users/node_modules:/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/packages/scripts/node_modules:/Users/davisagli/Code/volto/packages/node_modules:/Users/davisagli/Code/volto/node_modules:/Users/davisagli/Code/node_modules:/Users/davisagli/node_modules:/Users/node_modules:/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../@plone/scripts/changelogupdater.cjs" "$@"
15
+ else
16
+ exec node "$basedir/../@plone/scripts/changelogupdater.cjs" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/eslint@8.49.0/node_modules/eslint/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/eslint@8.49.0/node_modules/eslint/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/eslint@8.49.0/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/eslint@8.49.0/node_modules/eslint/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/eslint@8.49.0/node_modules/eslint/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/eslint@8.49.0/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
15
+ else
16
+ exec node "$basedir/../eslint/bin/eslint.js" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/eslint-config-prettier@9.0.0_eslint@8.49.0/node_modules/eslint-config-prettier/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/eslint-config-prettier@9.0.0_eslint@8.49.0/node_modules/eslint-config-prettier/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/eslint-config-prettier@9.0.0_eslint@8.49.0/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/eslint-config-prettier@9.0.0_eslint@8.49.0/node_modules/eslint-config-prettier/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/eslint-config-prettier@9.0.0_eslint@8.49.0/node_modules/eslint-config-prettier/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/eslint-config-prettier@9.0.0_eslint@8.49.0/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../eslint-config-prettier/bin/cli.js" "$@"
15
+ else
16
+ exec node "$basedir/../eslint-config-prettier/bin/cli.js" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/packages/scripts/node_modules:/Users/davisagli/Code/volto/packages/node_modules:/Users/davisagli/Code/volto/node_modules:/Users/davisagli/Code/node_modules:/Users/davisagli/node_modules:/Users/node_modules:/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/packages/scripts/node_modules:/Users/davisagli/Code/volto/packages/node_modules:/Users/davisagli/Code/volto/node_modules:/Users/davisagli/Code/node_modules:/Users/davisagli/node_modules:/Users/node_modules:/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../@plone/scripts/i18n.cjs" "$@"
15
+ else
16
+ exec node "$basedir/../@plone/scripts/i18n.cjs" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/less@3.11.1/node_modules/less/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/less@3.11.1/node_modules/less/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/less@3.11.1/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/less@3.11.1/node_modules/less/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/less@3.11.1/node_modules/less/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/less@3.11.1/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../less/bin/lessc" "$@"
15
+ else
16
+ exec node "$basedir/../less/bin/lessc" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/mrs-developer@2.1.1/node_modules/mrs-developer/src/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/mrs-developer@2.1.1/node_modules/mrs-developer/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/mrs-developer@2.1.1/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/mrs-developer@2.1.1/node_modules/mrs-developer/src/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/mrs-developer@2.1.1/node_modules/mrs-developer/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/mrs-developer@2.1.1/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../mrs-developer/src/command.js" "$@"
15
+ else
16
+ exec node "$basedir/../mrs-developer/src/command.js" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/prettier@3.0.3/node_modules/prettier/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/prettier@3.0.3/node_modules/prettier/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/prettier@3.0.3/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/prettier@3.0.3/node_modules/prettier/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/prettier@3.0.3/node_modules/prettier/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/prettier@3.0.3/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../prettier/bin/prettier.cjs" "$@"
15
+ else
16
+ exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
17
+ fi
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/razzle@4.2.18_@babel+core@7.23.3_babel-preset-razzle@4.2.18_eslint@8.49.0_html-webpack-plugin_tsfopgata3ys4voxheuj3gfslq/node_modules/razzle/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/razzle@4.2.18_@babel+core@7.23.3_babel-preset-razzle@4.2.18_eslint@8.49.0_html-webpack-plugin_tsfopgata3ys4voxheuj3gfslq/node_modules/razzle/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/razzle@4.2.18_@babel+core@7.23.3_babel-preset-razzle@4.2.18_eslint@8.49.0_html-webpack-plugin_tsfopgata3ys4voxheuj3gfslq/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/Users/davisagli/Code/volto/node_modules/.pnpm/razzle@4.2.18_@babel+core@7.23.3_babel-preset-razzle@4.2.18_eslint@8.49.0_html-webpack-plugin_tsfopgata3ys4voxheuj3gfslq/node_modules/razzle/bin/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/razzle@4.2.18_@babel+core@7.23.3_babel-preset-razzle@4.2.18_eslint@8.49.0_html-webpack-plugin_tsfopgata3ys4voxheuj3gfslq/node_modules/razzle/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/razzle@4.2.18_@babel+core@7.23.3_babel-preset-razzle@4.2.18_eslint@8.49.0_html-webpack-plugin_tsfopgata3ys4voxheuj3gfslq/node_modules:/Users/davisagli/Code/volto/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../razzle/bin/razzle.js" "$@"
15
+ else
16
+ exec node "$basedir/../razzle/bin/razzle.js" "$@"
17
+ fi