@graphcommerce/image 2.104.13 → 2.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/config/config.ts +2 -2
- package/example/CHANGELOG.md +11 -0
- package/example/package.json +5 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.105.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/image@2.104.13...@graphcommerce/image@2.105.0) (2021-10-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.104.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/image@2.104.0...@graphcommerce/image@2.104.2) (2021-09-27)
|
|
7
18
|
|
|
8
19
|
|
package/config/config.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ImageConfigComplete, imageConfigDefault } from 'next/dist/server/image-config'
|
|
2
2
|
import { ImageLoaderProps } from 'next/image'
|
|
3
3
|
|
|
4
4
|
export type DefaultImageLoaderProps = ImageLoaderProps & { root: string }
|
|
@@ -10,7 +10,7 @@ export const {
|
|
|
10
10
|
path: configPath,
|
|
11
11
|
domains: configDomains,
|
|
12
12
|
// eslint-disable-next-line no-underscore-dangle
|
|
13
|
-
} = (process.env.__NEXT_IMAGE_OPTS as
|
|
13
|
+
} = (process.env.__NEXT_IMAGE_OPTS as unknown as ImageConfigComplete) || imageConfigDefault
|
|
14
14
|
|
|
15
15
|
function normalizeSrc(src: string): string {
|
|
16
16
|
return src[0] === '/' ? src.slice(1) : src
|
package/example/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.103.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/image-example@2.102.35...@graphcommerce/image-example@2.103.0) (2021-10-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **nextjs:** upgraded to nextjs 12 ([9331bc8](https://github.com/ho-nl/m2-pwa/commit/9331bc801f6419522115cc47d291d49d608d5a90))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# 2.102.0 (2021-09-27)
|
|
7
18
|
|
|
8
19
|
|
package/example/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/image-example",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.103.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "next",
|
|
7
7
|
"build": "next build",
|
|
8
8
|
"start": "next start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@graphcommerce/image": "^2.
|
|
12
|
-
"@graphcommerce/next-config": "^2.
|
|
13
|
-
"@graphcommerce/next-ui": "^3.
|
|
11
|
+
"@graphcommerce/image": "^2.105.0",
|
|
12
|
+
"@graphcommerce/next-config": "^2.107.0",
|
|
13
|
+
"@graphcommerce/next-ui": "^3.10.0",
|
|
14
14
|
"framer-motion": "^4.1.17",
|
|
15
|
-
"next": "^
|
|
15
|
+
"next": "^12.0.0",
|
|
16
16
|
"react": "^17.0.2",
|
|
17
17
|
"react-dom": "^17.0.2",
|
|
18
18
|
"react-focus-lock": "^2.5.2"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/image",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.105.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "tsc -W"
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"clsx": "^1.1.1",
|
|
30
|
-
"next": "^
|
|
30
|
+
"next": "^12.0.0",
|
|
31
31
|
"react": "^17.0.2",
|
|
32
32
|
"react-dom": "^17.0.2",
|
|
33
33
|
"type-fest": "^1.0.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "e34fa8877d4596971c861c0c2438cb4c82f6fcaa"
|
|
36
36
|
}
|