From 7d1e503ccc3fdbe25604b2268d1e4aedef38c8b8 Mon Sep 17 00:00:00 2001 From: Felix Haus Date: Thu, 17 Feb 2022 17:51:48 +0100 Subject: [PATCH] v2.0.0 --- CHANGELOG.md | 10 ++++++++++ packages/core/CHANGELOG.md | 5 ----- packages/core/package.json | 6 +++--- packages/express/package.json | 8 ++++---- 4 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 CHANGELOG.md delete mode 100644 packages/core/CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..907a6bb --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog of Pixel Core + +## 2.0.0 (February 17, 2022) + +- Adds support for Next.js versions `>= 12.0.9`. + For older versions of Next.js please use the `v1.x.x` version of this package. + +## 1.0.0 (November 28, 2021) + +Initial release of `@millihq/pixel-core` package. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md deleted file mode 100644 index a423bb7..0000000 --- a/packages/core/CHANGELOG.md +++ /dev/null @@ -1,5 +0,0 @@ -# Changelog of Pixel Core - -## 1.0.0 (November 28, 2021) - -Initial release of `@millihq/pixel-core` package. diff --git a/packages/core/package.json b/packages/core/package.json index 1d17502..370b981 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@millihq/pixel-core", - "version": "1.0.0", + "version": "2.0.0", "main": "./dist/image-optimizer.js", "types": "./dist/image-optimizer.d.ts", "license": "Apache-2.0", @@ -13,8 +13,8 @@ "scripts": { "build": "tsc --project tsconfig.build.json", "test": "jest", - "prepack": "cp ../../LICENSE ./", - "postpack": "rm ./LICENSE" + "prepack": "cp ../../LICENSE ../../CHANGELOG.md ./", + "postpack": "rm ./LICENSE ./CHANGELOG.md" }, "dependencies": { "node-fetch": "^2.0.0" diff --git a/packages/express/package.json b/packages/express/package.json index ca45565..05f6159 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,6 +1,6 @@ { "name": "@millihq/pixel-express", - "version": "1.0.0", + "version": "2.0.0", "main": "./dist/middleware.js", "types": "./dist/middleware.d.ts", "license": "Apache-2.0", @@ -13,11 +13,11 @@ "scripts": { "build": "tsc --project tsconfig.build.json", "test": "jest", - "prepack": "cp ../../LICENSE ./", - "postpack": "rm ./LICENSE" + "prepack": "cp ../../LICENSE ../../CHANGELOG.md ./", + "postpack": "rm ./LICENSE ./CHANGELOG.md" }, "dependencies": { - "@millihq/pixel-core": "^1.0.0" + "@millihq/pixel-core": "^2.0.0" }, "devDependencies": { "@types/express": "^4.17.13",