Skip to content

Commit 3835b67

Browse files
Version Packages
1 parent 97ec3e8 commit 3835b67

15 files changed

Lines changed: 92 additions & 75 deletions

File tree

.changeset/sparkly-dodos-fold.md

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

.changeset/wp-6.9-support.md

Lines changed: 0 additions & 5 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.3.4",
15-
"@faustwp/core": "^3.3.4",
14+
"@faustwp/cli": "^3.3.6",
15+
"@faustwp/core": "^3.3.6",
1616
"@wordpress/base-styles": "^6.15.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.8
4+
5+
### Patch Changes
6+
7+
- 97ec3e8: Publish release after NPM auth changes
8+
39
## 0.3.7
410

511
### Patch Changes
@@ -62,15 +68,15 @@
6268
```js
6369
// Component.js
6470
Component.config = {
65-
name: 'CreateBlockBlockB',
66-
editorFields: {
67-
textArea: {
68-
type: 'string',
69-
label: 'My Message',
70-
location: 'editor',
71-
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
72-
},
73-
},
71+
name: 'CreateBlockBlockB',
72+
editorFields: {
73+
textArea: {
74+
type: 'string',
75+
label: 'My Message',
76+
location: 'editor',
77+
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
78+
},
79+
},
7480
};
7581
```
7682

@@ -104,9 +110,9 @@
104110

105111
```js
106112
<div
107-
style={styles}
108-
className="rich-text"
109-
dangerouslySetInnerHTML={{ __html: attributes.richText }}
113+
style={styles}
114+
className="rich-text"
115+
dangerouslySetInnerHTML={{ __html: attributes.richText }}
110116
/>
111117
```
112118

@@ -157,9 +163,9 @@
157163
import save from './save';
158164

159165
registerFaustBlock(MyFirstBlock, {
160-
blockJson: metadata,
161-
editFn: Edit,
162-
saveFn: save,
166+
blockJson: metadata,
167+
editFn: Edit,
168+
saveFn: save,
163169
});
164170
```
165171

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.7",
3+
"version": "0.3.8",
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.8
4+
5+
### Patch Changes
6+
7+
- 97ec3e8: Publish release after NPM auth changes
8+
39
## 6.1.7
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.7",
3+
"version": "6.1.8",
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.6
4+
5+
### Patch Changes
6+
7+
- 97ec3e8: Publish release after NPM auth changes
8+
39
## 3.3.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.3.5",
3+
"version": "3.3.6",
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.6
4+
5+
### Patch Changes
6+
7+
- 97ec3e8: Publish release after NPM auth changes
8+
39
## 3.3.5
410

511
### Patch Changes
@@ -88,11 +94,11 @@
8894
export default function Sitemap() {}
8995

9096
export function getServerSideProps(ctx) {
91-
return getSitemapProps(ctx, {
92-
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
93-
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
94-
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
95-
});
97+
return getSitemapProps(ctx, {
98+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
99+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
100+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
101+
});
96102
}
97103
```
98104

@@ -196,7 +202,7 @@
196202
197203
```jsx
198204
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
199-
Log Out
205+
Log Out
200206
</ToolbarItem>
201207
```
202208
@@ -302,18 +308,18 @@
302308
import { FaustPage } from '@faustwp/core';
303309

304310
type GetPageData = {
305-
generalSettings: {
306-
title: string;
307-
};
311+
generalSettings: {
312+
title: string;
313+
};
308314
};
309315

310316
type PageProps = {
311-
myProp: string;
317+
myProp: string;
312318
};
313319

314320
const Page: FaustPage<GetPageData, PageProps> = (props) => {
315-
const { myProp, data } = props;
316-
return <></>;
321+
const { myProp, data } = props;
322+
return <></>;
317323
};
318324
```
319325
@@ -382,9 +388,9 @@
382388
export default function Sitemap() {}
383389

384390
export function getServerSideProps(context) {
385-
return getSitemapProps(context, {
386-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
387-
});
391+
return getSitemapProps(context, {
392+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
393+
});
388394
}
389395
```
390396
@@ -414,7 +420,7 @@
414420
import { FaustHooks, FaustPlugin } from '@faustwp/core';
415421

416422
export class MyPlugin implements FaustPlugin {
417-
apply(hooks: FaustHooks) {}
423+
apply(hooks: FaustHooks) {}
418424
}
419425
```
420426

0 commit comments

Comments
 (0)