Skip to content

Commit ad10259

Browse files
Version Packages
1 parent a1fb6dd commit ad10259

11 files changed

Lines changed: 84 additions & 68 deletions

File tree

.changeset/poor-penguins-joke.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/next/faustwp-getting-started/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"dependencies": {
1313
"@apollo/client": "^3.10.4",
14-
"@faustwp/cli": "^3.2.3",
15-
"@faustwp/core": "^3.2.3",
14+
"@faustwp/cli": "^3.2.4",
15+
"@faustwp/core": "^3.2.4",
1616
"@wordpress/base-styles": "^5.10.0",
1717
"@wordpress/block-library": "^9.10.0",
1818
"classnames": "^2.5.1",

packages/block-editor-utils/CHANGELOG.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @faustwp/block-editor-utils
22

3+
## 0.3.4
4+
5+
### Patch Changes
6+
7+
- a1fb6dd: chore: security update for packages brace-extension and form-data.
8+
39
## 0.3.3
410

511
### Patch Changes
@@ -36,15 +42,15 @@
3642
// Component.js
3743

3844
Component.config = {
39-
name: 'CreateBlockBlockB',
40-
editorFields: {
41-
textArea: {
42-
type: 'string',
43-
label: 'My Message',
44-
location: 'editor',
45-
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
46-
},
47-
},
45+
name: 'CreateBlockBlockB',
46+
editorFields: {
47+
textArea: {
48+
type: 'string',
49+
label: 'My Message',
50+
location: 'editor',
51+
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
52+
},
53+
},
4854
};
4955
```
5056

@@ -78,9 +84,9 @@
7884

7985
```js
8086
<div
81-
style={styles}
82-
className="rich-text"
83-
dangerouslySetInnerHTML={{ __html: attributes.richText }}
87+
style={styles}
88+
className="rich-text"
89+
dangerouslySetInnerHTML={{ __html: attributes.richText }}
8490
/>
8591
```
8692

@@ -131,9 +137,9 @@
131137
import save from './save';
132138

133139
registerFaustBlock(MyFirstBlock, {
134-
blockJson: metadata,
135-
editFn: Edit,
136-
saveFn: save,
140+
blockJson: metadata,
141+
editFn: Edit,
142+
saveFn: save,
137143
});
138144
```
139145

packages/block-editor-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faustwp/block-editor-utils",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "Faust Block Editor Utils Package",
55
"main": "dist/cjs/index.js",
66
"module": "dist/mjs/index.js",

packages/blocks/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @faustwp/blocks
22

3+
## 6.1.3
4+
5+
### Patch Changes
6+
7+
- a1fb6dd: chore: security update for packages brace-extension and form-data.
8+
39
## 6.1.2
410

511
### Patch Changes

packages/blocks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faustwp/blocks",
3-
"version": "6.1.2",
3+
"version": "6.1.3",
44
"description": "Faust Blocks",
55
"main": "dist/cjs/index.js",
66
"module": "dist/mjs/index.js",

packages/faustwp-cli/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @faustwp/cli
22

3+
## 3.2.4
4+
5+
### Patch Changes
6+
7+
- a1fb6dd: chore: security update for packages brace-extension and form-data.
8+
39
## 3.2.3
410

511
### Patch Changes

packages/faustwp-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faustwp/cli",
3-
"version": "3.2.3",
3+
"version": "3.2.4",
44
"description": "This modules provides a CLI to develop, build, and serve your Faust apps",
55
"main": "dist/index.js",
66
"type": "module",

packages/faustwp-core/CHANGELOG.md

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @faustwp/core
22

3+
## 3.2.4
4+
5+
### Patch Changes
6+
7+
- a1fb6dd: chore: security update for packages brace-extension and form-data.
8+
39
## 3.2.3
410

511
### Patch Changes
@@ -38,11 +44,11 @@
3844
export default function Sitemap() {}
3945

4046
export function getServerSideProps(ctx) {
41-
return getSitemapProps(ctx, {
42-
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
43-
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
44-
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
45-
});
47+
return getSitemapProps(ctx, {
48+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
49+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
50+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
51+
});
4652
}
4753
```
4854

@@ -146,7 +152,7 @@
146152
147153
```jsx
148154
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
149-
Log Out
155+
Log Out
150156
</ToolbarItem>
151157
```
152158
@@ -252,18 +258,18 @@
252258
import { FaustPage } from '@faustwp/core';
253259

254260
type GetPageData = {
255-
generalSettings: {
256-
title: string;
257-
};
261+
generalSettings: {
262+
title: string;
263+
};
258264
};
259265

260266
type PageProps = {
261-
myProp: string;
267+
myProp: string;
262268
};
263269

264270
const Page: FaustPage<GetPageData, PageProps> = (props) => {
265-
const { myProp, data } = props;
266-
return <></>;
271+
const { myProp, data } = props;
272+
return <></>;
267273
};
268274
```
269275
@@ -332,9 +338,9 @@
332338
export default function Sitemap() {}
333339

334340
export function getServerSideProps(context) {
335-
return getSitemapProps(context, {
336-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
337-
});
341+
return getSitemapProps(context, {
342+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
343+
});
338344
}
339345
```
340346
@@ -364,7 +370,7 @@
364370
import { FaustHooks, FaustPlugin } from '@faustwp/core';
365371

366372
export class MyPlugin implements FaustPlugin {
367-
apply(hooks: FaustHooks) {}
373+
apply(hooks: FaustHooks) {}
368374
}
369375
```
370376

packages/faustwp-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faustwp/core",
3-
"version": "3.2.3",
3+
"version": "3.2.4",
44
"description": "Faust is a framework that aims to make headless WordPress as streamlined as classic WordPress for both developers and publishers",
55
"main": "dist/cjs/index.js",
66
"module": "dist/mjs/index.js",

0 commit comments

Comments
 (0)