Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into handle-api-redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed May 13, 2024
2 parents 91f722e + 3aa82cf commit 3a300e4
Show file tree
Hide file tree
Showing 20 changed files with 1,492 additions and 24 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"preinstall": "npx only-allow pnpm",
"postinstall": "make setup",
"watch": "pnpm --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers watch",
"build:deps": "pnpm --parallel --filter @plone/registry build",
"build:all": "pnpm --parallel --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers build",
"build:all:force": "pnpm --parallel --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers build:force",
"build:deps": "pnpm --filter @plone/registry build",
"build:all": "pnpm --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers build",
"build:all:force": "pnpm --filter @plone/registry --filter @plone/client --filter @plone/components --filter @plone/providers build:force",
"build:registry": "pnpm --filter @plone/registry run build",
"build:components": "pnpm --filter @plone/components run build",
"build": "pnpm --filter @plone/volto build",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { StorybookConfig } from '@storybook/react-vite';
const { mergeConfig } = require('vite');
import { mergeConfig } from 'vite';

const config: StorybookConfig = {
// For some reason the property does not allow negation
Expand Down
14 changes: 14 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@

<!-- towncrier release notes start -->

## 2.0.0-alpha.8 (2024-05-13)

### Bugfix

- Update `vite` to 5.1.5. @davisagli [#5942](https://github.com/plone/volto/issues/5942)

### Internal

- Remove `parcel-optimizer-react-client` plugin @sneridagh [#5887](https://github.com/plone/volto/issues/5887)
- Upgrade Storybook to version 8. @sneridagh [#5912](https://github.com/plone/volto/issues/5912)
- Improvements to the monorepo setup with utilities, especially ESLint. Build cached option to speedup operations. @sneridagh [#5969](https://github.com/plone/volto/issues/5969)
- Saner defaults for building deps, switch default to cached, add `build:force` command @sneridagh [#5980](https://github.com/plone/volto/issues/5980)
- Update to RAC 1.2.0 @sneridagh [#6014](https://github.com/plone/volto/issues/6014)

## 2.0.0-alpha.7 (2024-03-14)

### Bugfix
Expand Down
1 change: 0 additions & 1 deletion packages/components/news/5887.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/news/5912.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/news/5942.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/news/5969.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/news/5980.internal

This file was deleted.

4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
],
"license": "MIT",
"version": "2.0.0-alpha.7",
"version": "2.0.0-alpha.8",
"repository": {
"type": "git",
"url": "http://github.com/plone/components.git"
Expand Down Expand Up @@ -120,7 +120,7 @@
"@react-spectrum/utils": "^3.11.1",
"@storybook/test": "^8.0.4",
"clsx": "^2.0.0",
"react-aria-components": "^1.1.1"
"react-aria-components": "^1.2.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/.release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"requireUpstream": false,
"requireCleanWorkingDir": false,
"commitMessage": "Release @plone/providers ${version}",
"tagName": "plone-components-${version}",
"tagName": "plone-providers-${version}",
"tagAnnotation": "Release @plone/providers ${version}"
},
"github": {
Expand Down
11 changes: 11 additions & 0 deletions packages/providers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@
-->

<!-- towncrier release notes start -->

## 1.0.0-alpha.0 (2024-05-13)

### Feature

- Initial implementation @sneridagh [#5887](https://github.com/plone/volto/issues/5887)

### Internal

- Improvements to the monorepo setup with utilities, especially ESLint. Build cached option to speedup operations. @sneridagh [#5969](https://github.com/plone/volto/issues/5969)
- Saner defaults for building deps, switch default to cached, add `build:force` command @sneridagh [#5980](https://github.com/plone/volto/issues/5980)
1 change: 0 additions & 1 deletion packages/providers/news/5887.feature

This file was deleted.

1 change: 0 additions & 1 deletion packages/providers/news/5969.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/providers/news/5980.internal

This file was deleted.

2 changes: 1 addition & 1 deletion packages/providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"funding": "https://github.com/sponsors/plone",
"license": "MIT",
"version": "1.0.0",
"version": "1.0.0-alpha.0",
"repository": {
"type": "git",
"url": "https://github.com/plone/volto.git"
Expand Down
1 change: 1 addition & 0 deletions packages/types/news/6014.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed some type definitions @sneridagh
1 change: 1 addition & 0 deletions packages/types/src/blocks/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import type { Location, History } from 'history';

export interface BlocksFormData {
'@type': AvailableBlocks;
variation?: string;
}

export interface BlockViewProps {
Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/6014.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix some type definitions in JSDocs @sneridagh
2 changes: 1 addition & 1 deletion packages/volto/src/helpers/Blocks/Blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export function emptyBlocksForm() {
* (could be empty, if not type given) and the number of blocks
* @function blocksFormGenerator
* @param {number} number How many blocks to generate of the type (could be "empty", if no type provided)
* @param {number} type The type of the blocks
* @param {string} type The type of the blocks
* @return {Object} blocks/blocks_layout pair filled with the generated blocks
*/
export function blocksFormGenerator(number, type) {
Expand Down

0 comments on commit 3a300e4

Please sign in to comment.