Skip to content

Commit

Permalink
Fix: remove nextjs <15 requirement (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
auto200 authored Nov 8, 2024
1 parent c2bf7de commit 4746900
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CHANGELOG

* [3.1.2](#3.1.2)
* [3.1.1](#3.1.1)
* [3.1.0](#3.1.0)
* [3.0.0](#3.0.0)
* [2.1.1](#2.1.1)
Expand All @@ -8,6 +10,12 @@
* [1.0.1](#1.0.1)
* [1.0.0](#1.0.0)

## 3.1.2
- Remove nextjs <15 requirement

## 3.1.1
- Allow to use with pages router along with transpilePackages option in next config

## 3.1.0
- Bump [tracking-base-library](https://github.com/PiwikPRO/tracking-base-library/releases/tag/1.2.0)
- Allow to customize data layer name
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,10 @@ export default function RootLayout({
}
```

#### Instalation with pages router
#### Setup with pages router

In the `next.config.js` use `transpilePackages` option.


```js
/** @type {import('next').NextConfig} */
const nextConfig = {
Expand Down
2 changes: 1 addition & 1 deletion docs/README_BASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function RootLayout({
}
```

### Instalation with pages router
### Setup with pages router

In the `next.config.js` use `transpilePackages` option.

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@piwikpro/next-piwik-pro",
"version": "3.1.1",
"version": "3.1.2",
"description": "Piwik PRO tracking library for Next.js",
"license": "MIT",
"type": "module",
Expand All @@ -26,7 +26,7 @@
"url": "[email protected]:PiwikPRO/next-piwik-pro.git"
},
"peerDependencies": {
"next": ">=13.0.0 <15.0.0"
"next": ">=13.0.0"
},
"dependencies": {
"@piwikpro/react-piwik-pro": "^2.1.1"
Expand Down

0 comments on commit 4746900

Please sign in to comment.