Skip to content

Commit

Permalink
Merge pull request #46 from kitconcept/upgradetolatest
Browse files Browse the repository at this point in the history
Upgrade to latest Volto and Plone
  • Loading branch information
sneridagh authored Sep 13, 2024
2 parents e8efa11 + 59a50ae commit c84c46e
Show file tree
Hide file tree
Showing 10 changed files with 18,583 additions and 17,367 deletions.
1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.egg-info
*.pyc
*.pyo
*.mo

# tools related
build/
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
ARG PLONE_VERSION=6.0.11
ARG PLONE_VERSION=6.0.13
FROM plone/server-builder:${PLONE_VERSION} AS builder

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile.acceptance
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
ARG PLONE_VERSION=6.0.11
ARG PLONE_VERSION=6.0.13
FROM plone/server-builder:${PLONE_VERSION} as builder

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion backend/constraints.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-c https://dist.plone.org/release/6.0.11/constraints.txt
-c https://dist.plone.org/release/6.0.13/constraints.txt
4 changes: 2 additions & 2 deletions backend/mx.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

[settings]
main-package = -e .[test]
version-overrides =
plone.volto==4.4.1
; version-overrides =
; plone.volto==4.4.1

; example section to use packages from git
; [example.contenttype]
Expand Down
2 changes: 1 addition & 1 deletion backend/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.11
6.0.13
10 changes: 10 additions & 0 deletions frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ clean: ## Clean environment
install: ## Installs the add-on in a development environment
pnpm dlx mrs-developer missdev --no-config --fetch-https
pnpm i
make build-deps

.PHONY: start
start: ## Starts Volto, allowing reloading of the add-on during development
Expand All @@ -52,6 +53,15 @@ start: ## Starts Volto, allowing reloading of the add-on during development
build: ## Build a production bundle for distribution of the project with the add-on
pnpm build

core/packages/registry/dist: core/packages/registry/src
pnpm --filter @plone/registry build

core/packages/components/dist: core/packages/components/src
pnpm --filter @plone/components build

.PHONY: build-deps
build-deps: core/packages/registry/dist core/packages/components/dist ## Build dependencies

.PHONY: i18n
i18n: ## Sync i18n
pnpm --filter $(ADDON_NAME) i18n
Expand Down
2 changes: 1 addition & 1 deletion frontend/mrs.developer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"package": "@plone/volto",
"url": "git@github.com:plone/volto.git",
"https": "https://github.com/plone/volto.git",
"tag": "18.0.0-alpha.35"
"tag": "18.0.0-alpha.42"
}
}
8 changes: 4 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "pnpm build:deps && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto start",
"start": "VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto start",
"start:prod": "pnpm --filter @plone/volto start:prod",
"build": "pnpm build:deps && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto build",
"build": "VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto build",
"build:deps": "pnpm --filter @plone/registry --filter @plone/components build",
"i18n": "pnpm --filter volto-intranet i18n",
"test": "RAZZLE_JEST_CONFIG=$(pwd)/jest-addon.config.js pnpm --filter @plone/volto test -- --passWithNoTests",
Expand All @@ -29,8 +29,8 @@
"release": "pnpm --filter volto-intranet release",
"release-major-alpha": "pnpm --filter volto-intranet release-major-alpha",
"release-alpha": "pnpm --filter volto-intranet release-alpha",
"storybook": "pnpm build:deps && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto storybook dev -p 6006 -c $(pwd)/.storybook",
"build-storybook": "pnpm build:deps && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto build-storybook -c $(pwd)/.storybook"
"storybook": "VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto storybook dev -p 6006 -c $(pwd)/.storybook",
"build-storybook": "VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto build-storybook -c $(pwd)/.storybook"
},
"dependencies": {
"@plone/volto": "workspace:*",
Expand Down
Loading

0 comments on commit c84c46e

Please sign in to comment.