commit-graph
Advanced tools
Comparing version
@@ -16,3 +16,10 @@ import type { StorybookConfig } from "@storybook/nextjs"; | ||
}, | ||
// webpackFinal: async config => { | ||
// if (config && config.output) { | ||
// config.output.publicPath = "/CommitGraph/"; | ||
// } | ||
// return config; | ||
// }, | ||
}; | ||
export default config; |
@@ -167,6 +167,2 @@ # Changelog | ||
-- Bump dependencies, name x and y positions correctly, refactor. | ||
## [2.2.1] | ||
-- utils function refactor. | ||
-- Bump dependencies, name x and y positions correctly, refactor. |
@@ -8,3 +8,3 @@ import { CommitNode } from "../../helpers/types"; | ||
endCommitHash: string; | ||
color?: string | undefined; | ||
color?: string; | ||
branchOrder: number; | ||
@@ -11,0 +11,0 @@ }[][]; |
@@ -8,3 +8,3 @@ import { CommitNode } from "../../helpers/types"; | ||
endCommitHash: string; | ||
color?: string | undefined; | ||
color?: string; | ||
branchOrder: number; | ||
@@ -11,0 +11,0 @@ }[][]; |
{ | ||
"name": "commit-graph", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"homepage": "https://liuliu-dev.github.io/CommitGraph/", | ||
"author": "Liu Liu <liuliu.developer@gmail.com>", | ||
@@ -33,3 +34,4 @@ "description": "A React component to visualize a commit graph.", | ||
"prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css}\"", | ||
"ci": "npm-run-all prettier lint test build" | ||
"ci": "npm-run-all prettier lint test build", | ||
"deploy-storybook": "gh-pages -d storybook-static" | ||
}, | ||
@@ -70,2 +72,3 @@ "jest": { | ||
"eslint-config-prettier": "^9.1.0", | ||
"gh-pages": "^6.1.1", | ||
"jest": "^29.7.0", | ||
@@ -91,2 +94,2 @@ "next": "^14.1.0", | ||
"types": "dist/index.d.ts" | ||
} | ||
} |
@@ -16,3 +16,3 @@ import { useEffect, useState } from "react"; | ||
const headers = new Headers({ | ||
Authorization: `Bearer ${token}` || "", | ||
Authorization: token ? `Bearer ${token}` : "", | ||
}); | ||
@@ -19,0 +19,0 @@ |
@@ -21,3 +21,3 @@ import { useEffect, useState } from "react"; | ||
const headers = new Headers({ | ||
Authorization: `Bearer ${token}` || "", | ||
Authorization: token ? `Bearer ${token}` : "", | ||
}); | ||
@@ -24,0 +24,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
22775
0.02%0
-100%5035302
-72.97%26
4%80
-2.44%