Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 48cd293

Browse files
committed
v2.2.4
1 parent 5206af2 commit 48cd293

File tree

7 files changed

+28
-20
lines changed

7 files changed

+28
-20
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# 🛠️ CHANGELOG
22

3+
## 2.2.4
4+
5+
- Fix default `layout.tsx` suspense boundary.
6+
7+
- Update default counter slice to reset properly.
8+
39
## 2.2.3
410

511
- Make sure to add `eslint-plugin-n` to `package.json`

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Automation Tooling for Next, Redux and Prisma
66

77
![license](https://img.shields.io/badge/license-AGPLv3-blue.svg)
8-
![version](https://img.shields.io/badge/version-2.2.3-blue.svg)
8+
![version](https://img.shields.io/badge/version-2.2.4-blue.svg)
99
[![CircleCI](https://circleci.com/gh/PrinterFramework/CLI.svg?style=svg)](https://circleci.com/gh/PrinterFramework/CLI)
1010

1111
**Printer v1.x.x** is compatible with the old Next patterns. You can review the documentation on the v1 website: [v1.prntr.click/docs](https://v1.prntr.click/docs)

dist/src/printer.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import 'scss/printer.scss'
2+
import { Metadata } from 'next'
23
import { ReactNode, Suspense } from 'react'
34
import { ReduxProvider } from 'redux/provider'
45

5-
export const metadata = {
6+
export const metadata: Metadata = {
67
title: 'Printer',
78
description: 'Automation Tooling for Next, Redux and Prisma'
89
}
@@ -13,12 +14,12 @@ export interface LayoutI {
1314

1415
export default function RootLayout({ children }: LayoutI) {
1516
return (
16-
<ReduxProvider>
17-
<Suspense>
18-
<html lang="en">
19-
<body>{children}</body>
20-
</html>
21-
</Suspense>
22-
</ReduxProvider>
17+
<html lang="en">
18+
<body>
19+
<ReduxProvider>
20+
<Suspense>{children}</Suspense>
21+
</ReduxProvider>
22+
</body>
23+
</html>
2324
)
2425
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@printerframework/cli",
33
"description": "🖨️ Automation Tooling for Next, Redux and Prisma.",
4-
"version": "2.2.3",
4+
"version": "2.2.4",
55
"private": false,
66
"preferGlobal": true,
77
"repository": "https://github.com/PrinterFramework/CLI.git",

src/printer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { SuperagentTypes, injectSupergent } from './generators/superagent'
2020
export const Printer = new Command('🖨️ Printer')
2121

2222
Printer
23-
.version('2.2.3')
23+
.version('2.2.4')
2424
.description('🖨️ Printer: Automation Tooling for Next, Redux and Prisma.')
2525
.option('-a, --no-action', 'do not inject actions', false)
2626
.option('-s, --no-state', 'do not inject state', false)
+9-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import 'scss/printer.scss'
2+
import { Metadata } from 'next'
23
import { ReactNode, Suspense } from 'react'
34
import { ReduxProvider } from 'redux/provider'
45

5-
export const metadata = {
6+
export const metadata: Metadata = {
67
title: 'Printer',
78
description: 'Automation Tooling for Next, Redux and Prisma'
89
}
@@ -13,12 +14,12 @@ export interface LayoutI {
1314

1415
export default function RootLayout({ children }: LayoutI) {
1516
return (
16-
<ReduxProvider>
17-
<Suspense>
18-
<html lang="en">
19-
<body>{children}</body>
20-
</html>
21-
</Suspense>
22-
</ReduxProvider>
17+
<html lang="en">
18+
<body>
19+
<ReduxProvider>
20+
<Suspense>{children}</Suspense>
21+
</ReduxProvider>
22+
</body>
23+
</html>
2324
)
2425
}

0 commit comments

Comments
 (0)