@jungvonmatt/cssg-plugin-hugo 1.4.3 → 1.4.4

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/index.js +3 -3
  3. package/package.json +2 -2
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
+ ## [1.4.4](https://github.com/jungvonmatt/contentful-ssg/compare/v1.4.3...v1.4.4) (2022-01-24)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * 🐛 Fix menu sort ([589f341](https://github.com/jungvonmatt/contentful-ssg/commit/589f341ecedbad7fcaaae43b360fa06a73a404c6))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.4.3](https://github.com/jungvonmatt/contentful-ssg/compare/v1.4.2...v1.4.3) (2022-01-24)
7
18
 
8
19
 
package/index.js CHANGED
@@ -74,7 +74,7 @@ export default (args) => {
74
74
  .filter((node) => node?.sys?.id && node?.sys?.contentType?.sys?.id)
75
75
  .map((node, index) => ({
76
76
  identifier: node.sys.id,
77
- weight: (index + 1) * -10,
77
+ weight: (index + 1) * 10,
78
78
  params: {
79
79
  id: node.sys.id,
80
80
  // eslint-disable-next-line camelcase
@@ -131,7 +131,7 @@ export default (args) => {
131
131
  .map((node, index) => ({
132
132
  identifier: node.sys.id,
133
133
  parent: id,
134
- weight: (index + 1) * -10,
134
+ weight: (index + 1) * 10,
135
135
  params: {
136
136
  id: node.sys.id,
137
137
  // eslint-disable-next-line camelcase
@@ -174,7 +174,7 @@ export default (args) => {
174
174
  .map((node, index) => ({
175
175
  identifier: node.sys.id,
176
176
  parent: id,
177
- weight: (index + 1) * -10,
177
+ weight: (index + 1) * 10,
178
178
  params: {
179
179
  id: node.sys.id,
180
180
  // eslint-disable-next-line camelcase
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jungvonmatt/cssg-plugin-hugo",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "typings": "./index.d.ts",
@@ -30,5 +30,5 @@
30
30
  "fs-extra": "^10.0.0",
31
31
  "micromatch": "^4.0.4"
32
32
  },
33
- "gitHead": "1c29946e6b7bf40fff7be2e473b62887329b559a"
33
+ "gitHead": "46647fb9a7daa345381ce003bc8c0b0722075d81"
34
34
  }