Skip to content

Commit 98cd0b2

Browse files
Version Packages
1 parent afb25f4 commit 98cd0b2

File tree

10 files changed

+61
-45
lines changed

10 files changed

+61
-45
lines changed

.changeset/afraid-rats-heal.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.5",
15-
"@faustwp/core": "^3.3.0",
14+
"@faustwp/cli": "^3.3.1",
15+
"@faustwp/core": "^3.3.1",
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.5
4+
5+
### Patch Changes
6+
7+
- afb25f4: Updated glob to version 10.4.5
8+
39
## 0.3.4
410

511
### Patch Changes
@@ -42,15 +48,15 @@
4248
// Component.js
4349

4450
Component.config = {
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-
},
51+
name: 'CreateBlockBlockB',
52+
editorFields: {
53+
textArea: {
54+
type: 'string',
55+
label: 'My Message',
56+
location: 'editor',
57+
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
58+
},
59+
},
5460
};
5561
```
5662

@@ -84,9 +90,9 @@
8490

8591
```js
8692
<div
87-
style={styles}
88-
className="rich-text"
89-
dangerouslySetInnerHTML={{ __html: attributes.richText }}
93+
style={styles}
94+
className="rich-text"
95+
dangerouslySetInnerHTML={{ __html: attributes.richText }}
9096
/>
9197
```
9298

@@ -137,9 +143,9 @@
137143
import save from './save';
138144

139145
registerFaustBlock(MyFirstBlock, {
140-
blockJson: metadata,
141-
editFn: Edit,
142-
saveFn: save,
146+
blockJson: metadata,
147+
editFn: Edit,
148+
saveFn: save,
143149
});
144150
```
145151

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.4",
3+
"version": "0.3.5",
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.5
4+
5+
### Patch Changes
6+
7+
- afb25f4: Updated glob to version 10.4.5
8+
39
## 6.1.4
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.4",
3+
"version": "6.1.5",
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.3.1
4+
5+
### Patch Changes
6+
7+
- afb25f4: Updated glob to version 10.4.5
8+
39
## 3.2.5
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.5",
3+
"version": "3.3.1",
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.3.1
4+
5+
### Patch Changes
6+
7+
- afb25f4: Updated glob to version 10.4.5
8+
39
## 3.3.0
410

511
### Minor Changes
@@ -56,11 +62,11 @@
5662
export default function Sitemap() {}
5763

5864
export function getServerSideProps(ctx) {
59-
return getSitemapProps(ctx, {
60-
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
61-
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
62-
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
63-
});
65+
return getSitemapProps(ctx, {
66+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
67+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
68+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
69+
});
6470
}
6571
```
6672

@@ -164,7 +170,7 @@
164170
165171
```jsx
166172
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
167-
Log Out
173+
Log Out
168174
</ToolbarItem>
169175
```
170176
@@ -270,18 +276,18 @@
270276
import { FaustPage } from '@faustwp/core';
271277

272278
type GetPageData = {
273-
generalSettings: {
274-
title: string;
275-
};
279+
generalSettings: {
280+
title: string;
281+
};
276282
};
277283

278284
type PageProps = {
279-
myProp: string;
285+
myProp: string;
280286
};
281287

282288
const Page: FaustPage<GetPageData, PageProps> = (props) => {
283-
const { myProp, data } = props;
284-
return <></>;
289+
const { myProp, data } = props;
290+
return <></>;
285291
};
286292
```
287293
@@ -350,9 +356,9 @@
350356
export default function Sitemap() {}
351357

352358
export function getServerSideProps(context) {
353-
return getSitemapProps(context, {
354-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
355-
});
359+
return getSitemapProps(context, {
360+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
361+
});
356362
}
357363
```
358364
@@ -382,7 +388,7 @@
382388
import { FaustHooks, FaustPlugin } from '@faustwp/core';
383389

384390
export class MyPlugin implements FaustPlugin {
385-
apply(hooks: FaustHooks) {}
391+
apply(hooks: FaustHooks) {}
386392
}
387393
```
388394

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.3.0",
3+
"version": "3.3.1",
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)